/* Product website - one stylesheet, no external fonts or scripts (website/README.md). A template: the build
   fills the brand_* placeholders with the colours of product_identity.json "brand" - Kevin's brand guide,
   brand/README.md (FU-1981, FU-2055) - and checks every text colour pair for WCAG AA (4.5:1) in both schemes.
   Primary buttons: the brand teal with the computed text (navy), hover the dark teal with navy. Links and teal
   text on light backgrounds: the accent. The dark scheme is the guide's: navy, white text, the gray for the
   secondary text (the gray is never text on a light background), the teal for links.
   Headings and the hero: Poppins (500 / 600 / 700) from assets/fonts/ (copied by the build from
   brand/fonts/poppins/, with its OFL); body text the system font. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
:root {
  --bg: #FFFFFF;
  --bg-soft: #f4f6f9;
  --bg-strong: #e9edf3;
  --text: #0E1D33;
  --text-soft: #4d5868;
  --line: #d9dfe7;
  --accent: #0F7D6D;
  --accent-hover: #0D6A5D;
  --accent-text: #FFFFFF;
  --accent-soft: #eaf6f3;
  --button: #1CC4A8;
  --button-text: #0E1D33;
  --button-hover: #089E8F;
  --button-hover-text: #0E1D33;
  --beta-bg: #efe7fb;
  --beta-text: #5b3a8e;
  --soon-bg: #fdf1dc;
  --soon-text: #7a4b00;
  --note-bg: #fff6d6;
  --note-line: #e7c65a;
  --note-text: #4d3b00;
  --ok: #1f6f43;
  --missing: #9a3412;
  --navy-solid: #0E1D33;
  --radius: 10px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1D33;
    --bg-soft: #142640;
    --bg-strong: #1b3150;
    --text: #FFFFFF;
    --text-soft: #A8ACB2;
    --line: #2b4365;
    --accent: #1CC4A8;
    --accent-hover: #1CC4A8;
    --accent-text: #0E1D33;
    --accent-soft: #103a44;
    --beta-bg: #2e2440;
    --beta-text: #d4bdf5;
    --soon-bg: #3a2c12;
    --soon-text: #f3d39a;
    --note-bg: #332b10;
    --note-line: #8a7425;
    --note-text: #f2e3a6;
    --ok: #6fd19b;
    --missing: #f59e72;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;      /* a long e-mail address breaks instead of scrolling a phone sideways */
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 1.6em 0 0.5em; overflow-wrap: break-word; }
/* the brand guide's typeface: Poppins for headlines, page titles and the hero (500 / 600 / 700 only) */
h1, h2, h3 { font-family: var(--font-heading); }
h1 { font-weight: 700; }
h2, h3 { font-weight: 600; }
h1 { font-size: 2.1rem; margin-top: 0.4em; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p, ul, ol, table, blockquote { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: 0.9em; background: var(--bg-strong); padding: 0.1em 0.35em; border-radius: 4px; overflow-wrap: anywhere; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--bg); padding: 6px 10px; z-index: 10; }

/* banner, header, navigation */
.prelaunch { background: var(--note-bg); color: var(--note-text); border-bottom: 1px solid var(--note-line); font-size: 0.9rem; }
.prelaunch .wrap { padding-top: 6px; padding-bottom: 6px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.brand picture { display: block; line-height: 0; }
.brand img { display: block; height: 36px; width: auto; max-width: none; }   /* build.py LOGO_HEIGHT; never squeezed */
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.main-nav a { color: var(--text-soft); text-decoration: none; font-weight: 500; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: 6px; }
.main-nav a.button { color: var(--button-text); text-decoration: none; }
.main-nav a.button:hover { color: var(--button-hover-text); text-decoration: none; }

/* buttons, badges, notes - a primary button is an action: the brand teal with navy text, hover the dark teal with
   navy text (white is 3.3:1 there, below the 4.5:1 its normal-size text needs); secondary buttons are the accent */
.button { display: inline-block; background: var(--button); color: var(--button-text); border: 1px solid var(--button); border-radius: 8px; padding: 0.55em 1.1em; font-weight: 600; text-decoration: none; line-height: 1.3; }
.button:hover { background: var(--button-hover); color: var(--button-hover-text); border-color: var(--button-hover); }
.button.secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.button.secondary:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.button.disabled, .button.disabled:hover { background: var(--bg-strong); color: var(--text-soft); border-color: var(--line); cursor: not-allowed; }
.button.small { font-size: 0.9rem; padding: 0.4em 0.8em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0; }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; border-radius: 999px; padding: 0.15em 0.65em; vertical-align: 0.15em; white-space: nowrap; }
.badge.beta { background: var(--beta-bg); color: var(--beta-text); }
.badge.soon { background: var(--soon-bg); color: var(--soon-text); }
.note { background: var(--note-bg); border: 1px solid var(--note-line); color: var(--note-text); border-radius: var(--radius); padding: 0.8em 1em; margin: 1em 0 1.4em; }
.note strong:first-child { margin-right: 0.3em; }
.placeholder { border: 2px dashed var(--line); border-radius: var(--radius); background: var(--bg-soft); color: var(--text-soft); padding: 1.2em; text-align: center; }
.muted { color: var(--text-soft); }
.small { font-size: 0.9rem; }

