/* MissionFile pre-launch site. Field-guide system: kraft paper, map grids, the MissionFile mark as pattern.
   Type: Cowboy (short display lines), IBM Plex Sans (headings and body), Birdie (labels, data, technical text),
   Flatface Haley's Script (a few accents). */
@font-face { font-family: "Cowboy"; src: url("assets/fonts/cowboy.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Birdie"; src: url("assets/fonts/birdie.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Haleys Script"; src: url("assets/fonts/haleys-script.woff2") format("woff2"); font-display: swap; }

:root {
  /* Paper */
  --paper: #F3ECDD; --kraft: #E8DEC8; --kraft-2: #DDD0B4; --card: #FBF7EE; --linen: #F7F1E4;
  /* Ink */
  --ink: #1D2A26; --ink2: #36443E; --mid: #5B665F; --soft: #6F776F; --label: #847A66;
  --rule: #CDBF9F; --rule-soft: #DDD2BA; --hairline: #E8DFCB;
  /* NPB greens */
  --forest: #173F3A; --forest-2: #1F4F49; --pine: #1F5C56; --pine-soft: #DCE6DA; --pine-border: #B9D0C0; --pine-text: #2A4A42;
  /* Expansion */
  --sage: #8C9A7A; --sage-soft: #DFE3CF; --sage-deep: #56644A;
  --ochre: #C8962B; --ochre-soft: #EFDDA6; --ochre-deep: #7E5A10;
  --clay: #B5562B; --clay-soft: #F0D8C6; --clay-text: #8A3C17; --clay-border: #DDB79C;
  --marsh: #6FA6A8; --marsh-soft: #D5E6E1; --marsh-deep: #2F6667;
  --stamp: #B0392C;
  --stone: #6E6558; --stone-text: #5A5147; --hatch-a: #EDE5D4; --hatch-b: #E2D8C3;
  --on-dark: #F3ECDD; --on-dark-mid: #B9C4B8;

  --display: "Cowboy", "Arial Black", sans-serif;
  --head: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --label-face: "Birdie", "IBM Plex Sans", sans-serif;
  --script: "Haleys Script", "Brush Script MT", cursive;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: var(--sans);
  --mono: "Birdie", "IBM Plex Sans", sans-serif;

  --r: 14px; --r-in: 10px; --r-btn: 6px;
  --gap: 16px;
  --wrap: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --print: 0 1px 0 rgba(29, 42, 38, .08), 0 22px 40px -30px rgba(29, 42, 38, .55);

  --waves-dark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='7' viewBox='0 0 28 7'><path d='M0 3.5 Q3.5 0.5 7 3.5 T14 3.5 T21 3.5 T28 3.5' fill='none' stroke='%231F5C56' stroke-width='1.1'/></svg>");
  --waves-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='7' viewBox='0 0 28 7'><path d='M0 3.5 Q3.5 0.5 7 3.5 T14 3.5 T21 3.5 T28 3.5' fill='none' stroke='%23B9D0C0' stroke-width='1.1' stroke-opacity='.55'/></svg>");
  --grid-dark: linear-gradient(rgba(243, 236, 221, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 236, 221, .07) 1px, transparent 1px);
  --grid-light: linear-gradient(rgba(31, 92, 86, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 92, 86, .08) 1px, transparent 1px);
  --stipple: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><g fill='%2356644A' fill-opacity='.22'><circle cx='7' cy='12' r='1'/><circle cx='31' cy='5' r='.8'/><circle cx='52' cy='18' r='1.1'/><circle cx='78' cy='9' r='.8'/><circle cx='18' cy='38' r='.9'/><circle cx='44' cy='44' r='1'/><circle cx='69' cy='35' r='.8'/><circle cx='86' cy='52' r='1'/><circle cx='9' cy='66' r='.8'/><circle cx='35' cy='71' r='1.1'/><circle cx='60' cy='63' r='.9'/><circle cx='80' cy='82' r='.8'/><circle cx='22' cy='86' r='.9'/><circle cx='50' cy='88' r='.7'/></g></svg>");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; position: relative; min-height: 100vh; }
/* Paper grain */
body::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 100; opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .38  0 0 0 0 .26  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
b, strong { font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 12px; text-wrap: pretty; }
li { text-wrap: pretty; }
.serif { font-family: var(--serif); font-weight: 400; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding-block: 72px 8px; }

/* Headings. Cowboy only on short display lines, tracked in tight; Plex Sans carries every other heading. */
h1, h2, h3 { margin: 0; color: var(--forest); }
h1, .display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: -0.045em; word-spacing: .08em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(32px, 3.3vw, 46px); }
h2 { font-family: var(--head); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-size: clamp(30px, 3.4vw, 48px); max-width: 22ch; margin-bottom: 22px; text-wrap: balance; }
h2.display { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -0.045em; line-height: 1.04; }
.h2-wide { max-width: 26ch; }
.acc { font-style: normal; color: var(--pine); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 19px; letter-spacing: -0.012em; color: var(--ink); margin-bottom: 8px; line-height: 1.25; display: flex; align-items: center; gap: 10px; }
.script { font-family: var(--script); text-transform: none; font-weight: 400; letter-spacing: 0; color: var(--clay); font-size: 1.42em; line-height: .6; display: inline-block; transform: rotate(-4deg) translateY(.06em); margin: 0 .04em; }
.eyebrow, .kicker, .badge, .flow-title, .roles-title, .plan-name, .draft-label, .stack-cap, .tools-label { font-family: var(--label-face); text-transform: uppercase; letter-spacing: .16em; font-weight: 400; }
.eyebrow { font-size: 13px; color: var(--pine); margin-bottom: 22px; }
.fine { font-family: var(--mono); font-size: 11.5px; color: var(--soft); margin: 14px 0 0; letter-spacing: .08em; }
.fine a { color: var(--pine-text); }

/* Section kicker: a Birdie label and a long rule */
.kicker { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--clay-text); margin: 0 0 16px; }
.kicker::after { content: ""; flex: 1; height: 1px; background: var(--rule); max-width: 360px; }
.kicker-dark { color: var(--ochre-soft); }
.kicker-dark::after { background: rgba(243, 236, 221, .25); }
.badge { display: inline-block; font-size: 13px; color: var(--forest); margin-bottom: 18px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }

/* Blocks */
.block { border-radius: var(--r); padding: clamp(24px, 3.2vw, 42px); position: relative; }
.block-sage { background: var(--sage-soft); }
.block-ochre { background: var(--ochre-soft); }
.block-clay { background: var(--clay-soft); }
.block-marsh { background: var(--marsh-soft); }
.block-kraft { background: var(--kraft); }
.block-card { background: var(--card); box-shadow: inset 0 0 0 1px var(--rule-soft); }
.block-pine { background: var(--pine-soft); }
.block-oat { background: var(--card); box-shadow: inset 0 0 0 1px var(--rule-soft); }
.block-ink { background: var(--forest); color: var(--on-dark); }
.block-ink h2, .block-ink h3 { color: var(--on-dark); }
.map { background-color: var(--forest); background-image: url("assets/contours-dark.svg"), var(--grid-dark); background-size: cover, 48px 48px, 48px 48px; background-position: center; border-radius: var(--r); position: relative; overflow: hidden; }
.map-light { background-color: var(--kraft); background-image: url("assets/contours-light.svg"), var(--grid-light); }

/* Nav */
.nav { width: min(var(--wrap), 100% - 40px); margin: 0 auto; padding: 22px 0 18px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--forest); }
.logo-full { height: 30px; width: auto; color: var(--forest); }
.mark { width: 30px; height: 30px; color: var(--forest); }
.nav-links { display: flex; gap: 24px; margin-left: 18px; }
.nav-links a { text-decoration: none; color: var(--ink2); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--clay); }
.btn-nav { margin-left: auto; }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--r-btn); font: inherit; font-weight: 600; font-size: 15px; padding: 12px 18px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background .2s, box-shadow .2s; }
.btn-primary { background: var(--forest); color: var(--on-dark); box-shadow: 0 3px 0 #0E2926; }
.btn-primary:hover { background: var(--pine); transform: translateY(-1px); box-shadow: 0 4px 0 #0E2926; }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 #0E2926; }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-light { background: var(--ochre-soft); color: var(--forest); margin-top: 12px; box-shadow: 0 3px 0 #9C7A2A; }
.btn-light:hover { background: #F5E6B8; transform: translateY(-1px); }
.hero-form { display: flex; gap: 10px; margin-top: 26px; }
.hero-form input { flex: 1; min-width: 0; font: inherit; font-size: 15px; color: var(--ink); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-btn); padding: 12px 14px; }
.hero-form input:focus { outline: 2px solid var(--pine); outline-offset: 1px; border-color: var(--pine); }
.hero-alt { margin: 12px 2px 0; font-size: 14px; color: var(--mid); }
.hero-alt a { color: var(--pine-text); font-weight: 500; }

/* Hero: a cover with a wave band, beside a map */
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: var(--gap); align-items: stretch; margin-top: 8px; }
.cover { position: relative; background: var(--card); border-radius: var(--r); padding: clamp(28px, 3.6vw, 52px) clamp(28px, 3.6vw, 52px) clamp(28px, 3.6vw, 48px) calc(clamp(28px, 3.6vw, 52px) + 44px); box-shadow: inset 0 0 0 1px var(--rule-soft); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.cover::after { content: ""; position: absolute; left: 44px; right: 16px; top: 16px; bottom: 16px; border: 1.5px solid var(--pine); border-left: 0; border-radius: 0 12px 40px 0; pointer-events: none; opacity: .55; }
.cover-band { position: absolute; left: 0; top: 0; bottom: 0; width: 38px; background: url("assets/waves.svg") 0 0 / 64px 36px repeat; opacity: .26; }
.cover > *:not(.cover-band) { position: relative; }
.cover h1 { color: var(--forest); }
.tagline { font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; line-height: 1.5; color: var(--forest); margin: 22px 0 0; max-width: 34ch; }
.tagline .script { font-size: 1.55em; }
.lede { font-size: 17px; color: var(--ink2); max-width: 54ch; margin: 12px 0 0; }
.hero-visual { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3.4vw, 44px) clamp(24px, 3.4vw, 44px) 84px; }
.hero-visual .fine { color: var(--on-dark-mid); }

/* Library stamp */
.stamp-lib { position: absolute; right: 26px; bottom: 22px; z-index: 3; display: grid; justify-items: center; gap: 2px; padding: 8px 16px 9px; border: 2px solid var(--stamp); border-radius: 3px; color: var(--stamp); background: rgba(251, 247, 238, .92); transform: rotate(-5deg); box-shadow: inset 0 0 0 2px rgba(251, 247, 238, .92), inset 0 0 0 3px rgba(176, 57, 44, .6); }
.sl-top { font-family: var(--label-face); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; }
.sl-date { font-family: var(--mono); font-weight: 500; font-size: 18px; letter-spacing: .08em; line-height: 1.1; }
.sl-by { font-family: var(--mono); font-size: 10.5px; }

/* The hero simulation, restyled as a record card */
.sim { background: var(--card); border-radius: var(--r-in); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .6); overflow: hidden; }
.sim-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--hairline); background: var(--linen); }
.sim-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rule-soft); }
.sim-dot:nth-child(3) { margin-right: 6px; }
.sim-url { flex: 1; display: flex; align-items: center; background: var(--card); border: 1px solid var(--rule-soft); border-radius: 6px; padding: 6px 10px; font-family: var(--mono); font-size: 13px; color: var(--ink2); min-height: 30px; }
.sim-caret { width: 1.5px; height: 14px; background: var(--clay); margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sim-status { font-family: var(--mono); font-size: 11.5px; color: var(--label); white-space: nowrap; min-width: 120px; text-align: right; }
.sim-cards { padding: 16px 14px 6px; display: grid; gap: 10px; min-height: 300px; }
.fcard { background: var(--card); border: 1px solid var(--rule-soft); border-left-width: 4px; border-radius: 8px; padding: 12px 14px 10px; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fcard.in { opacity: 1; transform: none; }
.fcard header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.fcard-label { font-family: var(--label-face); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--ink2); }
.fcard-value { font-size: 16.5px; font-weight: 500; margin: 0 0 8px; color: var(--ink); line-height: 1.35; }
.fcard-value.num { font-family: var(--display); font-size: 34px; letter-spacing: -0.04em; line-height: 1; color: var(--forest); }
.fcard-value.num small { font-family: var(--sans); font-size: 14px; color: var(--mid); text-transform: none; letter-spacing: 0; }
.fcard-value s { color: var(--stone); }
.fcard-value .now { font-family: var(--mono); font-size: 11px; color: var(--label); margin-inline: 6px; }
.state-current { border-left-color: var(--pine); }
.state-expiring { border-left-color: var(--ochre); border-style: dashed; border-left-style: solid; }
.state-notusable { border-left-color: var(--stone); background: repeating-linear-gradient(135deg, var(--hatch-a) 0 5px, var(--hatch-b) 5px 10px); }
.prov { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--label); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 4px; border: 1px solid; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-current { color: var(--pine-text); border-color: var(--pine-border); background: var(--pine-soft); }
.pill-expiring { color: var(--ochre-deep); border-color: #DCC27F; background: var(--ochre-soft); }
.pill-expiring::before, .pill-notusable::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.pill-notusable { color: var(--stone-text); border-color: var(--rule); background: var(--linen); }
.sim-reader { margin: 6px 14px 14px; padding: 12px 14px; border-radius: 8px; background: var(--pine-soft); display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13.5px; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.sim-reader.in { opacity: 1; transform: none; }
.reader-who { font-family: var(--label-face); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--pine-text); padding-top: 3px; }
.reader-line { color: var(--ink2); }
.reader-ans { grid-column: 2; color: var(--pine-text); font-size: 13px; }

/* Tools row */
.tools { padding: 40px 0 6px; text-align: center; }
.tools-label { font-size: 12.5px; color: var(--mid); margin-bottom: 20px; }
.tool-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; }
.tool-row li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink2); }
.tool-disc { width: 58px; height: 58px; border-radius: 50%; background: var(--card); border: 1px solid var(--rule); display: grid; place-items: center; box-shadow: 0 2px 0 var(--rule-soft); transition: transform .3s var(--ease); }
.tool-row li:hover .tool-disc { transform: translateY(-3px) rotate(-4deg); }
.logo { width: 20px; height: 20px; fill: currentColor; flex: none; }
.tool-disc .logo { width: 26px; height: 26px; }
.logo-claude { color: #D97757; } .logo-openai { color: #1D2A26; } .logo-slack { color: #4A154B; } .logo-google { color: #4285F4; } .logo-microsoft { color: #737373; } .logo-canva { color: #00C4CC; } .logo-virtuous { color: #1F5C56; }

/* Wave band divider */
.waves { height: 36px; margin-top: 34px; background: url("assets/waves.svg") 0 0 / 64px 36px repeat-x; opacity: .26; }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.icon { width: 48px; height: 48px; color: var(--pine); margin-bottom: 26px; padding: 9px; background: var(--card); border-radius: 8px; border: 1px solid var(--rule-soft); }
.intro { font-size: 18px; color: var(--ink2); max-width: 62ch; margin: -6px 0 28px; }

/* Problem: index cards with a colored tab and ruled lines */
.card-index { position: relative; display: flex; flex-direction: column; background-color: var(--card); border-radius: var(--r); padding: 30px 28px 28px 40px; box-shadow: var(--print), inset 0 0 0 1px var(--rule-soft); overflow: hidden;
  background-image: linear-gradient(90deg, transparent 26px, rgba(181, 86, 43, .35) 26px, rgba(181, 86, 43, .35) 27px, transparent 27px), repeating-linear-gradient(transparent 0 27px, rgba(111, 166, 168, .22) 27px 28px); background-position: 0 0, 0 18px; }
.card-index::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--tab); }
.tab-ochre { --tab: var(--ochre); } .tab-clay { --tab: var(--clay); } .tab-marsh { --tab: var(--marsh); }
.card-no { position: absolute; right: 22px; top: 22px; font-family: var(--mono); font-size: 12px; color: var(--label); }
.scene { font-size: 15.5px; line-height: 1.55; color: var(--ink2); }
.scene .icon { margin-bottom: 22px; }
.scene-q { font-family: var(--sans); font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; color: var(--ink); margin-bottom: 12px; }
.scene p:last-child { margin: 0; }
.prose-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 28px; font-size: 17.5px; color: var(--ink2); max-width: 1100px; }
.prose-2 p { margin: 0; }

