/* Vestra website design direction "Plat to porch" (proposal, Oct 2026).
   Color and type come from the Vestra Brand Identity Kit v1.0 (Feb 2026, Google Drive).
   Spacing, type scale, radius and motion follow elayadesign/landing-page-design Part B. */

/* Type: Option A (06-type-system-options.md), chosen Oct 26, 2026. Newsreader for display and the wordmark,
   Inter Display for labels and buttons, Inter for body. Files come from the Vestra Brand Kit 05-Fonts folder
   (Newsreader variable TTF, Inter 4.1 variable, Inter Display 4.1 static), subset to Latin and saved as WOFF2. Licenses in fonts/. */
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-latin-var.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-latin-var.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url(fonts/interdisplay-latin-medium.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url(fonts/interdisplay-latin-semibold.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Brand kit v1.0 palette */
  --teal: #7CBFB5;          /* Vestra Teal: primary brand color, buttons, active indicators, mark */
  --teal-dark: #5A9E94;     /* hover */
  --teal-deeper: #3D7D73;   /* pressed, high contrast teal text */
  --teal-light: #E8F4F1;    /* tinted fills, badges */
  --navy: #1A2332;          /* primary text, dark surfaces */
  --charcoal: #2C3A4A;      /* secondary text */
  --karen: #7C5CFC;         /* Karen AI accent only */
  --warm-white: #FAFAF8;    /* page background */
  --border: #E5E7EB;
  --white: #FFFFFF;
  --mono: #F5F5F5;          /* kit "Mono" lockup surface, used as the light gray */
  --karen-tint: #F1EDFF;    /* derived: Karen Purple at 10% on white (flagged in 02-visual-system) */
  --muted: rgba(44,58,74,.72); /* charcoal at 72%, captions */

  /* elayadesign spacing scale only */
  --s25: 2px; --s50: 4px; --s75: 8px; --s100: 12px; --s200: 16px; --s300: 24px;
  --s400: 32px; --s500: 40px; --s600: 48px; --s700: 64px; --s800: 80px; --s900: 96px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --label: "Inter Display", "Inter", system-ui, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--sans); background: var(--warm-white); color: var(--navy); font-size: 16px; line-height: 24px; }
img { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
p { text-wrap: pretty; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 99; }
:focus-visible { outline: 2px solid var(--teal-deeper); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--s300); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s300); }

/* ---------- Type scale (Tailwind steps only) ---------- */
.t-9xl { font-family: var(--serif); font-size: 128px; line-height: 1; letter-spacing: -0.02em; }
.t-8xl { font-family: var(--serif); font-size: 96px; line-height: 1; letter-spacing: -0.02em; }
.t-7xl { font-family: var(--serif); font-size: 72px; line-height: 1; letter-spacing: -0.015em; }
.t-6xl { font-family: var(--serif); font-size: 60px; line-height: 1; letter-spacing: -0.015em; }
.t-5xl { font-family: var(--serif); font-size: 48px; line-height: 1; letter-spacing: -0.01em; }
.t-4xl { font-family: var(--serif); font-size: 36px; line-height: 40px; letter-spacing: -0.01em; }
.t-3xl { font-family: var(--serif); font-size: 30px; line-height: 36px; }
.t-xl { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.005em; }
.t-lg { font-size: 18px; line-height: 28px; color: var(--charcoal); }
.t-base { font-size: 16px; line-height: 24px; color: var(--charcoal); }
.t-sm { font-size: 14px; line-height: 20px; }
.t-xs { font-size: 12px; line-height: 16px; }
.muted { color: var(--muted); }
.ink { background: linear-gradient(90deg, var(--navy), var(--charcoal)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.label { display: inline-flex; align-items: center; gap: var(--s75); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--teal-deeper); }
.label::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--teal); }
.label.karen { color: var(--navy); }
.label.karen::before { background: var(--karen); }
.label.on-dark { color: var(--teal); }

/* ---------- Logo lockup (superseded below by the kit horizontal logo file) ---------- */
.lockup { display: inline-flex; align-items: center; gap: 10px; }
.lockup img { width: 28px; height: auto; }
.lockup span { font-family: var(--serif); font-size: 24px; line-height: 1; letter-spacing: -0.5px; color: var(--navy); }
.lockup.on-dark span { color: var(--white); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: var(--s75); font: 600 16px/24px var(--sans); padding: var(--s75) var(--s100) var(--s75) var(--s200); border-radius: 8px; transition: all 700ms var(--ease); cursor: pointer; border: 0; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-primary:active { background: var(--teal-deeper); color: var(--white); transform: scale(0.98); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--border); }
.btn-ghost:hover { background: var(--white); }
.btn-sm { font-size: 14px; line-height: 20px; padding: var(--s75) var(--s200); border-radius: 999px; }
.link { display: inline-flex; align-items: center; gap: var(--s50); font-weight: 600; color: var(--teal-deeper); }
.link svg { width: 16px; height: 16px; transition: transform 700ms var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- Fluid island nav ---------- */
.nav { position: absolute; top: var(--s300); left: 0; right: 0; z-index: 20; display: flex; justify-content: center; }
.nav-pill { display: flex; align-items: center; gap: var(--s400); width: max-content; padding: var(--s75) var(--s75) var(--s75) var(--s300); border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: blur(40px); box-shadow: inset 0 0 0 1px var(--border); }
.nav-links { display: flex; gap: var(--s300); font-size: 14px; line-height: 20px; color: var(--charcoal); font-weight: 500; }
.nav-links a { position: relative; padding: var(--s75) 0; }
.nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; border-radius: 999px; background: var(--teal); transform: translateX(-50%); }
.nav-end { display: flex; align-items: center; gap: var(--s200); font-size: 14px; font-weight: 600; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--border); position: relative; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--navy); transition: all 700ms var(--ease); }
.menu-btn i:first-child { top: 16px; } .menu-btn i:last-child { top: 23px; }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: var(--s900) 0; }
.sec-white { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s300); align-items: end; margin-bottom: var(--s700); }
.sec-head .h { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: var(--s300); }
.sec-head .p { grid-column: 9 / span 4; }

