/* Dexlera public site (CUSTOMER_SCREEN.md, D4). Styles from the approved prototype
   design/customer-screen-prototype.html; fonts are self-hosted (SIL OFL, see fonts/). */
/* Self-hosted fonts (SIL OFL 1.1; licenses next to the files). Generated from @fontsource 5.3.0 CSS. */
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/site/fonts/schibsted-grotesk-latin-ext-500-normal.woff2)
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/site/fonts/schibsted-grotesk-latin-500-normal.woff2)
    format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/site/fonts/schibsted-grotesk-latin-ext-600-normal.woff2)
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/site/fonts/schibsted-grotesk-latin-600-normal.woff2)
    format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/site/fonts/schibsted-grotesk-latin-ext-700-normal.woff2)
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/site/fonts/schibsted-grotesk-latin-700-normal.woff2)
    format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(/assets/site/fonts/schibsted-grotesk-latin-ext-800-normal.woff2)
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(/assets/site/fonts/schibsted-grotesk-latin-800-normal.woff2)
    format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/site/fonts/source-sans-3-cyrillic-400-normal.woff2)
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/site/fonts/source-sans-3-latin-ext-400-normal.woff2)
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/site/fonts/source-sans-3-latin-400-normal.woff2)
    format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/site/fonts/source-sans-3-cyrillic-500-normal.woff2)
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/site/fonts/source-sans-3-latin-ext-500-normal.woff2)
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/site/fonts/source-sans-3-latin-500-normal.woff2)
    format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/site/fonts/source-sans-3-cyrillic-600-normal.woff2)
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/site/fonts/source-sans-3-latin-ext-600-normal.woff2)
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/site/fonts/source-sans-3-latin-600-normal.woff2)
    format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/site/fonts/jetbrains-mono-cyrillic-400-normal.woff2)
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/site/fonts/jetbrains-mono-latin-ext-400-normal.woff2)
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/site/fonts/jetbrains-mono-latin-400-normal.woff2)
    format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/site/fonts/jetbrains-mono-cyrillic-500-normal.woff2)
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/site/fonts/jetbrains-mono-latin-500-normal.woff2)
    format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans Arabic";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/site/fonts/noto-sans-arabic-arabic-400-normal.woff2)
    format("woff2");
  unicode-range:
    U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1,
    U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF,
    U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4,
    U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24,
    U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47,
    U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59,
    U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A,
    U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89,
    U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Noto Sans Arabic";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/site/fonts/noto-sans-arabic-arabic-600-normal.woff2)
    format("woff2");
  unicode-range:
    U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1,
    U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF,
    U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4,
    U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24,
    U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47,
    U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59,
    U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A,
    U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89,
    U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

/* Layout: a multilingual measurement instrument. Light, airy site; one live specimen asks the same question
 in five languages. Panel = left rail + summary-first grid; language is a first-class filter everywhere.
 Accent blue is always "you" (the measured brand). */
:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --line: #dde4ee;
  --ink: #0f1a2b;
  --ink-2: #465264;
  --ink-3: #6b7686;
  --accent: #2a78d6;
  --accent-soft: #e4eefb;
  --accent-ink: #1b5aa6;
  --accent-2: #0f3f7a;
  --rival-1: #eb6834;
  --rival-2: #1baf7a;
  --other: #a7b0bd;
  --chatgpt: #4a3aa7;
  --gemini: #1baf7a;
  --good: #14804a;
  --good-soft: #e2f4ea;
  --warn: #9a5c00;
  --warn-soft: #fbefd9;
  --bad: #c23a3a;
  --bad-soft: #fbe5e5;
  --glow-1: rgba(42, 120, 214, 0.16);
  --glow-2: rgba(27, 175, 122, 0.1);
  --gridline: rgba(15, 26, 43, 0.05);
  --display:
    "Schibsted Grotesk", "Source Sans 3", ui-sans-serif, system-ui, "Segoe UI",
    sans-serif;
  --body: "Source Sans 3", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --arabic: "Noto Sans Arabic", "Segoe UI", "Geeza Pro", sans-serif;
  --r: 10px;
}