/* Agents */
.agents { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.agents-copy p { color: var(--ink2); font-size: 16.5px; }
.stat { display: flex; gap: 18px; align-items: flex-start; margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--sage); }
.agents-copy .stat-n { font-family: var(--display); letter-spacing: -0.04em; font-size: 56px; line-height: .9; color: var(--forest); margin: 0; }
.agents-copy .stat-t { font-size: 15px; color: var(--ink2); margin: 0; }
.stat-t .src { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--soft); margin-top: 6px; }
.agents-visual { position: relative; display: flex; flex-direction: column; }
.agent-record { background: var(--card); border-radius: 10px; border: 1px solid var(--rule-soft); box-shadow: var(--print); padding: 18px 18px 10px; }
.ar-head { display: flex; align-items: center; gap: 10px; font-family: var(--label-face); text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; margin-bottom: 10px; }
.ar-head .mark { width: 24px; height: 24px; }
.ar-rows { display: grid; }
.ar-rows li { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-top: 1px dashed var(--rule-soft); font-size: 15px; font-weight: 500; color: var(--ink); }
.ar-rows svg { width: 20px; height: 20px; color: var(--pine); flex: none; }
.st { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; }
.st-ok { background: var(--pine); } .st-soon { background: var(--ochre); box-shadow: 0 0 0 3px var(--ochre-soft); }
.agent-wire { width: 100%; height: 40px; display: block; order: 2; }
.agent-readers { display: flex; justify-content: space-between; gap: 8px; padding: 0 4px; order: 3; }
.reader-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; }

