/* =====================================================================
   Conduit Project Flow — marketing site
   Design system built on the program's brand tokens (see _planning/brand-tokens.md)
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* dark chrome */
  --ink:        #0F1720;
  --navy:       #0e1623;
  --navy-2:     #15233b;
  --navy-3:     #0e1828;
  --topbar:     #1A232E;
  --line-dark:  #2A3340;
  --line-dark-2:#1f2a3a;
  --tile:       #1c2b45;
  --tile-line:  #2c3c57;

  /* accents */
  --orange:     #e85d04;
  --orange-600: #cf5204;
  --orange-soft:#fdedd9;
  --blue:       #3f8cf4;
  --blue-2:     #4d93f6;
  --blue-deep:  #1d4ed8;
  --steel:      #93B5DA;
  --muted-blue: #7f93b0;
  --subtle-blue:#9fb3d4;

  /* light surfaces */
  --paper:      #F3F4F6;
  --card:       #FAFAFA;
  --white:      #ffffff;
  --head-1:     #EDEEF0;
  --head-2:     #DADBDD;
  --border:     #C0C1C4;
  --input-border:#D1D5DB;
  --ink-text:   #1E293B;
  --slate-500:  #64748b;
  --muted:      #6E7682;

  /* status palette (the product's visual language) */
  --green:  #15803d; --green-soft:  #e8f5e9;
  --amber:  #b45309; --amber-soft:  #fdf3df;
  --red:    #b91c1c; --red-soft:    #fbe9e9;
  --target: #1d4ed8; --target-soft: #EFF6FF;

  /* text on dark */
  --on-dark:    #C9CDD3;
  --near-white: #eef4fc;
  --dim:        #8b96a8;

  /* system */
  --container: 1180px;
  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15,23,32,.06), 0 1px 3px rgba(15,23,32,.10);
  --shadow:    0 10px 30px -12px rgba(15,23,32,.35);
  --shadow-lg: 0 40px 80px -28px rgba(8,14,24,.55);
  --ease:      cubic-bezier(.22,.61,.36,1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font);
  color: var(--ink-text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1,h2,h3,h4 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; color: var(--ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(4rem, 8.5vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section.dark { background: var(--navy); color: var(--on-dark); }
.section.ink  { background: var(--ink);  color: var(--on-dark); }
.section.paper{ background: var(--paper); }
.section.white{ background: var(--white); }
.dark h1,.dark h2,.dark h3,.dark h4,.ink h1,.ink h2,.ink h3,.ink h4 { color: var(--near-white); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .18em; color: var(--muted-blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--orange); }
.paper .eyebrow, .white .eyebrow { color: var(--orange-600); }
.eyebrow.plain::before { display: none; }

h1.display {
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  line-height: 1.02; font-weight: 800; letter-spacing: -0.035em;
}
h2.h2 { font-size: clamp(1.9rem, 3.9vw, 2.85rem); letter-spacing: -0.03em; }
h3.h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.075rem, 1.8vw, 1.28rem); line-height: 1.6; color: var(--muted); }
.dark .lead, .ink .lead { color: var(--subtle-blue); }
.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }
.center { text-align: center; }
.center .eyebrow, .center.eyebrow { justify-content: center; }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}.mt-5{margin-top:3rem}
.text-orange{color:var(--orange)} .text-blue{color:var(--blue-2)} .text-steel{color:var(--steel)}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.35rem; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; letter-spacing: -0.01em;
  transition: transform .15s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(232,93,4,.7); }
