/* FARUSONE site styles. The :root tokens are generated from src/brand/tokens.ts (build). */
:root {
  color-scheme: light;
  --f-canvas: #f7f8fa;
  --f-surface: #ffffff;
  --f-warm: #f4f0e8;
  --f-ink: #17212b;
  --f-muted: #52606d;
  --f-brand: #2446d8;
  --f-brand-hover: #1934b2;
  --f-brand-soft: #eaf0ff;
  --f-accent: #efae45;
  --f-border: #dce2e8;
  --f-control-border: #788594;
  --f-success: #166a4a;
  --f-danger: #b3261e;
  --f-radius-card: 20px;
  --f-radius-control: 12px;
  --f-content: 1200px;
  --f-reading: 72ch;
  --f-space-1: 4px;
  --f-space-2: 8px;
  --f-space-3: 12px;
  --f-space-4: 16px;
  --f-space-5: 24px;
  --f-space-6: 32px;
  --f-space-7: 48px;
  --f-space-8: 64px;
  --f-space-9: 96px;
  --f-font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-ext.3911b66d9f.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: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin.a30ddcd349.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;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--f-canvas);
  color: var(--f-ink);
  font-family: var(--f-font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 450;
  overflow-wrap: break-word;
  /* Manrope turns (c) into a copyright sign through ligatures: legal citations need the letters */
  font-variant-ligatures: no-common-ligatures no-contextual;
  font-feature-settings: "liga" 0, "calt" 0;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--f-brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--f-brand-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--f-brand); outline-offset: 4px; border-radius: 4px; }
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 var(--f-space-4); }
h1 { font-size: clamp(2.125rem, 1.3rem + 3.8vw, 4.25rem); font-weight: 800; letter-spacing: -0.025em; max-width: 18ch; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 var(--f-space-4); }
ul, ol { padding-left: 1.25em; margin: 0 0 var(--f-space-4); }
li + li { margin-top: var(--f-space-2); }
code { font-size: 0.9em; }

.wrap { width: 100%; max-width: calc(var(--f-content) + 2 * 48px); margin: 0 auto; padding: 0 20px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
@media (min-width: 1100px) { .wrap { padding: 0 48px; } }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; background: var(--f-surface); padding: 12px 16px; border-radius: var(--f-radius-control); border: 2px solid var(--f-brand); }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* Header */
.site-header { background: var(--f-surface); border-bottom: 1px solid var(--f-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--f-space-5); min-height: 72px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; }
.brand-lockup { height: 30px; width: auto; }
.nav-inline ul, .nav-menu ul { list-style: none; margin: 0; padding: 0; }
.nav-inline { display: none; }
.nav-inline ul { display: flex; gap: var(--f-space-2); }
.nav-inline li + li, .nav-menu li + li { margin-top: 0; }
.nav-inline a, .nav-menu a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: var(--f-radius-control); color: var(--f-ink); font-weight: 600; text-decoration: none; }
.nav-inline a:hover, .nav-menu a:hover { background: var(--f-brand-soft); color: var(--f-brand-hover); }
.nav-inline a[aria-current="page"], .nav-menu a[aria-current="page"] { color: var(--f-brand); box-shadow: inset 0 -3px 0 var(--f-brand); border-radius: var(--f-radius-control) var(--f-radius-control) 0 0; }
.nav-menu { position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1px solid var(--f-control-border); border-radius: var(--f-radius-control); font-weight: 700; background: var(--f-surface); }
.nav-menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: var(--f-ink); border-radius: 1px; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.nav-menu[open] .menu-icon { background: transparent; }
.nav-menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.nav-menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.nav-menu nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 240px; background: var(--f-surface); border: 1px solid var(--f-border); border-radius: var(--f-radius-control); box-shadow: 0 12px 32px rgba(23, 33, 43, 0.12); padding: 8px; }
.nav-menu nav a { display: flex; width: 100%; }
@media (min-width: 860px) {
  .nav-inline { display: block; }
  .nav-menu { display: none; }
  .brand-lockup { height: 34px; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: var(--f-space-3); align-items: center; margin-top: var(--f-space-5); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--f-radius-control); font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--f-brand); color: #fff; }