/* ---------- Hero ---------- */
.hero { padding: 160px 0 var(--s900); }
.hero .grid { align-items: center; }
.hero-copy { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: var(--s300); max-width: 680px; }
.hero-copy h1 { margin-top: var(--s75); }
.hero-copy .t-lg { max-width: 520px; }
.hero-cta { display: flex; align-items: center; gap: var(--s300); margin-top: var(--s200); }
.trust { display: flex; align-items: center; gap: var(--s100); margin-top: var(--s400); padding-top: var(--s300); border-top: 1px solid var(--border); max-width: 520px; font-size: 14px; line-height: 20px; color: var(--charcoal); }
.trust svg { width: 20px; height: 20px; color: var(--teal-deeper); flex: none; }
.trust a { font-weight: 600; color: var(--teal-deeper); white-space: nowrap; }
.hero-art { grid-column: 7 / span 6; position: relative; }
.sheet { position: relative; border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 1px var(--border); overflow: hidden; aspect-ratio: 600 / 640; }
.sheet .plat { position: absolute; inset: 0; width: 100%; height: 100%; }
.lotnum { font: 500 9px var(--sans); fill: var(--charcoal); opacity: .55; }
.titleblock { position: absolute; right: var(--s200); top: var(--s200); background: var(--white); border-radius: 8px; box-shadow: inset 0 0 0 1px var(--border); padding: var(--s75) var(--s100); font-size: 12px; line-height: 16px; color: var(--charcoal); display: flex; gap: var(--s200); }
.titleblock b { font-weight: 600; color: var(--navy); }
.caption { margin-top: var(--s200); font-size: 12px; line-height: 16px; color: var(--muted); display: flex; gap: var(--s75); align-items: center; }
.caption::before { content: ""; width: 16px; height: 1px; background: var(--muted); }

/* floating UI cards on the sheet */
.ui { position: absolute; background: var(--white); border-radius: 16px; box-shadow: 0 0 0 1px var(--border), 0 24px 48px -24px rgba(26,35,50,.18); padding: var(--s200); }
.ui h4 { font-size: 14px; line-height: 20px; font-weight: 600; }
.ui .sub { font-size: 12px; line-height: 16px; color: var(--muted); }
.ui-budget { left: -48px; top: 64px; width: 300px; }
.row { display: flex; align-items: center; gap: var(--s100); padding: var(--s75) 0; border-top: 1px solid var(--border); font-size: 12px; line-height: 16px; color: var(--charcoal); }
.row:first-of-type { margin-top: var(--s100); }
.row .name { flex: 1; }
.bar { height: 8px; border-radius: 999px; background: var(--mono); width: 56px; }
.chip { display: inline-flex; align-items: center; gap: var(--s50); font-size: 12px; line-height: 16px; font-weight: 600; padding: var(--s25) var(--s75); border-radius: 999px; background: var(--teal-light); color: var(--teal-deeper); white-space: nowrap; }
.chip.gray { background: var(--mono); color: var(--charcoal); }
.chip.karen { background: var(--karen-tint); color: var(--navy); }
.chip.karen::before, .chip.live::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--karen); }
.chip.live::before { background: var(--teal-deeper); }
.ui-pin { display: flex; align-items: center; gap: var(--s100); padding: var(--s75) var(--s100) var(--s75) var(--s75); border-radius: 999px; }
.ui-pin .dot { width: 24px; height: 24px; border-radius: 999px; background: var(--teal-light); display: grid; place-items: center; }
.ui-pin .dot::after { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--teal-deeper); }
.ui-karen { width: 312px; padding: var(--s100); }
.msg { font-size: 14px; line-height: 20px; padding: var(--s75) var(--s100); border-radius: 16px; max-width: 88%; }
.msg.me { background: var(--navy); color: var(--white); margin-left: auto; border-bottom-right-radius: 4px; }
.msg.k { background: var(--mono); color: var(--navy); border-bottom-left-radius: 4px; }
.k-head { display: flex; align-items: center; gap: var(--s75); font-size: 12px; line-height: 16px; font-weight: 600; margin-bottom: var(--s100); }
.k-av { width: 24px; height: 24px; border-radius: 999px; background: var(--karen); display: grid; place-items: center; color: var(--white); }
.k-av svg { width: 14px; height: 14px; }
.cite { margin-top: var(--s75); display: inline-flex; gap: var(--s50); align-items: center; font-size: 12px; line-height: 16px; color: var(--charcoal); background: var(--white); box-shadow: inset 0 0 0 1px var(--border); border-radius: 6px; padding: var(--s25) var(--s75); }
.cite svg { width: 12px; height: 12px; color: var(--karen); }

/* ---------- Audience switcher ---------- */
.tabs { display: inline-flex; gap: var(--s50); padding: var(--s50); border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--border); margin-bottom: var(--s300); }
.tab { display: inline-flex; align-items: center; gap: var(--s75); padding: var(--s75) var(--s200); border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--charcoal); transition: all 700ms var(--ease); }
.tab svg { width: 16px; height: 16px; }
.tab[aria-selected="true"] { background: var(--navy); color: var(--white); }
.panel { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s300); background: var(--white); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--border); padding: var(--s700); }
.panel-copy { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: var(--s300); }
.panel-art { grid-column: 7 / span 6; }
.checks { list-style: none; display: flex; flex-direction: column; gap: var(--s200); }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s100); font-size: 16px; line-height: 24px; color: var(--charcoal); }
.checks li b { color: var(--navy); font-weight: 600; }
.checks .ck { width: 24px; height: 24px; border-radius: 999px; background: var(--teal-light); color: var(--teal-deeper); display: grid; place-items: center; }
.checks .ck svg { width: 14px; height: 14px; }
.karen-line { display: grid; grid-template-columns: 24px 1fr; gap: var(--s100); padding: var(--s200); border-radius: 12px; background: var(--karen-tint); font-size: 14px; line-height: 20px; color: var(--navy); }
.docs { background: var(--warm-white); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--border); padding: var(--s300); display: flex; flex-direction: column; gap: var(--s100); height: 100%; }
.doc { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: var(--s200); background: var(--white); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--border); padding: var(--s200); }
.doc .ic { width: 40px; height: 40px; border-radius: 8px; background: var(--teal-light); color: var(--teal-deeper); display: grid; place-items: center; }
.doc .ic svg { width: 20px; height: 20px; }
.doc h5 { font-size: 14px; line-height: 20px; font-weight: 600; }
.doc p { font-size: 12px; line-height: 16px; color: var(--muted); }
.lines { display: flex; flex-direction: column; gap: var(--s75); margin-top: var(--s75); }
.lines i { display: block; height: 8px; border-radius: 999px; background: var(--mono); }