/* home */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 56px; padding-bottom: 48px; }
.hero h1 { font-size: 2.5rem; max-width: 22ch; }
.hero .lead { font-family: var(--font-heading); font-weight: 500; font-size: 1.2rem; color: var(--text-soft); max-width: 60ch; }
.section { padding: 40px 0 16px; }
.section > .wrap > h2:first-child { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 1.2em 0 1.6em; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1em 1.2em; background: var(--bg); }
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
/* the Features page's overview: one card per area, its link at the bottom (Kevin's review of 2026-10-27) */
.summary-cards { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.card.summary { display: flex; flex-direction: column; }
.card.summary h3 { font-size: 1.08rem; margin-bottom: 0.4em; }
.card.summary p { margin: 0 0 0.8em; }
.card.summary .more { margin: auto 0 0; font-weight: 600; }
.marketplaces { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.marketplaces li { border: 1px solid var(--line); border-radius: 999px; padding: 0.3em 0.9em; background: var(--bg); }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 1em; }

/* screenshots and the feature tour (FU-2040) */
.screen { margin: 0; }
.screen a { display: block; line-height: 0; border-radius: 8px; }
.screen img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-soft); }
.screen figcaption { font-size: 0.9rem; color: var(--text-soft); margin-top: 0.5em; }
.tour-steps { list-style: none; padding: 0; margin: 0; }
.tour-step { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px; align-items: start; padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.tour-step h2 { margin-top: 0; }
.tour-text p:last-child { margin-bottom: 0; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-size: 0.85em; margin-right: 0.35em; vertical-align: 0.1em; }

/* comparison pages (FU-2040) */
table.compare th[scope="row"] { width: 20%; }
.comparison-note { color: var(--text-soft); border-top: 1px solid var(--line); margin-top: 2em; padding-top: 1em; }
.comparison-note p { margin-bottom: 0.5em; }

/* features */
.feature-list { padding-left: 1.2em; }
.feature-list li { margin-bottom: 0.45em; }
.page-head { padding-top: 32px; }
.page-head .lead { font-size: 1.15rem; color: var(--text-soft); max-width: 65ch; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 1em 0 0; font-size: 0.95rem; }
.legend { font-size: 0.95rem; color: var(--text-soft); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 1.4em 0; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3em; display: flex; flex-direction: column; background: var(--bg); }
.plan h2 { margin: 0 0 0.2em; font-size: 1.4rem; }
.plan .limits { color: var(--text-soft); margin-bottom: 0.8em; min-height: 4.8em; }
.plan .price { font-size: 2rem; font-weight: 700; line-height: 1.1; }
.plan .price span { font-size: 1rem; font-weight: 500; color: var(--text-soft); }
.plan dl { margin: 1em 0; display: grid; grid-template-columns: auto 1fr; gap: 0.35em 1em; }
.plan dt { color: var(--text-soft); }
.plan dd { margin: 0; text-align: right; font-weight: 600; white-space: nowrap; }
.plan .actions { margin-top: auto; padding-top: 0.6em; }
.plan .promise { font-size: 0.95rem; border-top: 1px solid var(--line); padding-top: 0.8em; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.4em 1.5em; margin: 0 0 1.2em; }
.facts dt { color: var(--text-soft); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: 0.4em; }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { border: 1px solid var(--line); padding: 0.45em 0.7em; text-align: left; vertical-align: top; }
th { background: var(--bg-soft); }
td.num, th.num { text-align: right; white-space: nowrap; }

/* manual */
.manual-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; padding-top: 24px; padding-bottom: 32px; }
.manual-nav { font-size: 0.92rem; border-right: 1px solid var(--line); padding-right: 16px; }
.manual-nav h2 { font-size: 1rem; margin: 0 0 0.6em; }
.manual-nav ul { list-style: none; padding: 0; margin: 0 0 1em; }
.manual-nav li { margin: 0 0 0.35em; }
.manual-nav a { color: var(--text-soft); text-decoration: none; }
.manual-nav a:hover, .manual-nav a[aria-current="page"] { color: var(--text); text-decoration: underline; }
.manual-content { max-width: 78ch; }
.manual-content img { border: 1px solid var(--line); border-radius: 6px; margin: 0.4em 0 1.2em; display: block; }
.manual-content blockquote { border-left: 4px solid var(--accent); background: var(--accent-soft); margin-left: 0; padding: 0.6em 1em; border-radius: 0 var(--radius) var(--radius) 0; }
.manual-content blockquote p:last-child, .manual-content blockquote ul:last-child { margin-bottom: 0; }
.manual-content li > ul, .manual-content li > ol { margin-top: 0.3em; margin-bottom: 0.3em; }
.manual-content h2, .manual-content h3, .manual-content h4 { scroll-margin-top: 16px; }
.pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 2.5em; padding-top: 1em; flex-wrap: wrap; }

