/* Poplexis v2: bilingual wayfinding. One grotesque, flat panels, one signal colour. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-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; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-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; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/barlow-500-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; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/barlow-500-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; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-600-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; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-600-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; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-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; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-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; }

:root {
  --ground: #f2f3f1;
  --panel: #ffffff;
  --panel-2: #f7f8f6;
  --line: #d6d9d5;
  --line-strong: #b9bdb7;
  --ink: #10161f;
  --ink-2: #4e5765;
  --ink-3: #5c6471;
  --signal: #ffcf00;
  --signal-press: #f0bf00;
  --board: #0d2340;
  --board-line: rgb(255 255 255 / .14);
  --board-ink: #ffffff;
  --board-ink-2: #b7c3d6;
  /* Gender colours belong to the depicted pop-up only. */
  --g-m: #2c5ff0;
  --g-f: #d42a58;
  --g-n: #0b8248;

  --font: "Barlow", ui-sans-serif, system-ui, sans-serif;
  --ipa: "Charis SIL", "Doulos SIL", "Gentium Plus", "Segoe UI", "DejaVu Sans", sans-serif;
  --max: 1240px;
  --pad: clamp(16px, 4vw, 48px);
  --r: 4px;
  --r-lg: 8px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 2px rgb(16 22 31 / .06), 0 12px 32px -12px rgb(16 22 31 / .18);
  --shadow-pop: 0 2px 4px rgb(16 22 31 / .08), 0 22px 48px -18px rgb(16 22 31 / .32);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 17px/1.55 var(--font); font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); border-radius: 2px; }
html { scrollbar-color: var(--line-strong) var(--ground); }
.num, .tab-num { font-variant-numeric: tabular-nums lining-nums; }
.ipa { font-family: var(--ipa); font-weight: 400; }

/* Language: one at a time. */
html[data-lang="de"] [data-l="fr"],
html[data-lang="fr"] [data-l="de"] { display: none !important; }

.wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: var(--ink); padding: 10px 14px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Pictograms */
.pg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pg-tile { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--ink); color: #fff; flex: none; }
.pg-tile .pg { width: 24px; height: 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent;
  font-weight: 600; font-size: 17px; letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--go { background: var(--signal); color: var(--ink); }
.btn--go:hover { background: var(--signal-press); }
.btn--line { background: var(--panel); border-color: var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn img { width: 20px; height: 20px; }
.btn .pg { width: 18px; height: 18px; }

/* Language switch */
.lang {
  display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; gap: 3px;
  border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--panel);
}
.lang button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px;
  border: 0; border-radius: 2px; background: transparent; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink-2);
}
.lang button b { font-size: 12px; letter-spacing: .06em; padding: 2px 5px; border-radius: 2px; border: 1px solid currentColor; line-height: 1; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang button:not([aria-pressed="true"]):hover { color: var(--ink); background: var(--panel-2); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(242 243 241 / .94); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.01em; text-decoration: none; }
.mark__tile { width: 30px; height: 30px; border-radius: var(--r); background: var(--ink); display: grid; place-items: center; }
.mark__tile svg { width: 18px; height: 18px; }
.nav__links { display: flex; gap: 4px; margin-left: 12px; }
.nav__links a { padding: 8px 10px; border-radius: var(--r); text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); background: rgb(16 22 31 / .05); }
.nav__end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__menu { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--panel); cursor: pointer; place-items: center; }
@media (max-width: 1080px) {
  .nav__links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--pad) 16px; background: var(--ground); border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__menu { display: grid; }
}
@media (max-width: 640px) {
  .nav__end .btn { display: none; }
  .nav__end .lang button span { display: none; }
  .nav__in { gap: 12px; }
}