:root[data-theme="dark"] {
  --bg: #0c1320;
  --surface: #131d2d;
  --surface-2: #1a2638;
  --line: #26354b;
  --ink: #eef2f8;
  --ink-2: #b4bfcf;
  --ink-3: #8e9bb0;
  --accent: #3987e5;
  --accent-soft: #16304f;
  --accent-ink: #8cbcf5;
  --accent-2: #8cbcf5;
  --rival-1: #d95926;
  --rival-2: #199e70;
  --other: #5d6a7e;
  --chatgpt: #9085e9;
  --gemini: #199e70;
  --good: #4cc488;
  --good-soft: #123425;
  --warn: #e3a43a;
  --warn-soft: #3a2a10;
  --bad: #ef7d7d;
  --bad-soft: #3d1a1a;
  --glow-1: rgba(57, 135, 229, 0.18);
  --glow-2: rgba(25, 158, 112, 0.1);
  --gridline: rgba(238, 242, 248, 0.05);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.num {
  font-variant-numeric: tabular-nums;
}
[lang="ar"] {
  font-family: var(--arabic);
}

.proto {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.proto .tabs {
  display: flex;
  gap: 4px;
  background: var(--surface-2);
  padding: 3px;
  border-radius: 8px;
}
.proto .tabs button {
  border: 0;
  background: transparent;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--ink-2);
}
.proto .tabs button[aria-selected="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 26, 43, 0.12);
}
.proto .note {
  color: var(--ink-3);
}
.badge-sample {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--warn);
  background: var(--warn-soft);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ===== WEBSITE ===== */
.site {
  --gut: max(16px, 4vw);
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--gut);
}
.nav {
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo i {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: conic-gradient(
    from 210deg,
    var(--accent),
    #6fb0ff,
    var(--rival-2),
    var(--accent)
  );
}
.nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  color: var(--ink-2);
  flex-wrap: wrap;
}
.langsw {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 7px;
}
.logo,
.nav ul a,
.langsw a,
.foot a,
.foot-grid nav a {
  color: inherit;
  text-decoration: none;
}
.nav ul a:hover,
.langsw a:hover,
.foot a:hover {
  color: var(--ink);
}
.langsw a[aria-current="true"] {
  color: var(--ink);
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(42, 120, 214, 0.18);
}
.btn.primary {
  background: var(--accent);
  color: #fff;
}
.btn.line {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 56px 40px;
}
.hero .bgfx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 380px at 85% 10%, var(--glow-1), transparent 70%),
    radial-gradient(520px 320px at 10% 90%, var(--glow-2), transparent 70%),
    linear-gradient(var(--gridline) 1px, transparent 1px) 0 0/44px 44px,
    linear-gradient(90deg, var(--gridline) 1px, transparent 1px) 0 0/44px 44px;
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  to {
    background-position:
      0 0,
      0 0,
      0 44px,
      44px 0;
  }
}
.hero .grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 52px;
  align-items: center;
  position: relative;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  margin-top: 14px;
  letter-spacing: -0.025em;
}
/* Only the shown word takes up room, so no gap is left after a short word. */
.hero h1 .rot {
  display: inline-block;
  position: relative;
  color: var(--accent);
  white-space: nowrap;
}
.hero h1 .rot span {
  display: inline-block;
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.hero h1 .rot span[aria-hidden="true"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(0.25em);
}
.hero .lead {
  margin-top: 18px;
  font-size: 19px;
  color: var(--ink-2);
  max-width: 34em;
}
.hero .ctas {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.langrow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.langrow > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 600;
}
.langrow small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 400;
}