/* ---------- Lifecycle ---------- */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: var(--s300); position: relative; }
.stages::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--border); }
.stage { position: relative; display: flex; flex-direction: column; gap: var(--s100); padding-top: var(--s600); }
.stage::before { content: ""; position: absolute; top: 4px; left: 0; width: 16px; height: 16px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 4px var(--teal); }
.stage .n { font-size: 12px; line-height: 16px; color: var(--muted); font-weight: 600; }
.stage h3 { font-family: var(--sans); font-size: 20px; line-height: 28px; font-weight: 600; }
.stage p { font-size: 14px; line-height: 20px; color: var(--charcoal); }
.stage .who { font-size: 12px; line-height: 16px; color: var(--muted); margin-top: var(--s75); }
.coming { display: flex; align-items: center; gap: var(--s100); margin-top: var(--s700); padding-top: var(--s300); border-top: 1px solid var(--border); font-size: 14px; line-height: 20px; color: var(--charcoal); flex-wrap: wrap; }

/* ---------- Tagline reveal ---------- */
.reveal { padding: 160px 0; text-align: center; }
.reveal p { max-width: 880px; margin: 0 auto; font-family: var(--serif); font-size: 60px; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
.reveal .w { color: rgba(26,35,50,.28); transition: color 900ms var(--ease); }
.reveal .w.on { color: var(--navy); }

/* ---------- Karen ---------- */
.karen-sec .grid { align-items: center; }
.karen-copy { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: var(--s300); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s300); margin-top: var(--s200); padding-top: var(--s300); border-top: 1px solid var(--border); }
.roles h4 { font-size: 14px; line-height: 20px; font-weight: 600; }
.roles p { font-size: 14px; line-height: 20px; color: var(--charcoal); }
.aside { font-size: 16px; line-height: 24px; color: var(--navy); padding-left: var(--s200); box-shadow: inset 2px 0 0 var(--karen); }
.karen-art { grid-column: 7 / span 6; }
.chat { background: var(--white); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--border); overflow: hidden; }
.chat-top { display: flex; align-items: center; justify-content: space-between; padding: var(--s200) var(--s300); border-bottom: 1px solid var(--border); }
.chat-top .who { display: flex; gap: var(--s100); align-items: center; }
.chat-top .k-av { width: 32px; height: 32px; }
.chat-top h4 { font-size: 14px; line-height: 20px; font-weight: 600; }
.chat-body { padding: var(--s300); display: flex; flex-direction: column; gap: var(--s200); background: var(--warm-white); }
.chat-body .msg { font-size: 16px; line-height: 24px; padding: var(--s100) var(--s200); border-radius: 20px; }
.chat-body .msg.k { background: var(--white); box-shadow: inset 0 0 0 1px var(--border); }
.chat-body .msg.me { border-bottom-right-radius: 4px; }
.chat-body .msg.k { border-bottom-left-radius: 4px; }
.actions { display: flex; gap: var(--s75); margin-top: var(--s100); }
.act { font-size: 14px; line-height: 20px; font-weight: 600; padding: var(--s50) var(--s100); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--karen); color: var(--navy); }
.act.fill { background: var(--karen); color: var(--white); box-shadow: none; }
.chat-input { display: flex; align-items: center; gap: var(--s100); margin: 0 var(--s300) var(--s300); padding: var(--s75) var(--s75) var(--s75) var(--s200); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--border); background: var(--white); font-size: 14px; color: var(--muted); }
.chat-input .send { margin-left: auto; width: 32px; height: 32px; border-radius: 999px; background: var(--karen); color: var(--white); display: grid; place-items: center; }
.chat-input .send svg { width: 16px; height: 16px; }
.chat-wrap { background: var(--warm-white); }

/* ---------- Benefit cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s300); }
.card { background: var(--white); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--border); padding: var(--s100); display: flex; flex-direction: column; transition: all 700ms var(--ease); }
.card:hover { transform: translateY(-2px); }
.card-art { background: var(--warm-white); border-radius: 12px; height: 240px; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px var(--border); }
.card-copy { padding: var(--s300) var(--s200) var(--s200); display: flex; flex-direction: column; gap: var(--s100); }
.card-copy .who { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--teal-deeper); }
.card-copy h3 { font-family: var(--serif); font-size: 30px; line-height: 36px; }
.card-copy p { font-size: 16px; line-height: 24px; color: var(--charcoal); }

/* ---------- Pledge ---------- */
.pledge { background: var(--navy); color: var(--white); padding: var(--s900) 0; }
.pledge .grid { row-gap: var(--s600); }
.pledge-head { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: var(--s300); }
.pledge-head img { width: 40px; }
.pledge-head h2 { color: var(--white); }
.pledge-body { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: var(--s200); font-size: 18px; line-height: 28px; color: rgba(255,255,255,.78); }
.pledge-body .sig { font-size: 14px; line-height: 20px; color: rgba(255,255,255,.6); margin-top: var(--s75); }
.pledge-body .sig b { color: var(--white); font-weight: 600; }
.ladder { grid-column: 8 / span 5; display: flex; flex-direction: column; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); padding: var(--s75); }
.rung { display: grid; grid-template-columns: 32px 1fr; gap: var(--s200); align-items: center; padding: var(--s200); border-radius: 8px; font-size: 16px; line-height: 24px; color: rgba(255,255,255,.86); }
.rung + .rung { box-shadow: inset 0 1px 0 rgba(255,255,255,.08); border-radius: 0; }
.rung .n { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--navy); background: var(--teal); }
.rung.end { background: rgba(124,191,181,.12); border-radius: 8px; box-shadow: none; color: var(--white); font-weight: 600; }
.rung.end .n { background: var(--white); }
.pledge .link { color: var(--teal); }

