/* CallXAI website. No external requests: the only font is served from /fonts (SIL OFL 1.1). */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin-wght-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;
}

:root {
  color-scheme: light dark;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --ink: #142027;
  --ink-2: #47565d;
  --ink-3: #5c6b71;
  --rule: #d6dedb;
  --rule-2: #e6ebe9;
  --signal: #0b6b5c;
  --signal-ink: #ffffff;
  --signal-wash: #e1eeea;
  --warn: #a8342a;
  --night: #12202a;
  --night-ink: #e9efed;
  --night-ink-2: #a9b9b7;
  --night-rule: #2b3c46;
  --night-signal: #6ccfb4;
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --field-border: #7f8d92;
  --r-sm: 4px;
  --r-lg: 8px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1519;
    --surface: #131e24;
    --ink: #e5ecea;
    --ink-2: #a7b4b3;
    --ink-3: #8f9d9c;
    --rule: #26343c;
    --rule-2: #1c2930;
    --signal: #5cc4a9;
    --signal-ink: #06221c;
    --signal-wash: #133129;
    --warn: #f08b7b;
    --night: #070e12;
    --field-border: #647680;
    --night-rule: #22323b;
    }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.6;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
b, strong { font-weight: 650; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p a, li a, dd a { color: var(--signal); }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-sm);
  font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  border: 0;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--signal); color: var(--signal-ink); }
.btn-quiet {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.btn-quiet:hover { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-2); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; border-radius: var(--r-sm); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--rule-2);
}
.top-in { display: flex; align-items: center; gap: 32px; min-height: 64px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.mark { width: 28px; height: 28px; flex: none; }
.mark-bg { fill: var(--ink); }
.mark-x { stroke: var(--bg); stroke-width: 3.2; stroke-linecap: round; fill: none; }
.mark-dot { fill: var(--signal); }
.nav { display: flex; gap: 28px; font-size: 0.9375rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
@media (max-width: 760px) {
  .nav { display: none; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 8vw, 120px); padding-bottom: clamp(64px, 9vw, 128px); }
.hero-grid { display: grid; gap: 32px; }
.hero-h {
  font-size: clamp(2.5rem, 1.2rem + 4.6vw, 4.875rem);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.04em;
  max-width: 15ch;
  text-wrap: balance;
}
.lede { color: var(--ink-2); font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); line-height: 1.5; max-width: 38ch; }
.hero-side .actions { margin-top: 28px; }
.promise {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.9688rem;
  font-weight: 500;
}
.lock { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--signal); stroke-width: 1.6; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr); gap: 48px; align-items: end; }
  .hero-side { padding-bottom: 10px; }
}

/* ---------- product illustration ---------- */
.shot { margin-top: clamp(48px, 7vw, 96px); }
.win {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 0.9063rem;
  line-height: 1.45;
  user-select: none;
}
.win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 0 18px;
  border-bottom: 1px solid var(--rule-2);
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.win-name { font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
.win-state { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }

.win-body { display: grid; grid-template-columns: 236px minmax(0, 1fr) 300px; min-height: 440px; }
.pane { padding: 22px; min-width: 0; }
.pane-h { font-size: 0.75rem; font-weight: 600; color: var(--ink-3); margin-bottom: 10px; letter-spacing: 0.01em; }
.pane-list { background: color-mix(in srgb, var(--bg) 70%, var(--surface)); border-right: 1px solid var(--rule-2); }
.queue li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  color: var(--ink-3);
  font-size: 0.8438rem;
}
.queue b { color: var(--ink); font-weight: 550; white-space: nowrap; }
.queue span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue .is-now { background: var(--signal-wash); }
.queue .is-now span { color: var(--signal); font-weight: 600; }