/* Guide */
.guide { margin-top: 28px; padding: clamp(32px, 5vw, 60px) clamp(32px, 5vw, 60px) clamp(32px, 5vw, 56px) calc(clamp(32px, 5vw, 60px) + 40px); overflow: hidden; }
.guide-band { position: absolute; left: 0; top: 0; bottom: 0; width: 40px; background: url("assets/waves-light.svg") 0 0 / 64px 36px repeat; opacity: .35; }
.guide-art { position: absolute; right: -40px; top: -20px; width: 520px; height: auto; pointer-events: none; opacity: .7; }
.guide-line, .sig { position: relative; }
.guide-line { font-weight: 500; font-size: clamp(21px, 2.2vw, 28px); letter-spacing: -0.015em; line-height: 1.38; max-width: 36ch; margin: 0 0 22px; color: var(--on-dark); }
.sig { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0; }
.sig .script { color: var(--ochre-soft); font-size: 42px; line-height: 1; transform: rotate(-3deg); }
.sig-role { font-family: var(--mono); font-size: 12.5px; color: var(--on-dark-mid); }

/* Flow */
.flow { display: grid; grid-template-columns: 1fr 120px 1.1fr 120px 1fr; gap: 0; align-items: center; padding: clamp(24px, 3.4vw, 40px); }
.flow-title { font-size: 12px; color: var(--forest); margin-bottom: 12px; }
.flow-col ul { display: grid; gap: 8px; }
.flow-col li { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--rule); border-radius: 6px; padding: 10px 12px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.flow-col li svg { width: 18px; height: 18px; color: var(--pine); flex: none; }
.flow-col li .logo { width: 18px; height: 18px; flex: none; }
.pk { fill: var(--clay); }
.flow-lines { width: 100%; height: 100%; min-height: 320px; align-self: stretch; }
.flow-col { align-self: start; }
.fl { fill: none; stroke: var(--forest); stroke-width: 1.5; stroke-dasharray: 5 7; opacity: .7; animation: dash 2.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.flow-center { padding: 0 6px; }
/* The record as a title plate: double rule, a small centered rule */
.record { background: var(--card); border-radius: 4px; padding: 26px 22px 22px; box-shadow: var(--print), inset 0 0 0 5px var(--card), inset 0 0 0 6.5px var(--forest); text-align: center; }
.record .mark { margin: 0 auto 12px; width: 38px; height: 38px; }
.record-title { font-family: var(--display); text-transform: uppercase; letter-spacing: -0.03em; font-size: 19px; color: var(--forest); margin: 0 0 6px; }
.record-title::after { content: ""; display: block; width: 36px; height: 1.5px; background: var(--forest); margin: 10px auto 0; }
.record-sub { font-family: var(--mono); font-size: 12px; color: var(--mid); margin: 0 0 16px; }
.record-rows { display: grid; gap: 6px; }
.record-rows span { height: 7px; border-radius: 2px; background: var(--pine-soft); }
.record-rows span:nth-child(2) { width: 80%; } .record-rows span:nth-child(3) { width: 90%; } .record-rows span:nth-child(4) { width: 60%; }

/* Steps: tiles with big catalog numerals */
.steps { margin-top: var(--gap); }
.steps .block { padding: clamp(22px, 2.4vw, 30px); }
.step { display: flex; flex-direction: column; }
.step h3 { font-size: 19px; }
.step-n { font-family: var(--display); font-size: 46px; letter-spacing: -0.04em; line-height: 1; color: var(--forest); margin-bottom: 12px; }
.step p { color: var(--ink2); font-size: 15px; margin: 0; }
.ill { position: relative; height: 150px; margin-bottom: 22px; border-radius: 8px; background: var(--card); border: 1px solid var(--rule-soft); overflow: hidden; }
.ill-gather .page { position: absolute; left: 22px; top: 22px; width: 92px; height: 106px; background: var(--linen); border: 1px solid var(--rule-soft); border-radius: 4px; padding: 12px 10px; display: grid; gap: 8px; align-content: start; }
.ill-gather .page span { height: 6px; border-radius: 2px; background: var(--rule-soft); }
.ill-gather .page span:nth-child(2) { width: 70%; } .ill-gather .page span:nth-child(4) { width: 50%; }
.ill-gather .scan { position: absolute; left: 22px; width: 92px; height: 2px; background: var(--clay); box-shadow: 0 0 10px 1px rgba(181, 86, 43, .45); animation: scan 3s ease-in-out infinite; }
@keyframes scan { 0% { top: 24px; } 50% { top: 122px; } 100% { top: 24px; } }
.ill-gather .found { font-size: 10.5px !important; white-space: nowrap; position: absolute; left: 132px; background: var(--pine-soft); color: var(--forest); border: 1px solid var(--pine-border); border-radius: 4px; padding: 4px 9px; font-family: var(--mono); font-size: 12px; opacity: 0; animation: pop 3s ease-in-out infinite; }
.ill-gather .found-1 { top: 38px; } .ill-gather .found-2 { top: 84px; animation-delay: .9s; }
@keyframes pop { 0%, 20% { opacity: 0; transform: translateX(-8px); } 35%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ill-keep { display: grid; place-items: center; }
.ill-keep .row-v { display: flex; align-items: center; gap: 22px; background: var(--linen); border: 1px solid var(--rule-soft); border-radius: 6px; padding: 12px 18px; }
.ill-keep .row-l { font-family: var(--label-face); text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; color: var(--ink2); }
.ill-keep .row-n { font-family: var(--display); font-size: 32px; letter-spacing: -0.04em; color: var(--forest); }
.ill-keep .stamp { position: absolute; right: 16px; bottom: 14px; border: 2px solid var(--stamp); color: var(--stamp); border-radius: 3px; padding: 3px 8px; font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; transform: rotate(-7deg); animation: stamp 4s ease-out infinite; }
@keyframes stamp { 0%, 30% { opacity: 0; transform: rotate(-7deg) scale(1.6); } 40%, 90% { opacity: 1; transform: rotate(-7deg) scale(1); } 100% { opacity: 0; } }
.ill-keep .tick { position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; color: var(--pine); animation: tick 4s ease-out infinite; }
@keyframes tick { 0%, 45% { opacity: 0; transform: scale(.4); } 55%, 90% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.ill-use { display: grid; place-items: center; }
.orbit { position: relative; width: 120px; height: 120px; }
.orbit::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--clay-border); }
.orbit .core { position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; }
.sat { position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; background: var(--card); border: 1px solid var(--rule); display: grid; place-items: center; animation: orbit 9s linear infinite; }
.sat .logo { width: 16px; height: 16px; }
.sat-2 { animation-delay: -3s; } .sat-3 { animation-delay: -6s; }
@keyframes orbit { from { transform: rotate(0deg) translateX(60px) rotate(0deg); } to { transform: rotate(360deg) translateX(60px) rotate(-360deg); } }
.ill-true { padding: 18px 16px 10px; display: flex; flex-direction: column; justify-content: center; font-size: 12.5px; }
.timeline { position: relative; height: 8px; border-radius: 2px; background: var(--ochre-soft); margin: 6px 0 30px; }
.tl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 68%; border-radius: 2px; background: var(--ochre); animation: fill 5s var(--ease) infinite; }
@keyframes fill { 0% { width: 20%; } 70%, 100% { width: 68%; } }
.tl-now, .tl-end { position: absolute; top: 14px; font-family: var(--mono); font-size: 11px; color: var(--mid); }
.tl-now { left: 52%; transform: translateX(-50%); color: var(--ochre-deep); }
.tl-end { right: 0; }
.log-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--rule-soft); color: var(--ink2); }
.log-row:last-child { border-bottom: 0; }
.log-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pine); flex: none; }
.log-t { margin-left: auto; font-family: var(--mono); color: var(--label); font-size: 11px; }