/* ---------- Demo steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s300); }
.step { padding: var(--s400); border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 1px var(--border); display: flex; flex-direction: column; gap: var(--s200); }
.step .n { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--teal); }
.step h3 { font-size: 20px; line-height: 28px; font-weight: 600; font-family: var(--sans); }
.step p { font-size: 16px; line-height: 24px; color: var(--charcoal); }

/* ---------- FAQ ---------- */
.faq .grid { align-items: start; }
.faq-head { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: var(--s300); }
.faq-list { grid-column: 6 / span 7; }
.qa { padding: var(--s300) 0; border-bottom: 1px solid var(--border); }
.qa:first-child { border-top: 1px solid var(--border); }
.qa summary, .qa .q { display: flex; justify-content: space-between; gap: var(--s300); font-size: 18px; line-height: 28px; font-weight: 600; color: var(--navy); list-style: none; }
.qa .q svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--teal-deeper); transition: transform 700ms var(--ease); }
.qa.open .q svg { transform: rotate(45deg); }
.qa .a { margin-top: var(--s100); font-size: 16px; line-height: 24px; color: var(--charcoal); max-width: 600px; }

/* ---------- Final CTA ---------- */
.final { padding: var(--s900) 0; }
.final-card { border-radius: 24px; background: var(--teal-light); padding: var(--s900) var(--s700); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s300); align-items: end; position: relative; overflow: hidden; }
.final-card .h { grid-column: 1 / span 8; position: relative; z-index: 1; }
.final-card .c { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: var(--s200); align-items: flex-start; position: relative; z-index: 1; }
.final-card .c p { font-size: 16px; line-height: 24px; color: var(--charcoal); }
.final-card .c a.mail { font-weight: 600; color: var(--teal-deeper); }
.final-lines { position: absolute; right: -40px; top: -40px; width: 520px; opacity: .55; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); background: var(--white); padding: var(--s800) 0 var(--s400); }
.foot { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s300); row-gap: var(--s600); }
.foot-brand { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: var(--s200); }
.foot-brand p { font-size: 14px; line-height: 20px; color: var(--charcoal); max-width: 300px; }
.foot-cols { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--s300); }
.foot-col { display: flex; flex-direction: column; gap: var(--s100); font-size: 14px; line-height: 20px; color: var(--charcoal); }
.foot-col h4 { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--navy); margin-bottom: var(--s50); }
.foot-base { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: var(--s300); border-top: 1px solid var(--border); font-size: 12px; line-height: 16px; color: var(--muted); }

/* ---------- Scroll reveal (B7): only when JS runs and not in static render ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(64px); filter: blur(12px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); }
.js-reveal [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- Developer page specifics ---------- */
.hard { display: flex; flex-direction: column; }
.hard-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s300); padding: var(--s400) 0; border-top: 1px solid var(--border); align-items: start; }
.hard-row:last-child { border-bottom: 1px solid var(--border); }
.hard-row .k { grid-column: 1 / span 1; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); padding-top: var(--s75); }
.hard-row .pain { grid-column: 2 / span 5; font-family: var(--serif); font-size: 30px; line-height: 36px; }
.hard-row .fix { grid-column: 8 / span 5; font-size: 16px; line-height: 24px; color: var(--charcoal); display: flex; flex-direction: column; gap: var(--s100); }
.hard-row .fix b { color: var(--navy); font-weight: 600; }
.budget-sheet { position: relative; }
.bud { background: var(--white); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--border); padding: var(--s100); }
.bud-in { border-radius: 16px; background: var(--warm-white); box-shadow: inset 0 0 0 1px var(--border); padding: var(--s300); }
.bud-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--s200); }
.bud-top h4 { font-size: 16px; line-height: 24px; font-weight: 600; }
.bud-row { display: grid; grid-template-columns: 1fr 96px auto; gap: var(--s200); align-items: center; padding: var(--s100) 0; border-top: 1px solid var(--border); font-size: 14px; line-height: 20px; color: var(--charcoal); }
.bud-row .bar { width: 96px; }
.chip.review { background: var(--mono); color: var(--charcoal); }
.stage.dim::before { box-shadow: inset 0 0 0 4px var(--border); }
.stage.dim h3, .stage.dim p { color: var(--muted); }

/* ---------- Responsive (390 mobile) ---------- */
@media (max-width: 760px) {
  .wrap { padding: 0 var(--s200); }
  .grid, .sec-head, .panel, .foot, .final-card, .hard-row { display: flex; flex-direction: column; }
  .t-8xl { font-size: 48px; } .t-7xl { font-size: 48px; } .t-6xl { font-size: 36px; line-height: 40px; } .t-5xl { font-size: 36px; line-height: 40px; } .t-4xl { font-size: 30px; line-height: 36px; }
  .nav { top: var(--s200); padding: 0 var(--s200); }
  .nav-pill { width: 100%; justify-content: space-between; padding: var(--s75) var(--s75) var(--s75) var(--s200); gap: var(--s100); }
  .nav-links, .nav-end .signin { display: none; }
  .menu-btn { display: block; }
  .hero { padding: 120px 0 var(--s700); }
  .hero-copy { gap: var(--s200); }
  .hero-cta { flex-direction: column; align-items: stretch; gap: var(--s200); }
  .hero-cta .btn { justify-content: center; padding: var(--s100) var(--s200); }
  .hero-cta .link { justify-content: center; }
  .trust { margin-top: var(--s300); align-items: flex-start; flex-wrap: wrap; }
  .hero-art { margin-top: var(--s600); }
  .ui-budget { left: var(--s100); top: auto; bottom: var(--s100); width: 248px; }
  .ui-budget .row:nth-of-type(3) { display: none; }
  .ui-pin.p2, .ui-karen.hero-k { display: none; }
  .titleblock { display: none; }
  .sec { padding: var(--s700) 0; }
  .sec-head { gap: var(--s200); margin-bottom: var(--s500); align-items: stretch; }
  .tabs { display: flex; overflow: hidden; width: 100%; }
  .tab { padding: var(--s75) var(--s100); font-size: 14px; }
  .tab svg { display: none; }
  .panel { padding: var(--s300); gap: var(--s400); border-radius: 16px; }
  .stages { grid-template-columns: 1fr; row-gap: var(--s400); }
  .stages::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .stage { padding-top: 0; padding-left: var(--s500); }
  .stage::before { top: 4px; }
  .reveal { padding: var(--s900) 0; }
  .reveal p { font-size: 36px; line-height: 40px; }
  .karen-art { margin-top: var(--s500); }
  .roles { grid-template-columns: 1fr; gap: var(--s200); }
  .chat-body { padding: var(--s200); }
  .chat-body .msg { font-size: 14px; line-height: 20px; }
  .chat-input { margin: 0 var(--s200) var(--s200); }
  .cards, .steps { grid-template-columns: 1fr; }
  .pledge { padding: var(--s700) 0; }
  .pledge .grid { gap: var(--s500); }
  .faq-list { margin-top: var(--s400); }
  .qa .q { font-size: 16px; line-height: 24px; }
  .final { padding: var(--s700) 0; }
  .final-card { padding: var(--s600) var(--s300); gap: var(--s400); align-items: stretch; border-radius: 16px; }
  .final-card .c .btn { justify-content: center; }
  .final-lines { width: 320px; right: -80px; top: -60px; }
  .foot { gap: var(--s400); }
  .foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s400); }
  .foot-base { flex-direction: column; gap: var(--s100); }
}