.client-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.client-name { font-size: 1.75rem; font-weight: 650; letter-spacing: -0.025em; line-height: 1.1; }
.client-meta { color: var(--ink-2); margin-top: 4px; }
.num { font-variant-numeric: tabular-nums; color: var(--ink-3); letter-spacing: 0.04em; padding-top: 6px; }
.controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 24px; }
.ctl {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--rule);
  font-weight: 550;
  font-size: 0.8438rem;
}
.ctl-end { background: var(--warn); border-color: var(--warn); color: var(--surface); }
.ctl-help { border-color: color-mix(in srgb, var(--signal) 55%, transparent); color: var(--signal); }
.client-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding-top: 20px; border-top: 1px solid var(--rule-2); }
.hist li { position: relative; padding: 0 0 12px 16px; border-left: 1px solid var(--rule); }
.hist li:last-child { padding-bottom: 0; }
.hist b { display: block; font-size: 0.75rem; font-weight: 550; color: var(--ink-3); }
.kyc li { position: relative; padding: 0 0 10px 26px; }
.kyc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--rule);
}
.kyc li.ok::before { background: var(--signal); border-color: var(--signal); }
.kyc li.ok::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 5px;
  width: 5px;
  height: 8px;
  border: solid var(--signal-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.pane-tip { border-left: 1px solid var(--rule-2); }
.tip { background: var(--signal-wash); border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 10px; }
.tip-more { color: var(--ink-2); padding: 0 14px; margin-bottom: 24px; }
.note-line { height: 9px; border-radius: var(--r-sm); background: var(--rule-2); margin-bottom: 10px; }
.note-line.short { width: 58%; }

.shot figcaption { margin-top: 16px; font-size: 0.875rem; color: var(--ink-3); max-width: 64ch; }

@media (max-width: 1080px) {
  .win-body { grid-template-columns: minmax(0, 1fr) 280px; }
  .pane-list { display: none; }
}
@media (max-width: 760px) {
  .win-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .pane-tip { border-left: 0; border-top: 1px solid var(--rule-2); }
  .notes-h, .note-line { display: none; }
  .tip-more { margin-bottom: 0; }
}
@media (max-width: 520px) {
  .pane { padding: 18px 16px; }
  .client-cols { grid-template-columns: 1fr; gap: 20px; }
  .client-name { font-size: 1.5rem; }
}

/* ---------- sections ---------- */
.band { padding-block: clamp(72px, 10vw, 144px); }
.band + .band { border-top: 1px solid var(--rule-2); }

.split { display: grid; gap: 40px; }
.split-head h2,
.section-h,
.privacy-head h2,
.closing h2 {
  font-size: clamp(2rem, 1.15rem + 2.8vw, 3.375rem);
  line-height: 1.04;
  font-weight: 650;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.split-head h2 { max-width: 14ch; }
.split-head p { margin-top: 20px; color: var(--ink-2); max-width: 40ch; }
.split-head .btn { margin-top: 28px; }
.split-head-wide { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
.split-head-wide p { margin-top: 0; max-width: 54ch; }
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .split-head { position: sticky; top: 112px; align-self: start; }
  .split-head.split-head-wide { position: static; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: end; }
}

.section-h { max-width: 20ch; margin-bottom: clamp(40px, 6vw, 80px); }

/* roles */
.role { padding: 28px 0; border-top: 1px solid var(--rule); }
.role:last-child { border-bottom: 1px solid var(--rule); }
.role dt { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.role dd { margin-top: 8px; color: var(--ink-2); max-width: 54ch; }
.role-more dt { font-size: 1.25rem; color: var(--ink); }
@media (min-width: 700px) {
  .role { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 32px; align-items: baseline; }
  .role dd { margin-top: 0; }
}

/* compliance */
.rule { padding: 22px 0; border-top: 1px solid var(--rule); }
.rule:last-child { border-bottom: 1px solid var(--rule); }
.rule dt { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.015em; }
.rule dd { margin-top: 6px; color: var(--ink-2); max-width: 60ch; }
@media (min-width: 700px) {
  .rule { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 32px; align-items: baseline; }
  .rule dd { margin-top: 0; }
}

/* features */
.feat { padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--rule); }
.feat h3 { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.125rem); font-weight: 650; letter-spacing: -0.025em; line-height: 1.12; max-width: 22ch; }
.feat p { color: var(--ink-2); max-width: 56ch; margin-top: 16px; }
.feat-text p + p { margin-top: 12px; }

.modes { display: grid; gap: 0; margin-top: 36px; counter-reset: none; }
.modes li { padding: 18px 0; border-top: 1px solid var(--rule-2); display: grid; gap: 4px; align-content: start; }
.modes li::before {
  content: "";
  display: block;
  height: 6px;
  border-radius: var(--r-sm);
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--signal) 0 var(--fill), var(--rule-2) var(--fill) 100%);
}
.modes li:nth-child(1) { --fill: 25%; }
.modes li:nth-child(2) { --fill: 50%; }
.modes li:nth-child(3) { --fill: 75%; }
.modes li:nth-child(4) { --fill: 100%; }
.modes b { font-size: 1.125rem; }
.modes span { color: var(--ink-2); font-size: 0.9688rem; line-height: 1.5; }
@media (min-width: 640px) {
  .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 1000px) {
  .feat-calling { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .modes { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; margin-top: 8px; }
  .modes li { border-top: 0; padding-top: 0; }
}

.pair { display: grid; }
@media (min-width: 920px) {
  .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
}

.route, .check { margin-top: 28px; font-size: 0.9688rem; }
.route li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1.15fr);
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--rule-2);
}
.route li::after {
  content: "";
  order: 2;
  height: 1px;
  background: linear-gradient(90deg, var(--ink-3), var(--ink-3)) left center / calc(100% - 6px) 1px no-repeat;
  position: relative;
}
.route span { order: 1; color: var(--ink-2); }
.route b { order: 3; font-weight: 600; }