.specimen {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow:
    0 24px 60px rgba(15, 26, 43, 0.1),
    0 2px 6px rgba(15, 26, 43, 0.05);
  overflow: hidden;
  min-width: 0;
}
.spec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.seg {
  display: flex;
  gap: 3px;
  background: var(--surface-2);
  padding: 3px;
  border-radius: 8px;
  flex-wrap: wrap;
}
.seg button {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}
.seg button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 26, 43, 0.12);
}
.spec-body {
  padding: 18px 18px 6px;
  min-height: 214px;
}
.spec-body .row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
}
.spec-body .who {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  padding-top: 4px;
}
.spec-body .qtext {
  font-weight: 600;
  font-size: 16px;
}
.spec-body ol {
  margin: 12px 0 0;
  padding-inline-start: 20px;
  color: var(--ink-2);
  display: grid;
  gap: 7px;
  font-size: 15px;
}
.spec-body .fade {
  transition: opacity 0.3s;
}
.spec-body .fade.out {
  opacity: 0.15;
}
.name {
  color: var(--ink);
  font-weight: 600;
  border-radius: 4px;
  padding: 0 3px;
}
.name.you {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.name.rival {
  background: color-mix(in oklab, var(--rival-1) 16%, transparent);
}
.verdict {
  margin: 12px 0 0 62px;
  font-size: 13.5px;
  font-weight: 600;
}
.langbars {
  border-top: 1px solid var(--line);
  padding: 14px 18px 16px;
  display: grid;
  gap: 8px;
}
.langbars .lb {
  display: grid;
  grid-template-columns: 86px 1fr 64px;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
  border-radius: 6px;
  padding: 2px 4px;
  margin: 0 -4px;
  transition: background 0.3s;
}
.langbars .lb.cur {
  background: var(--surface-2);
}
.langbars .track {
  height: 10px;
  border-radius: 5px;
  background: var(--surface-2);
  overflow: hidden;
  position: relative;
}
.langbars .track i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 5px;
  background: var(--accent);
}
.langbars .track i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transform: translateX(-100%);
  animation: sheen 3.2s ease-in-out infinite;
}
@keyframes sheen {
  60%,
  100% {
    transform: translateX(100%);
  }
}
.langbars .pct {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.langbars .cap {
  font-size: 12px;
  color: var(--ink-3);
}

.ticker {
  margin-top: 44px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.ticker .track {
  display: flex;
  gap: 36px;
  padding-block: 14px;
  width: max-content;
  animation: tick 70s linear infinite;
  color: var(--ink-2);
  font-size: 15px;
}
.ticker .track > span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}
.ticker .track b {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 500;
}
@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

.sec {
  padding-block: 96px;
}
.sec h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  max-width: 21em;
}
.sec .sub {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 18px;
  max-width: 42em;
}
.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.why-lang {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.why-lang .points {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}
.why-lang .points > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}
.why-lang .points b {
  display: block;
  font-family: var(--display);
  font-size: 17px;
}
.why-lang .points p {
  color: var(--ink-2);
  font-size: 15.5px;
}
.dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 13px;
}

.sectors {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.sector {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  min-width: 0;
}
.sector:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 26, 43, 0.08);
}
.sector h3 {
  font-size: 17px;
}
.sector p {
  color: var(--ink-2);
  font-size: 14.5px;
  margin-top: 6px;
}
.sector .langs {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent-ink);
  margin-top: 10px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  top: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--line));
}
.steps .pulse {
  position: absolute;
  top: 17px;
  left: 3%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
  animation: travel 7s ease-in-out infinite;
}
@keyframes travel {
  0% {
    left: 3%;
  }
  100% {
    left: 96%;
  }
}
.step {
  position: relative;
  padding-top: 56px;
  min-width: 0;
}
.step .n {
  position: absolute;
  top: 6px;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-ink);
}
.step h3 {
  font-size: 20px;
}
.step p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15.5px;
}

.proof {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 44px;
  align-items: start;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  min-width: 0;
  box-shadow: 0 10px 30px rgba(15, 26, 43, 0.05);
}
.feat {
  display: grid;
  gap: 8px;
}
.feat .item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: var(--r);
  transition: background 0.25s;
}
.feat .item:hover {
  background: var(--surface);
}
.feat .ic {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
}
.feat .ic svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-ink);
  fill: none;
  stroke-width: 2;
}
.feat h3 {
  font-size: 18px;
}
.feat p {
  color: var(--ink-2);
  font-size: 15.5px;
  margin-top: 4px;
}