/* ---------- Additions: photo hero, minis, roles, final ---------- */
.sheet.photo { aspect-ratio: 4 / 5; overflow: visible; box-shadow: none; background: transparent; }
.sheet.photo video, .sheet.photo .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.sheet.photo video { z-index: 1; }
.sheet.photo .poster { z-index: 0; }
.sheet.photo .ui { z-index: 2; }
.ui-pin.p1 { right: 24px; top: 32%; }
.ui-karen.hero-k { right: -32px; bottom: 48px; }
.ui-budget { top: 48px; }
.ui.mini { padding: var(--s100) var(--s200); border-radius: 12px; }
.ui.mini h4 { font-size: 12px; line-height: 16px; }
.ui.mini .row { padding: 6px 0; }
.plat-art svg { position: absolute; width: 140%; height: auto; left: -10%; top: -36%; }
.blueprint { position: absolute; inset: 0; background-image: linear-gradient(rgba(26,35,50,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(26,35,50,.06) 1px, transparent 1px); background-size: 24px 24px; }
.blueprint::after { content: ""; position: absolute; left: 32px; top: 24px; width: 180px; height: 96px; box-shadow: inset 0 0 0 1.5px var(--teal-deeper); border-radius: 2px; background: linear-gradient(var(--teal-light), var(--teal-light)) 60% 0 / 1.5px 100% no-repeat; }
.ms { display: flex; align-items: center; gap: var(--s100); font-size: 12px; line-height: 16px; color: var(--muted); padding: 7px 0; border-top: 1px solid var(--border); }
.ms:first-of-type { margin-top: var(--s100); }
.ms span { width: 12px; height: 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--border); flex: none; }
.ms.done { color: var(--charcoal); } .ms.done span { background: var(--teal); box-shadow: none; }
.ms.now { color: var(--navy); font-weight: 600; } .ms.now span { box-shadow: inset 0 0 0 3px var(--teal-deeper); }
.roles button { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: var(--s50); padding: var(--s200); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--border); transition: all 700ms var(--ease); }
.roles button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--karen); background: var(--karen-tint); }
.roles { border-top: 0; padding-top: 0; gap: var(--s100); }
.final-card { align-items: center; padding: var(--s700); }
.final-card .h { grid-column: 1 / span 6; }
.final-card .c { grid-column: 8 / span 5; margin: 0; }
.final-card .c img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.final-card .hero-cta { margin-top: var(--s400); }
.dev-bud { left: -40px; bottom: 40px; width: 360px; }
.sheet .titleblock { z-index: 2; }
@media (max-width: 760px) {
  .ui-pin.p1 { right: 12px; top: 16px; }
  .ui-budget { left: 12px; right: 12px; width: auto; top: auto; bottom: 12px; }
  .roles { display: grid; grid-template-columns: 1fr; }
  .final-card { padding: var(--s400) var(--s300); }
  .final-card .c { margin-top: var(--s200); }
  .dev-bud { left: 12px; right: 12px; width: auto; bottom: 12px; }
  .plat-art svg { width: 160%; left: -20%; }
}
[hidden] { display: none !important; }
button.tab { border: 0; background: transparent; font-family: var(--sans); cursor: pointer; }
.karen-copy h2.t-6xl { font-size: 48px; line-height: 1; }
.act.fill { background: var(--navy); color: var(--white); }
@media (max-width: 760px) { .karen-copy h2.t-6xl { font-size: 36px; line-height: 40px; } }
@media (max-width: 760px) {
  .trust { flex-wrap: nowrap; }
  .trust svg { margin-top: 2px; }
  .docs { padding: var(--s200); }
  .doc { grid-template-columns: 40px 1fr; row-gap: var(--s75); padding: var(--s100); }
  .doc .chip { grid-column: 2; justify-self: start; }
  .chat-input { white-space: nowrap; overflow: hidden; }
  .step { padding: var(--s300); }
  .hard-row { gap: var(--s100); }
}
.dev-bud { left: 24px; bottom: 24px; width: 380px; }
.qa:not(.open) .a { display: none; }
.aside { box-shadow: none; padding: var(--s200) var(--s300); background: #F1EDFF; border: 1px solid rgba(124,92,252,.25); border-radius: 16px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; filter: none; }
  .reveal .w { color: var(--navy); }
}
.pledge-body .placeholder { font-size: 14px; line-height: 20px; color: var(--teal); padding: var(--s200); border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(124,191,181,.6); background: rgba(124,191,181,.08); }

/* =====================================================================
   Build-out, Oct 26, 2026: Option A type, kit logo, new pages and motion
   ===================================================================== */

/* ---------- Option A type scale (06-type-system-options.md) ---------- */
body { letter-spacing: -0.006em; }
.t-8xl, .t-7xl, .t-6xl, .t-5xl, .t-4xl, .t-3xl, .reveal p, .card-copy h3, .hard-row .pain, .step .n { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; }
.t-8xl { font-size: 84px; line-height: 82px; letter-spacing: -0.03em; }
.t-7xl { font-size: 72px; line-height: 72px; letter-spacing: -0.028em; }
.t-6xl { font-size: 60px; line-height: 60px; letter-spacing: -0.025em; }
.t-5xl { font-size: 48px; line-height: 50px; letter-spacing: -0.02em; }
.t-4xl { font-size: 36px; line-height: 40px; letter-spacing: -0.018em; }
.t-3xl, .card-copy h3, .hard-row .pain { font-size: 30px; line-height: 36px; letter-spacing: -0.015em; }
.reveal p { letter-spacing: -0.025em; }
.t-lg { letter-spacing: -0.011em; }
.caption, .t-xs { font-weight: 500; }
.label, .btn, .chip, .tab, .nav-links, .nav-end, .act, .link, .stage .n, .stage .who, .card-copy .who, .hard-row .k, .cite, .rung .n, .seg button, .persona-tabs button, .qpop .from { font-family: var(--label); }
.label { font-weight: 600; letter-spacing: 0; }
.btn { font-family: var(--label); font-weight: 600; }
.nav-links { font-weight: 500; }
.stage h3, .step h3 { font-family: var(--sans); letter-spacing: -0.012em; }
.ink { padding-bottom: 0.06em; }