.check li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--rule-2);
}
.masked { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; color: var(--ink-2); }
.check b { font-weight: 600; }
.check .live { color: var(--signal); }
.check .dead { color: var(--warn); }
.check li:has(.dead) .masked { text-decoration: line-through; color: var(--ink-3); }

.facts { display: grid; gap: 0 40px; margin-top: 28px; }
.facts div { padding: 16px 0; border-top: 1px solid var(--rule-2); }
.facts dt { font-weight: 650; }
.facts dd { color: var(--ink-2); margin-top: 2px; font-size: 0.9688rem; }
@media (min-width: 640px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .feat-wide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .facts { margin-top: 0; }
  .facts div:nth-child(-n+2) { border-top: 0; padding-top: 4px; }
}

.thread { margin-top: 28px; }
.thread li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule-2); font-size: 0.9375rem; }
.thread-when { color: var(--ink-3); }
.thread-what { color: var(--ink-2); }
.thread-what b { display: block; color: var(--ink); font-weight: 600; }
.thread figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--ink-3); }
@media (max-width: 480px) {
  .thread li { grid-template-columns: 1fr; gap: 2px; }
}
.facts.facts-single { grid-template-columns: minmax(0, 1fr); }
.facts.facts-single div { border-top: 1px solid var(--rule-2); padding: 16px 0; }
@media (min-width: 700px) {
  .facts.facts-single div { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 24px; }
  .facts.facts-single dd { margin-top: 0; }
}
@media (min-width: 1000px) {
  .feat-email { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .facts.facts-single div:first-child { border-top: 0; padding-top: 4px; }
}

.also { padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--rule); }
.also h3 { font-size: 1.125rem; font-weight: 650; }
.also ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px 40px; margin-top: 18px; }
.also ul { list-style: disc; padding-left: 1.1em; }
.also li { color: var(--ink-2); padding-left: 4px; }
.also li::marker { color: var(--ink-3); }