/* The Check */
.check { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center; background-image: var(--stipple); }
.check-copy p { color: var(--ink2); font-size: 16.5px; }
.draft { position: relative; background: var(--card); border-radius: 8px; padding: 22px 24px 20px 44px; box-shadow: var(--print), inset 0 0 0 1px var(--rule-soft);
  background-image: linear-gradient(90deg, transparent 28px, rgba(181, 86, 43, .35) 28px, rgba(181, 86, 43, .35) 29px, transparent 29px); }
.draft-label { font-size: 11.5px; color: var(--label); margin: 0 0 10px; }
.draft-text { font-size: 19px; line-height: 1.55; color: var(--ink); margin: 0; }
.draft mark { background: transparent; color: inherit; padding: 0 1px; background-image: linear-gradient(var(--hl), var(--hl)); background-size: 100% 100%; background-repeat: no-repeat; border-bottom: 2px solid var(--hlb); transition: background-size .8s var(--ease); }
.js .check:not(.in) .draft mark { background-size: 0% 100%; }
.m1 { --hl: var(--hatch-b); --hlb: var(--stone); } .m2 { --hl: var(--ochre-soft); --hlb: var(--ochre); transition-delay: .5s !important; } .m3 { --hl: var(--clay-soft); --hlb: var(--clay); transition-delay: 1s !important; }
.flags { display: grid; gap: 8px; margin-top: 12px; }
.flag { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; background: var(--card); border: 1px solid var(--rule-soft); border-left: 4px solid; border-radius: 6px; padding: 10px 14px; font-size: 14px; color: var(--ink2); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .check:not(.in) .flag { opacity: 0; transform: translateX(10px); }
.flag-k { font-family: var(--mono); font-weight: 500; font-size: 11.5px; color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.f1 { border-left-color: var(--stone); transition-delay: .9s; } .f2 { border-left-color: var(--ochre); transition-delay: 1.3s; } .f3 { border-left-color: var(--clay); transition-delay: 1.7s; }

/* Comparison: a ledger */
.compare { border-radius: var(--r); overflow: hidden; border: 1.5px solid var(--forest); background: var(--card); }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; }
.cmp-head span, .cmp-row span { padding: 15px 22px; }
.cmp-head { font-family: var(--label-face); text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; border-bottom: 1.5px solid var(--forest); }
.cmp-head .cmp-a { background: var(--kraft); color: var(--mid); }
.cmp-head .cmp-b { background: var(--forest); color: var(--on-dark); display: flex; align-items: center; gap: 10px; }
.cmp-head .cmp-b .mark { width: 22px; height: 22px; color: var(--pine-border); }
.cmp-row { border-top: 1px dashed var(--rule); font-size: 15.5px; }
.cmp-head + .cmp-row { border-top: 0; }
.cmp-k { font-family: var(--mono); font-size: 13px; color: var(--ink); align-self: center; }
.cmp-row .cmp-a { background: var(--linen); color: var(--mid); position: relative; padding-left: 46px; }
.cmp-row .cmp-b { background: var(--pine-soft); color: var(--forest); font-weight: 600; position: relative; padding-left: 46px; }
.cmp-row .cmp-a::before, .cmp-row .cmp-b::before { position: absolute; left: 20px; top: 17px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; line-height: 1; }
.cmp-row .cmp-a::before { content: "\00D7"; border: 1.5px solid var(--label); color: var(--label); }
.cmp-row .cmp-b::before { content: ""; background: var(--pine) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23FBF7EE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 100% no-repeat; }

/* Who it's for */
.org { display: flex; flex-direction: column; }
.org h3 { font-size: 19px; color: var(--forest); }
.org p { color: var(--ink2); font-size: 15px; margin: 0; }
.org .icon { margin-bottom: 26px; }
.roles { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gap); margin-top: var(--gap); }
.roles-col { border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); background: var(--card); }
.roles-title { font-size: 12.5px; color: var(--forest); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.role-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.role-list li { font-size: 15px; color: var(--ink2); padding-left: 18px; position: relative; }
.role-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 1px; background: var(--pine); transform: rotate(45deg); }
.role-list b { display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px; }
.roles-not { background: var(--kraft); border-color: transparent; }
.roles-not .roles-title { color: var(--clay-text); border-color: var(--clay-border); }
.not-list { display: grid; gap: 14px; }
.not-list li { font-size: 15px; color: var(--ink2); padding-left: 26px; position: relative; }
.not-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--clay); background: linear-gradient(135deg, transparent 45%, var(--clay) 45%, var(--clay) 55%, transparent 55%); }