/* ---------- Kit logo, used unchanged. The file carries its own clearspace, so the wrapper crops it. ---------- */
.logo { display: inline-block; position: relative; overflow: hidden; height: 28px; width: calc(28px * 1483 / 411); flex: none; }
.logo img { position: absolute; height: calc(100% * 757 / 411); width: auto; max-width: none; left: calc(-100% * 174 / 1483); top: calc(-100% * 173 / 411); }
.logo-mark { display: inline-block; position: relative; overflow: hidden; height: 40px; width: calc(40px * 400 / 411); }
.logo-mark img { position: absolute; height: calc(100% * 757 / 411); width: auto; max-width: none; left: calc(-100% * 174 / 400); top: calc(-100% * 173 / 411); }
.foot-brand .logo { height: 32px; width: calc(32px * 1483 / 411); }

/* ---------- Mobile menu ---------- */
/* 761 to 900px: the full nav pill is wider than the window (761px: 775px wide, Developers 856px with its longer button),
   which scrolled the page sideways, so the menu-button layout from phones now runs up to 900px */
@media (min-width: 761px) and (max-width: 900px) {
  .nav { padding: 0 var(--s300); }
  .nav-pill { width: 100%; justify-content: space-between; padding: var(--s75) var(--s75) var(--s75) var(--s200); gap: var(--s100); }
  .nav-links, .nav-end .signin { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 900px) {
  .nav-pill.open { flex-wrap: wrap; border-radius: 24px; }
  .nav-pill.open .nav-links { display: flex; flex-direction: column; gap: 0; order: 3; width: 100%; padding: var(--s100) 0 var(--s75); font-size: 16px; line-height: 24px; }
  .nav-pill.open .nav-links a { padding: var(--s100) 0; border-top: 1px solid var(--border); }
  .nav-pill.open .menu-btn i:first-child { top: 19px; transform: rotate(45deg); }
  .nav-pill.open .menu-btn i:last-child { top: 19px; transform: rotate(-45deg); }
}

/* ---------- Home hero (Higgsfield v3 video) ---------- */
.home-hero .hero-art { grid-column: 7 / span 6; }
.sheet.photo.v3 { aspect-ratio: 16/9; width: calc(100% + 180px); margin-left: -60px; border-radius: 0; box-shadow: none; background: #FAFAF8; overflow: visible; }
.sheet.photo.v3 video, .sheet.photo.v3 .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.sheet.photo.v3 video { display: none; z-index: 1; }
.sheet.photo.v3 .still { z-index: 0; }
.motion .sheet.photo.v3 video { display: block; }
.motion .sheet.photo.v3 .still { display: none; }
.motion .sheet.photo.v3.hero-fallback video { display: none; }
.motion .sheet.photo.v3.hero-fallback .still { display: block; }
.sheet.photo.v3 .ui-karen.hero-k { width: 264px; left: auto; right: 32px; top: auto; bottom: -140px; }
.sheet.photo.v3 .ui-karen.hero-k .msg { font-size: 13px; line-height: 18px; }
.home-hero .hero-art .caption { max-width: calc(100% - 320px); }
@media (max-width: 1023px) { .sheet.photo.v3 { width: 100%; margin-left: 0; } .home-hero .hero-art .caption { max-width: none; } }

/* Plan A: question bubbles pop up around the community; Karen's answer box stays put */
.qpops { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.qpop { position: absolute; display: flex; flex-direction: column; gap: 2px; max-width: 220px; padding: var(--s75) var(--s100); border-radius: 14px 14px 14px 4px; background: var(--navy); color: var(--white); font-size: 13px; line-height: 18px; box-shadow: 0 16px 32px -16px rgba(26,35,50,.45); opacity: 0; transform: translateY(8px) scale(.92); transform-origin: 0 100%; transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.qpop .from { font-size: 11px; line-height: 14px; font-weight: 500; color: rgba(255,255,255,.62); }
.qpop.on { opacity: 1; transform: none; }
.qpop.on.old { opacity: .0; transform: translateY(-6px) scale(.98); }
.hero-k .k-body { min-height: 92px; }
.hero-k .msg.me { transition: opacity 300ms var(--ease); }
.typing { display: inline-flex; gap: 4px; align-items: center; padding: var(--s75) var(--s100); border-radius: 16px; border-bottom-left-radius: 4px; background: var(--mono); }
.chat-body .typing { background: var(--white); box-shadow: inset 0 0 0 1px var(--border); align-self: flex-start; padding: 14px var(--s200); }
.typing i { width: 6px; height: 6px; border-radius: 999px; background: var(--charcoal); opacity: .35; animation: tdot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 100% { opacity: .25; transform: none; } 40% { opacity: .8; transform: translateY(-2px); } }
.caret::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 1px; vertical-align: -2px; background: currentColor; animation: caret 900ms steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.pop-in { animation: popin 450ms var(--ease) both; }
@keyframes popin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* Plan B (?hero=b): the box becomes a community chat that cycles Q&As */
.hero-b .qpops { display: none; }
.sheet.photo.v3 .ui-karen.hero-k.chatmode { width: 300px; bottom: -164px; }
.hero-k.chatmode .k-body { min-height: 156px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
@media (max-width: 760px) {
  .sheet.photo.v3 .ui-karen.hero-k, .sheet.photo.v3 .ui-karen.hero-k.chatmode { display: block; position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -24px 12px 0 auto; max-width: 300px; }
  .sheet.photo.v3 { margin-bottom: 0; }
  .home-hero .hero-art .caption { margin-top: var(--s200); }
  .qpop { max-width: 168px; font-size: 11px; line-height: 15px; padding: 6px 8px; }
  .qpop .from { font-size: 10px; }
}
.sheet.photo.v3 > .hero-k { z-index: 3; }

/* ---------- New or existing community toggle ---------- */
.seg { display: inline-flex; gap: var(--s50); padding: var(--s50); border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--border); }
.seg button { border: 0; background: transparent; cursor: pointer; padding: var(--s75) var(--s200); border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--charcoal); transition: all 700ms var(--ease); }
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.which { padding: var(--s700) 0 0; }
.which-card { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s300); align-items: center; padding: var(--s500) var(--s600); border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 1px var(--border); }
.which-card .l { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: var(--s200); align-items: flex-start; }
.which-card .r { grid-column: 7 / span 6; }
.which-pane { display: flex; flex-direction: column; gap: var(--s200); }
.which-pane .hero-cta { margin-top: var(--s75); }
@media (max-width: 760px) {
  .which-card { display: flex; flex-direction: column; align-items: stretch; gap: var(--s400); padding: var(--s400) var(--s300); border-radius: 16px; }
  .seg { width: 100%; } .seg button { flex: 1; padding: var(--s75) var(--s100); }
  .which-pane .hero-cta { flex-direction: column; align-items: stretch; } .which-pane .btn { justify-content: center; }
}

/* ---------- Stage highlight options (?stages=a|b|c on the developers page) ---------- */
.stage .tag { align-self: flex-start; font-family: var(--label); font-size: 12px; line-height: 16px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--teal-light); color: var(--teal-deeper); }
.stage .tag.soft { background: var(--mono); color: var(--charcoal); }
.stage.lead::before { background: var(--teal); box-shadow: inset 0 0 0 4px var(--teal-deeper); }
.stage-legend { display: flex; flex-wrap: wrap; gap: var(--s300); margin: calc(-1 * var(--s400)) 0 var(--s500); font-size: 14px; line-height: 20px; color: var(--charcoal); }
.stage-legend span { display: inline-flex; align-items: center; gap: var(--s75); }
.stage-legend i { width: 14px; height: 14px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 4px var(--teal); }
.stage-legend i.dim { box-shadow: inset 0 0 0 4px var(--border); }
.stage-legend i.lead { background: var(--teal); box-shadow: inset 0 0 0 4px var(--teal-deeper); }
.variant-note { margin-bottom: var(--s300); display: inline-flex; gap: var(--s75); align-items: center; font-family: var(--label); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--charcoal); background: #FFF4D6; border: 1px solid #F0D58A; padding: 4px 10px; border-radius: 999px; }

/* ---------- Coming next (launch messaging) ---------- */
.coming .note { color: var(--muted); }

/* ---------- Reach Karen (computer, phone, call) ---------- */
.reach { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: var(--s200); } /* three across when there is room, one column when the column is narrow (it overflowed at 761 to 779px) */
.reach div { padding: var(--s200); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--border); background: var(--white); display: flex; flex-direction: column; gap: var(--s50); }
.reach h4 { font-size: 14px; line-height: 20px; font-weight: 600; display: flex; gap: var(--s75); align-items: center; }
.reach h4 svg { width: 16px; height: 16px; color: var(--karen); }
.reach p { font-size: 14px; line-height: 20px; color: var(--charcoal); }
@media (max-width: 760px) { .reach { grid-template-columns: 1fr; } }