/* ---------- privacy ---------- */
.privacy {
  --signal: var(--night-signal);
  background: var(--night);
  color: var(--night-ink);
  padding-block: clamp(80px, 11vw, 160px);
}
.privacy-head { display: grid; gap: 24px; }
.privacy-head h2 { font-size: clamp(2.25rem, 1.1rem + 3.6vw, 4.25rem); max-width: 17ch; line-height: 1.02; }
.privacy-head p { color: var(--night-ink-2); max-width: 44ch; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); }
@media (min-width: 1000px) {
  .privacy-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; }
}

.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-block: clamp(56px, 7vw, 96px);
}
.node {
  border: 1px solid var(--night-rule);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  background: color-mix(in srgb, var(--night) 80%, #ffffff 4%);
}
.node-h { font-weight: 650; font-size: 1.125rem; letter-spacing: -0.01em; }
.node p + p { margin-top: 6px; color: var(--night-ink-2); font-size: 0.9375rem; line-height: 1.5; }
.node-src { border-color: color-mix(in srgb, var(--night-signal) 60%, transparent); background: color-mix(in srgb, var(--night-signal) 9%, var(--night)); }
.dest { display: grid; gap: 12px; }
.node-no { border-style: dashed; background: transparent; }
.node-no .node-h { display: flex; align-items: center; gap: 10px; }
.node-no .node-h::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background:
    linear-gradient(45deg, transparent 43%, var(--night-ink-2) 43% 57%, transparent 57%),
    linear-gradient(-45deg, transparent 43%, var(--night-ink-2) 43% 57%, transparent 57%);
}

.pipe {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
}
.pipe::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: var(--night-signal);
}
.pipe::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border: solid var(--night-signal);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.pipe span {
  position: relative;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  background: var(--night);
  border: 1px solid color-mix(in srgb, var(--night-signal) 60%, transparent);
  color: var(--night-signal);
  font-size: 0.8125rem;
  font-weight: 600;
}
.pipe-no::before { background: repeating-linear-gradient(180deg, var(--night-ink-2) 0 6px, transparent 6px 12px); opacity: 0.6; }
.pipe-no::after { display: none; }
.pipe-no span { color: var(--night-ink-2); border-color: var(--night-rule); }

@media (min-width: 900px) {
  .flow {
    grid-template-columns: minmax(0, 1fr) minmax(110px, 0.55fr) minmax(0, 1.25fr);
    grid-template-areas: "src pipe dest" "src nopipe no";
    row-gap: 20px;
    align-items: center;
  }
  .node-src { grid-area: src; align-self: center; }
  .pipe { grid-area: pipe; min-height: 40px; }
  .dest { grid-area: dest; }
  .pipe-no { grid-area: nopipe; }
  .node-no { grid-area: no; }
  .pipe::before { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 2px; margin: -1px 0 0; }
  .pipe::after { left: auto; right: 2px; bottom: auto; top: 50%; margin: -5px 0 0; transform: rotate(-45deg); }
  .pipe-no::before { background: repeating-linear-gradient(90deg, var(--night-ink-2) 0 6px, transparent 6px 12px); }
  /* the encrypted line forks to both destinations */
  .pipe:not(.pipe-no)::before { right: 24px; }
  .pipe:not(.pipe-no)::after { display: none; }
  .dest .node-ok { position: relative; min-height: 112px; }
  .dest .node-ok::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 50%;
    width: 24px;
    height: 2px;
    margin-top: -1px;
    background: var(--night-signal);
  }
  .dest .node-ok::after {
    content: "";
    position: absolute;
    left: -25px;
    width: 2px;
    background: var(--night-signal);
  }
  .dest .node-ok:first-child::after { top: 50%; bottom: -7px; }
  .dest .node-ok:last-child::after { top: -7px; bottom: 50%; }
}