.cols3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.cols3 h3 {
  font-size: 19px;
}
.cols3 p {
  margin-top: 8px;
  color: var(--ink-2);
}
.cols3 .k {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.plan.pro {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent),
    0 18px 40px rgba(42, 120, 214, 0.12);
}
.plan .p {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 800;
}
.plan .p small {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
}
.plan ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-2);
  display: grid;
  gap: 6px;
  font-size: 15px;
}
.plan .hl {
  color: var(--ink);
  font-weight: 600;
}
/* The highlighted first item keeps its bullet inside the strip. */
.plan li.hl {
  list-style-position: inside;
  margin-inline-start: -18px;
  padding: 2px 8px 2px 6px;
}
.plan .btn {
  justify-content: center;
  margin-top: auto;
}
.plans.four {
  grid-template-columns: repeat(4, 1fr);
}
.plan > form {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}
.plan-badge {
  display: inline-block;
  vertical-align: middle;
  margin-inline-start: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
}
.small {
  font-size: 13px;
  color: var(--ink-3);
}
.final {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 56px clamp(20px, 5vw, 64px);
  background: linear-gradient(135deg, #0f3f7a, #2a78d6);
  color: #fff;
  margin-block: 24px 72px;
}
.final h2 {
  color: #fff;
  max-width: 22em;
  font-size: clamp(26px, 3vw, 38px);
}
.final p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 12px;
  max-width: 40em;
}
.final .btn {
  background: #fff;
  color: #0f3f7a;
  margin-top: 24px;
}
.final .langs-float {
  position: absolute;
  right: 24px;
  top: 0;
  bottom: 0;
  display: grid;
  align-content: center;
  gap: 2px;
  opacity: 0.16;
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  color: #fff;
  pointer-events: none;
  text-align: right;
  animation: floaty 9s ease-in-out infinite alternate;
}
@keyframes floaty {
  to {
    transform: translateY(-14px);
  }
}
.foot {
  padding-block: 28px;
  color: var(--ink-3);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}

.reveal {
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.pending {
  transform: translateY(24px);
}

/* ---- motion layer ---- */
.progress {
  /* The header scrolls away, so the line sits on the top edge. */
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  height: 3px;
  background: transparent;
}
.progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--rival-2));
}
#net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.langrow > span {
  animation: bob 5s ease-in-out infinite;
}
.langrow > span:nth-child(2) {
  animation-delay: -1s;
}
.langrow > span:nth-child(3) {
  animation-delay: -2s;
}
.langrow > span:nth-child(4) {
  animation-delay: -3s;
}
.langrow > span:nth-child(5) {
  animation-delay: -4s;
}
@keyframes bob {
  50% {
    transform: translateY(-4px);
  }
}
.specimen {
  transition:
    transform 0.25s ease-out,
    box-shadow 0.25s;
  transform-style: preserve-3d;
  will-change: transform;
}
.caret::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  margin-inline-start: 2px;
  vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.name.flash {
  animation: flash 1.2s ease;
}
@keyframes flash {
  0% {
    box-shadow: 0 0 0 0 var(--accent-soft);
  }
  30% {
    box-shadow: 0 0 0 6px var(--accent-soft);
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}
.langbars .lb.cur .track i {
  animation: pulsebar 1.4s ease;
}
@keyframes pulsebar {
  0% {
    transform: scaleX(0.4);
  }
  100% {
    transform: scaleX(1);
  }
}
.langbars .track i {
  transform-origin: 0 50%;
}
.stagger > * {
  transition:
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.25s;
}
.stagger.pending > * {
  transform: translateY(26px);
}
.stagger > *:nth-child(2) {
  transition-delay: 0.08s;
}
.stagger > *:nth-child(3) {
  transition-delay: 0.16s;
}
.stagger > *:nth-child(4) {
  transition-delay: 0.24s;
}
.stagger > *:nth-child(5) {
  transition-delay: 0.32s;
}
.steps .fill {
  position: absolute;
  left: 3%;
  top: 22px;
  height: 2px;
  width: 93%;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 1));
  background: var(--accent);
  z-index: 0;
}
.steps::before {
  background: var(--line);
}
.step .n {
  z-index: 1;
  transition:
    background 0.4s,
    color 0.4s;
}
.step.on .n {
  background: var(--accent);
  color: #fff;
}
.draw path.ln {
  transition: stroke-dashoffset 1.6s cubic-bezier(0.3, 0.6, 0.2, 1);
}
.plan.pro {
  position: relative;
  isolation: isolate;
}
.plan.pro::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  padding: 1px;
  background: conic-gradient(
    from var(--ang, 0deg),
    var(--accent),
    var(--rival-2),
    var(--accent)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  animation: spin 6s linear infinite;
}
@property --ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes spin {
  to {
    --ang: 360deg;
  }
}
.sector,
.plan,
.card {
  will-change: transform;
}
.tilt {
  transition: transform 0.2s ease-out;
}
.count {
  font-variant-numeric: tabular-nums;
}