.btn-primary:hover { background: var(--f-brand-hover); color: #fff; }
.btn-secondary { background: var(--f-surface); color: var(--f-ink); border-color: var(--f-control-border); }
.btn-secondary:hover { border-color: var(--f-ink); color: var(--f-ink); }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.link-arrow::after { content: "\2192"; transition: transform 160ms ease; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Badges: text plus shape, never colour alone */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 0.875rem; font-weight: 700; border: 1px solid currentColor; line-height: 1.6; }
.badge-dot { width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.badge-concept { color: #7a4a00; background: #fff4e0; }
.badge-concept .badge-dot { background: var(--f-accent); border: 1px solid #7a4a00; }
.badge-testing { color: var(--f-brand-hover); background: var(--f-brand-soft); }
.badge-released { color: var(--f-success); background: #e8f5ee; }
.badge-released .badge-dot { border-radius: 50%; }
.badge-retired { color: var(--f-muted); background: #eef1f4; }

.eyebrow { font-size: 0.875rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--f-brand); margin-bottom: var(--f-space-3); }
.lead { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem); color: var(--f-muted); max-width: 34em; }

/* Hero */
.hero { padding: var(--f-space-7) 0 var(--f-space-8); background: var(--f-surface); border-bottom: 1px solid var(--f-border); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 260px; height: 260px; right: -150px; top: -150px; border-radius: 48px; background: var(--f-brand-soft); transform: rotate(12deg); }
@media (min-width: 1240px) { .hero::before { right: -90px; top: -90px; } }
.hero-grid { display: grid; gap: var(--f-space-7); position: relative; }
.hero-grid > *, .app-grid > *, .split > * { min-width: 0; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; } .hero { padding: var(--f-space-8) 0 var(--f-space-9); } }
.hero-preview { margin: 0; }
.preview-card { background: var(--f-canvas); border: 1px solid var(--f-border); border-radius: var(--f-radius-card); padding: var(--f-space-5); }
.preview-label { margin-bottom: var(--f-space-4); }
.preview-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--f-space-4); }
.preview-grid li { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 0.875rem; font-weight: 600; color: var(--f-muted); line-height: 1.3; }
.preview-icon { width: 64px; height: 64px; box-shadow: 0 6px 16px rgba(23, 33, 43, 0.12); border-radius: 15px; }
.hero-preview figcaption { margin-top: var(--f-space-3); font-size: 0.875rem; color: var(--f-muted); }

/* Sections */
.section { padding: var(--f-space-8) 0; }
.section-warm { background: var(--f-warm); }
.section-head { margin-bottom: var(--f-space-6); max-width: 36em; }
.section-head p { color: var(--f-muted); }
.page-head { padding-top: var(--f-space-7); padding-bottom: var(--f-space-6); }
.split { display: grid; gap: var(--f-space-6); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.claim { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--f-brand); padding-left: var(--f-space-5); border-left: 6px solid var(--f-accent); }

/* Cards */
.card { background: var(--f-surface); border: 1px solid var(--f-border); border-radius: var(--f-radius-card); padding: var(--f-space-5); box-shadow: 0 1px 2px rgba(23, 33, 43, 0.04); }
.card-grid, .help-grid, .doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--f-space-4); }
.card-grid > li + li, .help-grid > li + li, .doc-list > li + li { margin-top: 0; }
@media (min-width: 700px) { .card-grid, .help-grid, .doc-list { grid-template-columns: repeat(2, 1fr); gap: var(--f-space-5); } }
@media (min-width: 1100px) { .card-grid, .help-grid { grid-template-columns: repeat(3, 1fr); } }
.app-card { display: flex; gap: var(--f-space-4); align-items: flex-start; }
.app-icon { width: 56px; height: 56px; flex: none; border-radius: 13px; }
.app-card-body { min-width: 0; }
.app-card-title { font-size: 1.25rem; margin-bottom: var(--f-space-2); }
.working { display: table; margin-top: 6px; font-size: 0.8125rem; font-weight: 700; color: var(--f-muted); border: 1px dashed var(--f-control-border); border-radius: 6px; padding: 0 6px; vertical-align: middle; letter-spacing: 0; }
.app-card-benefit { margin-bottom: var(--f-space-3); }
.app-card-meta { display: flex; flex-wrap: wrap; gap: var(--f-space-3); align-items: center; font-size: 0.9375rem; color: var(--f-muted); margin-bottom: var(--f-space-2); }
.app-card-cost { font-size: 0.9375rem; color: var(--f-muted); margin-bottom: var(--f-space-1); }
.doc-list h2, .help-grid h2 { font-size: 1.25rem; }
.doc-list p, .help-grid p { margin-bottom: var(--f-space-2); }
.note { color: var(--f-muted); margin-top: var(--f-space-6); max-width: 70ch; }
.mail-plain { font-weight: 600; }

