/* Glotbee landing page. Tokens are the app's own (web/src/styles/tokens.css, light theme). */

/* Fonts, served from this site (no request to Google). Geologica and Tinos: SIL Open Font License, in assets/fonts. */
/* Geologica 300 700 normal, cyrillic-ext */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/geologica-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Geologica 300 700 normal, cyrillic */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/geologica-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Geologica 300 700 normal, greek */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/geologica-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* Geologica 300 700 normal, vietnamese */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/geologica-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* Geologica 300 700 normal, latin-ext */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/geologica-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Geologica 300 700 normal, latin */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/geologica-latin.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;
}
/* Tinos 400 italic, cyrillic-ext */
@font-face {
  font-family: 'Tinos';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tinos-400-italic-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Tinos 400 italic, cyrillic */
@font-face {
  font-family: 'Tinos';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tinos-400-italic-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Tinos 400 italic, greek */
@font-face {
  font-family: 'Tinos';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tinos-400-italic-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* Tinos 400 italic, vietnamese */
@font-face {
  font-family: 'Tinos';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tinos-400-italic-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* Tinos 400 italic, latin-ext */
@font-face {
  font-family: 'Tinos';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tinos-400-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Tinos 400 italic, latin */
@font-face {
  font-family: 'Tinos';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tinos-400-italic-latin.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;
}
/* Tinos 400 normal, cyrillic-ext */
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tinos-400-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Tinos 400 normal, cyrillic */
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tinos-400-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Tinos 400 normal, greek */
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tinos-400-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* Tinos 400 normal, vietnamese */
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tinos-400-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* Tinos 400 normal, latin-ext */
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tinos-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Tinos 400 normal, latin */
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tinos-400-latin.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;
}
/* Tinos 700 normal, cyrillic-ext */
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/tinos-700-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Tinos 700 normal, cyrillic */
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/tinos-700-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Tinos 700 normal, greek */
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/tinos-700-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* Tinos 700 normal, vietnamese */
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/tinos-700-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* Tinos 700 normal, latin-ext */
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/tinos-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Tinos 700 normal, latin */
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/tinos-700-latin.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;
}
/* Stand-ins while Geologica loads, scaled to its width and height so nothing moves when it arrives (Arial on
   macOS and Windows, Roboto on Android; measured on the page's own text). */
@font-face { font-family: "Geologica Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 300 400; size-adjust: 107.7%; ascent-override: 91%; descent-override: 25.1%; line-gap-override: 0%; }
@font-face { font-family: "Geologica Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 500; size-adjust: 109.1%; ascent-override: 89.8%; descent-override: 24.7%; line-gap-override: 0%; }
@font-face { font-family: "Geologica Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 700; size-adjust: 103.2%; ascent-override: 95%; descent-override: 26.2%; line-gap-override: 0%; }
@font-face { font-family: "Geologica Fallback Android"; src: local("Roboto"), local("Roboto-Regular"); size-adjust: 108.3%; ascent-override: 90.5%; descent-override: 24.9%; line-gap-override: 0%; }
:root {
  --surface: #ffffff;
  --desk: #f3f3f1;            /* the app's --surface-sunken: the desk pages lie on */
  --line: #e6e6e3;
  --line-strong: #8a8a87;
  --ink: #0d0d0e;
  --ink-muted: #5f5f5c;
  --marker: #e3ff3d;
  --on-marker: #0d0d0e;
  --marker-wash: color-mix(in srgb, var(--marker) 40%, #ffffff);
  --paper: #ffffff;
  --paper-ink: #0d0d0e;
  --paper-muted: #5f5f5c;
  --shadow-paper: 0 1px 2px #0d0d0e14, 0 12px 40px #0d0d0e1a;
  --shadow-float: 0 0 0 1px #e6e6e3, 0 12px 32px #0d0d0e1f;
  --focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #0d0d0e;
  --radius-sm: 3px;
  --radius-control: 6px;
  --radius-panel: 10px;
  --max: 1240px;
  --gutter: 32px;
  --font-sans: Geologica, "Geologica Fallback", "Geologica Fallback Android", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: Tinos, "Times New Roman", Times, serif;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--surface); -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 24px; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; font-feature-settings: "ss01"; overflow-x: clip; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
::selection { background: var(--marker); color: var(--on-marker); }
mark { background: linear-gradient(transparent 10%, var(--marker) 10%, var(--marker) 90%, transparent 90%); color: var(--on-marker); padding: 0 .12em; margin: 0 -.04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
strong { font-weight: 600; }
[hidden] { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-muted); }
.small { font-size: 13px; line-height: 18px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--radius-control); }
.skip:focus { top: 12px; }

/* Type */
.display { font-size: 80px; line-height: 76px; font-weight: 500; letter-spacing: -0.045em; text-wrap: balance; }
.h2 { font-size: 44px; line-height: 48px; font-weight: 500; letter-spacing: -0.035em; text-wrap: balance; }
.h3 { font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: 19px; line-height: 28px; letter-spacing: -0.01em; max-width: 34em; }
p { max-width: 40em; }

/* Buttons (the app's .v-btn) */
.btn { font: inherit; font-size: 14px; font-weight: 500; letter-spacing: -0.005em; height: 40px; padding: 0 16px; border-radius: var(--radius-control); border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color .12s, border-color .12s; }
.btn:hover { text-decoration: none; border-color: var(--line-strong); }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ink:hover { background: #2b2b2d; border-color: #2b2b2d; }
.btn-line { border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 56px; padding: 0 24px; font-size: 16px; gap: 24px; }
.btn-lg::after { content: ""; width: 9px; height: 9px; border-top: 1.75px solid currentColor; border-right: 1.75px solid currentColor; transform: rotate(45deg); margin-right: 4px; }

/* Logo */
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 21px; line-height: 24px; letter-spacing: -0.05em; color: var(--ink); text-decoration: none; }
.logo { width: 26px; height: 22px; flex: none; display: block; }
.logo-line { fill: none; stroke: var(--ink); stroke-width: 3; }
.logo-body { fill: var(--marker); }
.logo-ink { fill: var(--on-marker); }
.logo-sting { fill: var(--ink); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: var(--surface); border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: flex; align-items: center; gap: 40px; }
.top-nav { display: flex; gap: 28px; font-size: 14px; }
.top-nav a, .top-sign { text-decoration: none; color: var(--ink-muted); }
.top-nav a:hover, .top-sign:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; }
.top-act { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 14px; }

/* Sections */
.sec { padding: 112px 0 0; }
.sec-cta { margin-top: 40px; }
.sec-link { margin-top: 32px; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: start; }
.split-main { display: grid; gap: 20px; }

/* Hero */
.hero { padding-top: 72px; }
.hero-text { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px 64px; align-items: start; }
.hero-text .display { grid-column: 1 / -1; font-size: 88px; line-height: 84px; }
.hero-text .display span { display: block; }
.hero-text .lead { font-size: 20px; line-height: 30px; max-width: 30em; }
.hero-cta { display: grid; gap: 10px; justify-items: start; }
.hero-pro { margin-top: 10px; }

/* The desk and its pages (the app's order desk) */
.desk { background: var(--desk); border-radius: var(--radius-panel); }
.hero-desk { margin-top: 56px; padding: 40px 300px 48px 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 32px; }
.sheet { display: grid; gap: 10px; align-content: start; container-type: inline-size; min-width: 0; }
.sheet figcaption { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.page { position: relative; background: var(--paper); color: var(--paper-ink); box-shadow: var(--shadow-paper); aspect-ratio: 210 / 297; padding: 11cqi 9cqi; font-family: var(--font-text); font-size: 3.4cqi; line-height: 1.5; text-align: justify; hyphens: auto; }
.page p { max-width: none; margin: 0 0 .75em; }
.page .doc-h { text-align: center; font-weight: 700; letter-spacing: .14em; margin-bottom: 1.6em; }
.page .doc-art { text-align: center; font-weight: 700; margin: 1.3em 0 .5em; }
.page .doc-li { text-align: left; padding-left: 1.4em; text-indent: -1em; }
.page .doc-sign { display: flex; justify-content: space-between; gap: 1em; margin-top: 3em; text-align: left; }
.page .doc-sign p { margin: 0; }
.has-note { position: relative; }

/* A note in the margin, as on the app's live screen */
.note { position: absolute; top: -.1em; left: calc(100% + 9cqi + 40px); width: 220px; display: grid; gap: 4px; padding-left: 12px; border-left: 2px solid var(--ink); font-family: var(--font-sans); font-size: 13px; line-height: 18px; color: var(--ink); text-align: left; text-indent: 0; hyphens: manual; }
.note strong { font-weight: 600; }

/* How it works */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { border-top: 1px solid var(--ink); padding-top: 16px; display: grid; gap: 8px; align-content: start; counter-increment: step; }
.steps li::before { content: counter(step); font-size: 44px; line-height: 48px; font-weight: 300; letter-spacing: -0.04em; margin-bottom: 8px; }
.steps p { color: var(--ink-muted); }

/* What makes it good */
.terms { margin-top: 8px; }
.terms table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.terms caption { text-align: left; caption-side: bottom; padding-top: 12px; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.terms th { text-align: left; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-muted); padding: 0 0 8px; border-bottom: 1px solid var(--ink); }
.terms td { padding: 9px 16px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.terms td { font-family: var(--font-text); font-size: 16px; }
.terms th:first-child, .terms td:first-child { width: 46%; }

.process { margin-top: 64px; counter-reset: pass; border-bottom: 1px solid var(--line); }
.process li { display: grid; grid-template-columns: 48px minmax(0, 4fr) minmax(0, 7fr); gap: 8px 24px; padding: 18px 0; border-top: 1px solid var(--line); counter-increment: pass; align-items: baseline; }
.process li::before { content: counter(pass); font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.process p { color: var(--ink-muted); }

.levels { margin-top: 64px; display: grid; gap: 20px; }
.levels-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-radius: var(--radius-control); }
.levels-list > div { padding: 20px 24px 24px; display: grid; gap: 6px; align-content: start; }
.levels-list > div + div { border-left: 1px solid var(--line-strong); }
.levels-list dt { font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -0.02em; }
.levels-list dd { color: var(--ink-muted); }

/* The live screen */
.live { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.live-desk { padding: 40px 300px 48px 48px; }
.live-page { max-width: 460px; }
.live-desk .page { font-size: 14.5px; line-height: 22px; padding: 56px 48px; }
.page .doc-sign.lp { display: grid; }
.live-desk .note { left: calc(100% + 48px + 36px); }
.lp { display: grid; grid-template-columns: minmax(0, 1fr); transition: background-color .3s, box-shadow .3s; }
.lp > .lp-src, .lp > .lp-tgt { grid-area: 1 / 1; transition: opacity .35s ease-out; }
.lp-src { visibility: hidden; opacity: 0; }
.doc-sign.lp > span { display: flex; justify-content: space-between; gap: 1em; }
.lp .note { grid-area: auto; }
.lp ins { hyphens: none; text-decoration: none; background: var(--marker); color: var(--paper-ink); padding: 0 .1em; }
.lp del { color: var(--paper-muted); text-decoration-thickness: 1.5px; }

.live-side { display: grid; gap: 24px; align-content: start; padding-top: 8px; }
.live-line { font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -0.02em; min-height: 56px; }
.live-steps { display: grid; gap: 8px; }
.live-steps li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.live-steps li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.live-steps li.is-done::before { background: var(--ink); border-color: var(--ink); }
.live-steps li.is-now { color: var(--ink); font-weight: 500; }
.live-steps li.is-now::before { background: var(--marker); border-color: var(--ink); }
.feed { display: grid; border-bottom: 1px solid var(--line); min-height: 4lh; }
.feed li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 18px; }
.feed-kind { justify-self: start; font-size: 11px; line-height: 16px; font-weight: 500; color: var(--ink-muted); padding: 0 4px; margin-left: -4px; border-radius: var(--radius-sm); }
.feed li.is-new .feed-kind { background: var(--marker); color: var(--on-marker); }
.live-ctl { display: flex; gap: 12px; align-items: center; }
.live-foot { margin-top: 20px; font-size: 14px; line-height: 20px; max-width: 46em; }

/* While the sample plays (only with JS and motion allowed) */
.live.is-playing .lp-src { visibility: visible; opacity: 1; }
.live.is-playing .lp-tgt { opacity: 0; }
.live.is-playing .lp.is-done .lp-src { opacity: 0; }
.live.is-playing .lp.is-done .lp-tgt { opacity: 1; }
.live.is-playing .lp:not(.is-revised) del { text-decoration: none; color: inherit; }
.live.is-playing .lp:not(.is-revised) ins { display: none; }
.live.is-playing .lp:not(.is-revised) .note { display: none; }
.lp.is-reading { background: var(--marker-wash); box-shadow: 0 0 0 5px var(--marker-wash); }
.lp.is-flash { animation: lp-flash .9s ease-out; }
@keyframes lp-flash { from { background: var(--marker-wash); box-shadow: 0 0 0 5px var(--marker-wash); } to { background: transparent; box-shadow: 0 0 0 5px transparent; } }
.ck.is-check, .tm.is-check { animation: ck-flash 1.4s ease-out; border-radius: 2px; }
@keyframes ck-flash { 0% { background: transparent; } 15%, 70% { background: color-mix(in srgb, var(--marker) 70%, transparent); } 100% { background: transparent; } }
.live .note { transition: opacity .3s; }
.feed li.is-in { animation: feed-in .3s ease-out; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-4px); } }

/* Books */
.books-body { display: grid; gap: 24px; justify-items: start; padding-top: 6px; }

/* For translators: the same desk surface, a different room */
.pro { margin-top: 112px; padding: 72px 0 80px; background: var(--desk); }
.pro-mark { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 20px; }
.pro-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.pro-block { display: grid; gap: 8px; align-content: start; border-top: 1px solid var(--ink); padding-top: 16px; }
.pro-block p { color: #3f3f3d; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; margin-left: 6px; vertical-align: 2px; border-radius: var(--radius-sm); background: var(--marker); color: var(--on-marker); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0; }
.pro-juris { margin-top: 56px; display: grid; gap: 14px; }
.juris { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); column-gap: 32px; font-size: 15px; line-height: 22px; }
.juris li { padding: 8px 0 9px; border-top: 1px solid #d6d6d2; }
.juris-sub { display: block; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.pro-foot { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; }
.pro-modules { display: grid; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; line-height: 20px; padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); }
.pro-agency { margin-top: 12px; }
.pro-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* Security */
.split-rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.sticky { position: sticky; top: 104px; }
.rows { border-bottom: 1px solid var(--line); }
.rows > div { border-top: 1px solid var(--line); padding: 20px 0 22px; display: grid; gap: 6px; }
.rows > div:first-child { border-top-color: var(--ink); }
.rows dt { font-weight: 600; font-size: 17px; line-height: 24px; letter-spacing: -0.01em; }
.rows dd { color: var(--ink-muted); }

/* Prices */
.plans { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr); gap: 32px 40px; }
.plan { border-top: 1px solid var(--line-strong); padding-top: 16px; display: grid; gap: 10px; align-content: start; }
.plan p { color: var(--ink-muted); }
.plan-main { border-top: 3px solid var(--ink); padding-top: 14px; }
.plan-main p { color: var(--ink); }
.plan-act { margin-top: 14px; }
.plans-note { margin-top: 28px; }

/* Questions */
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 14px; gap: 16px; align-items: center; padding: 18px 0; font-size: 17px; line-height: 24px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat; }
.faq summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.faq details p { padding: 0 32px 22px 0; color: #3f3f3d; }

/* Final call */
.final { padding-bottom: 112px; }
.final-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; border-top: 1px solid var(--ink); padding-top: 40px; }
.final-in .lead { margin-top: 16px; }
.final-h { font-size: 64px; line-height: 64px; }
.final-act { display: grid; gap: 12px; justify-items: start; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; line-height: 20px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 48px; align-items: start; }
.foot-brand { display: grid; gap: 10px; justify-items: start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 24px 56px; }
.foot-cols ul { display: grid; gap: 8px; }
.foot-h { font-weight: 600; margin-bottom: 12px; }
.foot-cols a { color: var(--ink-muted); text-decoration: none; }
.foot-cols a:hover { color: var(--ink); text-decoration: underline; }
.foot-note { grid-column: 1 / -1; }

/* The sample data sheet: a page with a logo, a labelled drawing, a warning, a table and a footer */
.page.rich { padding: 7cqi 8cqi 6cqi; font-size: 2.9cqi; line-height: 1.45; text-align: left; hyphens: manual; display: flex; flex-direction: column; --brand: #6b3f24; }
.page.rich p { margin: 0; }
.rich-head { display: flex; justify-content: space-between; align-items: center; gap: 3cqi; padding-bottom: 2.2cqi; border-bottom: .5cqi solid var(--brand); }
.rich-logo { height: 5.4cqi; width: auto; color: var(--brand); flex: none; }
.page.rich .rich-meta { font-family: var(--font-sans); font-size: 2.2cqi; line-height: 1.35; text-align: right; color: var(--paper-muted); }
.rich-titles { margin: 4cqi 0 2.5cqi; }
.page.rich .rich-title { font-family: var(--font-sans); font-weight: 600; font-size: 4.6cqi; line-height: 1.15; letter-spacing: -0.02em; }
.page.rich .rich-sub { color: var(--paper-muted); margin-top: .6cqi; }
.rich-fig { position: relative; margin-bottom: 2.6cqi; }
.rich-art { position: relative; color: var(--paper-ink); background: #fafaf8; border-radius: 1cqi; }
.rich-drawing { display: block; width: 100%; height: auto; }
.callout { position: absolute; transform: translateY(-50%); font-family: var(--font-sans); font-size: 2.3cqi; line-height: 1.2; white-space: nowrap; }
.callout.l { right: 66.4%; }
.callout.r { left: 69.6%; }
.page.rich .rich-text { margin-bottom: 2.6cqi; }
.page.rich .rich-warn { display: flex; gap: 2cqi; align-items: center; padding: 1.6cqi 2.4cqi; margin-bottom: 2.8cqi; background: #fff6d6; border-left: .8cqi solid #c98a00; }
.rich-warn svg { width: 3.6cqi; height: auto; flex: none; color: #8a5a00; }
.rich-table { width: 100%; border-collapse: collapse; }
.rich-table caption { text-align: left; font-family: var(--font-sans); font-weight: 600; font-size: 2.6cqi; padding-bottom: 1cqi; color: var(--brand); }
.rich-table td { padding: .7cqi 0; border-top: .25cqi solid #dcdcd8; }
.rich-table tr:last-child td { border-bottom: .25cqi solid #dcdcd8; }
.rich-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 2cqi; }
.page.rich .rich-foot { margin-top: auto; padding-top: 1.6cqi; display: flex; justify-content: space-between; gap: 2cqi; font-family: var(--font-sans); font-size: 2.1cqi; color: var(--paper-muted); border-top: .25cqi solid #dcdcd8; }
.rich .note { left: calc(100% + 8cqi + 40px); }
.rich-data { position: relative; }
.hero-text .display mark { padding: 0 .06em; margin: 0 -.02em; }

/* Bands: each section has its own surface, so the page reads as distinct rooms */
:root { --lime-wash: #f6fbd8; --forest: #12392c; --forest-2: #1c4a3a; --on-forest: #e9f1ec; --on-forest-muted: #b9cdc2; --night: #0d0d0e; --on-night-muted: #a2a2a6; }
.sec { padding: 104px 0; }
.band-lime { background: var(--lime-wash); }
.band-grey { background: var(--desk); }
.band-ink { background: var(--night); color: #f1f1ee; }
.band-forest { background: var(--forest); color: var(--on-forest); }

.steps li::before { width: 56px; height: 56px; border-radius: 50%; background: var(--marker); color: var(--on-marker); display: grid; place-items: center; font-size: 24px; line-height: 1; font-weight: 500; }
.band-lime .levels-list { background: var(--surface); }

/* The live screen at night: the page and its desk stay paper-light */
.band-ink .muted, .band-ink .live-foot { color: var(--on-night-muted); }
.band-ink .live-steps li { color: var(--on-night-muted); }
.band-ink .live-steps li::before { border-color: #6f6f74; }
.band-ink .live-steps li.is-done::before { background: #f1f1ee; border-color: #f1f1ee; }
.band-ink .live-steps li.is-now { color: #fff; }
.band-ink .live-steps li.is-now::before { background: var(--marker); border-color: var(--marker); }
.band-ink .feed, .band-ink .feed li { border-color: #2c2c30; }
.band-ink .feed-kind { color: var(--on-night-muted); }
.band-ink .btn-line { background: transparent; color: #fff; border-color: #6f6f74; }
.band-ink .btn-line:hover { border-color: #fff; }
.band-ink a { color: #fff; }
.band-ink .btn-ink, .band-forest .btn-ink { background: var(--marker); border-color: var(--marker); color: var(--on-marker); }
.band-ink .btn-ink:hover, .band-forest .btn-ink:hover { background: #d4f02a; border-color: #d4f02a; }

/* For translators, in green */
.pro.band-forest { margin-top: 0; padding: 104px 0; }
.band-forest .logo-line { stroke: #fff; }
.band-forest .logo-sting { fill: #fff; }
.band-forest .pro-block { border-top-color: var(--on-forest-muted); }
.band-forest .pro-block p, .band-forest .juris-sub, .band-forest .muted { color: var(--on-forest-muted); }
.band-forest .juris li { border-top-color: #2f5a49; }
.band-forest .chips li { background: var(--forest-2); border-color: #3c6b59; color: var(--on-forest); }
.band-forest .btn-line { background: transparent; color: #fff; border-color: var(--on-forest-muted); }
.band-forest .btn-line:hover { border-color: #fff; }
.band-forest a { color: #fff; }

/* Questions and the last call */
.band-lime .faq details, .band-lime .faq details:last-of-type { border-color: #dfe8b0; }
.final.band-ink { padding: 112px 0; }
.band-ink .final-in { border-top: 0; padding-top: 0; }
.final-h { color: #fff; }
.final .final-h span { background: none; }

/* Compared with free tools: the Glotbee column is the marked one */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare-wrap { margin-top: 56px; overflow-x: auto; }
.compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 22px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 20px; border-top: 1px solid var(--line); }
.compare thead th, .compare thead td { border-top: 0; padding-top: 20px; padding-bottom: 16px; font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.compare tbody th { width: 24%; font-weight: 600; padding-left: 0; }
.compare tbody td { color: var(--ink-muted); width: 22%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.compare .v { background: var(--lime-wash); color: var(--ink); width: 32%; border-top-color: #e3ebb8; }
.compare thead .v { border-radius: var(--radius-panel) var(--radius-panel) 0 0; background: var(--marker); }
.compare tbody tr:last-child .v { border-radius: 0 0 var(--radius-panel) var(--radius-panel); border-bottom-color: transparent; }
.compare td.v { font-weight: 500; }
.v-cell { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.compare-brand { display: inline-flex; align-items: center; gap: 8px; }
.yes { width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--forest); position: relative; }
.yes::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.compare .no { color: #767672; }
.compare .partly { color: #b42318; font-weight: 600; }
.compare-note { margin-top: 20px; max-width: 60em; }

/* The statement: a bright band with the three stages of every translation */
.statement { margin-top: 104px; padding: 88px 0 96px; background: var(--marker); color: var(--on-marker); }
.statement-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: end; }
.statement .h2 { font-size: 56px; line-height: 58px; }
.stages { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: stage; }
.stages > li { counter-increment: stage; border-top: 2px solid var(--ink); padding-top: 20px; display: grid; gap: 14px; align-content: start; position: relative; }
.stages > li::before { content: counter(stage); position: absolute; top: -15px; left: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--marker); display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.stages > li > h3 { margin-top: 10px; font-size: 20px; line-height: 26px; }
.stages ul { display: grid; gap: 10px; }
.stages ul li { padding-left: 22px; position: relative; font-size: 16px; line-height: 23px; }
.stages ul li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); }
.hero + .statement { margin-top: 104px; }

/* Narrower screens */
@media (max-width: 1180px) {
  .hero-desk { padding-right: 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-note { position: static; margin: .9em 0 .2em; width: auto; padding: 0 0 0 12px; }
  /* the notes now sit inside the page and make it taller: it grows down, never wider than its column */
  .hero-desk .page { aspect-ratio: auto; }
  .hero-desk .hero-note { font-size: 13px; line-height: 18px; }
  .live { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
  .live-desk { padding: 32px; }
  .live-page { margin: 0 auto; }
  .live-desk .live-note { left: auto; right: -12px; top: calc(100% + .3em); width: min(240px, 80%); background: var(--surface); box-shadow: var(--shadow-float); border-radius: 0 var(--radius-control) var(--radius-control) 0; padding: 8px 12px; z-index: 2; }
}
@media (max-width: 960px) {
  .top-nav { display: none; }
  .display { font-size: 64px; line-height: 62px; }
  .hero-text, .split, .pro-foot, .statement-head { grid-template-columns: minmax(0, 1fr); }
  .stages { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .statement .h2 { font-size: 40px; line-height: 44px; }
  .hero-text .display { font-size: 64px; line-height: 62px; }
  .live { grid-template-columns: minmax(0, 1fr); }
  .live { gap: 20px; }
  .live-side { display: contents; }
  .live-line { order: 1; min-height: 56px; }
  .live-desk { order: 2; }
  .live-ctl { order: 3; }
  .live-steps { order: 4; }
  .feed { order: 5; min-height: 0; }
  .pro-cta { justify-content: flex-start; }
  .split-rev { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .final-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; line-height: 23px; }
  .top-in { height: 56px; gap: 16px; }
  .top-act { gap: 14px; }
  .sec, .pro.band-forest, .final.band-ink { padding: 72px 0; }
  .display, .final-h { font-size: 44px; line-height: 44px; letter-spacing: -0.04em; }
  .h2 { font-size: 32px; line-height: 36px; letter-spacing: -0.03em; }
  .lead, .hero-text .lead { font-size: 17px; line-height: 26px; }
  .hero-text .display { font-size: 44px; line-height: 44px; }
  .hero { padding-top: 40px; }
  .hero-desk { margin-top: 40px; padding: 20px 16px; height: auto; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .page { text-align: left; }
  .hero-desk .page { aspect-ratio: auto; font-size: 4.2cqi; padding: 8cqi 7cqi 5cqi; }
  .hero-desk .page > :nth-child(n+5) { display: none; }
  .steps, .pro-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .levels-list { grid-template-columns: minmax(0, 1fr); }
  .process li { grid-template-columns: 28px minmax(0, 1fr); }
  .process li p { grid-column: 2; }
  .live-desk { padding: 12px; }
  .live-line { font-size: 18px; line-height: 24px; min-height: 48px; }
  .live-desk .page { padding: 28px 20px; font-size: 13px; line-height: 20px; aspect-ratio: auto; }
  .levels-list > div + div { border-left: 0; border-top: 1px solid var(--line-strong); }
  .live-desk .live-note { right: 0; width: min(240px, 85%); }
  .pro { margin-top: 80px; padding: 48px 0 56px; }
  .juris { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .juris li:has(.juris-sub) { grid-column: span 2; }
  .final { padding-bottom: 72px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .top-sign { font-size: 13px; }
  .top-act .btn-sm { padding: 0 10px; }
  .brand { font-size: 19px; }
}

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

/* Scans: the scan and its translation, side by side */
.scan-body { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; align-items: center; }
.scan-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.scan-shot { display: grid; gap: 10px; align-content: start; }
.scan-shot figcaption { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.scan-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-paper); background: var(--paper); }
.scan-points { display: grid; gap: 28px; }
.scan-points li { border-top: 1px solid var(--ink); padding-top: 16px; display: grid; gap: 6px; align-content: start; }
.scan-points p { color: var(--ink-muted); }

/* The translation audit: a page of one, on the dark band */
.audit-split { align-items: center; }
.audit-points { display: grid; gap: 12px; margin-top: 4px; }
.audit-points li { padding-left: 22px; position: relative; color: var(--on-night-muted); max-width: 34em; }
.audit-points li strong { color: #fff; }
.audit-points li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--marker); }
.audit-act { margin-top: 8px; }
.audit-sheet { container-type: inline-size; }
.audit-page { background: var(--paper); color: var(--paper-ink); border-radius: var(--radius-sm); box-shadow: 0 12px 40px #00000059; padding: 7cqi 7cqi 8cqi; font-size: max(12px, 2.9cqi); line-height: 1.45; }
.audit-page p { max-width: none; }
.audit-title { font-size: max(19px, 5.6cqi); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.audit-sub { color: var(--paper-muted); margin-top: .3em; }
.audit-sum { margin: 1.4em 0 1.6em; display: grid; gap: .55em; }
.audit-sum li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.audit-h { font-weight: 600; margin: 1.2em 0 .4em; }
.audit-rows { width: 100%; border-collapse: collapse; }
.audit-rows td { padding: .5em .8em .5em 0; border-top: 1px solid #e3e3e0; vertical-align: top; }
.audit-rows tr:last-child td { border-bottom: 1px solid #e3e3e0; }
.audit-rows td:first-child { width: 44%; }
.audit-rows td:last-child { width: 18px; padding-right: 0; }
.audit-rows .is-flag td { background: #fff4f2; }
.audit-why { display: block; color: #b42318; font-size: .92em; }
.audit-page .yes { margin-top: 1px; }
.flag { width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: #b42318; position: relative; display: inline-block; }
.flag::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.audit-rows .yes, .audit-rows .flag { display: inline-block; }

@media (max-width: 960px) {
  .scan-body { grid-template-columns: minmax(0, 1fr); }
  .scan-pair { max-width: 720px; }
  .audit-sheet { max-width: 560px; }
}
@media (max-width: 720px) {
  .scan-pair { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* Legal pages (terms.html, privacy.html, refunds.html) */
.legal { max-width: 800px; padding-top: 72px; padding-bottom: 104px; display: grid; gap: 16px; }
.legal h1 { font-size: 48px; line-height: 52px; font-weight: 500; letter-spacing: -0.04em; margin-bottom: 8px; }
.legal h2 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; margin-top: 24px; }
.legal p, .legal li { max-width: 68ch; }
.legal ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
/* a fact the owner has still to give: marked, so a page is never published with one unnoticed */
.owner { background: var(--marker); color: var(--on-marker); padding: 0 .15em; }
@media (max-width: 640px) { .legal { padding-top: 48px; } .legal h1 { font-size: 36px; line-height: 40px; } }

/* Topic pages (contract-translation.html, …, languages.html, glotbee-vs-*.html) */
.topic-hero { padding: 56px 0 8px; }
.topic-hero .wrap { display: grid; gap: 24px; justify-items: start; }
.topic-hero .display { font-size: 72px; line-height: 70px; max-width: 13em; }
.topic-hero .lead { font-size: 20px; line-height: 30px; max-width: 36em; }
.topic-cta { display: grid; gap: 10px; justify-items: start; margin-top: 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.topic-text { display: grid; gap: 16px; align-content: start; }
.topic-text .lead { margin-bottom: 4px; }
.band-ink .topic-text p:not(.lead) { color: var(--on-night-muted); }
.related { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related a { display: grid; gap: 6px; align-content: start; padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius-panel); text-decoration: none; transition: border-color .12s; }
.related a:hover { border-color: var(--ink); }
.related strong { font-size: 17px; line-height: 24px; letter-spacing: -0.01em; }
.related span { color: var(--ink-muted); font-size: 14px; line-height: 20px; }
.lang-region { margin-top: 48px; }
.langs { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; border-top: 1px solid var(--ink); }
.langs li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lang-native { color: var(--ink-muted); margin-left: 6px; }
.lang-word { flex: none; font-size: 12px; line-height: 16px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--desk); color: var(--ink-muted); white-space: nowrap; }
.compare-two { min-width: 560px; }
.compare-two tbody th { width: 30%; }
.compare-two .v { width: 38%; }
.compare-two tbody td { width: 32%; }
@media (max-width: 960px) {
  .topic-hero .display { font-size: 56px; line-height: 56px; }
  .related { grid-template-columns: minmax(0, 1fr); }
  .langs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .topic-hero { padding-top: 32px; }
  .topic-hero .display { font-size: 40px; line-height: 42px; letter-spacing: -0.04em; }
  .topic-hero .lead { font-size: 17px; line-height: 26px; }
  .topic-cta { justify-items: stretch; width: 100%; }
  .topic-cta .btn-lg { width: 100%; justify-content: space-between; }
  .langs { grid-template-columns: minmax(0, 1fr); }
  .lang-region { margin-top: 36px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .foot-cols > div:first-child { grid-column: 1 / -1; }
}

/* Phones: last, so it wins over everything above */
.pair-switch { display: none; }
.top-long { display: contents; } /* part of the button's one line of text; hidden on phones */
@media (max-width: 720px) {
  .top-long { display: none; }
  /* Calmer rhythm: less air between sections */
  .sec, .pro.band-forest, .final.band-ink { padding: 56px 0; }
  .hero + .statement, .statement { margin-top: 56px; }
  .statement { padding: 56px 0 48px; }
  .statement .h2 { font-size: 34px; line-height: 38px; }
  .sec-cta { margin-top: 28px; }

  /* The main actions span the column, label left and arrow right */
  .hero-cta { justify-items: stretch; }
  .hero-cta .btn-lg, .final .btn-lg { width: 100%; justify-content: space-between; }
  .sec-cta .btn, .pro-cta .btn { width: 100%; justify-content: center; height: 48px; }

  /* Original or translation, one at a time */
  .pair-switch { display: inline-flex; justify-self: start; padding: 3px; gap: 2px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
  .pair-switch button { font: inherit; font-size: 14px; font-weight: 500; height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-muted); cursor: pointer; }
  .pair-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
  .scan-pair { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  [data-pair][data-showing="1"] > figure:nth-of-type(2), [data-pair][data-showing="2"] > figure:nth-of-type(1) { display: none; }
  .band-grey .pair-switch { background: var(--surface); }

  .levels-list > div { padding: 16px 18px 18px; }
  .levels-list dt { font-size: 19px; line-height: 24px; }
  /* The steps: smaller numbers */
  .steps { gap: 24px; }
  .steps li { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding-top: 18px; }
  .steps li::before { grid-row: 1 / span 2; width: 36px; height: 36px; font-size: 16px; margin: 0; }
  .steps li > * { grid-column: 2; }

}
@media (max-width: 860px) {
  /* The comparison: one card per feature (the Glotbee answer, then DeepL and Google side by side) instead of a table
     wider than the screen */
  .compare-wrap { overflow: visible; margin-top: 32px; }
  .compare { min-width: 0; display: block; font-size: 14px; line-height: 20px; }
  .compare thead { display: none; }
  .compare tbody { display: grid; gap: 12px; }
  .compare tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-panel); overflow: hidden; background: var(--surface); }
  .compare tbody th, .compare tbody td, .compare tbody td.v { display: block; width: auto; padding: 10px 14px 12px; border-top: 1px solid var(--line); border-bottom: 0; }
  .compare tbody th { grid-column: 1 / -1; padding: 14px 14px 12px; border-top: 0; font-size: 16px; line-height: 22px; }
  .compare tbody td.v { grid-column: 1 / -1; font-size: 15px; line-height: 22px; }
  .compare tbody td:nth-of-type(3) { border-left: 1px solid var(--line); }
  .compare tbody td::before { display: block; margin-bottom: 4px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink-muted); }
  .compare tbody td:nth-of-type(1)::before { content: "Glotbee"; color: var(--ink); font-weight: 600; }
  .compare tbody td:nth-of-type(2)::before { content: "DeepL"; }
  .compare tbody td:nth-of-type(3)::before { content: "Google"; }
  .compare tbody tr .v, .compare tbody tr:last-child .v { border-radius: 0; border-top-color: #e3ebb8; border-bottom: 0; }
  .compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
  .compare .v-cell { gap: 8px; }
  /* The one-competitor tables of the comparison pages: the other answer spans the card */
  .compare-two tbody td:nth-of-type(2) { grid-column: 1 / -1; }
  .compare-two tbody td:nth-of-type(2)::before { content: var(--other); }
}