/* Nonprofit Builders */
.npb { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: clamp(32px, 5vw, 56px); overflow: hidden; background-image: url("assets/contours-dark.svg"), var(--grid-dark); background-size: cover, 48px 48px, 48px 48px; }
.npb-copy p { color: var(--on-dark-mid); font-size: 16.5px; max-width: 52ch; }
.stack { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.stack-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.layer { display: grid; place-items: center; height: 92px; border-radius: 8px; font-family: var(--display); text-transform: uppercase; letter-spacing: -0.03em; font-size: 17px; color: var(--forest); position: relative; }
.layer::after { content: ""; position: absolute; left: 50%; top: 100%; height: 28px; border-left: 1.5px dashed var(--pine-border); opacity: .7; }
.l1 { background: var(--sage-soft); } .l2 { background: var(--clay-soft); } .l3 { background: var(--ochre-soft); } .l4 { background: var(--marsh-soft); }
.stack-cap { font-size: 11.5px; color: var(--on-dark-mid); margin: 0 0 2px; }
.stack-base { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: var(--card); border-radius: 4px; padding: 20px 22px; margin-top: 28px; box-shadow: inset 0 0 0 5px var(--card), inset 0 0 0 6.5px var(--forest); }
.stack-base .mark { grid-row: span 2; width: 40px; height: 40px; }
.stack-base span { font-family: var(--display); text-transform: uppercase; letter-spacing: -0.03em; font-size: 22px; color: var(--forest); }
.stack-base small { font-family: var(--mono); font-size: 12px; color: var(--mid); }

/* Pricing: tags with a punched hole */
.plan { display: flex; flex-direction: column; padding-top: 48px; }
.plan::before { content: ""; position: absolute; left: 50%; top: 16px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 2px rgba(29, 42, 38, .35); }
.plan-name { font-size: 13px; color: var(--forest); margin: 0 0 10px; }
.block-ink .plan-name { color: var(--ochre-soft); }
.plan-price { font-family: var(--display); letter-spacing: -0.04em; font-size: 46px; line-height: 1; margin: 0 0 12px; color: var(--forest); }
.block-ink .plan-price { color: var(--on-dark); }
.plan-price small { font-family: var(--mono); font-size: 12.5px; color: var(--mid); text-transform: none; letter-spacing: 0; }
.block-ink .plan-price small { color: var(--on-dark-mid); }
.plan-who { font-size: 15.5px; color: var(--ink2); min-height: 48px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px dashed var(--rule); }
.block-ink .plan-who { color: var(--on-dark-mid); border-color: rgba(243, 236, 221, .25); }
.plan ul { display: grid; gap: 10px; font-size: 15px; color: var(--ink2); }
.block-ink ul { color: var(--on-dark); }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 1px; top: 8px; width: 7px; height: 7px; border-radius: 1px; transform: rotate(45deg); background: var(--pine); }
.block-ink li::before { background: var(--ochre-soft); }