.principles { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--f-space-5); }
.principles > li + li { margin-top: 0; }
@media (min-width: 860px) { .principles { grid-template-columns: repeat(3, 1fr); gap: var(--f-space-6); } }
.principle-mark { display: block; width: 28px; height: 28px; border-radius: 7px; background: var(--f-brand); margin-bottom: var(--f-space-4); position: relative; }
.principle-mark::after { content: ""; position: absolute; width: 10px; height: 10px; right: -14px; top: 0; border-radius: 3px; background: var(--f-accent); }
.principles p { color: var(--f-muted); margin: 0; }

.help-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--f-space-5); background: var(--f-brand-soft); border-radius: var(--f-radius-card); padding: var(--f-space-6); }
.help-box p { margin: 0; max-width: 56ch; }

/* App detail */
.breadcrumb ol { list-style: none; padding: 0; margin: var(--f-space-3) 0 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; font-size: 0.9375rem; color: var(--f-muted); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb li + li { margin-top: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--f-control-border); }
.app-head { display: grid; gap: var(--f-space-5); padding: var(--f-space-6) 0 var(--f-space-5); }
@media (min-width: 700px) { .app-head { grid-template-columns: auto 1fr; align-items: start; } }
.app-icon-lg { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 10px 24px rgba(23, 33, 43, 0.14); }
.sender { font-weight: 700; color: var(--f-muted); margin-bottom: var(--f-space-2); }
.working-note { display: inline-block; font-weight: 700; color: var(--f-muted); border: 1px dashed var(--f-control-border); border-radius: 8px; padding: 0 8px; }
.notice { background: #fff4e0; border: 1px solid #e4c48d; border-left: 6px solid var(--f-accent); border-radius: var(--f-radius-control); padding: var(--f-space-4) var(--f-space-5); }
.app-grid { display: grid; gap: var(--f-space-6); padding: var(--f-space-5) 0 var(--f-space-8); }
@media (min-width: 960px) { .app-grid { grid-template-columns: 1fr 360px; align-items: start; } }
.block { margin-bottom: var(--f-space-6); max-width: 33em; }
.fact-card { background: var(--f-surface); border: 1px solid var(--f-border); border-radius: var(--f-radius-card); padding: var(--f-space-5); }
.fact-card h2 { font-size: 1.25rem; }
.fact-card h3 { font-size: 1rem; margin-top: var(--f-space-5); }
.fact-card dl { margin: 0; }
.fact-card dl > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--f-space-3); padding: 10px 0; border-top: 1px solid var(--f-border); }
.fact-card dt { font-weight: 700; color: var(--f-muted); font-size: 0.9375rem; }
.fact-card dd { margin: 0; }
.plain { list-style: none; padding: 0; }
.shots { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--f-space-4); }
.faq { border-top: 1px solid var(--f-border); padding: var(--f-space-3) 0; }
.faq summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }

/* Prose and legal documents */
.prose { padding-bottom: var(--f-space-8); }
.prose section { margin-bottom: var(--f-space-6); max-width: 33em; }
/* About 72 characters per line (brand guide): measured with Manrope at 18 px, 33em is about 73. */
.legal { padding: var(--f-space-5) 0 var(--f-space-8); font-size: 1.125rem; }
.legal-head { max-width: 40em; }
.legal-head .legal-scope, .legal > .notice, .legal-text { max-width: 33em; }
.legal-head { margin-bottom: var(--f-space-6); }
.legal-head h1 { max-width: 16em; }
.legal-head h1 { font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.25rem); }
.legal-scope { color: var(--f-muted); }
.legal-version { font-size: 0.9375rem; color: var(--f-muted); font-weight: 600; }
.legal section { margin-top: var(--f-space-6); scroll-margin-top: 16px; }
.legal h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); }
.lines { line-height: 1.7; }
.toc { background: var(--f-surface); border: 1px solid var(--f-border); border-radius: var(--f-radius-card); padding: var(--f-space-5); }
.toc h2 { font-size: 1.125rem; margin-bottom: var(--f-space-3); }
.toc ol { margin: 0; }
.toc li + li { margin-top: 0; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; }
.toc { max-width: 33em; }
.table-wrap { overflow-x: auto; margin-bottom: var(--f-space-4); border: 1px solid var(--f-border); border-radius: var(--f-radius-control); background: var(--f-surface); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--f-border); }
th { background: var(--f-canvas); }
mark.ph { background: #fff4e0; color: #7a4a00; padding: 0 3px; border-radius: 3px; font-weight: 700; }
.draft-banner { background: #fdecea; border: 2px solid var(--f-danger); border-radius: var(--f-radius-control); padding: var(--f-space-4); margin-bottom: var(--f-space-5); color: var(--f-danger); }

.error-page { padding-bottom: var(--f-space-9); }

/* Footer */
.site-footer { background: var(--f-ink); color: #e9edf1; padding: var(--f-space-7) 0 var(--f-space-6); margin-top: var(--f-space-6); }
.site-footer a { color: #ffffff; }
.site-footer :focus-visible { outline-color: #ffffff; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--f-space-5); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col h2 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; color: #c3ccd5; margin-bottom: var(--f-space-3); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li + li { margin-top: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-meta { margin: var(--f-space-6) 0 0; padding-top: var(--f-space-5); border-top: 1px solid #34414d; font-size: 0.875rem; color: #c3ccd5; }

/* Brand preview (internal) */
.brand-sheet section { margin-bottom: var(--f-space-7); }
.bp-row { display: flex; flex-wrap: wrap; gap: var(--f-space-5); align-items: center; padding: var(--f-space-5); border-radius: var(--f-radius-card); margin-bottom: var(--f-space-3); }
.bp-light { background: var(--f-surface); border: 1px solid var(--f-border); }
.bp-dark { background: var(--f-ink); color: #fff; }
.bp-lockup { height: 64px; width: auto; }
.bp-wordmark { height: 48px; width: auto; }
.bp-min { width: 100px; }
.bp-size[data-s="16"] { width: 16px; } .bp-size[data-s="24"] { width: 24px; } .bp-size[data-s="48"] { width: 48px; } .bp-size[data-s="128"] { width: 128px; }
.bp-icon { margin: 0; text-align: center; font-size: 0.875rem; } .bp-icon svg { width: 72px; height: 72px; margin: 0 auto 6px; }
.swatches { list-style: none; padding: 0; display: grid; gap: var(--f-space-3); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.swatches li + li { margin-top: 0; }
.swatch { display: grid; gap: 2px; font-size: 0.875rem; }
.swatch-chip { height: 56px; border-radius: var(--f-radius-control); border: 1px solid var(--f-border); }
.bp-h1 { font-size: 3rem; font-weight: 800; line-height: 1.1; } .bp-h2 { font-size: 2rem; font-weight: 700; } .bp-meta { font-size: 0.875rem; color: var(--f-muted); }
.swatch-chip[data-c="canvas"] { background: var(--f-canvas); }
.swatch-chip[data-c="surface"] { background: var(--f-surface); }
.swatch-chip[data-c="warm"] { background: var(--f-warm); }
.swatch-chip[data-c="ink"] { background: var(--f-ink); }
.swatch-chip[data-c="muted"] { background: var(--f-muted); }
.swatch-chip[data-c="brand"] { background: var(--f-brand); }
.swatch-chip[data-c="brandHover"] { background: var(--f-brand-hover); }
.swatch-chip[data-c="brandSoft"] { background: var(--f-brand-soft); }
.swatch-chip[data-c="accent"] { background: var(--f-accent); }
.swatch-chip[data-c="border"] { background: var(--f-border); }
.swatch-chip[data-c="controlBorder"] { background: var(--f-control-border); }
.swatch-chip[data-c="success"] { background: var(--f-success); }
.swatch-chip[data-c="danger"] { background: var(--f-danger); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header, .site-footer, .skip-link, .breadcrumb, .toc, .actions, .nav-menu { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .legal { max-width: none; padding: 0; font-size: 11pt; }
  a { color: inherit; }
  .hero::before, .hero::after { display: none; }
}

/* Language switch, header layout */
.header-right { display: flex; align-items: center; gap: var(--f-space-3); }
.lang-switch ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; border: 1px solid var(--f-border); border-radius: var(--f-radius-control); padding: 3px; }
.lang-switch li + li { margin-top: 0; }
.lang-switch a, .lang-switch span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 9px; font-weight: 700; font-size: 0.9375rem; text-decoration: none; }
.lang-switch a { color: var(--f-ink); }
.lang-switch a:hover { background: var(--f-brand-soft); color: var(--f-brand-hover); }
.lang-switch span[aria-current] { background: var(--f-ink); color: #fff; }
@media (max-width: 380px) { .lang-switch a, .lang-switch span { padding: 0 8px; } .nav-menu summary { padding: 0 12px; } }

/* Product page: help and legal box */
.help-legal { background: var(--f-brand-soft); border: 1px solid #c9d6fb; border-radius: var(--f-radius-card); padding: var(--f-space-5); margin-bottom: var(--f-space-6); max-width: 36em; }
.help-legal h2 { font-size: 1.25rem; margin-bottom: var(--f-space-3); }
.help-legal li + li { margin-top: var(--f-space-2); }
.help-legal a { font-weight: 700; }
.meta { color: var(--f-muted); font-size: 0.9375rem; }

/* Legal overview groups */
.doc-group { margin-bottom: var(--f-space-7); }
.doc-group > h2 { font-size: 1.375rem; margin-bottom: var(--f-space-4); }
.doc-list h3 { font-size: 1.125rem; margin-bottom: var(--f-space-2); }

.badge-development { color: #5b3a00; background: #fff4e0; }
.badge-development .badge-dot { background: var(--f-accent); border-radius: 50%; }
@media (max-width: 520px) {
  .brand-lockup { height: 24px; }
  .header-right { gap: var(--f-space-2); }
  .lang-switch a, .lang-switch span { padding: 0 8px; }
  .nav-menu summary { padding: 0 12px; gap: 8px; }
}
.brand-symbol { display: none; width: 34px; height: 34px; }
@media (max-width: 520px) {
  .lang-switch a, .lang-switch span { padding: 0 6px; }
  .nav-menu summary { padding: 0 10px; gap: 6px; }
}
/* Very small screens: symbol only (brand guide: very small = symbol only) */
@media (max-width: 374px) {
  .brand-lockup { display: none; }
  .brand-symbol { display: block; }
}

/* Usability check 2026-10-16: tap targets of at least 44 px, whole cards tappable, product tiles, reading column */
.is-link { position: relative; transition: border-color 160ms ease, box-shadow 160ms ease; }
.is-link:hover { border-color: var(--f-control-border); box-shadow: 0 6px 18px rgba(23, 33, 43, 0.08); }
.stretch::before { content: ""; position: absolute; inset: 0; border-radius: var(--f-radius-card); }
.stretch:focus-visible { outline: none; }
.stretch:focus-visible::before { outline: 3px solid var(--f-brand); outline-offset: 2px; }
.doc-list h3 a { text-decoration: none; }
.doc-list h3 a::after { content: " \2192"; }
.doc-list .is-link:hover h3 a { text-decoration: underline; }

.help-grid .plain a { display: inline-flex; align-items: center; min-height: 44px; }
.help-grid .plain li + li { margin-top: 0; }
.chips-label { margin-bottom: var(--f-space-2); }
.chips { list-style: none; padding: 0; margin: 0 0 var(--f-space-2); display: flex; flex-wrap: wrap; gap: 8px; }
.chips li + li { margin-top: 0; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--f-control-border); border-radius: 999px; background: var(--f-surface); color: var(--f-ink); font-weight: 600; text-decoration: none; }
.chips a:hover { border-color: var(--f-brand); color: var(--f-brand-hover); background: var(--f-brand-soft); }

.rows { margin: 0; }
.rows li + li { margin-top: 0; border-top: 1px solid #c9d6fb; }
.row-link { display: flex; align-items: center; justify-content: space-between; gap: var(--f-space-3); min-height: 52px; padding: 8px 0; text-decoration: none; }
.row-link::after { content: "\2192"; font-weight: 700; flex: none; }
.row-link:hover .row-label { text-decoration: underline; }
.row-text { display: flex; flex-direction: column; min-width: 0; }
.row-label { font-weight: 700; overflow-wrap: anywhere; }
.row-link .meta { font-weight: 500; line-height: 1.4; }

.picker { margin: 0 0 var(--f-space-6); max-width: 48rem; }
.picker h2 { font-size: 1.25rem; margin-bottom: var(--f-space-3); }
.picker ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .picker ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.picker li + li { margin-top: 0; }
.picker a { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 16px; background: var(--f-surface); border: 1px solid var(--f-border); border-radius: 16px; color: var(--f-ink); text-decoration: none; }
.picker a:hover { border-color: var(--f-brand); }
.picker-icon { width: 44px; height: 44px; flex: none; border-radius: 10px; }
.picker-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.picker-title { font-weight: 700; color: var(--f-brand); }
.picker-note { font-size: 0.9375rem; color: var(--f-muted); }

.legal-cols .toc { margin-bottom: var(--f-space-2); }
@media (min-width: 1100px) {
  .legal-cols.has-toc { display: grid; grid-template-columns: minmax(0, 33em) minmax(220px, 300px); column-gap: 64px; align-items: start; }
  .legal-cols.has-toc .toc { grid-column: 2; grid-row: 1; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; font-size: 1rem; margin-top: var(--f-space-6); }
  .legal-cols.has-toc .legal-text { grid-column: 1; grid-row: 1; }
}
@media print { .picker { display: none; } .legal-cols.has-toc { display: block; } }
.footer-col a, .breadcrumb a, .brand, .toc a { min-width: 44px; }
/* Phones: a smaller product icon keeps name, status and the help box closer to the top */
@media (max-width: 699px) {
  .app-head { grid-template-columns: 72px minmax(0, 1fr); align-items: start; gap: var(--f-space-4); }
  .app-icon-lg { width: 72px; height: 72px; border-radius: 17px; }
  .app-head h1 { font-size: clamp(1.875rem, 1.2rem + 3vw, 2.5rem); }
}