.pledges { display: grid; gap: 0 56px; }
.pledges li { padding: 20px 0; border-top: 1px solid var(--night-rule); color: var(--night-ink-2); max-width: 56ch; }
.pledges b { color: var(--night-ink); }
@media (min-width: 820px) {
  .pledges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.privacy-foot { margin-top: 40px; color: var(--night-ink-2); display: flex; flex-wrap: wrap; gap: 8px 24px; }
.privacy-foot a { color: var(--night-signal); }

/* ---------- AI ---------- */
.ai-grid { display: grid; gap: 48px; }
.ai-text h2 { font-size: clamp(2rem, 1.15rem + 2.8vw, 3.375rem); line-height: 1.04; font-weight: 650; letter-spacing: -0.032em; max-width: 16ch; text-wrap: balance; }
.ai-text > p { margin-top: 20px; color: var(--ink-2); max-width: 52ch; }
.ticks { margin-top: 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.35em;
  width: 6px;
  height: 11px;
  border: solid var(--signal);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.switches {
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 28px;
}
.switches-h { font-weight: 650; font-size: 1.125rem; margin-bottom: 8px; }
.switches li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule-2); }
.sw { position: relative; padding-left: 50px; font-size: 0.875rem; color: var(--ink-3); font-weight: 550; white-space: nowrap; }
.sw::before { content: ""; position: absolute; left: 0; top: 50%; width: 38px; height: 22px; margin-top: -11px; border-radius: var(--r-sm); background: var(--rule); }
.sw::after { content: ""; position: absolute; left: 3px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: var(--r-sm); background: var(--surface); }
.sw-on { color: var(--signal); }
.sw-on::before { background: var(--signal); }
.sw-on::after { left: 19px; }
.switches-note { margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--rule-2); color: var(--ink-2); font-size: 0.9688rem; }
@media (min-width: 1000px) {
  .ai-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; align-items: center; }
}

/* ---------- pricing ---------- */
.band-pricing { background: var(--surface); }
.band-pricing + .band { border-top: 0; }
.plans { display: grid; border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.plan { padding: clamp(28px, 4vw, 44px); }
.plan + .plan { border-top: 1px solid var(--rule); }
.plan h3 { font-size: 1.375rem; font-weight: 650; letter-spacing: -0.015em; }
.price { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 4px; }
.cur { font-size: 1.75rem; font-weight: 600; margin-top: 0.35em; }
.amt { font-size: clamp(4rem, 2.4rem + 4.4vw, 6.25rem); font-weight: 650; letter-spacing: -0.05em; line-height: 0.95; font-variant-numeric: tabular-nums lining-nums; }
.per { flex-basis: 100%; margin-top: 10px; color: var(--ink-2); font-size: 0.9688rem; }
.small-price { color: var(--ink-2); font-size: 0.9688rem; }
.ai-extra { margin-bottom: 2px; font-weight: 600; font-size: 0.9688rem; }
.plan-what { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule-2); font-size: 1.125rem; font-weight: 600; }
.plan-list { margin-top: 6px; color: var(--ink-2); font-size: 0.9688rem; max-width: 44ch; }
.plan-ai { background: color-mix(in srgb, var(--signal-wash) 55%, var(--surface)); }
@media (min-width: 760px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan + .plan { border-top: 0; border-left: 1px solid var(--rule); }
}

.prepay { margin-top: 18px; color: var(--ink-2); font-size: 0.9688rem; max-width: 72ch; }
.prepay span { color: var(--ink); font-weight: 600; }

.addon {
  display: grid;
  gap: 20px 48px;
  margin-top: 32px;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 40px);
}
.addon h3 { font-size: 1.375rem; font-weight: 650; letter-spacing: -0.015em; }
.addon-price { margin-top: 10px; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; }
.addon-what { margin-top: 8px; color: var(--ink-2); max-width: 36ch; }
.addon-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule-2); }
.addon-list div:first-child { border-top: 0; padding-top: 0; }
.addon-list dd { color: var(--ink-2); text-align: right; font-size: 0.9688rem; }
.addon-note { color: var(--ink-2); font-size: 0.9375rem; }
@media (min-width: 860px) {
  .addon { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .addon-note { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--rule-2); }
}
@media (max-width: 859px) {
  .addon-list div:first-child { border-top: 1px solid var(--rule-2); padding-top: 12px; }
}
@media (max-width: 520px) {
  .addon-list div { display: block; }
  .addon-list dd { text-align: left; margin-top: 2px; }
}