/* FAQ */
.faq { border-top: 1.5px solid var(--forest); max-width: 1000px; }
.faq details { border-bottom: 1px dashed var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px; padding: 20px 2px; font-size: clamp(17px, 1.6vw, 19.5px); font-weight: 600; letter-spacing: -0.01em; color: var(--forest); }
.faq summary::-webkit-details-marker { display: none; }
.qn { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--clay); flex: none; width: 24px; }
.faq summary::after { content: ""; flex: none; margin-left: auto; width: 28px; height: 28px; border-radius: 4px; border: 1px solid var(--rule); background: var(--card) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'><path d='M14 8v12M8 14h12' stroke='%23173F3A' stroke-width='1.8' stroke-linecap='round'/></svg>") center / 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--clay); }
.faq-a { padding: 0 60px 22px 2px; color: var(--ink2); font-size: 16px; max-width: 76ch; }
.faq-a a { color: var(--pine-text); font-weight: 500; }

/* Close and footer */
.close { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--gap); margin-top: 72px; align-items: stretch; }
.close-copy { background: var(--card); box-shadow: inset 0 0 0 1px var(--rule-soft); }
.close-copy h2 { margin-bottom: 10px; max-width: 16ch; }
.close-art { display: grid; place-items: center; border-radius: var(--r); min-height: 260px; }
.close-mark { width: 120px; height: 124px; color: var(--ochre-soft); }
.footer { padding: 36px 0 32px; }
.footer .waves { margin: 0 0 22px; }
.footer-base { display: flex; align-items: center; gap: 14px; color: var(--mid); font-size: 13.5px; flex-wrap: wrap; }
.footer-base p { margin: 0; }
.logo-foot { height: 22px; width: auto; color: var(--forest); }
.foot-mark { font-family: var(--label-face); text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; color: var(--forest); }
.foot-mark a { text-decoration-color: var(--clay); text-underline-offset: 3px; }
.foot-c { font-family: var(--mono); font-size: 12px; }
.footer-base nav { margin-left: auto; display: flex; gap: 16px; }
.footer-base nav a { text-decoration: none; color: var(--ink2); }
.footer-base nav a:hover { color: var(--clay); }

/* Cohort and thanks pages */
.page-narrow { max-width: 760px; margin-inline: auto; padding-block: 12px 72px; }
.page-narrow h1 { margin-bottom: 14px; }
.form { display: grid; gap: 14px; margin-top: 8px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: var(--card); border: 1px solid var(--rule); border-radius: 6px; padding: 11px 12px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--pine); outline-offset: 1px; border-color: var(--pine); }
.form textarea { resize: vertical; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 14px; }
.checks label { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 14.5px; }
.checks input { width: 16px; height: 16px; accent-color: var(--pine); }
.opt { font-family: var(--mono); font-size: 11.5px; color: var(--label); margin-left: 6px; font-weight: 400; }

/* Responsive */
@media (max-width: 1180px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 16px; margin-left: 8px; }
}
@media (max-width: 1080px) {
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow-lines { display: none; }
  .flow-col ul { grid-template-columns: repeat(2, 1fr); }
  .flow-center { padding: 6px 0; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero, .prose-2, .agents, .check, .npb { grid-template-columns: 1fr; }

  .grid-3 { grid-template-columns: 1fr; }
  .guide-art { width: 320px; right: -80px; }
  .close-art { min-height: 160px; }
  .hero-visual { padding-bottom: 96px; }
}
@media (max-width: 600px) {
  .wrap, .nav { width: calc(100% - 32px); }
  .nav { gap: 10px; }
  .btn-nav { padding: 10px 11px; font-size: 13px; }
  .logo-full { height: clamp(30px, 8.5vw, 36px); }
  h1 { font-size: 30px; }
  .eyebrow { font-size: 11.5px; letter-spacing: .12em; }
  .hero-form { flex-direction: column; }
  .cover { padding-left: 50px; }
  .cover-band { width: 22px; }
  .cover::after { left: 22px; }
  .f-row, .checks, .flow-col ul { grid-template-columns: 1fr; }
  .sim-status { display: none; }
  .fcard-value.serif { font-size: 17px; }
  .sim-reader { grid-template-columns: 1fr; }
  .reader-ans { grid-column: 1; }
  .prov { flex-direction: column; gap: 2px; }
  .stamp-lib { right: 14px; bottom: 16px; }
  .footer-base nav { margin-left: 0; width: 100%; flex-wrap: wrap; }
  .guide { padding-left: 52px; }
  .guide-band { width: 24px; }
  .guide-art { display: none; }
  .grid-4, .role-list { grid-template-columns: 1fr; }
  .cmp-head, .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-head > span:first-child { display: none; }
  .cmp-head span, .cmp-row span { padding: 12px 14px; font-size: 14px; }
  .cmp-head span { font-size: 11px; }
  .cmp-row .cmp-k { grid-column: 1 / -1; padding-bottom: 4px; font-size: 12px; }
  .cmp-row .cmp-a, .cmp-row .cmp-b { padding-left: 38px; }
  .cmp-row .cmp-a::before, .cmp-row .cmp-b::before { left: 14px; top: 13px; }
  .stack-top { grid-template-columns: 1fr 1fr; }
  .layer { height: 64px; }
  .faq-a { padding: 0 2px 20px 2px; }
  .draft-text { font-size: 18px; }
  .kicker::after, .center .kicker::before { display: none; }

}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fcard, .sim-reader, .draft mark, .flag { transition: none; }
  .sim-caret, .fl, .scan, .found, .stamp, .tick, .sat, .tl-fill { animation: none; }
  .found, .stamp, .tick { opacity: 1; }
}