/* Type */
.h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.06; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.h3 { font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.lede { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.small { font-size: 15px; color: var(--ink-2); }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.link:hover { text-decoration-color: var(--ink); }

/* Sections: a sign bar opens each one. */
.sec { padding-block: clamp(88px, 11vw, 148px) 0; }
.sec__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; padding-top: 20px; border-top: 2px solid var(--ink); margin-bottom: clamp(36px, 4vw, 56px); }
.sec__head .lede { justify-self: start; }
@media (max-width: 860px) { .sec__head { grid-template-columns: minmax(0, 1fr); } }

/* Hero */
.hero { padding-block: clamp(36px, 5vw, 72px) 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero__copy .lede { margin-top: 24px; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }


/* Browser frame with a real page inside */
.browser { position: relative; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.browser__url { flex: 1; max-width: 360px; height: 28px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); font-size: 13px; color: var(--ink-3); overflow: hidden; white-space: nowrap; }
.browser__url .pg { width: 14px; height: 14px; }
.browser__ext { margin-left: auto; width: 28px; height: 28px; border-radius: var(--r); background: var(--ink); display: grid; place-items: center; }
.browser__ext svg { width: 15px; height: 15px; }
.page { position: relative; padding: clamp(22px, 3vw, 40px) clamp(20px, 3.2vw, 48px) clamp(28px, 3vw, 40px); min-height: 380px; font-family: Georgia, "Times New Roman", serif; color: #1d1d1d; }
.page__kicker { font: 600 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #7a1f1f; margin-bottom: 10px; }
.page__title { font: 700 clamp(22px, 2.2vw, 30px)/1.15 Georgia, serif; margin-bottom: 14px; letter-spacing: -.01em; }
.page p { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; }
.page p + p { margin-top: 12px; }
.w { all: unset; cursor: pointer; border-bottom: 1px dashed #b5b9bf; transition: background-color .15s; }
.w:hover { background: rgb(255 207 0 / .25); }
.w:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.w.is-sel { background: rgb(255 207 0 / .55); border-bottom-color: transparent; }
.demo__hint { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; color: var(--ink-3); }
.demo__hint .pg { width: 18px; height: 18px; }

/* The pop-up, drawn as the extension draws it */
.pop {
  position: absolute; z-index: 3; width: min(380px, calc(100% - 16px)); background: #fff; border: 1px solid #d9dce1; border-radius: 10px;
  box-shadow: var(--shadow-pop); padding: 14px 16px; font: 400 14px/1.45 var(--font); color: var(--ink);
}
.pop__of { font-size: 13px; color: var(--ink-2); padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid #eceef1; }
.pop__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.pop__art { font-weight: 700; font-size: 20px; }
.pop__art.el { margin-right: -8px; }
.pop__word { font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.pop__pos { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.pop__ipa { font-family: var(--ipa); font-size: 13px; color: var(--ink-3); }
.pop__save { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--ink-2); border: 1px solid #d9dce1; border-radius: var(--r); padding: 3px 8px; }
.pop__save .pg { width: 13px; height: 13px; }
.pop__gram { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }
.pop__gram b { color: var(--ink); font-weight: 600; }
.pop ol { margin-top: 8px; padding-left: 20px; list-style: decimal; }
.pop li { padding-left: 2px; }
.pop li::marker { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pop__also { display: flex; gap: 8px; align-items: baseline; margin-top: 10px; padding-top: 8px; border-top: 1px solid #eceef1; font-size: 13px; color: var(--ink-2); }
.pop__lt { font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 2px 4px; border-radius: 2px; border: 1px solid currentColor; }
.g-m { color: var(--g-m); } .g-f { color: var(--g-f); } .g-n { color: var(--g-n); }
.pop .g-m, .pop .g-f, .pop .g-n { font-weight: 700; }

/* Anatomy of one entry */
.anat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.anat__sentence { padding: 16px 20px; margin-bottom: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); font: 400 17px/1.6 Georgia, serif; color: #333; }
.anat__sentence mark { background: rgb(255 207 0 / .55); color: inherit; padding: 0 2px; }
.anat__sentence small { display: block; font: 500 13px/1 var(--font); color: var(--ink-3); margin-bottom: 8px; }
.entry { position: relative; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: var(--shadow); padding: 22px 26px 24px; font-size: 16px; }
.entry .pop__word, .entry .pop__art { font-size: 28px; }
.entry .pop__of { font-size: 14px; }
.entry .pop__gram { font-size: 15px; }
.entry__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.badge { font-size: 12.5px; font-weight: 600; padding: 3px 8px; border-radius: var(--r); background: var(--panel-2); border: 1px solid var(--line); color: var(--ink-2); }
.senses { margin-top: 16px; counter-reset: s; }
.senses > li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid #eceef1; counter-increment: s; }
.senses > li::before { content: counter(s); position: absolute; left: 0; top: 10px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.senses .tag { font-size: 12px; color: var(--ink-3); font-style: italic; margin-right: 6px; }
.ex { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.ex i { color: var(--ink); }
.conj { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r); }
.conj__tabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.conj__tabs span { font-size: 12.5px; font-weight: 600; padding: 4px 8px; border-radius: 2px; color: var(--ink-2); }
.conj__tabs span.on { background: var(--ink); color: #fff; }
.conj table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.conj td { padding: 6px 12px; border-top: 1px solid #eceef1; }
.conj tr:first-child td { border-top: 0; }
.conj td:first-child { color: var(--ink-3); width: 34%; }
.ety { margin-top: 14px; padding-top: 12px; border-top: 1px solid #eceef1; font-size: 14.5px; color: var(--ink-2); }
.ety b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.mk { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 3px; background: var(--signal); color: var(--ink); font: 700 13px/1 var(--font); font-variant-numeric: tabular-nums; }
.entry .mk { position: absolute; left: -11px; }
.legend { counter-reset: lg; }
.legend li { display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.legend li:last-child { border-bottom: 1px solid var(--line); }
.legend .mk { grid-row: span 2; margin-top: 2px; }
.legend h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.legend p { font-size: 16px; color: var(--ink-2); }
.anat__note { display: flex; gap: 12px; margin-top: 24px; font-size: 16px; color: var(--ink-2); }
@media (max-width: 980px) { .anat { grid-template-columns: minmax(0, 1fr); } .entry { padding: 18px 18px 20px 24px; } }

/* Grammar index: a signage table */
.idx { background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; }
.idx__cols, .idx__row { display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 4.4fr) minmax(0, 4.4fr); }
.idx__cols { background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.idx__cols div { padding: 12px 22px; }
.idx__row { border-top: 1px solid var(--line); }
.idx__row > div { padding: 24px 22px; }
.idx__row > div + div { border-left: 1px solid var(--line); }
.idx__name { display: flex; gap: 14px; align-items: flex-start; }
.idx__name h3 { font-size: 19px; }
.idx__name p { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.idx__page { font: 400 17px/1.65 Georgia, serif; color: #222; }
.idx__page .hl { background: rgb(255 207 0 / .5); padding: 0 2px; }
.idx__shows { font-size: 16px; }
.idx__shows .hw { font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.idx__shows .meta { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; }
.idx__shows .meta b { color: var(--ink); font-weight: 600; }
.idx__shows .gl { margin-top: 6px; }
.lbl { display: none; font-size: 12px; font-weight: 600; letter-spacing: .03em; color: var(--ink-3); margin-bottom: 6px; }
/* Leader line: joins split words (ruft … an) to their label. */
.lead { position: relative; display: inline-block; padding-bottom: 30px; }
.lead svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 30px; overflow: visible; }
.lead path { fill: none; stroke: var(--ink); stroke-width: 1.25; }
.lead__tag { position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font: 600 12px/1 var(--font); padding: 4px 7px; border-radius: 2px; white-space: nowrap; }
.parts { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; font-family: var(--font); font-size: 16px; }
.parts span { border: 1px solid var(--line-strong); border-radius: var(--r); padding: 2px 8px; background: var(--panel-2); }
.parts i { font-style: normal; color: var(--ink-3); }
.typed { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font); font-size: 16px; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 6px 12px; background: #fff; }
.typed .pg { width: 16px; height: 16px; color: var(--ink-3); }
.typed .caret { width: 1.5px; height: 18px; background: var(--ink); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .typed .caret { animation: none; } }
@media (max-width: 900px) {
  .idx__cols { display: none; }
  .idx__row { grid-template-columns: minmax(0, 1fr); }
  .idx__row > div + div { border-left: 0; border-top: 1px dashed var(--line); }
  .idx__row > div { padding: 18px; }
  .lbl { display: block; }
}

/* Board: the dark chapters */
.board { background: var(--board); color: var(--board-ink); }
.board .sec__head { border-top-color: #fff; }
.board .lede, .board .small { color: var(--board-ink-2); }
.board .link { text-decoration-color: rgb(255 255 255 / .4); }
.detect { padding-block: clamp(64px, 8vw, 104px); margin-top: clamp(88px, 11vw, 148px); }
.detect__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.rows { border-top: 1px solid var(--board-line); }
.rows li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--board-line); }
.rows .code { font-weight: 700; font-size: 14px; letter-spacing: .06em; padding: 5px 0; text-align: center; border: 1.5px solid #fff; border-radius: 3px; }
.rows .code.dim { border-color: var(--board-ink-2); color: var(--board-ink-2); }
.rows .txt { font: 400 18px/1.4 Georgia, serif; }
.rows .txt b { font-weight: 400; background: rgb(255 207 0 / .9); color: var(--ink); padding: 0 3px; }
.rows .res { font-size: 15px; color: var(--board-ink-2); text-align: right; }
.rows .res b { color: #fff; font-weight: 600; }
@media (max-width: 860px) { .detect__grid { grid-template-columns: minmax(0, 1fr); } .rows li { grid-template-columns: 46px 1fr; } .rows .res { grid-column: 2; text-align: left; } }

/* Collections */
.coll { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points h3 { font-size: 18px; }
.points p { font-size: 16px; color: var(--ink-2); margin-top: 2px; }
.app { display: grid; grid-template-columns: 210px minmax(0, 1fr); background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; min-height: 440px; }
.app__side { border-right: 1px solid var(--line); background: var(--panel-2); padding: 18px 12px; }
.app__side h4 { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); padding: 0 10px 10px; }
.app__side li { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: var(--r); font-size: 15px; font-weight: 500; color: var(--ink-2); }
.app__side li.on { background: var(--ink); color: #fff; }
.app__side li span:last-child { font-variant-numeric: tabular-nums; }
.app__main { padding: 22px 24px; }
.app__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.app__title h4 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.app__title span { font-size: 14px; color: var(--ink-3); }
.card { padding: 16px 0; border-bottom: 1px solid var(--line); }
.card__w { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card__w b { font-size: 19px; }
.card__w .gl { color: var(--ink-2); font-size: 15px; }
.card__s { margin-top: 6px; font: 400 16px/1.55 Georgia, serif; color: #333; }
.card__s mark { background: rgb(255 207 0 / .5); color: inherit; padding: 0 2px; }
.card__src { margin-top: 6px; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.card__src .pg { width: 14px; height: 14px; }
@media (max-width: 980px) { .coll { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .app { grid-template-columns: minmax(0, 1fr); } .app__side { border-right: 0; border-bottom: 1px solid var(--line); } .app__side ul { display: flex; gap: 4px; overflow-x: auto; } .app__side li { white-space: nowrap; gap: 8px; } }

/* Where it runs */
.where { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
.where__panel { background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: 28px; }
.where__panel h3 { display: flex; align-items: center; gap: 12px; }
.where__panel > p { margin-top: 10px; color: var(--ink-2); font-size: 16px; max-width: 34em; }
.browsers { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 24px; border-top: 1px solid var(--line); }
.browsers li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 6px 4px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.browsers li + li { border-left: 1px solid var(--line); }
.browsers img { width: 36px; height: 36px; object-fit: contain; }
.browsers img.wide { width: 64px; }
.soon { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 3px 7px; border-radius: 3px; background: var(--ink); color: #fff; margin-left: auto; }
.phone { margin-top: 20px; display: grid; gap: 10px; }
.phone .typed { width: 100%; }
@media (max-width: 860px) { .where { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .browsers { grid-template-columns: repeat(3, 1fr); } .browsers li:nth-child(4) { border-left: 0; } .where__panel { padding: 20px; } }

/* Pricing: a two-column fare table */
.fares { display: grid; grid-template-columns: 1fr 1fr; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; }
.fare { padding: 32px; display: flex; flex-direction: column; }
.fare + .fare { border-left: 1px solid var(--line); background: var(--panel-2); }
.fare__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.fare__top h3 { font-size: 26px; letter-spacing: -.015em; }
.fare__price { font-size: 15px; color: var(--ink-2); }
.fare__price b { font-size: 26px; color: var(--ink); font-weight: 600; margin-right: 4px; }
.fare ul { margin-top: 6px; flex: 1; }
.fare li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.fare li .pg { width: 18px; height: 18px; margin-top: 3px; }
.fare .btn { margin-top: 24px; align-self: flex-start; }
.fare__note { margin-top: 24px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 820px) { .fares { grid-template-columns: minmax(0, 1fr); } .fare + .fare { border-left: 0; border-top: 1px solid var(--line); } .fare { padding: 22px; } }

/* Privacy board */
.priv { padding-block: clamp(80px, 10vw, 132px); margin-top: clamp(88px, 11vw, 148px); }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--board-line); border-radius: var(--r-lg); }
.flow > div { padding: 26px; }
.flow > div + div { border-left: 1px solid var(--board-line); }
.flow h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; padding-bottom: 14px; border-bottom: 1px solid var(--board-line); margin-bottom: 14px; }
.flow h3 .pg { color: var(--board-ink); }
.flow dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15.5px; }
.flow dt { color: var(--board-ink-2); }
.flow dd { font-weight: 600; text-align: right; }
.flow .no dd { color: var(--board-ink-2); font-weight: 500; }
.flow .sent { font: 400 17px/1.6 Georgia, serif; color: #fff; }
.flow .sent mark { background: var(--signal); color: var(--ink); padding: 0 3px; }
.facts4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--board-line); }
.facts4 div { padding: 22px 22px 0 0; }
.facts4 div + div { padding-left: 22px; border-left: 1px solid var(--board-line); }
.facts4 h3 { font-size: 17px; }
.facts4 p { font-size: 15px; color: var(--board-ink-2); margin-top: 6px; }
@media (max-width: 900px) { .flow { grid-template-columns: minmax(0, 1fr); } .flow > div + div { border-left: 0; border-top: 1px solid var(--board-line); } .facts4 { grid-template-columns: 1fr 1fr; } .facts4 div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .facts4 { grid-template-columns: 1fr; } .facts4 div + div { border-left: 0; padding-left: 0; } }

/* FAQ */
.qa { border-top: 1px solid var(--line-strong); }
.qa details { border-bottom: 1px solid var(--line-strong); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pg { transition: transform .25s var(--ease); }
.qa details[open] summary .pg { transform: rotate(45deg); }
.qa p { padding: 0 0 22px; max-width: 46em; color: var(--ink-2); }
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* Close */
.close { margin-top: clamp(88px, 11vw, 148px); padding-block: clamp(72px, 9vw, 120px) 40px; }
.close__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; padding-bottom: 64px; border-bottom: 1px solid var(--board-line); }
.close .h2 { font-size: clamp(36px, 4.4vw, 60px); }
.close__acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.close .btn--line { background: transparent; color: #fff; border-color: rgb(255 255 255 / .4); }
.close .btn--line:hover { border-color: #fff; }
.foot { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 32px; padding-top: 28px; align-items: start; font-size: 14px; color: var(--board-ink-2); }
.foot .mark { color: #fff; font-size: 18px; }
.foot .mark__tile { background: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: #fff; }
.foot__credit { grid-column: 1 / -1; font-size: 13px; }
@media (max-width: 860px) { .close__in { grid-template-columns: minmax(0, 1fr); } .close__acts { justify-content: flex-start; } .foot { grid-template-columns: minmax(0, 1fr); } }

/* The flip: language panels turn like a departures board. */
[data-flip] { transform-origin: 50% 50%; backface-visibility: hidden; }

/* Numbered pins on the anatomy entry, aligned to the panel's left edge. */
.entry { --ep: 26px; padding-left: var(--ep); }
.entry .pop__of, .entry .pop__head, .entry .pop__gram, .entry .ex, .entry .conj, .entry .ety { position: relative; }
.entry .pin { position: absolute; left: calc(-1 * var(--ep) - 11px); top: 0; }
.entry .pop__head .pin { top: 6px; }
.entry .senses .pin { top: 9px; }
.entry .senses .pin--ex { top: 0; left: calc(-1 * var(--ep) - 41px); }
.entry .conj .pin { top: 6px; left: calc(-1 * var(--ep) - 12px); }
.entry .ety .pin { top: 11px; }
@media (max-width: 980px) { .entry { --ep: 24px; } }

/* The legend stays beside the entry while it scrolls. */
@media (min-width: 981px) { .anat > div:last-child { position: sticky; top: 96px; } }

.hero__line { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink-2); }
@media (max-width: 640px) {
  .hero { padding-top: 24px; }
  .hero .lede { margin-top: 16px; font-size: 17px; }
  .hero__acts { margin-top: 22px; flex-wrap: nowrap; gap: 8px; }
  .hero__acts .btn { flex: 1 1 auto; padding: 0 12px; font-size: 16px; }
  .hero__acts .btn img { display: none; }
  .hero__grid { gap: 28px; }
}