.calc-email { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 40px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule-2); }
.calc-email[hidden], .calc-email [hidden] { display: none; }
.check-field { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.check-field input { width: 20px; height: 20px; margin: 0; accent-color: var(--signal); }
.check-field label { font-weight: 600; cursor: pointer; }
.calc-note[hidden] { display: none; }

.calc {
  margin-top: 24px;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
  background: var(--bg);
}
.calc[hidden] { display: none; }
.calc h3 { font-size: 1.125rem; font-weight: 650; margin-bottom: 20px; }
.calc-row { display: grid; gap: 24px; align-items: end; }
.calc-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc-field > legend { float: left; width: 100%; }
.calc-field > legend + * { clear: left; }
.calc-field > label,
.calc-field > legend { display: block; padding: 0; font-size: 0.875rem; font-weight: 550; color: var(--ink-2); margin-bottom: 8px; }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--field-border); border-radius: var(--r-sm); background: var(--surface); overflow: hidden; }
.step {
  width: 48px;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
}
.step:hover { background: var(--rule-2); }
.step:focus-visible { outline-offset: -3px; }
.stepper input {
  width: 76px;
  border: 0;
  border-inline: 1px solid var(--rule-2);
  background: transparent;
  color: var(--ink);
  text-align: center;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline-offset: -3px; }
.seg { display: inline-flex; border: 1px solid var(--field-border); border-radius: var(--r-sm); padding: 3px; background: var(--surface); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg label {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  color: var(--ink-2);
  white-space: nowrap;
}
.seg input:checked + label { background: var(--ink); color: var(--bg); }
.seg input:focus-visible + label { outline: 3px solid var(--signal); outline-offset: 2px; }
.calc-result { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.calc-result output { font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1; }
.calc-result span { color: var(--ink-2); }
.calc-note { margin-top: 14px; color: var(--ink-2); font-size: 0.9375rem; }
@media (min-width: 860px) {
  .calc-row { grid-template-columns: auto auto minmax(0, 1fr); gap: 40px; }
  .calc-result { justify-content: flex-end; }
}

.usage { margin-top: clamp(48px, 6vw, 72px); }
.usage h3 { font-size: 1.125rem; font-weight: 650; }
.usage ul { display: grid; gap: 0 48px; margin-top: 12px; }
.usage li { padding: 14px 0; border-top: 1px solid var(--rule-2); color: var(--ink-2); }
.usage b { color: var(--ink); }
@media (min-width: 820px) {
  .usage ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- access ---------- */
.access p { color: var(--ink-2); max-width: 60ch; }
.access p + p { margin-top: 20px; }
.access .access-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); }
@media (min-width: 1000px) {
  .access { padding-top: 6px; font-size: 1.125rem; }
}

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  background: var(--ink-2);
  transition: transform 0.2s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--signal); }
.faq details p { color: var(--ink-2); padding-bottom: 24px; max-width: 62ch; }

/* ---------- closing + footer ---------- */
.closing { padding-block: clamp(80px, 10vw, 144px); border-top: 1px solid var(--rule-2); }
.closing-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.closing h2 { font-size: clamp(2.25rem, 1.1rem + 4vw, 4.75rem); max-width: 13ch; line-height: 1; letter-spacing: -0.04em; }

