/* ============================================================
   PharmTech.AI — homepage styles  (v2 "intelligence product")
   Type system:  Newsreader (editorial serif) · Inter (UI/body) ·
                 IBM Plex Mono (data/eyebrows)
   Palette:      deep navy + warm gold accent + signal colors
   No build step, no framework.
   ============================================================ */

:root {
  --navy:        #0f1115;
  --navy-2:      #171b21;
  --navy-3:      #2b3340;
  --navy-line:   rgba(255,255,255,.10);
  --ink:         #14171c;
  --slate:       #46566c;
  --slate-2:     #6c7c93;
  --line:        #e4e9f1;
  --bg:          #ffffff;
  --bg-alt:      #f6f8fc;
  --paper:       #fbfcfe;
  --gold:        #0071e3;
  --gold-2:      #0066cc;
  --gold-soft:   #d6e9ff;
  --sig-red:     #c4452f;
  --sig-amber:   #c98415;
  --sig-green:   #2f7d52;
  --r-sm: 8px; --r: 12px; --r-lg: 18px;
  --maxw: 1140px;
  --shadow:    0 1px 2px rgba(15,17,21,.05), 0 10px 34px rgba(15,17,21,.08);
  --shadow-lg: 0 24px 70px rgba(15,17,21,.16);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 18.5px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

h1,h2,h3 { font-family: var(--sans); color: var(--ink); line-height: 1.1; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.022em; }
h1 { font-size: clamp(2rem, 4.8vw, 3.15rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.section { padding: 92px 0; }
.section--alt  { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #c5cad2; }
.section--navy h2, .section--navy h3 { color: #fff; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* eyebrow — mono, the "intelligence" tell */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: var(--gold-2);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); display: inline-block; }
.section--navy .eyebrow, .hero .eyebrow { color: var(--gold); }

.lead { font-size: 1.18rem; color: var(--slate); max-width: 64ch; }
.section--navy .lead { color: #aebbd4; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1;
  padding: 16px 28px; border-radius: var(--r-sm); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .12s var(--ease), background .16s, box-shadow .16s, border-color .16s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: #ffffff; border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-2); border-color: var(--gold-2); box-shadow: 0 12px 28px rgba(0,113,227,.34); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.hero .btn--ghost, .section--navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn--ghost:hover, .section--navy .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--block { width: 100%; justify-content: center; }
/* inline-SVG icons (replaces the Tabler webfont) — sized by font-size like the old icon font */
.ti { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn .ti { font-size: 1.05rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15,17,21,.07); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--navy); font-size: 1.2rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--navy); display: grid; place-items: center; overflow: hidden; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand .dot { color: var(--gold-2); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--slate); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--navy); text-decoration: none; }
.nav-cta { padding: 11px 20px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); font-size: 1.7rem; line-height: 1; padding: 4px; }
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 0 14px; box-shadow: 0 14px 28px rgba(0,0,0,.07); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 26px; font-size: 1.05rem; }
  .nav-links a.nav-cta { margin: 10px 26px 2px; justify-content: center; padding: 13px 20px; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(1200px 560px at 88% -8%, rgba(0,113,227,.14), transparent 58%),
    radial-gradient(900px 600px at 6% 110%, rgba(22,51,107,.55), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #07080a 100%);
  color: #e9eefb; padding: 92px 0 84px; }
.hero::after { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; opacity:.5; pointer-events:none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } }
.hero h1 { color: #fff; max-width: 16ch; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: #0071e3; }
.hero p.lead { color: #b9c6e2; font-size: 1.2rem; max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 10px; }
.hero-note { font-family: var(--mono); font-size: .78rem; letter-spacing: .03em; color: #8595b8; margin-top: 16px; }

.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--navy-line); }
.stat .num { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: #fff; letter-spacing: -.02em; }
.stat .num em { color: var(--gold); font-style: normal; }
.stat .lab { font-family: var(--mono); font-size: .68rem; color: #8595b8; text-transform: uppercase; letter-spacing: .09em; margin-top: 2px; }

/* hero intelligence panel (data viz) */
.intel { background: rgba(255,255,255,.045); border: 1px solid var(--navy-line); border-radius: var(--r-lg); padding: 22px; backdrop-filter: blur(4px); box-shadow: var(--shadow-lg); }
.intel__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.intel__title { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #aebbd4; }
.intel__big { font-family: var(--serif); color:#fff; font-size: 2.5rem; font-weight: 600; line-height: 1; margin: 8px 0 2px; }
.intel__big em { color: var(--gold); font-style: normal; font-size: 1.1rem; vertical-align: middle; margin-left: 6px; }
.intel__cap { font-size: .82rem; color: #9fb0cf; margin-bottom: 16px; }
.intel__cap a { color:#c6d2e8; text-decoration: underline; }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 118px; padding-top: 6px; }
.bar { flex: 1; background: #2b3340; position: relative; border-radius: 5px 5px 0 0; height: 0; transition: height 1s var(--ease); }
.bar.peak { background: var(--gold); }
.bar span { position: absolute; top: -20px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: .62rem; color: #9fb0cf; }
.bar small { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: .62rem; color: #7888ab; }
.bar.peak span { color: var(--gold); }
.intel__foot { margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--navy-line); display: flex; gap: 10px; align-items: flex-start; }
.intel__foot .ti { color: var(--gold); font-size: 1.1rem; margin-top: 2px; }
.intel__foot p { margin: 0; font-size: .84rem; color: #b9c6e2; }
.intel__foot b { color: #fff; font-weight: 600; }

/* ---------- trust strip ---------- */
.trustbar { background: #07080a; border-top: 1px solid var(--navy-line); }
.trustbar .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center; padding: 20px 26px; }
.trustbar span { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; color: #aebbd4; }
.trustbar .ti { color: var(--gold); font-size: 1.05rem; }

/* ---------- grids / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 920px){ .grid-3,.grid-4{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 600px){ .grid-2,.grid-3,.grid-4{ grid-template-columns: 1fr;} }

.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--slate); margin: 0; font-size: 1rem; }
.card .ico { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 1.35rem; margin-bottom: 16px; }
.card--plain { box-shadow: none; }
.card--plain:hover { transform: none; box-shadow: none; border-color: var(--navy-3); }

.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: center; }
@media (max-width: 920px){ .split{ grid-template-columns: 1fr; gap: 38px;} }

/* checklist */
.check { list-style: none; padding: 0; margin: 22px 0 0; }
.check li { position: relative; padding: 12px 0 12px 36px; border-bottom: 1px solid var(--line); color: var(--slate); }
.check li:last-child { border-bottom: 0; }
.check li::before { content: ""; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: rgba(47,125,82,.12) center / 13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7d52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l9 -9'/%3E%3C/svg%3E"); }
.check strong { color: var(--ink); font-weight: 600; }

/* ---------- sample brief mock ---------- */
.brief-mock { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.brief-mock__bar { background: var(--navy); color: #fff; padding: 15px 22px; display: flex; justify-content: space-between; align-items: center; }
.brief-mock__bar b { font-family: var(--serif); font-size: 1rem; font-weight: 560; }
.brief-mock__bar span { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(0,113,227,.4); padding: 3px 9px; border-radius: 999px; }
.brief-mock__body { padding: 24px 22px; }
.intro-line { font-size: .92rem; color: var(--slate); margin: 0 0 16px; padding-left: 12px; border-left: 3px solid var(--gold); }
.intro-line b { color: var(--navy); }
.tag { display: inline-block; font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid; }
.tag--crit { color: var(--sig-red); border-color: rgba(196,69,47,.4); background: rgba(196,69,47,.06); }
.tag--high { color: var(--sig-amber); border-color: rgba(201,132,21,.4); background: rgba(201,132,21,.07); }
.brief-row { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.brief-row:last-child { border-bottom: 0; padding-bottom: 0; }
.brief-row h4 { font-family: var(--serif); margin: 9px 0 4px; color: var(--navy); font-size: 1.08rem; font-weight: 600; }
.brief-row p { font-size: .92rem; color: var(--slate); margin: 0; }
.brief-watermark { font-family: var(--mono); font-size: .66rem; color: var(--slate-2); text-align: center; padding-top: 14px; letter-spacing: .02em; }

/* ---------- self-assessment ---------- */
.assess { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.assess__q { padding: 8px 30px; }
.qrow { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.qrow:last-of-type { border-bottom: 0; }
.qtext { color: var(--ink); font-size: 1rem; max-width: 58ch; }
.qtext small { display: block; font-family: var(--mono); color: var(--slate-2); font-size: .72rem; letter-spacing: .04em; margin-top: 4px; }
.opts { display: flex; gap: 8px; flex-shrink: 0; }
.opt { border: 1.5px solid var(--line); background: #fff; color: var(--slate); padding: 9px 15px; border-radius: var(--r-sm); font-size: .85rem; font-weight: 600; cursor: pointer; transition: all .14s var(--ease); white-space: nowrap; }
.opt:hover { border-color: var(--navy-3); color: var(--navy); }
.opt.is-sel { background: var(--navy); color: #fff; border-color: var(--navy); }
.assess__foot { padding: 22px 30px 30px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.result { display: none; }
.result.is-on { display: block; animation: fade .4s var(--ease); }
@keyframes fade { from{ opacity:0; transform: translateY(8px);} to{ opacity:1; transform:none;} }
.result__band { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; }
.result__band.low { color: var(--sig-green); } .result__band.mod { color: var(--sig-amber); } .result__band.high { color: var(--sig-red); }
.meter { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 14px 0; }
.meter > span { display: block; height: 100%; width: 0; transition: width .7s var(--ease); }
.assess__hint { font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--slate-2); margin-top: 16px; }

/* ---------- steps / timeline ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 820px){ .steps{ grid-template-columns: 1fr 1fr;} }
@media (max-width: 480px){ .steps{ grid-template-columns: 1fr;} }
.step { position: relative; padding-top: 6px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: .9rem; font-weight: 600; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--navy-line); color: var(--gold); margin-bottom: 16px; }
.step h3 { font-size: 1.05rem; }
.step p { color: #aebbd4; font-size: .96rem; margin: 0; }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: center; }
@media (max-width: 740px){ .founder{ grid-template-columns: 1fr; gap: 26px;} }
.founder__photo { width: 220px; height: 220px; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--navy-3), #07080a); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 3.6rem; font-weight: 600; box-shadow: var(--shadow-lg); }
.founder blockquote { font-family: var(--serif); margin: 0 0 16px; font-size: 1.42rem; color: var(--navy); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.founder blockquote::before { content: "\201C"; }
.founder blockquote::after { content: "\201D"; }
.founder cite { font-style: normal; font-family: var(--mono); color: var(--slate); font-size: .82rem; letter-spacing: .03em; }
.placeholder-note { margin-top: 20px; font-family: var(--mono); font-size: .74rem; color: var(--slate-2); border-left: 3px solid var(--gold); padding: 6px 0 6px 14px; background: rgba(0,113,227,.05); line-height: 1.55; }

/* ---------- faq ---------- */
.faq details { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; background: #fff; overflow: hidden; transition: border-color .15s; }
.faq details[open] { border-color: var(--navy-3); }
.faq summary { cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 20px; height: 20px; flex-shrink: 0; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066cc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14'/%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 22px; color: var(--slate); font-size: 1rem; }
.faq .ans p:last-child { margin: 0; }

/* ---------- subscribe ---------- */
.subscribe-card { position: relative; overflow: hidden; background: radial-gradient(900px 400px at 80% -20%, rgba(0,113,227,.16), transparent 60%), linear-gradient(180deg, var(--navy) 0%, #07080a 100%); border-radius: var(--r-lg); padding: 56px 44px; color: #e9eefb; text-align: center; box-shadow: var(--shadow-lg); }
.subscribe-card h2 { color: #fff; }
.subscribe-card .lead { color: #b9c6e2; margin: 0 auto 28px; }
.subform { display: flex; flex-wrap: wrap; gap: 10px; max-width: 500px; margin: 0 auto; position: relative; z-index: 1; }
.subform input[type=email] { flex: 1; padding: 16px 18px; border-radius: var(--r-sm); border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; font-size: 1rem; font-family: var(--sans); }
.subform input::placeholder { color: #8595b8; }
.subform input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.1); }
@media (max-width: 560px){ .subform{ flex-direction: column;} }
.subintent { display: flex; flex-direction: column; gap: 9px; max-width: 500px; margin: 16px auto 0; text-align: left; }
.subintent label { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #c4d0e4; cursor: pointer; }
.subintent input { width: 16px; height: 16px; accent-color: var(--gold); flex-shrink: 0; }
.subnote { font-family: var(--mono); font-size: .74rem; letter-spacing: .02em; color: #8595b8; margin-top: 18px; }
.subnote a { color: #c6d2e8; text-decoration: underline; }
.form-msg { margin-top: 16px; font-size: .94rem; font-weight: 500; min-height: 1.2em; }
.form-msg.ok { color: #84e6ad; } .form-msg.err { color: #ffb0a0; }

/* ---------- footer ---------- */
.site-footer { background: #07080a; color: #93a3c2; padding: 60px 0 34px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
@media (max-width: 740px){ .footer-grid{ grid-template-columns: 1fr;} }
.site-footer a { color: #b9c6e2; }
.site-footer h4 { font-family: var(--sans); color: #fff; font-size: .82rem; letter-spacing: 0; margin: 0 0 14px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.disclaimer { border-top: 1px solid var(--navy-line); padding-top: 24px; font-size: .82rem; color: #7888ab; line-height: 1.65; }
.disclaimer strong { color: #aebbd4; }

/* ---------- signature: enforcement trendline ---------- */
.signature { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); background: rgba(0,113,227,.08); border: 1px solid rgba(0,113,227,.28); padding: 5px 11px; border-radius: 999px; margin-bottom: 18px; }
.trend-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.trend-card__bar { background: var(--navy); color: #fff; padding: 15px 22px; display: flex; justify-content: space-between; align-items: center; }
.trend-card__bar b { font-family: var(--serif); font-size: 1rem; font-weight: 560; }
.trend-card__bar span { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.trend-card__body { padding: 8px 22px 18px; }
.trow { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.trow:last-child { border-bottom: 0; }
.trow__name { font-weight: 600; color: var(--navy); font-size: .96rem; }
.trow__name small { display: block; font-family: var(--mono); color: var(--slate-2); font-size: .68rem; letter-spacing: .03em; margin-top: 3px; font-weight: 400; }
.dir { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: .64rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.dir--up { color: var(--sig-red); border-color: rgba(196,69,47,.4); background: rgba(196,69,47,.06); }
.dir--steady { color: var(--sig-amber); border-color: rgba(201,132,21,.4); background: rgba(201,132,21,.07); }
.dir--cool { color: var(--sig-green); border-color: rgba(47,125,82,.4); background: rgba(47,125,82,.06); }
.trend-card__foot { font-family: var(--mono); font-size: .64rem; color: var(--slate-2); text-align: center; padding: 12px 0 4px; letter-spacing: .02em; }

/* ---------- platform tool-lines ---------- */
.statusbadge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .6rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid; }
.statusbadge--live { color: var(--gold-2); background: rgba(0,113,227,.09); border-color: rgba(0,113,227,.32); }
.statusbadge--dev { color: var(--slate-2); background: var(--bg-alt); border-color: var(--line); }
.toolline { display: flex; flex-direction: column; }
.toolline .lhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.toolset { list-style: none; padding: 0; margin: 16px 0 0; }
.toolset li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.toolset li .name { color: var(--ink); font-weight: 500; }
.px { font-family: var(--mono); font-size: .56rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.px--free { color: var(--sig-green); border-color: rgba(47,125,82,.4); background: rgba(47,125,82,.06); }
.px--paid { color: var(--navy-3); border-color: rgba(22,51,107,.35); background: rgba(22,51,107,.06); }
.px--soon { color: var(--slate-2); border-color: var(--line); background: var(--bg-alt); }

/* ---------- CSA callout + product ---------- */
.csa-callout { display: flex; gap: 11px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border: 1px solid rgba(47,125,82,.3); background: rgba(47,125,82,.05); border-radius: var(--r); }
.csa-callout > .ti { color: var(--sig-green); font-size: 1.25rem; margin-top: 1px; flex-shrink: 0; }
.csa-callout p { margin: 0; font-size: .9rem; color: var(--slate); line-height: 1.5; }
.csa-callout b { color: var(--ink); font-weight: 600; }
.roadmap { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; justify-content: center; padding: 18px 24px; border: 1px dashed var(--line); border-radius: var(--r); background: #fff; }
.roadmap .rl { font-family: var(--mono); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--slate-2); }
.roadmap .ri { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--slate); }

/* ---------- supply-risk tag ---------- */
.supplytag { align-self: flex-start; margin-top: auto; padding: 5px 11px; font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .05em; color: var(--gold-2); background: rgba(0,113,227,.08); border: 1px solid rgba(0,113,227,.3); border-radius: 999px; }
.toolline p { margin-bottom: 14px; }

/* ---------- feedback loop ---------- */
.loop { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.loop .node { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--gold); background: rgba(0,113,227,.07); color: var(--gold-2); }
.loop .arrow { color: var(--gold-2); font-weight: 700; }

/* ---------- marquee: signature story ---------- */
.marquee { display: grid; grid-template-columns: 1.08fr .92fr; gap: 50px; align-items: center; }
@media (max-width: 920px){ .marquee{ grid-template-columns: 1fr; gap: 32px; } }
.marquee__story { font-family: var(--serif); font-size: 1.32rem; line-height: 1.5; color: #fff; font-weight: 500; }
.marquee__story em { color: var(--gold-soft); font-style: italic; }
.drill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px; }
.drill { font-family: var(--mono); font-size: .64rem; letter-spacing: .05em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--navy-line); color: #93a3c2; display: inline-flex; align-items: center; gap: 6px; }
.drill.off { color: var(--gold); border-color: rgba(0,113,227,.45); background: rgba(0,113,227,.09); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .bar { transition: none; } }

/* ============================================================
   APPLE-STYLE LIGHT THEME (override) — light, airy, near-black text,
   one restrained blue accent (#0071e3), pill buttons. Overrides the
   dark sections above (later cascade wins).
   ============================================================ */
:root {
  --navy: #1d1d1f;           /* now: ink for text/brand/logo chip */
  --navy-line: rgba(0,0,0,.10);
  --ink: #1d1d1f;
  --slate: #515257;          /* content gray — ~7:1 on white & #f5f5f7 (AA/AAA) */
  --slate-2: #5b6573;        /* secondary/meta gray — ~5.9:1 (AA) */
  --line: #d2d2d7;
  --bg-alt: #f5f5f7;
  --link: #0a5bd0;          /* body-link blue — ~5:1 on white (AA); --gold-2 #0066cc failed */
}
body { color: var(--ink); }

/* buttons → Apple pill */
.btn { border-radius: 980px; padding: 14px 26px; font-weight: 600; }
.btn:hover { transform: none; }
.btn--primary { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-2); border-color: var(--gold-2); box-shadow: none; }
.btn--ghost, .hero .btn--ghost, .section--navy .btn--ghost { color: var(--gold-2); border-color: var(--line); background: transparent; }
.btn--ghost:hover, .hero .btn--ghost:hover, .section--navy .btn--ghost:hover { border-color: var(--gold-2); background: transparent; }
.nav-links a.nav-cta { color: #fff; }
.nav-links a.nav-cta:hover { color: #fff; }

/* hero → white & airy */
.hero { background: #fff; color: var(--ink); }
.hero::after { display: none; }
.hero h1 { color: var(--ink); }
.hero h1 em { color: var(--gold); }
.hero p.lead { color: var(--slate); }
.hero-note { color: var(--slate-2); font-family: var(--sans); letter-spacing: 0; font-size: .92rem; }
.hero .eyebrow, .section--navy .eyebrow { color: var(--gold-2); }

/* trust strip → light */
.trustbar { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trustbar span { color: var(--slate); }

/* supply panel → light card */
.intel { background: var(--bg-alt); border: 1px solid var(--line); box-shadow: none; backdrop-filter: none; }
.intel__title { color: var(--slate-2); }
.intel__big { color: var(--ink); }
.intel__cap { color: var(--slate); }
.intel__cap a { color: var(--link); }
.intel__foot { border-top: 1px solid var(--line); }
.intel__foot p { color: var(--slate); }
.intel__foot b { color: var(--ink); }

/* "navy" sections (pilot) → light */
.section--navy { background: var(--bg-alt); color: var(--slate); }
.section--navy h2, .section--navy h3 { color: var(--ink); }
.section--navy .lead { color: var(--slate); }
.step::before { background: #fff; border: 1px solid var(--line); color: var(--gold-2); }
.step p { color: var(--slate); }

/* subscribe → light card */
.subscribe-card { background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink); }
.subscribe-card h2 { color: var(--ink); }
.subscribe-card .lead { color: var(--slate); }
.subscribe-card .eyebrow { color: var(--gold-2); }
.subform input[type=email] { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.subform input::placeholder { color: var(--slate-2); }
.subintent label { color: var(--slate); }
.subnote { color: var(--slate-2); font-family: var(--sans); letter-spacing: 0; }
.subnote a { color: var(--link); }

/* footer → light */
.site-footer { background: var(--bg-alt); color: var(--slate); border-top: 1px solid var(--line); }
.site-footer a { color: var(--slate); }
.site-footer a:hover { color: var(--gold-2); }
.site-footer h4 { color: var(--ink); }
.disclaimer { border-top: 1px solid var(--line); color: var(--slate-2); }
.disclaimer strong { color: var(--slate); }

/* ---------- phone type & spacing scale ---------- */
@media (max-width: 600px) {
  html { font-size: 16px; }
  .section { padding: 58px 0; }
  .hero { padding: 52px 0 44px; }
  .wrap { padding: 0 20px; }
  h1 { font-size: clamp(1.85rem, 7.5vw, 2.35rem); }
  .lead, .hero p.lead { font-size: 1.12rem; }
  .intel__big { font-size: 1.75rem !important; }
  .btn { padding: 13px 22px; }
}

/* ============================================================
   SHIP-BLOCKER FIXES (design-panel review) — accent scarcity,
   AA contrast, caption legibility, keyboard focus. Latest cascade.
   ============================================================ */

/* Hero product subhead — makes "what it is" land in a 3-second scan */
.hero-sub { font-size: 1.32rem; line-height: 1.4; font-weight: 600; color: var(--ink);
  letter-spacing: -.012em; max-width: 30ch; margin: 0 0 .85rem; }

/* Accent scarcity: blue is reserved for CTAs + true links.
   Demote decorative "dashboard" chrome to quiet gray. */
.supplytag { color: var(--slate); background: var(--bg-alt); border-color: var(--line);
  font-size: .8rem; font-weight: 600; }
.loop .node { color: var(--slate); border-color: var(--line); background: var(--bg-alt); }

/* Caption legibility floor (was ~11–12px) */
.intel__title { font-size: .8rem; }
.subnote { font-size: .8rem; }

/* Visible keyboard focus everywhere (was only on the email input) */
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible,
input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px;
}

/* Respect reduced-motion for in-page smooth scroll */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 600px) { .hero-sub { font-size: 1.12rem; } }

/* Mobile tap-target sizing — comfortable touch targets (WCAG 2.5.5 / Apple HIG ~44px).
   Inline links inside sentences are intentionally left as-is (WCAG inline exception). */
@media (max-width: 600px) {
  .site-footer li a { display: inline-block; padding: 8px 0; }
  .card > a { display: inline-block; padding: 9px 0; }
}

/* ===== Self-check (ephemeral — nothing saved or sent) ===== */
#riskForm .qrow { display: block; border-top: 1px solid var(--line); padding: 18px 2px; }
#riskForm .qrow:first-child { border-top: none; }
.qrow__q { font-weight: 600; color: var(--ink); margin: 0 0 10px; font-size: 1.04rem; line-height: 1.4; }
.qrow__opts { display: flex; gap: 8px; flex-wrap: wrap; }
.opt { font-family: inherit; font-size: .9rem; font-weight: 600; padding: 8px 16px; border-radius: 980px; border: 1px solid var(--line); background: #fff; color: var(--slate); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.opt:hover { border-color: var(--ink); }
.opt.is-sel { background: var(--ink); color: #fff; border-color: var(--ink); }
#riskResult { display: none; margin-top: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 26px 28px; }
#riskResult.is-on { display: block; }
.result__band { font-weight: 800; font-size: 1.18rem; letter-spacing: -.01em; margin-bottom: 12px; }
.result__band.low { color: #2f7d52; } .result__band.mod { color: #b9740f; } .result__band.high { color: #c4452f; }
.result__meter { height: 8px; border-radius: 980px; background: var(--bg-alt); overflow: hidden; margin-bottom: 16px; }
.result__meter span { display: block; height: 100%; width: 0; border-radius: 980px; transition: width .8s ease; }
.result__text { color: var(--slate); margin: 0; font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .result__meter span { transition: none; } }

/* ===== Round-2: intent now inside the form, mobile self-check, skip link ===== */
.subform .subintent { width: 100%; max-width: none; margin: 0 0 14px; }
@media (max-width: 560px) { .qrow__opts { flex-direction: column; } .opt { width: 100%; text-align: center; padding-top: 12px; padding-bottom: 12px; } }
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 9999; background: #1d1d1f; color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
/* self-check: collapsible on mobile (open on desktop via JS) */
.selfcheck-q > summary { cursor: pointer; display: inline-block; font-weight: 600; color: var(--link); padding: 10px 18px; border: 1px solid var(--line); border-radius: 980px; list-style: none; margin-top: 10px; }
.selfcheck-q > summary::-webkit-details-marker { display: none; }
.selfcheck-q[open] > summary { display: none; }

/* ---------- hero proof card (the brief quoting itself) ---------- */
.proof { background: #fff; border: 1px solid #e5e9f0; border-left: 4px solid var(--gold-2); border-radius: 12px; box-shadow: 0 1px 2px rgba(10,31,68,.06), 0 16px 40px rgba(10,31,68,.09); padding: 28px 28px 22px; max-width: 460px; width: 100%; justify-self: center; }
.proof__head { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #64748b; margin-bottom: 18px; }
.proof__head .brand-mark { width: 22px; height: 22px; border-radius: 6px; }
.proof__dots { display: grid; grid-template-columns: repeat(16, 8px); gap: 6px; margin-bottom: 10px; }
.proof__dots span { width: 8px; height: 8px; border-radius: 50%; background: #cfd8e3; }
.proof__dots span.hit { background: var(--gold-2); }
.proof__cap { font-family: var(--mono); font-size: .8rem; color: #475569; margin: 0 0 18px; }
.proof__cap b { color: var(--gold-2); font-weight: 600; }
.proof__quote { margin: 0 0 18px; padding-left: 16px; border-left: 3px solid var(--gold-2); font-size: 1.05rem; line-height: 1.5; font-weight: 500; color: #0a2540; }
.proof__skel { position: relative; margin-bottom: 14px; }
.proof__skel span { display: block; height: 10px; border-radius: 6px; background: #eef2f7; margin-bottom: 10px; width: 82%; }
.proof__skel::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); }
.proof__link { font-size: .9rem; font-weight: 600; color: var(--link); }
@media (max-width: 940px) { .proof { margin: 0 auto; } }

/* hero A-grade fixes: fold, accent binding, slim eyebrow, real mono, bigger dots */
.hero { padding: 44px 0 60px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 { text-wrap: balance; }
.eyebrow--slim { font-size: .72rem; font-weight: 600; color: var(--slate); letter-spacing: .05em; text-transform: uppercase; }
.proof__head, .proof__cap { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.proof__dots { grid-template-columns: repeat(16, 10px); gap: 8px; }
.proof__dots span { width: 10px; height: 10px; }
.proof__by { font-size: .8rem; color: #64748b; margin: 0 0 10px; }
.subhint { display: block; font-size: .78rem; font-weight: 400; color: var(--slate-2); margin-top: 2px; }

/* ============================================================
   v1 LAUNCH — three pillars, the free→$149→custom ladder,
   the hero "free account" card, subtle staggered motion.
   Latest cascade; reuses existing tokens.
   ============================================================ */

/* ----- hero "free account" card (right column) ----- */
.acct-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold-2);
  border-radius: 16px; box-shadow: 0 1px 2px rgba(10,31,68,.06), 0 16px 40px rgba(10,31,68,.09);
  padding: 26px 26px 22px; max-width: 420px; width: 100%; justify-self: center; }
.acct-card__head { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 18px; }
.acct-card__head .brand-mark { width: 24px; height: 24px; border-radius: 7px; }
.acct-list { list-style: none; padding: 0; margin: 0 0 22px; }
.acct-list li { display: flex; align-items: flex-start; gap: 11px; padding: 11px 0; border-top: 1px solid var(--line);
  font-size: .95rem; color: var(--slate); line-height: 1.5; }
.acct-list li:first-child { border-top: 0; }
.acct-list li b { color: var(--ink); font-weight: 600; }
.acct-list .ti { color: var(--sig-green); font-size: 1.15rem; margin-top: 2px; flex-shrink: 0; stroke-width: 2.4; }
.acct-card__cta { margin-top: 4px; }
.acct-card__note { font-size: .8rem; color: var(--slate-2); text-align: center; margin: 12px 0 0; }
@media (max-width: 940px) { .acct-card { margin: 0 auto; } }

/* ----- pillars (What we build) — 3 across, 1 on phones ----- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
@media (max-width: 920px) { .pillars { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }
.buildnote { display: flex; gap: 11px; align-items: flex-start; max-width: 780px; margin: 26px auto 0;
  padding: 14px 18px; border: 1px solid rgba(47,125,82,.3); background: rgba(47,125,82,.05);
  border-radius: var(--r); font-size: .9rem; color: var(--slate); line-height: 1.55; text-align: left; }
.scenarios { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.scenario { font-size: .72rem; font-weight: 600; color: var(--slate); background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }

/* ----- the ladder (How to start) ----- */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; align-items: stretch; }
@media (max-width: 920px) { .ladder { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
.rung { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.rung:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.rung--feature { border: 2px solid var(--gold); box-shadow: var(--shadow-lg); position: relative; }
.rung__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: .66rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #fff;
  background: var(--gold); padding: 5px 14px; border-radius: 999px; }
.rung__step { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.rung h3 { margin: 8px 0 6px; font-size: 1.24rem; }
.rung__price { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin: 0 0 18px; }
.rung__per { font-size: .95rem; font-weight: 600; color: var(--slate-2); letter-spacing: 0; }
.rung .check { margin: 0 0 24px; }
.rung .check li { padding: 10px 0 10px 32px; font-size: .93rem; }
.rung .check li::before { top: 10px; width: 20px; height: 20px; }
.rung__cta { margin-top: auto; }

/* ----- founder link ----- */
.founder__link { margin-top: 16px; font-size: .95rem; }
.founder__link a { font-weight: 600; }

/* ----- staggered scroll-reveal within a grid ----- */
.pillars .reveal:nth-child(2), .ladder .reveal:nth-child(2) { transition-delay: .09s; }
.pillars .reveal:nth-child(3), .ladder .reveal:nth-child(3) { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) { .pillars .reveal, .ladder .reveal { transition-delay: 0s !important; } }

/* ----- hero card entrance on phones: keep the airy single column ----- */
@media (max-width: 940px) { .hero-grid { gap: 36px; } }

/* ----- founder photo (real headshot replaces the monogram) ----- */
img.founder__photo { object-fit: cover; object-position: center top; display: block; }

/* ----- trust note icon (What we build) ----- */
.buildnote .ti { color: var(--sig-green); font-size: 1.2rem; margin-top: 1px; flex-shrink: 0; }

/* ----- signup: optional intents demoted below the email + button ----- */
.subform .subintent--optional { width: 100%; max-width: none; order: 9; margin: 18px 0 0;
  padding-top: 16px; border-top: 1px solid var(--line); }
.subintent__label { display: block; width: 100%; font-size: .8rem; font-weight: 600;
  color: var(--slate-2); letter-spacing: 0; margin-bottom: 6px; text-align: left; }