.btn--primary:hover { background: var(--orange-600); box-shadow: 0 12px 26px -8px rgba(232,93,4,.8); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--near-white); border-color: rgba(147,181,218,.35); }
.btn--ghost:hover { border-color: var(--steel); background: rgba(147,181,218,.10); }
.btn--dark { background: var(--blue); color: #06101f; }
.btn--dark:hover { background: var(--blue-2); transform: translateY(-1px); }
.btn--light { background: var(--ink); color: #fff; }
.btn--light:hover { background: #1b2735; transform: translateY(-1px); }
.btn--lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }
.btn .ar { transition: transform .2s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* text link with arrow */
.link {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--orange-600);
}
.dark .link, .ink .link { color: var(--blue-2); }
.link .ar { transition: transform .2s var(--ease); }
.link:hover .ar { transform: translateX(4px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .7rem; }
.logo__mark { width: 34px; height: 30px; flex: none; }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-weight: 800; font-size: 1.06rem; letter-spacing: .14em; color: var(--near-white); }
.logo__sub  { font-weight: 600; font-size: .56rem; letter-spacing: .42em; color: var(--steel); margin-top: 3px; }
.logo--ink .logo__name { color: var(--ink); }
.logo--ink .logo__sub  { color: var(--slate-500); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14,22,35,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled { background: rgba(12,18,28,.95); border-bottom-color: var(--line-dark); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 1rem; }
.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  padding: .5rem .8rem; border-radius: 8px; color: var(--on-dark); font-weight: 500; font-size: .96rem;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav__link:hover { color: #fff; background: rgba(147,181,218,.10); }
.nav__link.active { color: #fff; }
.nav__link.active::after { content:""; display:block; height:2px; border-radius:2px; background: var(--orange); margin-top: 4px; }
.nav__right { display: flex; align-items: center; gap: .65rem; }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 9px; border: 1px solid var(--line-dark);
  background: transparent; color: var(--near-white); align-items: center; justify-content: center; }
.nav__toggle svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .nav__links { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid var(--line-dark); padding: .5rem 1rem 1.25rem;
    transform: translateY(-130%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); }
  .nav__links.open { transform: translateY(0); }
  .nav__link { padding: .85rem .8rem; border-bottom: 1px solid var(--line-dark-2); font-size: 1.05rem; }
  .nav__link.active::after { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__right .btn--primary { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 80% -10%, #14233c 0%, var(--navy) 45%, var(--ink) 100%); color: var(--on-dark); }
.hero::before { /* faint conduit-rail grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(90deg, rgba(147,181,218,.06) 1px, transparent 1px);
  background-size: 96px 100%;
  -webkit-mask-image: radial-gradient(80% 60% at 70% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(80% 60% at 70% 0%, #000 0%, transparent 75%);
}
.hero__inner { position: relative; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero__copy { max-width: 640px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem .4rem .55rem;
  border: 1px solid var(--tile-line); background: rgba(28,43,69,.5); border-radius: 999px;
  font-size: .78rem; color: var(--subtle-blue); font-weight: 500;
}
.badge-pill b { color: var(--near-white); font-weight: 700; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(21,128,61,.25); }
.hero h1 { color: var(--near-white); margin-top: 1.3rem; }
.hero .lead { margin-top: 1.3rem; max-width: 33em; }
.hero .btn-row { margin-top: 2rem; }
.hero__meta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .85rem; color: var(--dim); }
.hero__meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__meta svg { width: 16px; height: 16px; color: var(--blue-2); }

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: 2; }
}

/* ---------- Window frame (screenshots) ---------- */
.window {
  border-radius: var(--radius); overflow: hidden; background: var(--topbar);
  border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg);
}
.window__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #131c28; border-bottom: 1px solid var(--line-dark); }
.window__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2c3a4c; display: block; }
.window__bar i:nth-child(1){ background:#e0533b; } .window__bar i:nth-child(2){ background:#e0a93b; } .window__bar i:nth-child(3){ background:#3ca64f; }
.window__bar span { margin-left: 10px; font-size: .72rem; color: var(--dim); letter-spacing: .02em; }
/* Product shots are framed as a fixed-ratio DESKTOP viewport (16:10).
   Tall full-page captures crop to their top (where the app chrome lives);
   wide captures center. This keeps every shot reading as an on-screen desktop view. */
.window__body { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.window__body img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }
.window__body.pos-left img { object-position: top left; }
.window__body.pos-center img { object-position: center center; }
.window--wide .window__body { aspect-ratio: 16 / 9; }

.float-chip {
  background: var(--navy); border: 1px solid var(--tile-line); border-radius: 12px;
  padding: .7rem .9rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--near-white);
}
.float-chip .dot { width: 10px; height: 10px; border-radius: 50%; }

/* Home hero: centered copy over a wide desktop showcase */
.hero__top { max-width: 840px; margin-inline: auto; text-align: center; }
.hero__top .badge-pill { margin-inline: auto; }
.hero__top .lead { margin-inline: auto; }
.hero__top .btn-row { justify-content: center; }
.hero__top .hero__meta { justify-content: center; }
.hero__showcase { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); }
.hero__showcase .float-chip { position: absolute; }
.hero__showcase .chip-a { bottom: -16px; left: -16px; }
.hero__showcase .chip-b { top: -18px; right: -16px; }
@media (max-width: 620px){ .hero__showcase .float-chip { display: none; } }

/* ---------- Section heading block ---------- */
.section-head { max-width: 64ch; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 1rem; }
.section-head .lead { margin-top: 1rem; }

/* ---------- Feature rows (alternating) ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.feature + .feature { margin-top: clamp(3.5rem, 7vw, 6rem); }
.feature--flip .feature__media { order: 2; }
.feature__body { max-width: 36em; }
.feature__list { display: grid; gap: .85rem; margin-top: 1.5rem; }
.feature__list li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.5; }
.feature__list .tick { flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); margin-top: 2px; }
.dark .feature__list .tick, .ink .feature__list .tick { background: rgba(21,128,61,.16); }
.feature__list .tick svg { width: 13px; height: 13px; }
.feature__list b { color: inherit; }
.dark .feature__body .lead { color: var(--subtle-blue); }
@media (max-width: 860px){
  .feature { grid-template-columns: 1fr; gap: 1.75rem; }
  .feature--flip .feature__media { order: 0; }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .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(--white); border: 1px solid #e7e8ea; border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d7d8da; }
.dark .card, .ink .card { background: linear-gradient(180deg, #142033, #101a29); border-color: var(--tile-line); box-shadow: none; }
.dark .card:hover, .ink .card:hover { border-color: #38496a; }
.dark .card h3, .ink .card h3 { color: var(--near-white); }
.card__icon { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-600); margin-bottom: 1.1rem; }
.dark .card__icon, .ink .card__icon { background: var(--tile); color: var(--blue-2); border: 1px solid var(--tile-line); }
.card__icon svg { width: 23px; height: 23px; }
.card h3 { font-size: 1.16rem; }
.card p { margin-top: .55rem; color: var(--muted); font-size: .97rem; line-height: 1.6; }
.dark .card p, .ink .card p { color: var(--subtle-blue); }
.card--accent { border-top: 3px solid var(--orange); }

/* tinted icon variants (status palette) */
.ic-green{ background:var(--green-soft); color:var(--green);} .ic-amber{ background:var(--amber-soft); color:var(--amber);}
.ic-red{ background:var(--red-soft); color:var(--red);} .ic-blue{ background:var(--target-soft); color:var(--target);}

/* ---------- Status chips (product motif) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .7rem; border-radius: 999px;
  font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border: 1px solid;
}
.chip .d { width: 9px; height: 9px; border-radius: 50%; }
.chip.is-todo  { background: var(--white);       color: var(--slate-500); border-color: var(--input-border); }
.chip.is-todo .d { background:#fff; border:1px solid #9CA3AF; }
.chip.is-prog  { background: var(--amber-soft);   color: var(--amber);  border-color: #f0d9a8; } .chip.is-prog .d{ background: var(--amber); }
.chip.is-done  { background: var(--green-soft);   color: var(--green);  border-color: #b7e0c2; } .chip.is-done .d{ background: var(--green); }
.chip.is-target{ background: var(--target-soft);  color: var(--target); border-color: #c2d8fa; } .chip.is-target .d{ background: var(--target); }
.chip.is-crit  { background: var(--red-soft);     color: var(--red);    border-color: #efbcbc; } .chip.is-crit .d{ background: var(--red); }

/* ---------- Milestone timeline (signature graphic) ---------- */
.timeline { position: relative; margin-top: 2.5rem; }
.timeline__track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; }
.timeline__rail { position: absolute; left: 0; right: 0; top: 19px; height: 3px; background: var(--line-dark); border-radius: 3px; }
.timeline__rail-fill { position: absolute; left: 0; top: 19px; height: 3px; width: 62%; background: var(--green); border-radius: 3px; }
.ms { position: relative; text-align: center; padding: 0 .35rem; }
.ms__dot { width: 40px; height: 40px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center;
  background: var(--navy); border: 3px solid var(--line-dark); position: relative; z-index: 2; }
.ms__dot svg { width: 18px; height: 18px; }
.ms.done .ms__dot { border-color: var(--green); color: #34c759; background: #0c1f17; }
.ms.active .ms__dot { border-color: var(--blue); color: var(--blue-2); background: #0e1f37; box-shadow: 0 0 0 6px rgba(63,140,244,.16); }
.ms__label { margin-top: .8rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--subtle-blue); }
.ms__date { font-size: .8rem; color: var(--dim); margin-top: .25rem; }
.ms.active .ms__label { color: #fff; }
.ms__pill { display:inline-block; margin-top:.5rem; font-size:.68rem; font-weight:700; padding:.18rem .5rem; border-radius:999px; background: rgba(63,140,244,.18); color: var(--blue-2); }
@media (max-width: 760px){
  .timeline__track { grid-auto-flow: row; grid-auto-columns: auto; gap: 0; }
  .timeline__rail, .timeline__rail-fill { left: 19px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .timeline__rail-fill { height: 62%; }
  .ms { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; text-align: left; align-items: center; padding: .6rem 0; }
  .ms__dot { margin: 0; }
  .ms__label { margin-top: 0; }
}

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.stat__num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; color: var(--near-white);
  background: linear-gradient(180deg,#fff, #b9c6dc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { color: var(--subtle-blue); font-size: .92rem; margin-top: .35rem; }
@media (max-width:760px){ .stats{ grid-template-columns: repeat(2,1fr); gap: 1.75rem 1rem;} }

/* ---------- Split / contrast panel ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 720px){ .compare { grid-template-columns: 1fr; } }
.compare__col { border-radius: var(--radius); padding: 1.7rem 1.6rem; border: 1px solid; }
.compare__col h3 { font-size: 1.08rem; }
.compare__col ul { margin-top: 1rem; display: grid; gap: .7rem; }
.compare__col li { display: flex; gap: .6rem; align-items: flex-start; font-size: .98rem; line-height: 1.5; }
.compare__col .mk { flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; margin-top: 2px; }
.compare__col .mk svg { width: 12px; height: 12px; }
.compare__them { background: #f6f3f1; border-color: #e7ddd6; }
.compare__them h3 { color: var(--slate-500); }
.compare__them .mk { background: #eadfd8; color: #9a7b67; }
.compare__them li { color: #6b6258; }
.compare__us { background: linear-gradient(180deg,#142033,#101a29); border-color: var(--tile-line); color: var(--on-dark); }
.compare__us h3 { color: var(--near-white); }
.compare__us .mk { background: rgba(232,93,4,.18); color: var(--orange); }
.compare__us li { color: var(--subtle-blue); }
.compare__us li b { color: var(--near-white); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(120% 130% at 0% 0%, #16294a 0%, var(--navy) 55%);
  border: 1px solid var(--tile-line); padding: clamp(2.5rem, 5vw, 4rem);
}
.cta::after { content:""; position:absolute; right:-60px; top:-60px; width:280px; height:280px; border-radius:50%;
  background: radial-gradient(circle, rgba(232,93,4,.20), transparent 65%); pointer-events:none; }
.cta h2 { color: var(--near-white); }
.cta .lead { color: var(--subtle-blue); }
.cta__grid { display:grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
@media (max-width: 820px){ .cta__grid{ grid-template-columns: 1fr; } }

/* ---------- Forms (waitlist) ---------- */
.form-card { background: var(--white); border: 1px solid #e7e8ea; border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.dark .form-card, .ink .form-card { background: linear-gradient(180deg,#142033,#101a29); border-color: var(--tile-line); }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.dark .field label, .ink .field label { color: var(--subtle-blue); }
.field .req { color: var(--orange-600); }
.input, .select, .textarea {
  width: 100%; padding: .8rem .9rem; border-radius: 9px; border: 1px solid var(--input-border);
  background: var(--white); color: var(--ink-text); font: inherit; font-size: 1rem;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.dark .input, .dark .select, .dark .textarea, .ink .input, .ink .select, .ink .textarea {
  background: #0c1626; border-color: #29384f; color: var(--near-white);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,93,4,.18); }
.textarea { resize: vertical; min-height: 96px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .25rem; }
.dark .form-note, .ink .form-note { color: var(--dim); }
.form-success {
  display: none; text-align: center; padding: 1rem 0;
}
.form-success.show { display: block; }
.form-success .check { width: 58px; height: 58px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 1rem; }
.dark .form-success .check, .ink .form-success .check { background: rgba(21,128,61,.18); }
.form-success .check svg { width: 28px; height: 28px; }
.is-invalid { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(185,28,28,.16) !important; }
.field-error { color: var(--red); font-size: .8rem; display: none; }
.field-error.show { display: block; }

/* ---------- Misc blocks ---------- */
.kicker-row { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; color: var(--dim); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.kicker-row span { display: inline-flex; align-items: center; gap: .5rem; }
.kicker-row .d { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.quote { font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.35; font-weight: 700; letter-spacing: -.02em; color: var(--near-white); max-width: 22ch; }
.quote .accent { color: var(--orange); }

.note-band { border-left: 3px solid var(--orange); background: var(--orange-soft); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; color: #7a4a1e; font-size: .95rem; }

/* persona list */
.persona { display: grid; gap: 1rem; }
.persona li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid #e7e8ea; border-radius: 12px; background: var(--white); }
.dark .persona li, .ink .persona li { background: linear-gradient(180deg,#142033,#101a29); border-color: var(--tile-line); }
.persona .pic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--tile); color: var(--blue-2); }
.persona .pic svg { width: 20px; height: 20px; }
.persona b { display:block; }
.persona p { color: var(--muted); font-size: .95rem; margin-top:.15rem; }
.dark .persona p, .ink .persona p { color: var(--subtle-blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: 3.5rem 2rem; border-top: 1px solid var(--line-dark); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__about { max-width: 30ch; }
.footer__about p { color: var(--dim); font-size: .9rem; margin-top: 1rem; line-height: 1.6; }
.footer h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--steel); font-weight: 700; margin-bottom: 1rem; }
.footer__col a { display: block; color: var(--on-dark); padding: .3rem 0; font-size: .94rem; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); color: var(--dim); font-size: .84rem; }
.footer__bottom a { color: var(--dim); } .footer__bottom a:hover{ color: var(--steel); }
@media (max-width: 760px){ .footer__top { grid-template-columns: 1fr 1fr; gap: 1.75rem; } .footer__about{ grid-column: 1 / -1; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay: .08s; }
.reveal[data-delay="2"]{ transition-delay: .16s; }
.reveal[data-delay="3"]{ transition-delay: .24s; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* numbered phase steps (Who It's For) */
ol.grid { list-style: none; padding: 0; margin: 0; }
.persona-step { display: flex; gap: 1rem; align-items: flex-start; }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 1.1rem; }
.persona-step b { display: block; font-size: 1.1rem; color: var(--ink); letter-spacing: -.01em; }
.persona-step p { color: var(--muted); font-size: .95rem; margin-top: .25rem; line-height: 1.5; }

/* skip link */
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color:#fff; padding:.6rem 1rem; border-radius: 0 0 8px 0; z-index: 100; }
.skip:focus { left: 0; }