.foot { border-top: 1px solid var(--rule); padding: 40px 0 56px; font-size: 0.9375rem; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.brand-foot { margin-right: 0; font-size: 1.0625rem; }
.brand-foot .mark { width: 24px; height: 24px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot-nav a { color: var(--ink-2); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; }
.foot-note { color: var(--ink-3); flex-basis: 100%; font-size: 0.875rem; }
@media (min-width: 900px) {
  .foot-note { flex-basis: auto; margin-left: auto; }
}

/* ---------- privacy policy / terms / 404 ---------- */
.doc { padding-block: clamp(56px, 8vw, 112px) clamp(72px, 10vw, 136px); }
.doc-in { max-width: 720px; }
.doc h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.04; }
.doc .doc-date { margin-top: 14px; color: var(--ink-3); font-size: 0.9375rem; }
.doc .doc-lede { margin-top: 28px; font-size: 1.25rem; line-height: 1.5; color: var(--ink-2); }
.doc h2 { margin-top: 48px; font-size: 1.375rem; font-weight: 650; letter-spacing: -0.015em; }
.doc p, .doc ul { margin-top: 14px; color: var(--ink-2); }
.doc ul { list-style: disc; padding-left: 1.2em; }
.doc ul li { margin-top: 8px; padding-left: 4px; }
.doc ul li::marker { color: var(--ink-3); }
.doc .btn { margin-top: 32px; }


/* ---------- sign-up ---------- */
.signup { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 10vw, 128px); }
.signup-grid { display: grid; gap: 48px; }
.signup-intro h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.04; max-width: 14ch; text-wrap: balance; }
.signup-lede { margin-top: 22px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.signup-facts { margin-top: 36px; }
.signup-facts div { padding: 18px 0; border-top: 1px solid var(--rule); max-width: 48ch; }
.signup-facts dt { font-weight: 650; }
.signup-facts dd { margin-top: 4px; color: var(--ink-2); font-size: 0.9688rem; }
.signup-panel {
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(22px, 4vw, 40px);
}
.nojs { color: var(--ink-2); }
.form[hidden], .done[hidden] { display: none; }
.form-h { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.015em; }
.field { margin-top: 22px; min-width: 0; }
.field > label { display: block; font-weight: 600; font-size: 0.9688rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--ink-2); }
.form input,
.form select,
.form textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--field-border);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible { outline: 3px solid var(--signal); outline-offset: 1px; border-color: var(--signal); }
.form [aria-invalid="true"] { border-color: var(--warn); }
.form .code-input { max-width: 240px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.form .code-input::placeholder { letter-spacing: 0.08em; font-weight: 400; color: var(--ink-3); opacity: 1; }
.field-hint { margin-top: 6px; font-size: 0.9063rem; color: var(--ink-2); }
.field > .field-hint:first-of-type + input { margin-top: 0; }
#su-code-hint { margin: 0 0 8px; }
.field-err { margin-top: 6px; font-size: 0.9375rem; font-weight: 550; color: var(--warn); }
.field-err[hidden] { display: none; }
.field-status { margin-top: 6px; font-size: 0.9063rem; color: var(--ink-2); }
.field-status:empty { display: none; }
.field-status.is-ok { color: var(--signal); }
.field-status.is-bad { color: var(--warn); }
.field-row { display: grid; column-gap: 20px; }
@media (min-width: 640px) {
  .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
}
.form-err {
  margin-top: 24px;
  padding: 12px 14px;
  border: 1px solid var(--warn);
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--warn) 7%, var(--surface));
  color: var(--ink);
  font-size: 0.9688rem;
}
.form-err[hidden] { display: none; }
.form-err a { color: var(--ink); font-weight: 600; }
.form-agree { margin-top: 24px; color: var(--ink-2); font-size: 0.9375rem; }
.form-actions { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-small { color: var(--ink-2); font-size: 0.9063rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn[disabled]:hover { background: var(--ink); color: var(--bg); }
.done h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 650; letter-spacing: -0.025em; line-height: 1.15; }
.done p { margin-top: 14px; color: var(--ink-2); max-width: 46ch; }
.done b { color: var(--ink); overflow-wrap: anywhere; }
.done .btn { margin-top: 28px; }
.done:focus { outline: none; }
@media (min-width: 1000px) {
  .signup-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .signup-intro { position: sticky; top: 112px; }
}

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

@media (forced-colors: active) {
  .btn, .ctl, .seg label, .stepper, .node, .plans, .calc, .switches { border: 1px solid CanvasText; }
}