/* ---------- Founder story draft ---------- */
.founder { display: flex; flex-direction: column; gap: var(--s200); padding: var(--s300); border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(124,191,181,.5); background: rgba(124,191,181,.06); }
.founder .draft { align-self: flex-start; font-family: var(--label); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--navy); background: #F0D58A; padding: 2px 10px; border-radius: 999px; }
.founder p { color: var(--white); font-family: var(--serif); font-size: 24px; line-height: 32px; letter-spacing: -0.012em; }
.founder p + p { font-family: var(--sans); font-size: 18px; line-height: 28px; color: rgba(255,255,255,.78); letter-spacing: -0.011em; }

/* ---------- Persona tabs and live chats (Karen page) ---------- */
.persona { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s300); align-items: start; }
.persona-side { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: var(--s300); }
.persona-art { grid-column: 7 / span 6; }
.persona-tabs { display: flex; flex-direction: column; gap: var(--s100); }
.persona-tabs button { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: var(--s50); padding: var(--s200); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--border); background: var(--white); transition: all 700ms var(--ease); }
.persona-tabs button:focus-visible { outline: 2px solid var(--teal-deeper); outline-offset: 2px; }
.persona-tabs button b { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--navy); }
.persona-tabs button span { font-family: var(--sans); font-size: 14px; line-height: 20px; color: var(--charcoal); }
.persona-tabs button[aria-selected="true"] { box-shadow: inset 0 0 0 1.5px var(--karen); background: var(--karen-tint); }
@media (max-width: 760px) {
  .persona { display: flex; flex-direction: column; gap: var(--s400); }
  .persona-tabs { flex-direction: row; overflow-x: auto; gap: var(--s75); padding-bottom: 4px; }
  .persona-tabs button { flex: none; padding: var(--s75) var(--s200); border-radius: 999px; }
  .persona-tabs button span { display: none; }
  .persona-tabs button b { font-size: 14px; line-height: 20px; }
}
.chat-body.live-pending > * { visibility: hidden; }

/* ---------- Page heroes for the audience pages ---------- */
.page-hero .hero-art .ui { position: absolute; }
.aud-art { position: relative; border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 1px var(--border); padding: var(--s300); overflow: hidden; }
.aud-art .blueprint { opacity: .7; }
.aud-art .docs { position: relative; z-index: 1; height: auto; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s300); }
.point { padding: var(--s400); border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 1px var(--border); display: flex; flex-direction: column; gap: var(--s200); }
.point .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-light); color: var(--teal-deeper); display: grid; place-items: center; }
.point .ic svg { width: 20px; height: 20px; }
.point h3 { font-family: var(--serif); font-size: 30px; line-height: 36px; letter-spacing: -0.015em; }
.point p { font-size: 16px; line-height: 24px; color: var(--charcoal); }
.sec-white .point { background: var(--warm-white); }
.karen-hero-mark { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 24px 48px -24px rgba(124,92,252,.6); }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; } .point { padding: var(--s300); } .point h3 { font-size: 24px; line-height: 30px; } }

/* ---------- Reduced motion: everything static ---------- */
@media (prefers-reduced-motion: reduce) {
  .qpop { transition: none; }
  .typing i, .caret::after { animation: none; }
}