/* the phone menu (assets/site.js; without the script the navigation shows in full) */
.menu-button { display: none; align-items: center; gap: 0.4em; background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 0.4em 0.8em; font: inherit; font-weight: 600; cursor: pointer; }
.menu-button::before { content: ""; width: 1em; height: 0.7em; background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat; }
.menu-button[aria-expanded="true"] { background: var(--bg-soft); }

/* videos (the websites brief): muted, inline, poster and controls; a text version under each */
.video { margin: 0; }
.video video { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); background: var(--navy-solid); }
.video figcaption { font-size: 0.92rem; color: var(--text-soft); margin-top: 0.5em; }
.transcript { font-size: 0.9rem; color: var(--text-soft); margin-top: 0.3em; }
.transcript summary { cursor: pointer; color: var(--accent); }
.transcript ol { margin: 0.5em 0 0; padding-left: 1.3em; }
.hero-video { margin-top: 28px; max-width: 960px; }
.clips { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin: 1.4em 0 0.6em; }
.clip { scroll-margin-top: 16px; }
.clip:empty { display: none; }

/* the legal pages */
.legal-page { padding-top: 24px; max-width: 860px; }
.legal-page h1 { margin-top: 0.2em; }
.crumbs { margin: 0; }
.legal-toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8em 1.2em; margin: 1.2em 0 1.6em; font-size: 0.95rem; }
.legal-toc h2 { font-size: 1rem; margin: 0 0 0.4em; }
.legal-toc ul { margin: 0; padding: 0; list-style: none; columns: 2 18em; column-gap: 2em; }
.legal-toc li { margin-bottom: 0.2em; break-inside: avoid; }
.legal-content h2, .legal-content h3 { scroll-margin-top: 16px; }
.legal-content blockquote { border-left: 4px solid var(--accent); background: var(--accent-soft); margin: 0 0 1.4em; padding: 0.6em 1em; border-radius: 0 var(--radius) var(--radius) 0; }
.legal-content blockquote p:last-child, .legal-content blockquote ul:last-child { margin-bottom: 0; }
.legal-content li > ul, .legal-content li > ol { margin-top: 0.3em; margin-bottom: 0.3em; }
mark.review { background: var(--soon-bg); color: var(--soon-text); border-radius: 4px; padding: 0 0.25em; font-size: 0.92em; font-weight: 600; }
.legal-list { columns: 2 20em; column-gap: 2em; padding-left: 1.2em; }
.legal-list li { margin-bottom: 0.45em; break-inside: avoid; }

/* about */
.story { display: flow-root; }
.about-photo { float: right; width: min(260px, 40%); margin: 0 0 1em 1.5em; border-radius: var(--radius); border: 1px solid var(--line); }
.story .signature { font-weight: 600; margin-top: 1.4em; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 48px; font-size: 0.92rem; color: var(--text-soft); }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 32px; }
.site-footer h2 { font-size: 0.95rem; margin: 0 0 0.5em; color: var(--text); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.3em; }
.site-footer a { color: var(--text-soft); }
.site-footer .fineprint { margin-top: 1.6em; }
.site-footer .fineprint + .fineprint { margin-top: 0; }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 2rem; }
  .hero .wrap { padding-top: 32px; padding-bottom: 32px; }
  .js .menu-button { display: inline-flex; }
  .js .main-nav { flex-basis: 100%; }
  .js .main-nav:not(.open) { display: none; }
  .js .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 8px; }
  .js .main-nav li a:not(.button) { display: block; padding: 10px 2px; border-top: 1px solid var(--line); }
  .js .main-nav li:last-child { padding-top: 10px; }
  .about-photo { float: none; display: block; width: min(260px, 100%); margin: 0 0 1em; }
  .tour-step { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  table.compare th[scope="row"] { width: auto; }
  .manual-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .manual-nav { order: 2; }
  .manual-nav { border-right: 0; border-top: 1px solid var(--line); padding: 12px 0 0; }
  .manual-nav details > ul { margin-top: 0.6em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .prelaunch, .manual-nav, .pager, .menu-button, .video, .clips { display: none; }
  body { font-size: 12pt; }
}