/* Birdie as the technical face: caps, a touch of tracking, small sizes */
.prov, .pill, .sim-url, .sim-status, .stat-t .src, .record-sub, .fcard-value .now, .ill-gather .found, .ill-keep .stamp, .tl-now, .tl-end, .log-t, .flag-k, .cmp-k, .sig-role, .stack-base small, .plan-price small, .foot-c, .opt, .sl-date, .sl-by { letter-spacing: .07em; }
.prov, .stat-t .src, .record-sub, .log-t, .sig-role, .stack-base small, .foot-c, .sl-by { font-size: 11px; }
.cmp-k { font-size: 11.5px; }
.pill { font-size: 10.5px; padding: 3px 8px 2px; }
.sim-url { font-size: 12.5px; }

/* The MissionFile mark as a quiet repeating pattern */
.marked, .marked-dark { position: relative; overflow: hidden; isolation: isolate; }
.marked::after, .marked-dark::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask: url("assets/mark-pattern.svg") 0 0 / 300px 300px repeat; mask: url("assets/mark-pattern.svg") 0 0 / 300px 300px repeat; }
.marked::after { background: var(--sage-deep); opacity: .03; }
.marked-dark::after { background: var(--on-dark); opacity: .06; }

.display .ln { display: block; }

/* ---------- September 28 revision ---------- */
/* Hand-drawn squiggle under key words */
.sq { background: linear-gradient(transparent 58%, var(--hl-mark, rgba(200, 150, 43, .34)) 58%, var(--hl-mark, rgba(200, 150, 43, .34)) 92%, transparent 92%) no-repeat; background-size: 100% 100%; padding: 0 .08em; margin: 0 -.04em; border-radius: 2px; }
.block-ink .sq { --hl-mark: rgba(239, 221, 166, .28); }

/* Centered sections */
.center { text-align: center; }
.center > h2, .center > .intro { margin-inline: auto; }
.center > h2 { max-width: 24ch; }
.center > .intro { max-width: 60ch; margin-top: 0; margin-bottom: 40px; font-size: 19px; }
.center .kicker { justify-content: center; }
.center .kicker::before { content: ""; height: 1px; width: 70px; background: var(--rule); }
.center .kicker::after { flex: none; width: 70px; }
.center .flow, .center .steps, .center .scenes, .center .inside-grid, .center .compare, .center .orgs, .center .roles, .center .plans, .center .faq { text-align: left; }