/* ---------- Option A at 390 mobile (kept last so it wins over the desktop scale above) ---------- */
@media (max-width: 760px) {
  .t-8xl { font-size: 52px; line-height: 52px; letter-spacing: -0.028em; }
  .t-7xl { font-size: 44px; line-height: 46px; letter-spacing: -0.025em; }
  .t-6xl, .karen-copy h2.t-6xl { font-size: 36px; line-height: 40px; letter-spacing: -0.022em; }
  .t-5xl { font-size: 34px; line-height: 38px; }
  .t-4xl { font-size: 28px; line-height: 34px; }
  .t-3xl, .card-copy h3, .hard-row .pain { font-size: 24px; line-height: 30px; }
  .reveal p { font-size: 36px; line-height: 40px; }
  .pledge .t-7xl { font-size: 40px; line-height: 44px; }
}
@media (max-width: 760px) {
  .dev-bud { left: 12px; right: 12px; width: auto; bottom: 12px; }
  .persona > * { min-width: 0; width: 100%; }
  .persona-tabs { max-width: 100%; }
}
/* story band (Boards) */
.reveal.story .label { justify-content: center; margin-bottom: var(--s300); }
.reveal.story { padding: 128px 0; }
.split .karen-art .docs { min-height: 0; }
@media (max-width: 760px) { .reveal.story { padding: var(--s800) 0; } }
.reveal.story p { font-size: 48px; line-height: 52px; max-width: 920px; }
@media (max-width: 760px) { .reveal.story p { font-size: 32px; line-height: 36px; } }
@media (max-width: 420px) { .nav-end .btn-sm { padding-left: 12px; padding-right: 12px; font-size: 13px; white-space: nowrap; } .nav-end { gap: 6px; } }

/* Karen line (home + Karen page): screen reader copy of the typed line */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.k-campaign-line { position: relative; display: block; }
.k-campaign-line [data-line-text] { display: inline; }

/* ---------- Chat frame (shared by every Karen chat mockup on every page) ----------
   One visible frame that reads on white and warm-white sections alike: a defined edge all the way round,
   a soft drop shadow that closes the bottom, and a chat body tinted apart from the warm-white page.
   On white sections the body keeps the warm-white tint of the approved Karen page frame. */
.chat { box-shadow: 0 0 0 1px rgba(26, 35, 50, .14), 0 24px 48px -28px rgba(26, 35, 50, .28); }
.chat-body, .chat-wrap { background: #F1F0EB; }
.sec-white .chat-body, .sec-white .chat-wrap { background: var(--warm-white); }
.chat-wrap { display: flow-root; } /* keep the input's bottom margin inside the tinted area: no white strip at the foot of the frame */

/* Karen page seat tabs: five tabs wrap onto rows on small screens instead of scrolling sideways */
@media (max-width: 760px) {
  .persona-tabs { flex-wrap: wrap; overflow-x: visible; }
}

/* ---------- Legal pages (privacy, terms: wording ported from the live site) and the 404 page ---------- */
.legal { padding: 160px 0 var(--s900); }
.legal-wrap { max-width: 760px; }
.legal-title { margin-top: var(--s300); }
.legal-em { font-style: italic; color: var(--teal-deeper); }
.legal-intro { margin-top: var(--s300); }
.legal-interim { margin-top: var(--s200); font-family: var(--label); font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .04em; color: var(--charcoal); }
.legal-sec { display: flex; margin-top: var(--s600); }
.legal-h { margin-top: var(--s100); font-family: var(--label); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--navy); }
.legal-p { margin-top: var(--s100); font-size: 16px; line-height: 26px; color: var(--charcoal); }
.legal-p a { color: var(--teal-deeper); text-decoration: underline; text-underline-offset: 2px; }
.legal-actions { display: flex; flex-wrap: wrap; gap: var(--s200); align-items: center; margin-top: var(--s500); }
@media (max-width: 760px) { .legal { padding-top: 128px; } .legal-title { font-size: 44px; line-height: 46px; } }

/* Developers hero budget card: never wider than its column (it overflowed the window at 761 to 800px) */
.dev-bud { max-width: calc(100% - 48px); }

/* ---------------- Interest form (Home #demo, Oct 27, 2026) ---------------- */
.interest-form { margin-top: var(--s400); }
.if-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s200); }
.interest-form .field { display: flex; flex-direction: column; gap: var(--s50); min-width: 0; }
.interest-form .field.wide { grid-column: 1 / -1; }
.interest-form label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--navy); }
.interest-form input, .interest-form select, .interest-form textarea { width: 100%; font: 400 16px/24px var(--sans); color: var(--navy); background: var(--white); border: 0; border-radius: 8px; padding: var(--s75) var(--s100); box-shadow: inset 0 0 0 1px #C9D3D1; transition: box-shadow 200ms var(--ease); }
.interest-form select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.interest-form textarea { resize: vertical; min-height: 104px; }
.interest-form input:focus-visible, .interest-form select:focus-visible, .interest-form textarea:focus-visible { outline: 2px solid var(--teal-deeper); outline-offset: 1px; }
.interest-form [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #B42318; }
.field-err { font-size: 14px; line-height: 20px; font-weight: 600; color: #B42318; }
.interest-form .hero-cta { margin-top: var(--s300); }
.interest-form button[aria-disabled="true"] { opacity: .7; cursor: progress; }
.form-msg.err { margin-top: var(--s200); padding: var(--s100) var(--s200); border-radius: 8px; background: var(--white); box-shadow: inset 0 0 0 2px #B42318; color: var(--navy); font-size: 16px; line-height: 24px; }
.form-msg.err a { font-weight: 600; color: var(--teal-deeper); text-decoration: underline; }
.form-msg.ok { margin-top: var(--s400); display: flex; flex-direction: column; gap: var(--s100); padding: var(--s300); border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--border); }
.form-msg.ok[hidden], .form-msg.err[hidden], .field-err[hidden] { display: none; }
.form-msg.ok p:last-child { font-size: 18px; line-height: 28px; color: var(--charcoal); }
.form-msg:focus { outline: none; }
.form-msg:focus-visible { outline: 2px solid var(--teal-deeper); outline-offset: 2px; }
.interest-form .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) { .if-grid { grid-template-columns: 1fr; } .interest-form .hero-cta .btn { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .interest-form input, .interest-form select, .interest-form textarea, .interest-form .btn { transition: none; } }
