/* Stylelock green, dark (the version lives in .aegisflow/brand/). Fonts are Stylelock's lock —
   Space Grotesk headings, Inter text, JetBrains Mono code — self-hosted from fonts/ (no CDN:
   privacy.html promises no third parties), with the system stack as the fallback. */
@font-face{font-family:"Space Grotesk";src:url("/fonts/SpaceGrotesk.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Inter";src:url("/fonts/Inter.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url("/fonts/JetBrainsMono.woff2") format("woff2");font-weight:100 900;font-display:swap}
:root{
  /* Stylelock palette (project e07b14b0, locked 2026-09-26) through Layoutline's colour roles
     (plan e76a33a0): ground #1C1C1E, surface #252527, text #F5F5F5, primary #84E296 on the
     main call to action only, accent #4A6E82. --accent-text is the accent lifted to read as
     small text (#4A6E82 itself is 3.1:1 on the ground); a refusal is the brand's destructive red. */
  --background:#1C1C1E; --foreground:#F1F1F4; --card:#252528; --muted:#2D2D2F; --muted-foreground:#9E9EA1;
  --border:#39393C; --primary:#84E296; --secondary:#4A6E82; --accent:#4A6E82; --on-primary:#1C1C1E;
  --accent-text:color-mix(in srgb,var(--secondary) 50%,var(--foreground)); --destructive:#DC2626;
  --primary-text: #84E296;
  --secondary-text: #759BB0;
  --destructive-text: #FF6257;
  --success-text: #23AC8F;
  --warning-text: #F59E0B;
  --info-text: #36A0E5;
  --success: #009F83;
  --on-success: #1C1C1E;
  --warning: #F59E0B;
  --on-warning: #1C1C1E;
  --info: #148ACE;
  --on-info: #1C1C1E;
  --primary-container: #083E19;
  --on-primary-container: #89E79B;
  --secondary-container: #233640;
  --on-secondary-container: #ADD4EB;
  --destructive-container: #5B1714;
  --on-destructive-container: #FFBAB1;
  --success-container: #003D31;
  --on-success-container: #6EE7C8;
  --warning-container: #492B00;
  --on-warning-container: #FFC075;
  --info-container: #003656;
  --on-info-container: #9ED5FF;
  --font:"Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading:"Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
*{box-sizing:border-box}
body{margin:0;background:var(--background);color:var(--foreground);font:16px/1.6 var(--font);
  -webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--font-heading)}
code,pre,kbd,samp,.cmd code,.sim-body{font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0}
a{color:var(--accent-text)}
.wrap{max-width:920px;margin:0 auto;padding:0 24px}
header{padding:28px 0;border-bottom:1px solid var(--border)}
header .wrap{display:flex;align-items:center;gap:12px}
header img{width:34px;height:34px}
header b{font-size:17px;letter-spacing:-.01em}
header .os{margin-left:auto;color:var(--muted-foreground);font-size:13px}

.hero{padding:56px 0 64px;position:relative;isolation:isolate}
/* Texture: a faint grid behind the hero only, fading out; light: a soft accent glow behind the
   code panel and the screenshots. No grain. */
.hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(color-mix(in srgb,var(--border) 45%,transparent) 1px,transparent 1px),
    linear-gradient(90deg,color-mix(in srgb,var(--border) 45%,transparent) 1px,transparent 1px);
  background-size:36px 36px;
  -webkit-mask-image:radial-gradient(ellipse 70% 55% at 60% 30%,#000 30%,transparent 75%);
  mask-image:radial-gradient(ellipse 70% 55% at 60% 30%,#000 30%,transparent 75%)}
h1{font-size:clamp(30px,5.2vw,50px);line-height:1.08;letter-spacing:-.03em;margin:0 0 20px;
  max-width:15ch}
.lede{font-size:clamp(17px,2.2vw,20px);color:var(--muted-foreground);max-width:60ch;margin:0 0 32px}
.lede b{color:var(--foreground);font-weight:600}
.cta{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.btn{display:inline-block;padding:12px 22px;border-radius:9px;text-decoration:none;
  font-weight:600;font-size:15px;transition:opacity .2s,background .2s}
.btn-primary{background:var(--primary);color:var(--on-primary)}
.btn-primary:hover{background:color-mix(in srgb,var(--primary) 82%,var(--foreground))}
.btn-ghost{border:1px solid var(--border);color:var(--foreground)}
.btn-ghost:hover{background:var(--muted)}
.status{margin-top:16px;font-size:13.5px;color:var(--muted-foreground)}
.status s{color:var(--muted-foreground);opacity:.7}

section{padding:56px 0;border-top:1px solid var(--border)}
/* Full-bleed alternating bands (the reference grammar): colour belongs to the BAND,
   text to the measure. Derived from tokens via color-mix so a brand bump recolors
   the bands with zero extra governance. */
.band{background:color-mix(in srgb,var(--background) 62%,var(--card));position:relative}
.band>.wrap{position:relative}
/* eyebrow-pill (ui-patterns, declared in brand 1.4.0): the section's category word is a
   COMPONENT, not bare text — a hairline pill on card ground led by a dot in the brand's
   emphasis hue. */
h2{display:inline-flex;align-items:center;gap:8px;margin:0 0 22px;padding:6px 13px;
  border:1px solid var(--border);border-radius:999px;background:var(--card);
  font-family:var(--mono);font-size:11px;font-weight:600;text-transform:uppercase;
  letter-spacing:.12em;color:var(--muted-foreground)}
h2::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--secondary)}
h3{font-size:19px;letter-spacing:-.01em;margin:0 0 10px}

/* two-clause-heading (ui-patterns): the emphasis clause continues the SAME sentence inside
   the SAME element and face — only style and colour change. `em` carries energy (the brand's
   secondary hue); `em.soft` carries softness (muted). One hue, per the brand's own law.
   SCOPED TO HEADINGS ON PURPOSE: --secondary measures 4.04:1 on the ground, which clears AA
   for large text (the 22px+ headings this is for) but NOT for body copy. */
h1 em,h3 em{font-style:italic;font-weight:inherit;color:var(--accent-text)}
h1 em.soft,h3 em.soft{color:var(--muted-foreground)}

ul.tools{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px}
ul.tools li{border:1px solid var(--border);border-radius:999px;padding:7px 15px;font-size:14px;
  color:var(--muted-foreground)}
ul.tools li.one-click{border-color:var(--primary);color:var(--foreground)}

.price{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:32px;
  display:grid;gap:28px;grid-template-columns:minmax(180px,1fr) 2fr}
.price .amount{font-size:46px;font-weight:700;letter-spacing:-.035em;line-height:1}
.price .once{color:var(--muted-foreground);font-size:15px;margin-top:6px}
.price ul{margin:0;padding-left:20px;color:var(--muted-foreground);font-size:15px}
.price li{margin-bottom:9px}
.price li b{color:var(--foreground);font-weight:600}
@media (max-width:640px){
  .price{grid-template-columns:1fr;padding:24px}
  /* Wraps to two cramped lines beside the wordmark on a phone, and the footer says it anyway. */
  header .os{display:none}
}

/* FAQ — native <details>, no JS. */
.faq details{border:1px solid var(--border);border-radius:12px;background:var(--card);
  margin-bottom:10px}
.faq summary{cursor:pointer;padding:15px 18px;font-size:15.5px;font-weight:600;
  list-style:none;display:flex;align-items:center;gap:10px}
.faq summary::before{content:"+";color:var(--accent-text);font-weight:700;width:14px}
.faq details[open] summary::before{content:"–"}
.faq summary::-webkit-details-marker{display:none}
.faq .a{padding:0 18px 16px 42px;color:var(--muted-foreground);font-size:15px}
.faq .a p{margin:0 0 10px}
.install{margin-top:12px}
.install-label{display:block;font-size:12.5px;color:var(--muted-foreground);margin-bottom:5px}
.cmd{display:inline-flex;align-items:stretch;max-width:100%;border:1px solid var(--border);
  border-radius:9px;overflow:hidden;background:var(--card)}
.cmd code{font-family:var(--mono);font-size:12.5px;color:var(--foreground);
  padding:9px 12px;white-space:nowrap;overflow-x:auto;user-select:all}
.cmd-prompt{color:var(--muted-foreground);user-select:none;margin-right:6px}
.cmd-copy{font-family:inherit;font-size:12px;font-weight:600;border:0;cursor:pointer;
  padding:0 14px;background:var(--muted);color:var(--foreground);border-left:1px solid var(--border);
  white-space:nowrap}
.cmd-copy:hover{background:var(--secondary);color:#fff}
.cmd-copy.copied{background:var(--secondary);color:#fff}
.faq .a code{font-family:var(--mono);font-size:13px;background:var(--muted);
  padding:1px 5px;border-radius:4px;color:var(--foreground)}

footer{border-top:1px solid var(--border);display:block;padding:44px 0 40px;color:var(--muted-foreground);
  font-size:14px}
.foot-grid{display:grid;gap:32px;grid-template-columns:minmax(200px,1.4fr) repeat(3,1fr);
  margin-bottom:36px}
@media (max-width:640px){.foot-grid{grid-template-columns:1fr 1fr}}
.foot-brand img{width:30px;height:30px;margin-bottom:10px}
.foot-brand p{margin:0;font-size:13.5px;max-width:32ch}
footer h4{font-size:11.5px;text-transform:uppercase;letter-spacing:.1em;color:var(--foreground);
  font-weight:600;margin:0 0 12px}
footer ul{list-style:none;padding:0;margin:0}
footer li{margin-bottom:9px}
footer a{color:var(--muted-foreground);text-decoration:none}
footer a:hover{color:var(--foreground)}
/* Social marks as their own cluster, not glyphs bolted onto two of five text links in a
   nav column — that is where footers conventionally put them, and it keeps the Support
   list uniform. Inline SVG: zero extra requests for a few icons. */
.foot-social{display:flex;gap:14px;margin-top:14px}
.foot-social a{display:inline-flex;color:var(--muted-foreground);transition:color .2s}
.foot-social a:hover{color:var(--foreground)}
.foot-social svg{width:18px;height:18px;fill:currentColor;display:block}
.foot-bar{border-top:1px solid var(--border);padding-top:20px;display:flex;
  flex-wrap:wrap;gap:10px;justify-content:space-between;font-size:13px}
.foot-bar .ver{font-family:var(--mono);font-size:12px}
.foot-bar .ver i{font-style:normal;color:var(--accent-text)}

/* Feature blocks — each carries its proof: a composite of a REAL screenshot (the camera
   renders the actual app connected to a seeded Postgres; brand/README.md documents the
   pipeline) or, for the refusal, the gateway's own message verbatim. */
/* scan layer — themed-card (ui-patterns, declared in brand 1.6.0) at SCAN SCALE:
   accent-input + icon-tile + title + promise-line. The remaining slots are not dropped,
   they live where the anchor lands: eyebrow = the section's own eyebrow-pill h2,
   mechanism-paragraph and benefit-checks = the section's prose and chips. One accent
   token cascades (single-accent brand), per the pattern's accent-input law. */
.scan{display:grid;gap:14px;grid-template-columns:repeat(3,1fr);margin:34px 0 8px}
.scan a{display:block;padding:16px 18px;border:1px solid var(--border);border-radius:12px;
  text-decoration:none;background:var(--card,transparent)}
.scan a:hover{border-color:var(--secondary)}
.scan .tile{width:34px;height:34px;border-radius:9px;display:flex;align-items:center;
  justify-content:center;margin-bottom:11px;color:var(--accent-text);
  background:color-mix(in srgb, var(--secondary) 13%, transparent)}
.scan .tile svg{width:19px;height:19px}
.scan b{display:block;font-size:14.5px;color:var(--foreground);margin-bottom:4px}
/* themed-card text hierarchy, scan scale: promise-line is a SHORT accent sentence, the
   mechanism stays muted — colouring the whole body accent flattened the card into one
   accent block (measured against the pattern's own source, 2026-08-29). */
.scan .hook{display:block;font-size:13.5px;color:var(--accent-text);font-weight:600;margin-bottom:4px}
.scan span{font-size:13px;color:var(--muted-foreground);line-height:1.5}
@media(max-width:820px){.scan{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.scan{grid-template-columns:1fr}}
.feature{padding-top:8px}
section h3{font-size:clamp(22px,3vw,28px);letter-spacing:-.02em;margin:0 0 12px}
.feature .promise{font-size:16.5px;color:var(--foreground);font-weight:600;margin:0 0 10px}
.feature .how{color:var(--muted-foreground);font-size:15px;max-width:64ch;margin:0 0 24px}
.feature .how code{font-family:var(--mono);font-size:13px;background:var(--muted);
  padding:1px 5px;border-radius:4px;color:var(--foreground)}
.shot{margin:0 0 18px}
.shot img{display:block;width:100%;height:auto;border-radius:14px;
  border:1px solid var(--border);box-shadow:0 0 80px -16px color-mix(in srgb,var(--secondary) 50%,transparent)}
.shot figcaption{margin-top:10px;font-size:13px;color:var(--muted-foreground)}
.chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0}
.chips li{font-family:var(--mono);font-size:12px;color:var(--muted-foreground);
  border:1px solid var(--border);border-radius:999px;padding:5px 12px}

/* Simulated MCP session — the one artifact that CANNOT be a screenshot: the refusal happens
   inside the AI tool's chat, not in a FeatherDB window. The transcript is staged; the
   refusal text is the gateway's actual message, byte for byte. */
.sim{background:var(--card);border:1px solid var(--border);border-radius:14px;
  overflow:hidden;margin:0 0 18px}
.sim-bar{display:flex;align-items:center;gap:8px;padding:11px 14px;background:var(--muted);
  border-bottom:1px solid var(--border);font-family:var(--mono);font-size:12px;
  color:var(--muted-foreground)}
.sim-bar .dots{display:flex;gap:6px}
.sim-bar .dots i{width:11px;height:11px;border-radius:50%;display:block}
.sim-body{padding:18px 20px;font-family:var(--mono);font-size:12.5px;line-height:1.7;
  overflow-x:auto}
.sim-body .who{color:var(--muted-foreground);text-transform:uppercase;letter-spacing:.08em;
  font-size:10.5px;display:block;margin:14px 0 4px}
.sim-body .who:first-child{margin-top:0}
.sim-body pre{margin:0;font-family:inherit;white-space:pre-wrap;word-break:break-word}
/* Token-derived, never hard-coded: --accent is the site's "look here" hue (buttons use
   --primary), lightened toward the foreground so body-sized text still clears AA on the card. */
.sim-body .refused,.sim-body .refused-x{color:color-mix(in srgb,var(--destructive) 45%,var(--foreground))}
.sim-body .refused b,.sim-body .refused-x b{color:color-mix(in srgb,var(--destructive) 70%,var(--foreground))}
.hero-shot{margin:44px 0 0}
/* Hero: copy left, the refusal right (Layoutline SparkGrid-05 code_right, review 2026-09-26). */
.hero-wide,header .wrap{max-width:1180px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:44px;align-items:center}
.hero-grid .sim{margin:0;box-shadow:0 0 90px -12px color-mix(in srgb,var(--secondary) 55%,transparent)}
.kicker{display:inline-block;font-size:13px;color:var(--muted-foreground);border:1px solid var(--border);
  border-radius:999px;padding:4px 12px;margin:0 0 18px}
@media(max-width:980px){.hero-grid{grid-template-columns:minmax(0,1fr);gap:32px}}
