/* provcheck.ai — marketing site
   Palette and typography match creativemayhem.com so the corporate-product
   relationship reads visually. The three verdict colours (green, amber, red)
   come from the app itself. */

@import "/assets/css/fonts.css";

:root {
  --bg: #faf9f5;
  --bg-card: #ffffff;
  --bg-sunken: #f1f0ea;
  --bg-code: #0d0d0f;           /* dark terminal strip for code blocks */
  --border: #e6e4dc;
  --border-strong: #d2cfc4;

  --text: #111111;
  --text-muted: #555555;
  --text-faint: #888888;
  --text-inverse: #f5f5f7;

  --link: #0a5fb8;
  --link-hover: #08487e;

  /* verdict palette — mirrors the app banners */
  --verdict-green:  #1d7a3a;
  --verdict-amber:  #b8590a;
  --verdict-red:    #b91c1c;
  --verdict-green-bg: #e7f4ec;
  --verdict-amber-bg: #fbeedc;
  --verdict-red-bg:   #fbe6e6;

  --ff-display: "Bebas Neue", "Impact", "Arial Black", sans-serif;
  --ff-editorial: "DM Serif Display", Georgia, "Times New Roman", serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ff-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1120px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: var(--ff-sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* -------- Header / nav -------- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; max-width: var(--container); margin: 0 auto; gap: 1.5rem; }
.nav-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.nav-brand:hover { color: var(--text); }
.nav-brand img { height: 32px; width: auto; }
.nav-brand .wordmark { font-family: var(--ff-display); font-size: 1.45rem; letter-spacing: .04em; color: var(--text); line-height: 1; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; font-family: var(--ff-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.nav-links a { color: var(--text-muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { font-family: var(--ff-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; padding: .55rem 1rem; border: 1px solid var(--text); color: var(--text); text-decoration: none; border-radius: 6px; }
.nav-cta:hover { background: var(--text); color: var(--bg-card); }

/* -------- Typography helpers -------- */
.eyebrow { font-family: var(--ff-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); margin-bottom: .85rem; }
.display { font-family: var(--ff-display); font-weight: 400; letter-spacing: .005em; line-height: 1.05; }
.editorial { font-family: var(--ff-editorial); font-weight: 400; letter-spacing: -.005em; }
.mono { font-family: var(--ff-mono); }

h1.display { font-size: clamp(2.75rem, 7vw, 5rem); }
h2.display { font-size: clamp(2rem, 4.5vw, 3rem); }
h2.editorial { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 1rem; }
h3.editorial { font-size: 1.3rem; margin: 0 0 .5rem; }

/* -------- Buttons -------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ff-mono); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; padding: .85rem 1.4rem; border-radius: 6px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--text); color: var(--bg-card); }
.btn-primary:hover { background: #333; color: #fff; }
.btn-secondary { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-secondary:hover { border-color: var(--text); color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* -------- Hero -------- */
.hero { padding: 4rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.hero h1 .accent { color: var(--link); }
.hero .lead { font-family: var(--ff-editorial); font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--text); margin: 1.25rem 0 1.75rem; max-width: 540px; line-height: 1.35; }
.hero .trust-line { font-family: var(--ff-mono); font-size: .82rem; color: var(--text-muted); margin-top: 1.25rem; }
.hero .trust-line .dot { color: var(--text-faint); margin: 0 .5rem; }

.hero-shot { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; box-shadow: 0 30px 60px -30px rgba(0,0,0,.15); }
.hero-shot img { width: 100%; height: auto; border-radius: 6px; }
.hero-shot .placeholder { aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; background: var(--bg-code); color: #5a5a66; font-family: var(--ff-mono); font-size: .8rem; border-radius: 6px; text-align: center; padding: 1rem; }

/* -------- Section scaffolding -------- */
.section { padding: 3.5rem 0; border-top: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head .eyebrow { margin-bottom: .5rem; }
.section-head p { color: var(--text-muted); font-size: 1rem; margin-top: .5rem; line-height: 1.6; }

/* -------- How it works (3 panels) -------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.how-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.how-card .step { font-family: var(--ff-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); }
.how-card h3 { font-family: var(--ff-editorial); font-weight: 400; font-size: 1.3rem; }
.how-card p { color: var(--text-muted); font-size: .95rem; line-height: 1.55; }
.how-card .shot { margin-top: auto; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-sunken); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--text-faint); font-family: var(--ff-mono); font-size: .75rem; }

/* -------- Verdict chips -------- */
.verdicts { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.verdict { font-family: var(--ff-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; padding: .45rem .85rem; border-radius: 999px; border: 1px solid transparent; }
.verdict.green { color: var(--verdict-green); background: var(--verdict-green-bg); border-color: rgba(29,122,58,.3); }
.verdict.amber { color: var(--verdict-amber); background: var(--verdict-amber-bg); border-color: rgba(184,89,10,.3); }
.verdict.red   { color: var(--verdict-red);   background: var(--verdict-red-bg);   border-color: rgba(185,28,28,.3); }

/* -------- Why this matters -------- */
.why { max-width: 780px; }
.why p { font-family: var(--ff-editorial); font-size: 1.2rem; line-height: 1.5; color: var(--text); margin-bottom: 1rem; }
.why p + p { font-family: var(--ff-sans); font-size: 1.025rem; color: var(--text-muted); line-height: 1.65; }

/* -------- Feature grid -------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.feature h3 { font-family: var(--ff-editorial); font-weight: 400; font-size: 1.2rem; margin-bottom: .5rem; }
.feature p { color: var(--text-muted); font-size: .95rem; line-height: 1.55; }
.feature .chip { display: inline-block; font-family: var(--ff-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); padding: .2rem .55rem; border: 1px solid var(--border); border-radius: 999px; margin-bottom: .75rem; }

/* -------- Audience strip (who it's for) -------- */
.audience-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; max-width: 880px; }
.audience-list li { list-style: none; padding: .85rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
.audience-list li strong { font-family: var(--ff-editorial); font-weight: 400; font-size: 1.15rem; display: block; margin-bottom: .15rem; }
.audience-list li span { color: var(--text-muted); font-size: .95rem; }

/* -------- Download page -------- */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.download-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.download-card h3 { font-family: var(--ff-editorial); font-weight: 400; font-size: 1.4rem; }
.download-card .meta { font-family: var(--ff-mono); font-size: .78rem; color: var(--text-muted); }
.download-card .hash { font-family: var(--ff-mono); font-size: .72rem; color: var(--text-faint); word-break: break-all; margin-top: .25rem; }
.download-card .cta-row { margin-top: auto; padding-top: 1rem; }
.download-card .pending { font-family: var(--ff-mono); font-size: .75rem; color: var(--verdict-amber); text-transform: uppercase; letter-spacing: .08em; }

.trust-anchor { margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--bg-sunken); border-radius: var(--radius); font-family: var(--ff-mono); font-size: .88rem; color: var(--text); display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.trust-anchor strong { color: var(--text); }

/* -------- Developers (code / CLI) -------- */
.dev-block { background: var(--bg-code); border-radius: var(--radius); padding: 1.5rem; font-family: var(--ff-mono); font-size: .88rem; color: var(--text-inverse); line-height: 1.6; overflow-x: auto; margin: 1rem 0 1.5rem; }
.dev-block .prompt { color: #6b8eff; user-select: none; }
.dev-block .comment { color: #6c7280; }
.dev-block .green { color: #86efac; }
.dev-block .amber { color: #fbbf24; }
.dev-block .red   { color: #f87171; }

.dev-section { max-width: 860px; }
.dev-section h3 { font-family: var(--ff-editorial); font-weight: 400; font-size: 1.35rem; margin: 2.25rem 0 .5rem; }
.dev-section h3:first-child { margin-top: 0; }
.dev-section p { color: var(--text-muted); line-height: 1.6; margin-bottom: .5rem; }
.dev-section ul { list-style: none; padding: 0; margin: .5rem 0 1.25rem; }
.dev-section ul li { padding: .35rem 0; border-bottom: 1px solid var(--border); font-family: var(--ff-mono); font-size: .9rem; display: flex; gap: 1rem; }
.dev-section ul li strong { flex: 0 0 4.5rem; color: var(--text); }

.exit-table { width: 100%; border-collapse: collapse; font-family: var(--ff-mono); font-size: .9rem; margin: 1rem 0 1.5rem; }
.exit-table th, .exit-table td { text-align: left; padding: .6rem .85rem; border-bottom: 1px solid var(--border); }
.exit-table th { font-weight: 500; color: var(--text-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.exit-table code { background: var(--bg-sunken); padding: .1rem .4rem; border-radius: 3px; }

.placeholder-note { padding: 1rem 1.25rem; background: var(--bg-sunken); border-left: 3px solid var(--verdict-amber); border-radius: 4px; font-family: var(--ff-mono); font-size: .85rem; color: var(--text-muted); margin: 1rem 0; }

/* -------- FAQ -------- */
.faq { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-family: var(--ff-editorial); font-weight: 400; font-size: 1.25rem; margin-bottom: .5rem; }
.faq-item p { color: var(--text-muted); line-height: 1.65; }
.faq-item p + p { margin-top: .75rem; }

/* -------- Page header (non-home) -------- */
.page-head { padding: 3rem 0 1rem; }
.page-head .display { font-size: clamp(2.5rem, 6vw, 4rem); }
.page-head .sub { font-family: var(--ff-mono); color: var(--text-muted); font-size: .9rem; margin-top: .5rem; }

/* -------- Footer -------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); padding: 2.5rem 1.5rem 2rem; font-family: var(--ff-mono); font-size: .8rem; color: var(--text-muted); margin-top: 2rem; }
.site-footer .footer-inner { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.site-footer .footer-extras { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-copyright a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .sep { color: var(--text-faint); opacity: .7; }

/* -------- Responsive -------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .how-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .audience-list { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; row-gap: .5rem; }
  .nav-links { gap: 1rem; }
  .nav-cta { order: 3; }
}
@media (max-width: 560px) {
  .hero { padding: 2.5rem 0 2rem; }
  .section { padding: 2.5rem 0; }
}
