/* Copyright 2026 Fycus Holdings Corp. All Rights Reserved. Proprietary and confidential. */
/* Fycus marketing site. Tokens and components. Source of truth: docs/brand/FYCUS_BRANDING_DECK.md (sections 4-8). Light mode only for now.
   Palette: "Front yard" (chosen 2026-09-23). Every text/background pair below was contrast-checked against WCAG AA. */
/* Self-hosted fonts (see ../fonts/README.md). Latin subset; other characters fall back to the system font. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/dm-sans-latin-variable.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700-latin.woff2') format('woff2'); }

:root {
  color-scheme: light;      /* tells the browser this page is light-only, so it doesn't auto-dark-mode/recolor it (Chrome's "Auto Dark Mode for Web Contents" otherwise force-inverts an undeclared light page when the OS is in dark mode) */
  --bg: #F7F3EA;            /* sand: page */
  --surface: #FFFFFF;       /* cards, modal */
  --alt: #EDE6D6;           /* sand deep: panels, bands */
  --border: #E0D7C3;        /* decorative borders only */
  --input: #7A7264;         /* form-field borders (3:1+) */
  --text: #26302B;          /* ink: body */
  --muted: #566159;         /* secondary text */
  --heading: #1F4D3A;       /* deep green */
  --link: #2F6B4F;          /* forest: links, focus, primary */
  --focus: #2F6B4F;
  --primary-from: #2F6B4F;
  --primary-to: #1F4D3A;
  --cta-bg: linear-gradient(to right, #2F6B4F, #1F4D3A);
  --cta-text: #FFFFFF;
  --accent: #C4633F;        /* clay: decorative only */
  --accent-text: #9A3F22;   /* clay: safe for text */
  --num: #C4633F;           /* large numerals only (3:1) */
  --footer-bg: #1F4D3A;
  --footer-text: #D5E3DA;    /* links: 7.3:1 on Deep Green */
  --footer-head: #B5CBBB;    /* column headings: 5.6:1 */
  --footer-muted: #C2D5C9;   /* tagline, copyright, disclaimer: 6.3:1 */
  --hero-bg: linear-gradient(170deg, #F7F3EA 0%, #EDE6D6 100%);
  --hero-heading: #1F4D3A;
  --hero-text: #26302B;
  --shadow: rgba(38, 48, 43, .10);
  --shadow-lg: rgba(38, 48, 43, .28);
  --font-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px;
  --maxw: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; scroll-padding-bottom: var(--pb-h, 0px); }   /* --pb-h: height of the privacy bar while it is open (consent.js) */
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
svg { max-width: 100%; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left)); }
@media (max-width: 400px) { .container { padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); } }
.skip { position: absolute; left: 12px; top: -64px; background: var(--surface); color: var(--link); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
.skip:focus-visible { outline-color: #fff; }   /* the link appears over the deep-green header, where the default green ring would vanish */
h1, h2, h3 { color: var(--heading); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.01em; }
h1, h2 { font-family: var(--font-display); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }   /* <main> is focusable (tabindex="-1") only so the skip link can move focus to it; it is not a control */
.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.125em; }
.sprite { position: absolute; }
.mt16 { margin-top: 16px; }
.notfound { position: relative; z-index: 1; min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; height: 68px; z-index: 50; background: linear-gradient(135deg, var(--primary-from), var(--primary-to)); box-shadow: 0 4px 14px var(--shadow); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo img { width: 34px; height: 32px; display: block; }
.logo-text { font: 700 1.5rem var(--font-display); letter-spacing: -.02em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 500; padding: 0 14px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover { text-decoration: underline; }
.site-nav a.pill { background: #fff; color: var(--link); font-weight: 700; margin-left: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); transition: transform .2s, box-shadow .2s, background .2s; }
.site-nav a.pill:hover { text-decoration: none; background: var(--bg); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .3); }
.site-header :focus-visible { outline-color: #fff; }
@media (min-width: 901px) { .site-nav a.pill { min-height: 40px; padding: 0 18px; } }
@media (max-width: 900px) { .site-nav a:not(.pill) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 26px; border-radius: 999px; font: 600 1.0625rem var(--font-sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: var(--cta-bg); color: var(--cta-text); box-shadow: 0 6px 16px var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px var(--shadow-lg); }
.btn-secondary { background: transparent; color: var(--link); border-color: var(--link); border-radius: 10px; }
.btn-secondary:hover { background: rgba(47, 107, 79, .09); }
.btn-light { background: #fff; color: var(--heading); box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.btn-light:hover { transform: translateY(-2px); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 132px 0 92px; background: var(--hero-bg); color: var(--hero-text); }
.hero::before { content: ""; position: absolute; right: -120px; top: -90px; width: 520px; height: 480px; background: var(--primary-from); opacity: .13; border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%; }
.hero::after { content: ""; position: absolute; left: -90px; bottom: -140px; width: 380px; height: 340px; background: var(--accent); opacity: .12; border-radius: 45% 55% 38% 62% / 55% 45% 55% 45%; }
.hero h1 { color: var(--hero-heading); font-size: clamp(2rem, 4.1vw, 2.9rem); line-height: 1.12; }
.hero-grid { display: flex; flex-direction: column; gap: 44px; position: relative; z-index: 1; }
.hero-copy { max-width: 680px; margin: 0 auto; text-align: center; }
.hero-copy .lead { margin-left: auto; margin-right: auto; }
.hero-copy .scope, .hero-copy .actions { justify-content: center; }
@media (max-width: 960px) { .hero { padding-top: 112px; } }

/* hero dashboard: a nav rail + the assistant + four tiles, wide, full-width under the hero copy (not beside it,
   it doesn't fit beside anything at a readable size). Reuses .bh/.bh-ask/.bh-flags/.badge/.chip throughout. */
.hero-dash { display: grid; grid-template-columns: 200px 1fr; background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: 0 32px 70px -22px var(--shadow-lg); }
@media (max-width: 760px) { .hero-dash { grid-template-columns: 1fr; } }
.hero-dash-nav { background: linear-gradient(180deg, var(--primary-from), var(--primary-to)); color: #fff; padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 760px) { .hero-dash-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 14px; } }
.hero-dash-brand { display: flex; align-items: center; gap: 8px; font: 700 15px var(--font-display); padding: 0 8px 14px; }
@media (max-width: 760px) { .hero-dash-brand { display: none; } }
.hero-dash-link { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 8px; color: rgba(255,255,255,.76); font: 500 .8125rem var(--font-sans); }
.hero-dash-link .icon { width: 15px; height: 15px; }
.hero-dash-link.current { background: rgba(255,255,255,.15); color: #fff; font-weight: 700; }
.hero-dash-main { min-width: 0; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.hero-dash-bar { display: flex; justify-content: flex-end; }
.hero-dash-tiles { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
@media (max-width: 560px) { .hero-dash-tiles { grid-template-columns: 1fr; } }
.hero-dash-tile { background: var(--alt); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.hero-dash-tile-h { margin: 0; display: flex; align-items: center; gap: 7px; font: 600 .84375rem var(--font-display); color: var(--heading); }
.hero-dash-tile-h .icon { width: 15px; height: 15px; color: var(--accent-text); }
.hero-dash-row { display: flex; align-items: center; justify-content: space-between; gap: 9px; font-size: .8125rem; }
.hero-dash-chart { display: flex; align-items: flex-end; gap: 7px; height: 46px; }
.hero-dash-chart div { width: 14%; border-radius: 3px 3px 0 0; }
.due { font: 700 .6875rem var(--font-sans); padding: 2px 9px; border-radius: 999px; border: 1.5px solid; white-space: nowrap; }
.due.now { color: var(--accent-text); border-color: var(--accent-text); }
.due.soon { color: var(--muted); border-color: var(--border); }
.lead { font-size: 1.25rem; max-width: 33em; color: var(--hero-text); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* badges and chips (fixed colors, deck section 8; each passes 4.5:1) */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; border: 1px solid; font: 600 .8125rem/1.3 var(--font-sans); }
.badge .icon { width: 14px; height: 14px; }
.b-doc { background: #ECFEFF; color: #0E7490; border-color: #A5F3FC; }
.b-stat { background: #DBEAFE; color: #1D4ED8; border-color: #BFDBFE; }
.b-prof { background: #D1FAE5; color: #047857; border-color: #A7F3D0; }
.b-unv { background: #FEF3C7; color: #92400E; border-color: #FDE68A; }
.b-pub { background: #F1F5F9; color: #475569; border-color: #E2E8F0; }
.b-res { background: #CCFBF1; color: #115E59; border-color: #99F6E4; }
.b-brd { background: #F3E8FF; color: #7E22CE; border-color: #E9D5FF; }
.b-prv { background: #FFE4E6; color: #9F1239; border-color: #FECDD3; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: #ECFEFF; border: 1px solid #A5F3FC; color: #0E7490; border-radius: 999px; padding: 3px 10px; font: 600 .8125rem var(--font-sans); }

/* sections */
section { padding: 84px 0; }
.band { background: var(--alt); }
/* /features page intro: same breathing room as the hero/legal pages, to clear the fixed header */
.features-hero { padding-top: 128px; background: var(--hero-bg); }
.features-hero .lead { color: var(--text); margin-top: 14px; }
.features-hero .lead a { font-weight: 700; white-space: nowrap; }
@media (max-width: 620px) { .features-hero { padding-top: 104px; } }
.section-head { max-width: 46em; margin-bottom: 38px; }
.eyebrow { font: 700 .875rem var(--font-sans); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 10px; }
.icon-tile { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary-from), var(--primary-to)); color: #fff; flex: none; }
.icon-tile .icon { width: 22px; height: 22px; }
.tag { display: inline-block; font: 700 .75rem var(--font-sans); letter-spacing: .06em; text-transform: uppercase; background: var(--alt); color: var(--heading); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }

/* features (home): an overview graphic (plain icon tiles, not an app mock-up — the mock-ups live on /features)
   one unified overview grid (not a mock-up next to a second list repeating the same four names — that was the
   redundant version); the full 14-item catalog lives on /features */
.feat-overview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: 0 20px 44px -22px var(--shadow-lg); }
@media (max-width: 680px) { .feat-overview { grid-template-columns: 1fr; } }
.feat-overview-tile { background: var(--surface); padding: 28px 30px; }
.feat-overview-tile h3 { margin: 16px 0 8px; font-size: 1.125rem; }
.feat-overview-tile p { margin: 0; color: var(--muted); font-size: .9375rem; }
.feat-more { margin: 28px 0 0; }

/* /features page: one full-width band per group, alternating sides and alternating background (white/sand) so
   each group is an unambiguous zone — no reliance on a thin border, which is how these bled into each other and
   into the hero gradient above (it ended on the exact same sand tone as --alt). */
.feat-band { background: var(--surface); }
.feat-band.alt { background: var(--alt); }
.feat-row { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 48px; align-items: center; }
.feat-row.rev .feat-row-text { order: 2; }
.feat-row.rev .feat-row-mock { order: 1; }
@media (max-width: 860px) {
  .feat-row { grid-template-columns: 1fr; gap: 26px; }
  .feat-row.rev .feat-row-text, .feat-row.rev .feat-row-mock { order: initial; }
}
.feat-row-num { display: block; font: 700 3.25rem/1 var(--font-display); color: var(--num); margin: 0 0 6px; }
.feat-row-text h2 { font-size: 1.6rem; margin: 0 0 12px; }
.feat-row-text > p.feat-row-lead { font-size: 1.0625rem; color: var(--text); max-width: 46ch; margin: 0 0 20px; }
.feat-row-more { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.6; padding-top: 18px; border-top: 1px solid var(--border); max-width: 52ch; }
.feat-row-more b { color: var(--heading); font-weight: 700; }
.feat-row-mock .bh { box-shadow: 0 24px 52px -24px var(--shadow-lg); }

/* board package review mock-up: the first feature we're building, with provenance and confidentiality labels woven through it */
.bh-flags { display: grid; gap: 14px; }
.bh-flag { display: flex; gap: 10px; align-items: flex-start; }
.bh-flag > .icon { width: 18px; height: 18px; color: var(--accent-text); margin-top: 2px; flex: none; }
.bh-flag.ok > .icon { color: var(--primary-from); }      /* confirmed/included, not a problem to flag */
.bh-flag.muted > .icon { color: var(--muted); }           /* neutral/in-progress, not a problem or a confirmation */
.bh-flag-t { margin: 0 0 6px; color: var(--heading); font-weight: 600; font-size: .875rem; }

/* problem: an editorial split instead of a card grid — the intro column stays put while the list scrolls past it on wide screens */
.problem-grid { display: grid; gap: 56px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; gap: 8px; } }
.problem-intro { position: sticky; top: 104px; }
@media (max-width: 860px) { .problem-intro { position: static; } }
.problem-intro .source { margin-top: 18px; }
.problem-list { list-style: none; margin: 0; padding: 0; }
.problem-list li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--border); }
.problem-list li:last-child { padding-bottom: 0; }
.problem-num { font: 700 1.5rem/1.15 var(--font-display); color: var(--num); }
.problem-list h3 { margin: 0 0 8px; }
.problem-list p { margin: 0; color: var(--muted); }

/* how it works: a connected flow instead of a card grid */
.flow { list-style: none; margin: 0; padding: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.flow::before { content: ""; position: absolute; top: 20px; left: calc(100% / 6); right: calc(100% / 6); height: 2px; background: var(--border); }
.flow li { position: relative; text-align: center; padding: 0 10px; }
.flow-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cta-bg); color: #fff; font: 700 1.1rem var(--font-display); box-shadow: 0 6px 14px var(--shadow-lg); margin: 0 auto 18px; position: relative; }
.flow h3 { margin: 0 0 8px; }
.flow p { margin: 0; color: var(--muted); }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { display: none; }
  .flow li { text-align: left; padding: 0 0 32px 56px; }
  .flow li:last-child { padding-bottom: 0; }
  .flow-num { position: absolute; left: 0; top: 0; margin: 0; }
  .flow li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--border); }
}

/* who it's for: three joined profile panels (a hairline-divided strip) instead of a card grid */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; max-width: 1080px; margin: 0 auto; }
.audience-card { background: var(--surface); padding: 30px 26px 26px; position: relative; }
.audience-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--cta-bg); }
.audience-card .icon-tile { margin: 6px 0 16px; }
.audience-card p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .audience { grid-template-columns: repeat(2, 1fr); max-width: 760px; } }
@media (max-width: 560px) { .audience { grid-template-columns: 1fr; } }

/* trust / how answers work */
.trust { display: grid; gap: 48px; grid-template-columns: .9fr 1.1fr; align-items: start; }
@media (max-width: 960px) { .trust { grid-template-columns: 1fr; gap: 32px; } }
.label-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: 0 20px 44px -22px var(--shadow-lg); }
.label-list li { display: grid; grid-template-columns: 250px 1fr; gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.label-list li:last-child { border-bottom: 0; }
.label-list li.group { display: block; background: var(--alt); font: 700 .8125rem var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--heading); padding: 10px 20px; }
.label-list .badge { justify-self: start; }
.label-list .desc { font-size: .9375rem; color: var(--muted); }
@media (max-width: 620px) { .label-list li { grid-template-columns: 1fr; gap: 6px; } }
.callout { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--accent); border-radius: 12px; padding: 16px 18px; margin-top: 22px; }
.callout .icon { width: 22px; height: 22px; color: var(--accent-text); margin-top: 2px; }
.callout p { margin: 0; font-size: .9375rem; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 56px 16px 20px; min-height: 56px; font-weight: 700; color: var(--heading); position: relative; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 600 1.6rem/1 var(--font-sans); color: var(--link); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 20px 18px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* closing call to action */
.cta-band { background: linear-gradient(135deg, var(--primary-from), var(--primary-to)); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: -80px; top: -100px; width: 340px; height: 320px; background: #fff; opacity: .07; border-radius: 45% 55% 38% 62% / 55% 45% 55% 45%; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -110px; width: 320px; height: 300px; background: var(--accent); opacity: .22; border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 36em; margin-left: auto; margin-right: auto; }
.cta-band :focus-visible { outline-color: #fff; }

/* pricing */
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px; box-shadow: 0 24px 50px -22px var(--shadow-lg); max-width: 820px; margin: 0 auto; }
input[type=range] { width: 100%; height: 44px; accent-color: var(--link); margin: 8px 0; }
.readout { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: 18px; }
.stat { background: var(--alt); border-radius: 14px; padding: 16px 20px; }
.big { font: 700 2.3rem/1.1 var(--font-display); color: var(--heading); margin: 0; }
.stat span { color: var(--muted); font-size: .9375rem; }
.help { font-size: .9375rem; color: var(--muted); margin: 0 0 8px; }

/* forms (in the signup modal) */
label, legend { display: block; font-weight: 700; margin: 0 0 6px; color: var(--heading); padding: 0; }
input[type=text], input[type=email], input[type=number], select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--input); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; }
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.field { margin-bottom: 16px; }
.two { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; font-weight: 400; margin: 4px 0 22px; color: var(--text); }
.consent input { width: 22px; height: 22px; accent-color: var(--link); margin: 2px 0 0; flex: none; }
#form-message { margin: 14px 0 0; font-weight: 600; color: var(--heading); min-height: 1.5em; }

/* signup modal */
dialog.modal { border: 0; padding: 0; border-radius: 22px; width: min(600px, calc(100vw - 24px)); max-height: min(90vh, 860px); max-height: min(90dvh, 860px); background: var(--surface); color: var(--text); box-shadow: 0 40px 100px -20px rgba(31, 77, 58, .6); overflow: hidden; }
dialog.modal::backdrop { background: rgba(31, 77, 58, .55); backdrop-filter: blur(4px); }
dialog.modal[open] { display: flex; flex-direction: column; }
.modal-inner { padding: 28px 28px 26px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (max-width: 560px) {
  dialog.modal { width: 100%; max-width: 100%; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .modal-inner { padding: 64px max(18px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); }
  .modal-close { top: max(10px, env(safe-area-inset-top)); right: max(10px, env(safe-area-inset-right)); width: 44px; height: 44px; }
}
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--heading); cursor: pointer; display: grid; place-items: center; z-index: 2; box-shadow: 0 2px 6px var(--shadow); transition: background .15s, transform .15s; }
.modal-close:hover { background: var(--alt); transform: scale(1.06); }
.modal-close .icon { width: 18px; height: 18px; }
.modal-inner h2 { padding-right: 40px; }

/* footer: brand block + three link columns (Legal, Product, Support), then the copyright and disclaimer strip.
   Same structure as the earlier Fycus site; type sizes and colors raised so every line passes 4.5:1 on Deep Green. */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 56px 0 32px; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-top { display: grid; grid-template-columns: 280px 1fr; gap: 64px; margin-bottom: 48px; }
.foot-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.foot-logo img { width: 32px; height: 30px; display: block; }
.foot-logo span { font: 700 1.3rem var(--font-display); color: #fff; letter-spacing: -.02em; }
.footer-tagline { font-size: .9375rem; color: var(--footer-muted); margin: 14px 0 0; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h3 { font: 700 .75rem var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--footer-head); margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-block; padding: 6px 0; color: var(--footer-text); text-decoration: none; font-size: .9375rem; transition: color .15s; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-direction: column; gap: 10px; }
.footer-bottom p { font-size: .8125rem; color: var(--footer-muted); margin: 0; }
.footer-disclaimer { max-width: 760px; line-height: 1.6; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .footer-links { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* landing copy helpers */
.scope { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.scope li { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px 13px; font: 600 .875rem var(--font-sans); color: var(--heading); }
.micro { font-size: .9375rem; color: var(--muted); margin: 14px 0 0; }
.hero .micro { color: var(--text); }   /* on the hero gradient the muted colour measured 4.66:1; ink gives ample margin */
.source { font-size: .9375rem; color: var(--muted); max-width: 44em; margin: 0; }
.cta-note { font-size: .9375rem; margin-top: 4px; }
.cta-note a { color: #fff; }
.req { font-weight: 400; color: var(--muted); font-size: .875rem; }
.err { color: #BE123C; font-size: .9375rem; font-weight: 600; margin: 6px 0 0; }
.err:empty { display: none; }
input[aria-invalid="true"] { border-color: #BE123C; border-width: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* illustrative mock-up card shell, reused for the hero Q&A and the board package review. Sample data only. */
.bh { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 28px 60px -18px var(--shadow-lg); overflow: hidden; font-size: .8125rem; line-height: 1.4; }
.bh-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.bh-title { display: inline-flex; align-items: center; gap: 8px; font: 600 .9rem var(--font-display); color: var(--heading); }
.bh-samp { font: 700 .75rem var(--font-sans); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); text-align: right; }
.bh-body { padding: 12px; display: grid; gap: 10px; min-width: 0; }
.bh-ask { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; border: 1.5px solid var(--input); border-radius: 12px; padding: 8px 10px; background: var(--surface); }
.bh-q { flex: 1 1 calc(100% - 28px); color: var(--heading); font-weight: 600; font-size: .875rem; }
.bh-ask > .icon { color: var(--muted); }
.bh-answer { margin: 0; color: var(--text); font-size: .875rem; line-height: 1.5; }
.bh-cites { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.bh-foot { margin: 0; font-size: .75rem; color: var(--muted); }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  .reveal { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms); }
  dialog.modal[open] { animation: pop .25s ease-out; }
  dialog.modal[open]::backdrop { animation: fade .25s ease-out; }
}
.d0 { --i: 0; } .d1 { --i: 1; } .d2 { --i: 2; } .d3 { --i: 3; } .d4 { --i: 4; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---- Legal pages (terms, privacy): generated by tools/legal/build_legal_pages.py from docs/legal/*.md ---- */
.legal { padding: 112px 0 72px; }
.legal-wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); margin-bottom: .3em; }
.legal-updated { color: var(--muted); margin: 0 0 20px; }
.legal h2 { font-size: 1.35rem; margin: 2em 0 .5em; scroll-margin-top: 84px; }
.legal p, .legal li { max-width: 72ch; overflow-wrap: anywhere; }
.legal ul { padding-left: 1.3em; margin: .6em 0 1em; }
.legal li { margin: .4em 0; }
.legal a { color: var(--link); text-underline-offset: 2px; }
.draft-note { background: var(--alt); border-left: 4px solid var(--accent); border-radius: 8px; padding: 12px 16px; margin: 0 0 24px; }
.legal-toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 20px; margin: 0 0 8px; }
.legal-toc h2 { font-size: 1rem; margin: 0 0 .4em; }
.legal-toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; font-size: .95rem; }
.legal-toc li { margin: .25em 0; break-inside: avoid; }
@media (max-width: 620px) { .legal { padding-top: 96px; } .legal-toc ol { columns: 1; } }

/* ---- Mobile pass (2026-09-24): menu, tap targets, compact cards, the collapsible optional half of the signup form ---- */
a, button, summary, label, input, select, textarea { touch-action: manipulation; }

/* header: short button label on the narrowest phones, and a menu for the section links */
.pill-sm { display: none; }
.nav-toggle { display: none; flex: none; width: 44px; height: 44px; margin-left: 4px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-menu { background: var(--primary-to); border-top: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .35); max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto; }
.nav-menu[hidden] { display: none; }
.site-header .nav-menu .container { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; height: auto; gap: 0; padding-top: 8px; padding-bottom: 12px; }
.nav-menu a { color: #fff; text-decoration: none; font-weight: 600; font-size: 1.0625rem; min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.nav-menu a:last-child { border-bottom: 0; }
.nav-menu a:active { background: rgba(255, 255, 255, .1); }
@media (min-width: 901px) { .nav-menu { display: none; } }
@media (max-width: 900px) { .nav-toggle { display: grid; } .site-nav a.pill { margin-left: 0; } .logo { min-height: 44px; } }
@media (max-width: 400px) {
  .pill-lg { display: none; }
  .pill-sm { display: inline; }
  .site-nav a.pill { padding: 0 14px; }
  .logo { gap: 8px; }
  .logo-text { font-size: 1.35rem; }
  .site-header .container { gap: 8px; }
}
@media (max-width: 340px) { .site-nav a.pill { padding: 0 11px; font-size: .9375rem; } .logo-text { font-size: 1.25rem; } .nav-toggle { margin-left: 0; } }
.site-nav a.pill { white-space: nowrap; }

/* tap targets: at least 44px on phones and tablets */
@media (max-width: 960px) {
  .footer-col a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0; }
  .foot-logo { min-height: 44px; }
  .cta-note a { display: inline-block; padding: 10px 2px; }
  summary { min-height: 48px; }
}


/* ---- Privacy panel (assets/js/consent.js). Not the .consent label in the signup form. ---- */
.privacy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); color: var(--text); border-top: 1px solid var(--border); box-shadow: 0 -12px 32px -12px var(--shadow-lg); padding: 16px 0 max(16px, env(safe-area-inset-bottom)); max-height: 80vh; max-height: 80dvh; overflow-y: auto; }
.privacy-bar:focus { outline: none; }
body.has-privacy-bar { padding-bottom: var(--pb-h, 0px); }   /* keeps the end of the page (footer disclaimer) from sitting under the bar */
.pb-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left)); display: grid; gap: 12px; }
.pb-text { margin: 0; font-size: .9375rem; line-height: 1.5; }
.pb-text a { color: var(--link); }
.privacy-bar .btn { min-height: 48px; padding: 10px 22px; font-size: 1rem; }
.pb-custom { display: grid; gap: 10px; }
.pb-opt { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9375rem; margin: 0; color: var(--text); min-height: 44px; }
.pb-opt input { width: 22px; height: 22px; accent-color: var(--link); margin: 2px 0 0; flex: none; }
.pb-opt strong { color: var(--heading); }
.pb-custom .btn { justify-self: start; }
@media (min-width: 900px) { .pb-inner { grid-template-columns: 1fr minmax(0, 460px); align-items: center; column-gap: 32px; } .pb-custom { display: flex; align-items: center; gap: 20px; } .pb-opt { min-height: 0; flex: 1 1 auto; min-width: 0; } }
@media (max-width: 400px) { .pb-inner { padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); } .privacy-bar .btn { flex: 1 1 auto; } }
@media print { .privacy-bar { display: none; } }