/* ===== PANEL ===== */
.panel {
  display: grid;
  grid-template-columns: 236px 1fr;
  min-height: calc(100vh - 50px);
}
.rail {
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rail .logo {
  font-size: 19px;
  padding-inline: 8px;
}
.proj {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}
.proj b {
  display: block;
  font-size: 14px;
}
.proj span {
  color: var(--ink-3);
}
.navl {
  display: grid;
  gap: 2px;
}
.navl button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--ink-2);
  font-weight: 500;
}
.navl button svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  flex: none;
}
.navl button[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
}
.navl button:hover {
  background: var(--surface-2);
}
.plan-chip {
  margin-top: auto;
  font-size: 12.5px;
  color: var(--ink-3);
  padding: 10px;
  border-top: 1px solid var(--line);
}
.main {
  padding: 22px clamp(16px, 3vw, 36px) 48px;
  min-width: 0;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar h1 {
  font-size: 26px;
  font-weight: 700;
}
.topbar p {
  color: var(--ink-3);
  font-size: 14px;
  margin-top: 4px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.langbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.langbar .lbl {
  font-size: 13px;
  color: var(--ink-3);
  margin-right: 4px;
}
.lchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 5px 12px 5px 10px;
  font-size: 13.5px;
  font-weight: 600;
}
.lchip[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.lchip .m {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
}
.lchip[aria-pressed="true"] .m {
  color: var(--accent-ink);
}
.lchip.off {
  opacity: 0.6;
  border-style: dashed;
  cursor: default;
}
.statusline {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 17px;
}
.statusline b {
  color: var(--accent-ink);
}
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.kpi .l {
  font-size: 13px;
  color: var(--ink-3);
}
.kpi .v {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.kpi .d {
  font-size: 12.5px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.up {
  color: var(--good);
}
.down {
  color: var(--bad);
}
.flat {
  color: var(--ink-3);
}
.kpi svg {
  width: 100%;
  height: 34px;
}
.row2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.row-eq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 18px;
  min-width: 0;
}
.box h2 {
  font-size: 16px;
  font-weight: 700;
}
.box .hint {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}
.box-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-2);
}
.legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 5px;
  vertical-align: -1px;
}
.legend .mk {
  width: 2px;
  height: 12px;
  border-radius: 0;
  background: var(--ink-3);
}
.chart {
  position: relative;
}
.chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.chart text {
  fill: var(--ink-3);
  font-family: var(--body);
  font-size: 11px;
}
.tip {
  position: absolute;
  pointer-events: none;
  background: var(--ink);
  color: var(--bg);
  font-size: 12.5px;
  padding: 8px 10px;
  border-radius: 7px;
  white-space: nowrap;
  transform: translate(-50%, -110%);
  opacity: 0;
  transition: opacity 0.12s;
  z-index: 5;
}
.tip.on {
  opacity: 1;
}
.tip b {
  font-family: var(--display);
}
.multi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.mini {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  min-width: 0;
}
.mini .t {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
}
.mini .t b {
  font-size: 14px;
}
.mini .t span {
  font-family: var(--display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mini svg {
  width: 100%;
  height: 40px;
  margin-top: 6px;
}
.mini .d {
  font-size: 12px;
  margin-top: 2px;
}
.feed {
  display: grid;
  gap: 12px;
  margin: 6px 0 0;
  padding: 0;
}
.feed li {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  font-size: 14.5px;
  align-items: start;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill.good {
  background: var(--good-soft);
  color: var(--good);
}
.pill.warn {
  background: var(--warn-soft);
  color: var(--warn);
}
.pill.bad {
  background: var(--bad-soft);
  color: var(--bad);
}
.pill.info {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.pill.mute {
  background: var(--surface-2);
  color: var(--ink-2);
}
.next {
  border-left: 3px solid var(--accent);
}
.next h3 {
  font-size: 17px;
  margin-top: 6px;
}
.next p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.quote {
  font-size: 14.5px;
  padding: 10px 12px;
  background: var(--surface-2);
  border-radius: 8px;
  margin-top: 10px;
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.tbl th {
  text-align: left;
  font-weight: 600;
  color: var(--ink-3);
  font-size: 12.5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.tbl td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.tbl tr:last-child td {
  border-bottom: 0;
}
.scroll {
  overflow-x: auto;
}
.bar {
  height: 8px;
  border-radius: 4px;
  background: var(--surface-2);
  overflow: hidden;
}
.bar > i {
  display: block;
  height: 100%;
  border-radius: 4px;
}
.heat .cell {
  border-radius: 6px;
  padding: 9px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.heat .hd {
  font-size: 12px;
  color: var(--ink-3);
  padding: 4px 2px;
  font-weight: 600;
}
.answers {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.ans {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 18px;
}
.ans .top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.ans .qq {
  font-weight: 600;
  font-size: 15.5px;
}
.ans .meta {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 2px;
}
.ans .ex {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.hl {
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
  padding: 0 3px;
  border-radius: 3px;
}
.hr {
  background: color-mix(in oklab, var(--rival-1) 16%, transparent);
  color: var(--ink);
  font-weight: 600;
  padding: 0 3px;
  border-radius: 3px;
}
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.chips span {
  font-size: 12px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
}
.kan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.col h2 {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.col .cards {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.act {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
  display: grid;
  gap: 8px;
}
.act h3 {
  font-size: 15.5px;
  font-weight: 700;
}
.act .why {
  font-size: 13.5px;
  color: var(--ink-2);
}
.act .why b {
  color: var(--ink);
}
.act .btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.act .btns button {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
}
.act .btns button.pri {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.prog {
  display: flex;
  gap: 4px;
}
.prog i {
  height: 5px;
  flex: 1;
  border-radius: 3px;
  background: var(--surface-2);
}
.prog i.on {
  background: var(--accent);
}
.reports {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.rep {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
  flex-wrap: wrap;
}
.view[hidden] {
  display: none !important;
}

/* ---- shell and inner pages (D4b) ---- */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
}
.skip:focus {
  top: 12px;
}
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.nav ul a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--accent);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.site-foot {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-block: 40px 8px;
}
.foot-grid .logo {
  margin-bottom: 10px;
}
.foot-grid .small {
  max-width: 30em;
  margin-top: 6px;
}
.foot-grid nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: var(--ink-2);
}
.foot-grid nav b {
  color: var(--ink);
  font-family: var(--display);
  margin-bottom: 4px;
}
.site-foot .foot {
  border-top: 0;
}
.foot-grid nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 72px 56px;
  border-bottom: 1px solid var(--line);
}
.page-hero .bgfx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 340px at 88% 0%, var(--glow-1), transparent 70%),
    radial-gradient(480px 300px at 0% 100%, var(--glow-2), transparent 70%),
    linear-gradient(var(--gridline) 1px, transparent 1px) 0 0/44px 44px,
    linear-gradient(90deg, var(--gridline) 1px, transparent 1px) 0 0/44px 44px;
  animation: drift 22s ease-in-out infinite alternate;
}
.page-hero .wrap {
  position: relative;
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  margin-top: 14px;
  letter-spacing: -0.025em;
  max-width: 20em;
}
.page-hero .lead {
  margin-top: 18px;
  font-size: 19px;
  color: var(--ink-2);
  max-width: 38em;
}
.page-hero .ctas {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.page-hero .split {
  align-items: center;
}
.split .langrow {
  margin-top: 22px;
}
.ticks {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--ink-2);
}
.card .ticks {
  margin: 0;
}
.ticks li {
  position: relative;
  padding-left: 28px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow:
    inset 0 0 0 5px var(--accent-soft),
    inset 0 0 0 8px var(--accent);
}
.page-hero .ticks {
  margin-bottom: 14px;
}
.steps.five {
  grid-template-columns: repeat(5, 1fr);
}
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 36px;
  counter-reset: none;
}
.process li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.process .n {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.process h3 {
  font-size: 18px;
}
.process p {
  margin-top: 6px;
  color: var(--ink-2);
}
.ladder {
  margin: 0;
  display: grid;
  gap: 10px;
}
.ladder div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
}
.ladder dt {
  font-family: var(--display);
  font-weight: 700;
}
.ladder dd {
  margin: 0;
  color: var(--ink-2);
}
.limit {
  margin-top: 28px;
}
.form-card h2 {
  font-size: 26px;
  font-weight: 800;
  margin-top: 8px;
}
.form-card .small {
  margin-top: 8px;
}
.form-card form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.form-card label {
  font-weight: 600;
  font-size: 14px;
}
.domain {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  overflow: hidden;
}
.domain:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.domain span {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-3);
  padding-inline: 12px 4px;
}
.domain input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  padding: 12px;
}
.domain input:focus-visible {
  outline: none;
}
.form-card .btn,
.form-card form + .small {
  justify-content: center;
}
.form-card .public-paid-purchase-form {
  margin-top: 18px;
}
.form-card .public-paid-purchase-form .btn {
  width: 100%;
  justify-content: center;
}
.cmp {
  width: 100%;
  min-width: 560px;
}
.cmp th[scope="row"] {
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
/* Plan names sit over their values. */
.cmp thead th {
  font-family: var(--display);
  font-size: 16px;
  color: var(--ink);
  text-align: center;
}
.cmp thead th:first-child {
  text-align: left;
}
.cmp tbody tr:last-child th {
  border-bottom: 0;
}
/* Plan cards right under the page hero: no second large gap. */
.sec.plans-sec {
  padding-top: 48px;
}
.cmp td {
  text-align: center;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.band .card.scroll {
  margin-top: 28px;
  overflow-x: auto;
}
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
}
.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-family: var(--mono);
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  margin-top: 10px;
  color: var(--ink-2);
}
.split .sub + .sub {
  margin-top: 12px;
}
.split code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--surface-2);
  border-radius: 4px;
  padding: 1px 5px;
}
/* Legal pages: list of legal documents beside the text. */
.page-hero .lead a,
.legal-doc a {
  color: var(--accent-ink);
}
.legal-page {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.legal-nav {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
}
.legal-nav a {
  color: var(--ink-2);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 8px;
}
.legal-nav a:hover {
  color: var(--ink);
}
.legal-nav a[aria-current="page"] {
  color: var(--accent-ink);
  background: var(--accent-soft);
  font-weight: 600;
}
.legal-doc {
  max-width: 46em;
  color: var(--ink-2);
}
.legal-doc section {
  margin-top: 32px;
}
.legal-doc h2 {
  font-size: 21px;
  color: var(--ink);
}
.legal-doc p,
.legal-doc ul,
.legal-doc .card {
  margin-top: 12px;
}
.legal-doc ul {
  padding-left: 20px;
}
.legal-doc li + li {
  margin-top: 6px;
}
.legal-doc b {
  color: var(--ink);
}
.legal-doc code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--surface-2);
  border-radius: 4px;
  padding: 1px 5px;
  overflow-wrap: anywhere;
}
@media (max-width: 1040px) {
  .legal-page {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .legal-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero .grid,
  .proof,
  .why-lang,
  .split,
  .process {
    grid-template-columns: 1fr;
  }
  .steps,
  .steps.five {
    grid-template-columns: 1fr 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .steps::before,
  .steps .pulse {
    display: none;
  }
  .cols3,
  .plans {
    grid-template-columns: 1fr;
  }
  .sectors {
    grid-template-columns: 1fr 1fr;
  }
  .panel {
    grid-template-columns: 1fr;
  }
  .rail {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .navl {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .plan-chip,
  .proj {
    display: none;
  }
  .grid4,
  .multi {
    grid-template-columns: 1fr 1fr;
  }
  .row2,
  .row-eq,
  .kan {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1040px) and (min-width: 761px) {
  .plans.four {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .plans.four {
    grid-template-columns: 1fr;
  }
  /* one header row on phones: sections are a scroll away and in the footer */
  .nav ul {
    display: none;
  }
}
@media (max-width: 560px) {
  .nav .wrap {
    padding-block: 10px;
    gap: 10px;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-actions .btn {
    padding: 8px 11px;
    font-size: 14px;
  }
  .logo {
    font-size: 20px;
  }
  /* the floating language markers sit on the copy at this width */
  #net {
    display: none;
  }
  .cmp {
    min-width: 0;
    font-size: 13px;
  }
  .cmp th,
  .cmp td {
    padding-inline: 4px;
  }
  .cmp thead th {
    font-size: 13px;
  }
  .band .card.scroll {
    padding: 10px;
  }
  .steps.five,
  .ladder div {
    grid-template-columns: 1fr;
  }
  .ladder div {
    gap: 4px;
  }
  .steps,
  .sectors,
  .grid4,
  .multi {
    grid-template-columns: 1fr;
  }
  .langbars .lb {
    grid-template-columns: 70px 1fr 56px;
  }
  .final .langs-float {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal.pending,
  .stagger.pending > * {
    transform: none;
  }
  #net {
    display: none;
  }
}

/* Panel showcase: the real panel pages follow one another in a browser frame
   (tabs with a progress bar; pauses on hover or focus; still when motion is
   reduced). */
.showcase {
  margin-top: 28px;
}
.sc-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 14px;
}
.sc-tabs::-webkit-scrollbar {
  display: none;
}
.sc-tabs button {
  position: relative;
  flex: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 9px 18px 11px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition:
    color 0.25s,
    border-color 0.25s,
    background 0.25s;
}
.sc-tabs button[aria-selected="true"] {
  color: var(--accent-ink);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.sc-tabs .sc-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
}
.showcase.playing .sc-tabs button[aria-selected="true"] .sc-bar {
  animation: sc-fill var(--sc-ms, 5600ms) linear forwards;
}
.showcase.paused .sc-tabs button[aria-selected="true"] .sc-bar {
  animation-play-state: paused;
}
@keyframes sc-fill {
  to {
    width: 100%;
  }
}
.sc-frame {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
  box-shadow:
    0 30px 60px -30px rgba(15, 26, 43, 0.35),
    0 12px 24px -16px rgba(15, 26, 43, 0.2);
}
.sc-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.sc-chrome i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.sc-chrome span {
  margin-left: 10px;
  font-size: 12px;
  color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 12px;
}
.sc-stage {
  position: relative;
  aspect-ratio: 16 / 10;
}
.sc-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.sc-slide.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.sc-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.sc-slide figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  background: rgba(15, 26, 43, 0.82);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.35;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease 0.35s,
    transform 0.5s ease 0.35s;
}
.sc-slide.on figcaption {
  opacity: 1;
  transform: none;
}
.sc-slide figcaption b {
  margin-right: 6px;
}
.sc-note {
  margin: 10px 0 36px;
  font-size: 13px;
  color: var(--ink-3);
}
@media (max-width: 700px) {
  /* Full frame width (the height cap must not narrow it); the caption sits
     under the picture instead of over the panel. */
  .sc-stage {
    width: 100%;
    aspect-ratio: 1 / 2;
    max-height: 640px;
  }
  .sc-slide img {
    height: calc(100% - 56px);
  }
  .sc-slide figcaption {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    min-height: 56px;
    border-radius: 0;
    border-top: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--ink-2);
    backdrop-filter: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .sc-slide figcaption b {
    color: var(--ink);
  }
  .sc-tabs button {
    padding: 8px 14px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sc-slide,
  .sc-slide figcaption {
    transition: none;
  }
}

/* ---- product film (in "how it works") ---- */
.film {
  margin: 28px 0 36px;
}
.film video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 30px 70px -40px rgba(15, 26, 43, 0.45);
}

/* Sign-in and sign-up in the site frame (customer-application-view.ts). */
.auth-card h1 {
  font-size: 28px;
  margin: 6px 0 8px;
}
.auth-card input[type="email"],
.auth-card input[type="password"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 12px;
}
.auth-card button[type="submit"],
.auth-card .google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 13px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.auth-card button[type="submit"] {
  background: var(--accent);
  color: #fff;
  margin-top: 6px;
}
.auth-card .google-button {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  margin-top: 14px;
}
.auth-card .google-button svg {
  width: 18px;
  height: 18px;
}
.auth-card .divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-size: 13px;
  margin: 16px 0 0;
}
.auth-card .divider::before,
.auth-card .divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}
.auth-card .secondary-auth-label {
  font-size: 14px;
  color: var(--ink-2);
  margin: 14px 0 0;
}
.auth-card .auth-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  margin-top: 12px;
}
.auth-card .auth-legal a {
  color: var(--ink-2);
}
.auth-card .notice {
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 12px;
  font-size: 14px;
}
.auth-card .notice.danger {
  background: var(--bad-soft);
  color: var(--bad);
}
.auth-card .audit-context {
  display: grid;
  gap: 2px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 14px;
}
@media (max-width: 760px) {
  .auth-hero .split > .auth-card {
    order: -1;
  }
}