/* Launch badge and early-access link */
.launch { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-family: var(--label-face); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--forest); background: var(--ochre-soft); border-radius: 999px; padding: 7px 14px 6px 8px; margin: 0 0 24px; }
.launch-mark { width: 20px; height: 20px; color: var(--forest); }
.launch-center { align-self: center; }
.tagline { font-size: clamp(19px, 1.7vw, 22px); font-weight: 500; line-height: 1.45; color: var(--forest); margin: 22px 0 0; max-width: 34ch; }
.tagline .script { font-size: 1.5em; }
.apply-link { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 18px; font-size: 14.5px; font-weight: 500; color: var(--pine-text); text-decoration: none; align-self: flex-start; }
.apply-link:hover { color: var(--clay-text); }
.apply-tag { font-family: var(--label-face); text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; color: var(--clay-text); border: 1.5px solid var(--clay-border); border-radius: 4px; padding: 3px 7px 2px; }
.apply-link .arr { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.apply-link:hover .arr { transform: translateX(3px); }
.apply-center { align-self: center; justify-content: center; }

/* Hero sim additions */
.swatches { display: flex; align-items: center; gap: 8px; }
.swatches span { width: 26px; height: 26px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.swatches em { font-style: normal; font-size: 14px; color: var(--mid); margin-left: 6px; }
.state-brand { border-left-color: var(--pine); }

/* Tools row */
.logo-line { color: var(--pine); }
.tool-more { border-style: dashed; background: transparent; }

/* Problem scenes: soft index cards, no ruled lines */
.card-index { background-image: none; padding: 34px 30px 30px; }
.scene-label { display: flex; align-items: center; gap: 10px; font-family: var(--label-face); text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; color: var(--clay-text); margin-bottom: 16px; }
.scene-ic { width: 22px; height: 22px; color: var(--pine); }
.scene-q { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.22; }
.converge { position: relative; height: 170px; margin: 0 0 22px; }
.cv-lines { position: absolute; inset: 0 0 38px; width: 100%; height: calc(100% - 38px); }
.cv-node { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 64px; height: 64px; border-radius: 50%; background: var(--forest); display: grid; place-items: center; box-shadow: 0 0 0 8px var(--paper), 0 0 0 9px var(--rule); }
.cv-node .mark { width: 30px; height: 31px; color: var(--ochre-soft); }
.bridge { font-size: clamp(21px, 2.1vw, 27px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; color: var(--forest); max-width: 34ch; margin: 0 auto; }

/* What's inside: specimen cards */
.inside-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.spec { background: var(--card); border-radius: var(--r); padding: 26px 26px 24px; box-shadow: inset 0 0 0 1px var(--rule-soft); position: relative; }
.spec::after { content: ""; position: absolute; right: 18px; top: 18px; width: 22px; height: 23px; opacity: .1; background: var(--forest);
  -webkit-mask: url("assets/mark.svg") center / contain no-repeat; mask: url("assets/mark.svg") center / contain no-repeat; }
.spec-k { font-family: var(--label-face); text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; color: var(--clay-text); margin-bottom: 10px; }
.spec h3 { font-size: 20px; font-weight: 700; color: var(--forest); }
.spec p:last-child { margin: 0; color: var(--ink2); font-size: 15px; }
.swatch-row { display: flex; align-items: center; gap: 6px; margin: 4px 0 12px; }
.swatch-row span { width: 30px; height: 30px; border-radius: 7px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.swatch-row b { font-size: 24px; font-weight: 700; color: var(--forest); margin-left: 8px; letter-spacing: -0.02em; }
.spec-num { font-family: var(--display); font-size: 38px; letter-spacing: -0.04em; line-height: 1; color: var(--forest); margin: 4px 0 12px; }
.spec-num small { font-family: var(--label-face); font-size: 11px; letter-spacing: .1em; color: var(--label); margin-left: 10px; text-transform: uppercase; }
.spec-brand { background: var(--ochre-soft); box-shadow: none; }
.spec-impact { background: var(--sage-soft); box-shadow: none; }

/* AI tools list */
.ar-rows li svg { color: var(--pine); }

/* Founder */
.founder { position: relative; display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: end; border-radius: var(--r); padding: 48px 56px 0 96px; overflow: hidden; color: var(--on-dark); }
.founder-photo { position: relative; align-self: end; }
.founder-photo::before { content: ""; position: absolute; left: 50%; top: 18%; width: 260px; height: 260px; margin-left: -130px; border-radius: 50%; background: var(--pine); opacity: .7; }
.founder-photo img { position: relative; width: 100%; height: auto; display: block; filter: grayscale(1) contrast(1.02); }
.founder-copy { padding-bottom: 52px; align-self: center; }
.founder .guide-line { margin-bottom: 18px; }
.founder .sig { margin: 0; }
.sig-role { margin: 6px 0 0; line-height: 1.8; color: var(--on-dark-mid); }

/* Who it's for */
.org .icon { margin-bottom: 22px; }
.roles { display: block; margin-top: var(--gap); border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); background: var(--card); }
.roles .role-list { grid-template-columns: repeat(3, 1fr); }

/* Pricing without numbers */
.plan { padding-top: 44px; }
.plan-name { font-family: var(--display); text-transform: uppercase; letter-spacing: -0.03em; font-size: 26px; margin-bottom: 10px; }
.plan-who { min-height: 72px; }

/* FAQ centered block */
.faq { margin-inline: auto; max-width: 880px; }

/* Close */
.close { display: block; margin-top: 88px; }
.close-card { text-align: center; background: var(--card); border-radius: var(--r); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px); box-shadow: inset 0 0 0 1px var(--rule-soft); display: flex; flex-direction: column; align-items: center; }
.close-card h2 { font-size: clamp(34px, 4.2vw, 58px); max-width: 16ch; margin: 0 auto 28px; }
.close-card .hero-form { width: min(560px, 100%); margin-top: 0; }
.close-note { font-size: 14px; color: var(--mid); margin: 12px 0 0; }

/* Early access page */
.page-narrow .launch { display: inline-flex; }
.ea-title { font-size: clamp(34px, 4vw, 52px); margin-bottom: 14px; }
.ea-terms { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin: 28px 0; }
.ea-terms > div { background: var(--kraft); border-radius: var(--r); padding: 22px 24px; }
.ea-terms ul { display: grid; gap: 8px; font-size: 15px; color: var(--ink2); }
.ea-terms li { padding-left: 18px; position: relative; }
.ea-terms li::before { content: ""; position: absolute; left: 1px; top: 8px; width: 7px; height: 7px; border-radius: 1px; transform: rotate(45deg); background: var(--pine); }
img.launch-mark { width: 20px; height: 20px; }
@media (max-width: 600px) { .ea-terms { grid-template-columns: 1fr; } }

.close-card h2 .ln { display: block; }
@media (max-width: 900px) {
  .inside-grid, .roles .role-list { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 240px 1fr; padding-left: 64px; gap: 28px; }
}
@media (max-width: 600px) {
  .inside-grid, .roles .role-list { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; padding: 36px 22px 0 44px; gap: 8px; }
  .founder-photo { order: 2; max-width: 260px; margin: 0 auto; }
  .founder-copy { padding-bottom: 8px; }
  .converge { height: 110px; }
  .center > .intro { font-size: 17px; }
  .plan-who { min-height: 0; }
}

/* What's inside, richer cards */
.spec { padding: 26px 26px 26px; display: flex; flex-direction: column; }
.spec::after { display: none; }
.spec-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.spec-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--forest); display: grid; place-items: center; flex: none; }
.spec-ic svg { width: 22px; height: 22px; color: var(--ochre-soft); }
.spec-top .spec-k { margin: 0; font-size: 12.5px; }
.spec h3 { font-size: 22px; margin-bottom: 10px; }
.spec p:last-child { font-size: 16.5px; line-height: 1.55; }
.spec-sample { font-family: var(--label-face); text-transform: uppercase; letter-spacing: .07em; font-size: 11.5px; line-height: 1.5; color: var(--pine-text); background: rgba(31, 92, 86, .08); border: 1px dashed rgba(31, 92, 86, .3); border-radius: 6px; padding: 8px 10px 7px; margin: 0 0 14px; }
.spec-brand .spec-ic, .spec-impact .spec-ic { background: var(--card); }
.spec-brand .spec-ic svg, .spec-impact .spec-ic svg { color: var(--forest); }

/* Nonprofit Builders logo */
.npb-logo { display: block; width: min(320px, 80%); margin: 0 0 30px; opacity: .92; }
.npb-logo img { width: 100%; height: auto; display: block; }

/* Film */
.film-sec { margin-top: 44px; }
.film-frame { padding: clamp(10px, 1.6vw, 22px); border-radius: var(--r); }
.film-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: var(--paper); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .7); }

h1 .ln { display: block; }

/* Hero headline: one sentence per line, "once" circled by hand */
.hero-h { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.1; }
.hero-h .ln { display: block; }
.hero-h .ln-2 { color: var(--pine); }
.circ { position: relative; display: inline-block; }
.circ svg { max-width: none; position: absolute; left: -.3em; top: -.28em; width: calc(100% + .7em); height: calc(100% + .5em); overflow: visible; pointer-events: none; }
.circ path { fill: none; stroke: var(--clay); stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: circ 1.1s var(--ease) .5s forwards; }
@keyframes circ { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .circ path { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 600px) { .hero-h { font-size: 30px; } }

.form-error { flex-basis: 100%; margin: 10px 0 0; font-size: 14px; color: var(--clay-text); }
.hero-form { flex-wrap: wrap; }
.hero-form input { flex: 1 1 240px; }
.hero-form .turnstile-slot { flex-basis: 100%; }
@media (max-width: 600px) {
  .hero-form input { flex: 0 0 auto; width: 100%; height: 52px; font-size: 16px; }
  .hero-form .btn { width: 100%; min-height: 50px; }
  .hero-form .turnstile-slot { flex-basis: auto; width: 100%; }
  .apply-link { display: inline-block; }
  .apply-tag { display: inline-block; margin-right: 8px; vertical-align: middle; }
  .apply-link .arr { display: inline-block; margin-left: 4px; vertical-align: middle; }
  .apply-center { text-align: center; }
  .film-frame video { aspect-ratio: 4 / 5; }
}
@media (max-width: 360px) {
  .hero-h { font-size: 26px; }
}
