:root {
  /* page */
  --bg: #ffffff;
  --surface: #f3f5f9;
  --surface-2: #e7ebf2;
  --ink: #0c1222;
  --ink-2: #323a4b;
  --muted: #5b6477;
  --line: #dde3ec;
  --accent: #2563eb;
  --accent-strong: #1d4fc4;
  --accent-ink: #ffffff;
  /* dark bands and product fragments */
  --dark: #0b1222;
  --dark-2: #111a2e;
  --dark-3: #1a2440;
  --dark-ink: #eef1f7;
  --dark-muted: #9ba6bc;
  /* errors and outages stay red whatever the brand colour */
  --danger: #c62828;
  --ok-bg: #e4f4e9; --ok-ink: #17602f;
  --hold-bg: #fbefd2; --hold-ink: #7a5300;
  --block-bg: #fbe0e3; --block-ink: #8f0f20;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-h3: clamp(2rem, 1.4rem + 1.6vw, 3rem);
  --step-display: clamp(2.625rem, 1rem + 3.9vw, 4.75rem);
  --step-giant: clamp(7rem, 17vw, 16rem);

  --margin: clamp(16px, 3vw, 48px);
  --gap: clamp(16px, 2vw, 32px);
  --section: clamp(96px, 11vw, 176px);
  --max: 1440px;

  --shadow-float: 0 1px 2px rgba(11, 11, 12, 0.06), 0 24px 48px -20px rgba(11, 11, 12, 0.28);
  --shadow-deep: 0 2px 6px rgba(11, 11, 12, 0.1), 0 40px 80px -28px rgba(11, 11, 12, 0.45);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 220ms;
  --t-reveal: 800ms;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Albert Sans", system-ui, sans-serif;
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.dim { color: var(--muted); }
.num, .figure, .price, #clock { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; transition: top var(--t-ui) var(--ease-out); }
.skip:focus { top: 12px; }
html { scrollbar-color: #c5c9d1 transparent; }

/* ---------- shared ---------- */
.h2 { font-size: var(--step-h3); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
.lead { font-size: var(--step-lead); line-height: 1.42; color: var(--ink-2); max-width: 36ch; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button--small { min-height: 42px; padding: 0 20px; font-size: 1rem; }
.button--full { width: 100%; }
.button--ink { background: var(--ink); color: #fff; }
.button--light { background: #fff; color: var(--accent); }

.link {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 0.08em;
  transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}
.link--strong { font-weight: 600; text-decoration-color: currentColor; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; text-align: left; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background-color: var(--accent-strong); }
  .button--ink:hover { background-color: #1d2742; }
  .button--light:hover { background-color: #eef3fd; color: var(--accent-strong); }
  .link:hover { text-decoration-color: currentColor; }
}

/* form controls */
.field {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 22px;
  background: #fff; border: 1px solid #cdd1d8; border-radius: 999px; font-size: 1rem;
  transition: border-color var(--t-hover) ease, box-shadow var(--t-hover) ease;
}
.field::placeholder { color: #6b6f78; }
.field:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2); }
.field[aria-invalid="true"] { border-color: var(--danger); }
.form-error { flex-basis: 100%; color: var(--danger); font-size: var(--step-small); font-weight: 500; margin-top: 8px; }
.field-label { display: block; color: var(--muted); font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.ui-input {
  flex: 1; min-width: 0; background: #fff; border: 1px solid #cdd1d8; border-radius: 8px; padding: 10px 12px;
  transition: border-color var(--t-hover) ease, box-shadow var(--t-hover) ease;
}
.ui-input:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-size: 14px; }
.ui-switch {
  appearance: none; width: 40px; height: 24px; border-radius: 999px; background: #c9ccd3; position: relative; cursor: pointer; margin: 0; flex: none;
  transition: background-color var(--t-ui) ease;
}
.ui-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform var(--t-ui) var(--ease-out);
}
.ui-switch:checked { background: var(--accent); }
.ui-switch:checked::after { transform: translateX(16px); }
.ui-switch:disabled { opacity: 0.55; cursor: not-allowed; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fb35f; margin-right: 8px; vertical-align: 1px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; transition: box-shadow var(--t-ui) ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(11, 11, 12, 0.35); }
.bar {
  max-width: var(--max); margin: 0 auto; height: 72px; padding: 0 var(--margin);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.375rem; letter-spacing: -0.035em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.main-nav { display: flex; gap: 32px; font-size: 1rem; font-weight: 500; }
.bar-end { display: flex; gap: 24px; align-items: center; justify-content: flex-end; font-size: 1rem; font-weight: 500; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: clamp(40px, 6vw, 96px) var(--margin) clamp(72px, 8vw, 128px);
  align-items: center;
}
.hero-copy { grid-column: 1 / 7; padding-right: clamp(0px, 2vw, 32px); }
.hero h1 { font-size: var(--step-display); font-weight: 600; letter-spacing: -0.04em; line-height: 0.98; margin-bottom: 28px; }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }
.hero-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; max-width: 520px; }
.hero-alt { margin-top: 16px; color: var(--ink-2); font-size: 1rem; }
.hero-stage { grid-column: 7 / 13; position: relative; }
.stage-note { margin-top: 14px; color: var(--muted); font-size: var(--step-small); text-align: right; }

/* console (product UI) */
.console {
  background: var(--dark-2); color: var(--dark-ink);
  border: 1px solid #2a2b30; border-radius: 14px;
  box-shadow: var(--shadow-deep);
  overflow: hidden; font-size: 14px; line-height: 1.45;
  min-height: 500px; display: flex; flex-direction: column;
  --muted: var(--dark-muted);
}
.console-bar { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-bottom: 1px solid #26272c; font-weight: 500; }
.console-clock { display: inline-flex; gap: 8px; align-items: center; color: var(--dark-muted); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #3ecf6e; }
.console-body { display: grid; grid-template-columns: 236px 1fr; flex: 1; }
.tickets { border-right: 1px solid #26272c; padding: 8px; display: grid; align-content: start; gap: 4px; }
.ticket {
  width: 100%; text-align: left; background: transparent; border: 0; border-radius: 8px; color: inherit;
  padding: 10px 12px; cursor: pointer; display: grid; grid-template-columns: 1fr auto; row-gap: 2px;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.ticket:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .ticket:hover { background: #1c1d21; } }
.ticket.is-active { background: #26272c; }
.t-who { font-weight: 600; }
.t-when, .t-meta { color: var(--dark-muted); font-size: 13px; }
.t-subj, .t-meta { grid-column: 1 / -1; }
.thread { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.msg { max-width: 46ch; }
.msg p { padding: 12px 14px; border-radius: 10px; }
.msg-who { display: block; font-size: 13px; color: var(--dark-muted); margin-bottom: 6px; }
.msg--in p { background: #222328; }
.msg--out { align-self: flex-end; }
.msg--out .msg-who { text-align: right; }
.msg--out p { background: #f1f1f2; color: var(--ink); }
.steps { display: grid; gap: 8px; padding-left: 2px; color: #d3d4d8; }
.step { display: flex; gap: 10px; align-items: center; }
.tick { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #55575e; position: relative; }
.step.is-working .tick { border-color: #80838b; border-top-color: transparent; animation: spin 700ms linear infinite; }
.step.is-done .tick { border-color: #3ecf6e; background: #3ecf6e; }
.step.is-done .tick::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #0b0b0c; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.step.is-hold .tick { border-color: #e0a526; background: #e0a526; }
@keyframes spin { to { transform: rotate(360deg); } }
.status { align-self: flex-start; padding: 6px 12px; border-radius: 999px; font-weight: 500; font-size: 13px; }
.status--ok { background: #13361f; color: #7ee2a0; }
.status--hold { background: #3a2c0c; color: #f0c560; }
.approve { display: flex; gap: 10px; flex-wrap: wrap; }
.ui-btn {
  border: 1px solid #3a3b40; background: #222328; color: inherit; border-radius: 8px; padding: 8px 14px; cursor: pointer; font-weight: 500;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.ui-btn:active { transform: scale(0.97); }
.ui-btn--primary { background: #f1f1f2; color: var(--ink); border-color: #f1f1f2; }
.typing::after { content: "▍"; opacity: 0.6; }

/* ---------- handoff ---------- */
.handoff {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--margin) var(--section);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center;
}
.handoff-copy { grid-column: 1 / 5; }
.handoff-copy .h2 { margin-bottom: 20px; }
.handoff-copy p { color: var(--ink-2); max-width: 36ch; }
.held {
  grid-column: 6 / 13; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-float); font-size: 14px; line-height: 1.5;
}
.held-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; background: var(--surface); }
.held-tag { padding: 3px 10px; border-radius: 999px; background: var(--hold-bg); color: var(--hold-ink); font-weight: 600; font-size: 13px; white-space: nowrap; transition: background-color var(--t-ui) ease, color var(--t-ui) ease; }
.held-tag.is-done { background: var(--ok-bg); color: var(--ok-ink); }
.held-body { padding: 18px; display: grid; gap: 16px; }
.held-msg { background: var(--surface); padding: 12px 14px; border-radius: 10px; max-width: 54ch; }
.held-checks { display: grid; gap: 8px; }
.held-checks li { padding-left: 24px; position: relative; color: var(--ink-2); }
.held-checks li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 14px; height: 14px; border-radius: 50%; }
.held-checks li.ok::before { background: #2fb35f; }
.held-checks li.hold::before { background: #e0a526; }
.held-checks li.hold { color: var(--ink); font-weight: 500; }
.held-meter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.meter { position: relative; height: 6px; border-radius: 3px; background: var(--surface-2); }
.meter i { position: absolute; inset: 0 39% 0 0; border-radius: 3px; background: #e0a526; }
.meter em { position: absolute; top: -4px; bottom: -4px; left: 85%; width: 2px; background: var(--ink); }
.held-draft { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.held-label { display: block; color: var(--muted); font-size: 13px; font-weight: 500; margin-bottom: 4px; }
#held-reply[contenteditable="true"] { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.held-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hbtn {
  min-height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid #cdd1d8; background: #fff; cursor: pointer; font-weight: 600; font-size: 14px;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.hbtn:active { transform: scale(0.97); }
.hbtn--primary { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .hbtn:hover { background: var(--surface); } .hbtn--primary:hover { background: #1d2742; } }
.held-done { color: var(--ok-ink); font-weight: 500; }

/* definition rows (security, trust) */
/* Rows on alternating tone instead of rules between them. */
.def-rows > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 32px; padding: 22px 24px; border-radius: 14px; }
.def-rows > div:nth-child(odd) { background: var(--surface); }
.def-rows dt { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.def-rows dd { color: var(--ink-2); }
.trust-rows { margin-bottom: clamp(80px, 10vw, 140px); }

/* ---------- showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; }
.sc-in { grid-row: 2; background: var(--dark); color: var(--dark-ink); padding: 40px var(--margin) 140px calc(var(--margin) + 6vw); }
.sc-out { grid-row: 2; background: var(--surface); padding: 40px var(--margin) 140px; display: flex; justify-content: center; align-items: flex-start; }
.sc-label { display: block; color: var(--dark-muted); font-size: var(--step-small); margin-bottom: 16px; }
#policy {
  width: 100%; max-width: 36ch; min-height: 15em; background: #16171a; border: 1px solid #2c2d32; border-radius: 12px; padding: 18px 20px; resize: none; field-sizing: content;
  transition: border-color var(--t-hover) ease;
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem); line-height: 1.55; color: var(--dark-ink); caret-color: var(--accent);
}
#policy:hover { border-color: #3d3e44; }
#policy:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25); }
.rules { width: min(500px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; line-height: 1.45; overflow: hidden; box-shadow: var(--shadow-float); }
.rules-head { display: flex; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid #eceef1; font-weight: 600; }
.rules .dim { font-weight: 400; }
#rules li { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #f0f1f4; animation: rule-in 320ms var(--ease-out) both; }
#rules li:last-child { border-bottom: 0; }
.rule-tag { align-self: start; justify-self: start; padding: 2px 8px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.rule-tag.allow { background: var(--ok-bg); color: var(--ok-ink); }
.rule-tag.ask { background: var(--hold-bg); color: var(--hold-ink); }
.rule-tag.block { background: var(--block-bg); color: var(--block-ink); }
.rule-text b { font-weight: 600; }
.rule-scope { display: block; color: var(--muted); font-size: 13px; }
@keyframes rule-in { from { opacity: 0; transform: translateY(4px); } }
/* The heading reads as one line across the seam: each half sits on its own ground and meets the other at the edge. */
.split-title {
  grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr;
  font-size: var(--step-display); font-weight: 600; letter-spacing: -0.04em; line-height: 1;
}
.st-a, .st-b { display: block; padding-top: clamp(88px, 11vw, 160px); padding-bottom: 32px; }
.st-a { background: var(--dark); color: var(--dark-ink); text-align: right; padding-right: 0.13em; padding-left: var(--margin); }
.st-b { background: var(--surface); color: var(--ink); padding-left: 0.13em; padding-right: var(--margin); }

/* ---------- features ---------- */
/* Same 50/50 split as the section above, so the dark column carries on without a step. */
.features { display: grid; grid-template-columns: 1fr 1fr; }
.feat-stage { grid-column: 1; position: sticky; top: 72px; height: calc(100svh - 72px); background: var(--dark); display: grid; place-items: center; padding: var(--margin); }
.email { width: min(460px, 100%); background: #fff; color: var(--ink); border-radius: 14px; font-size: 14px; line-height: 1.55; overflow: hidden; box-shadow: var(--shadow-deep); }
.email-head { padding: 14px 18px; border-bottom: 1px solid #eceef1; display: grid; gap: 2px; }
.email-head .dim { display: inline-block; width: 28px; }
.email-body { padding: 18px 18px 0; min-height: 7.5em; font-size: 15px; transition: opacity 200ms ease, filter 200ms ease; }
.email-body.is-swap { opacity: 0.4; filter: blur(2px); }
.email-sign { padding: 12px 18px 0; font-weight: 600; font-size: 15px; }
.email-src { margin: 14px 18px 0; padding: 8px 10px; background: var(--surface); border-radius: 8px; font-size: 13px; color: var(--ink-2); }
.email-src[hidden] { display: none; }
.email-foot { margin-top: 16px; padding: 10px 18px; font-size: 13px; font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
.email-foot.send { background: var(--ok-bg); color: var(--ok-ink); }
.email-foot.hold { background: var(--hold-bg); color: var(--hold-ink); }
.feat-copy { grid-column: 2; padding: clamp(72px, 9vw, 140px) var(--margin) 20vh clamp(40px, 8vw, 140px); }
.feat-copy .h2 { margin-bottom: 16px; }
.feat-intro { color: var(--ink-2); max-width: 40ch; margin-bottom: 14vh; }
.fblock { max-width: 44ch; min-height: 34vh; }
.fsay { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }
.fblock > p:not(.fsay) { margin-bottom: 22px; color: var(--ink-2); }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button {
  border: 0; background: transparent; border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out), box-shadow var(--t-hover) ease;
}
.seg button:active { transform: scale(0.97); }
.seg button[aria-checked="true"] { background: var(--ink); color: #fff; }
.slider { font-size: 14px; max-width: 400px; }
.slider label { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 500; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; --p: 50%; --track: #d5d8de; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--accent) var(--p), var(--track) var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--track); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; margin-top: -8px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); transition: transform var(--t-press) var(--ease-out); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }
.textfield { max-width: 360px; }
.textfield .ui-input { width: 100%; }

/* ---------- dark band ---------- */
.band-dark { background: var(--dark); color: var(--dark-ink); --muted: var(--dark-muted); --ink-2: #d0d2d6; }
.band-dark input[type="range"] { --track: #3a3b40; }

/* ---------- stats ---------- */
.stats { min-height: 88svh; padding: var(--section) var(--margin) 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 96px; }
.stats .h2 { margin-bottom: 28px; }
.figure { font-size: var(--step-giant); font-weight: 700; letter-spacing: -0.05em; line-height: 0.8; display: flex; align-items: baseline; gap: 0.06em; }
.figure .unit { font-size: 0.22em; letter-spacing: -0.02em; font-weight: 600; }
.stats-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.working { max-width: 32ch; padding-bottom: 0.4em; color: var(--ink-2); }

/* ---------- pricing ---------- */
.pricing {
  background: var(--surface);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: var(--section) var(--margin); align-items: center;
}
.price-copy { grid-column: 1 / 5; align-self: start; padding-top: 2vw; }
.price-copy .h2 { margin-bottom: 20px; }
.price-copy p { color: var(--ink-2); }
.price-volume { margin-top: 20px; color: var(--muted); font-size: 1rem; }
.price-main { grid-column: 6 / 13; position: relative; }
.price { font-size: var(--step-giant); font-weight: 600; letter-spacing: -0.055em; line-height: 0.85; display: flex; align-items: flex-start; }
.price .cur { font-size: 0.5em; margin-top: 0.06em; margin-right: 0.04em; }
.price .per { font-size: var(--step-body); letter-spacing: 0; align-self: flex-end; margin-left: 14px; margin-bottom: 0.4em; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.receipt {
  display: inline-flex; gap: 18px; align-items: center; margin-top: 28px;
  background: var(--dark-2); color: var(--dark-ink); border-radius: 10px; padding: 12px 16px; font-size: 14px;
  box-shadow: var(--shadow-float);
}
.receipt b { color: #7ee2a0; font-weight: 600; }
.incl { margin: 32px 0 32px; display: grid; gap: 8px; }
.incl li { padding-left: 28px; position: relative; }
.incl li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 7px; border: solid var(--accent); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }

/* ---------- enterprise ---------- */
.enterprise {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: var(--section) var(--margin); align-items: start;
}
.ent-copy { grid-column: 1 / 5; position: sticky; top: 120px; }
.ent-copy .h2 { margin-bottom: 20px; }
.ent-copy p { color: var(--ink-2); max-width: 38ch; }
.ent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.ent-list { grid-column: 6 / 13; }

/* ---------- faq ---------- */
.faq {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: 0 var(--margin) var(--section); align-items: start;
}
.faq-title { grid-column: 1 / 5; position: sticky; top: 120px; font-size: var(--step-h3); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.faq-list { grid-column: 6 / 13; display: grid; gap: 8px; }
.faq details { background: var(--surface); border-radius: 14px; transition: background-color var(--t-ui) ease, color var(--t-ui) ease; }
.faq details[open] { background: var(--ink); color: #fff; }
.faq details[open] .link { color: #fff; }
.faq summary { list-style: none; cursor: pointer; min-height: 72px; padding: 22px 64px 22px 26px; position: relative; font-size: 1.1875rem; font-weight: 600; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: absolute; right: 26px; top: 50%; width: 16px; height: 16px; margin-top: -8px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; transition: transform var(--t-ui) var(--ease-out); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
.faq details p { padding: 0 26px 26px; max-width: 58ch; color: #d6d7db; }
@media (hover: hover) and (pointer: fine) { .faq details:not([open]):hover { background: var(--surface-2); } }

/* ---------- cta ---------- */
.cta { background: var(--accent); color: var(--accent-ink); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); min-height: 86svh; padding: 56px var(--margin); }
.cta-copy { grid-column: 1 / 7; align-self: end; padding-bottom: 8px; }
.cta-title { font-size: var(--step-display); font-weight: 600; letter-spacing: -0.045em; line-height: 0.95; margin-bottom: 24px; }
.cta-copy p { max-width: 42ch; color: #fff; }
.dialog {
  grid-column: 8 / 12; align-self: center; justify-self: start; width: min(460px, 100%);
  background: #fff; color: var(--ink); border-radius: 16px; padding: 30px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.18); font-size: 14px;
}
.dialog-title { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 22px; }
.dialog .ui-input { display: block; width: 100%; min-height: 46px; margin-bottom: 20px; font-size: 15px; }
.seg--light { display: flex; margin-bottom: 18px; }
.seg--light button { flex: 1; }
.check-row { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; cursor: pointer; color: var(--ink-2); }
.check-row input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.dialog .form-error { margin: 10px 0 0; }
.dialog-note { margin-top: 12px; color: var(--muted); font-size: 13px; }
.dialog .ui-textarea { min-height: 88px; padding-top: 11px; padding-bottom: 11px; resize: vertical; line-height: 1.45; font-family: inherit; }
.field-opt { color: var(--muted); font-weight: 400; }
.dialog-done { animation: dialog-done-in 360ms var(--ease-out) both; }
.dialog-done p:not(.dialog-title) { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.dialog-done .dialog-title { margin-bottom: 10px; }
@keyframes dialog-done-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .dialog-done { animation: none; } }
.cta-copy .button--light { margin-top: 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-ink); padding: clamp(72px, 8vw, 120px) var(--margin) 32px; font-size: 1rem; overflow: hidden; }
.foot-top { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 48px; }
.foot-brand { grid-column: 1 / 4; display: grid; gap: 18px; align-content: start; justify-items: start; }
.foot-brand p { color: var(--dark-muted); max-width: 30ch; }
.brand--light { color: #fff; }
.foot-cols { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.foot-h { font-weight: 600; margin-bottom: 14px; }
.foot-cols ul { display: grid; gap: 10px; }
.foot-cols a, .foot-cols .link-btn { color: var(--dark-muted); text-decoration-color: transparent; }
@media (hover: hover) and (pointer: fine) { .foot-cols a:hover, .foot-cols .link-btn:hover { color: #fff; } }
.foot-word { max-width: var(--max); margin: clamp(64px, 8vw, 120px) auto 0; font-size: clamp(5rem, 22vw, 21rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.78; color: #66728c; user-select: none; }
.foot-base { max-width: var(--max); margin: 28px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dark-muted); font-size: var(--step-small); }
.credits { max-width: var(--max); margin: 32px auto 0; color: var(--dark-muted); font-size: var(--step-small); }
.credits a { color: var(--dark-ink); }

/* ---------- cookie banner + settings ---------- */
.cbtn {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 0.9375rem;
  background: var(--ink); color: #fff;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.cbtn:active { transform: scale(0.97); }
.cbtn--quiet { background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 0.25em; padding: 0 8px; }
.cbtn--primary { background: var(--accent); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .cbtn:hover { background: #1d2742; }
  .cbtn--quiet:hover { background: transparent; color: var(--accent); }
  .cbtn--primary:hover { background: var(--accent-strong); }
}
.consent {
  position: fixed; left: var(--margin); bottom: var(--margin); z-index: 50; width: min(760px, calc(100vw - 2 * var(--margin)));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: center;
  background: #fff; color: var(--ink); padding: 12px 12px 12px 20px; font-size: 0.875rem; line-height: 1.45; border-radius: 14px;
  box-shadow: 0 2px 6px rgba(11, 11, 12, 0.08), 0 24px 60px -16px rgba(11, 11, 12, 0.35);
  opacity: 0; transform: translateY(16px);
  transition: opacity 300ms var(--ease-out), transform 400ms var(--ease-out);
}
.consent.is-in { opacity: 1; transform: none; }
.consent.is-out { opacity: 0; transform: translateY(12px); transition-duration: 200ms; }
.consent p:not(.consent-title) { color: var(--ink-2); }
.consent-title { font-weight: 600; font-size: 0.9375rem; grid-column: 1; }
.consent > p:not(.consent-title) { grid-column: 1; }
.consent-actions { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 6px; align-items: center; }
.consent .cbtn { min-height: 38px; padding: 0 15px; font-size: 0.875rem; }
.cdialog {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 18px;
  background: #fff; color: var(--ink); box-shadow: 0 40px 100px -20px rgba(11, 11, 12, 0.5);
  opacity: 1; transform: none; transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out);
}
.cdialog::backdrop { background: rgba(11, 11, 12, 0.5); }
@starting-style { .cdialog[open] { opacity: 0; transform: scale(0.97); } }
.cdialog.is-closing { opacity: 0; transform: scale(0.98); transition-duration: 150ms; }
.cd-form { padding: 28px; display: grid; gap: 20px; }
.cd-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cd-title { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.cd-close { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; margin-right: -10px; border-radius: 999px; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.cd-close:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .cd-close:hover { background: var(--surface); } }
.cd-close span::before, .cd-close span::after { content: ""; position: absolute; left: 12px; top: 21px; width: 20px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.cd-close span::after { transform: rotate(-45deg); }
.cd-intro { color: var(--ink-2); }
.cd-list { display: grid; gap: 6px; }
.cd-item { background: var(--surface); padding: 16px 18px; border-radius: 12px; }
.cd-row { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.cd-name { font-weight: 600; flex: 1; }
.cd-always { color: var(--muted); font-size: var(--step-small); }
.cd-text { color: var(--ink-2); font-size: 0.9375rem; margin-top: 4px; max-width: 46ch; }
.cd-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* ---------- document pages (legal, trust) ---------- */
.doc { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 112px) var(--margin) var(--section); }
.doc-head { max-width: 980px; margin-bottom: clamp(56px, 7vw, 112px); }
.doc-head h1 { font-size: var(--step-display); font-weight: 600; letter-spacing: -0.04em; line-height: 0.98; margin-bottom: 24px; }
.doc-meta { color: var(--muted); font-size: var(--step-small); margin-bottom: 24px; }
.doc-lead { font-size: var(--step-lead); line-height: 1.42; color: var(--ink-2); max-width: 46ch; }
.doc-body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.doc-toc { grid-column: 1 / 4; position: sticky; top: 104px; font-size: var(--step-small); }
.doc-toc p { font-weight: 600; margin-bottom: 12px; }
.doc-toc ul { display: grid; gap: 2px; }
.doc-toc a { display: block; padding: 5px 0 5px 14px; color: var(--muted); text-decoration: none; position: relative; transition: color var(--t-hover) ease; }
.doc-toc a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: transparent; transition: background-color var(--t-hover) ease; }
.doc-toc a.is-current { color: var(--ink); font-weight: 500; }
.doc-toc a.is-current::before { background: var(--accent); }
@media (hover: hover) and (pointer: fine) { .doc-toc a:hover { color: var(--ink); } }
.doc-text { grid-column: 5 / 12; max-width: 70ch; color: var(--ink-2); }
.doc-text section { scroll-margin-top: 96px; }
.doc-text section + section { margin-top: 72px; }
.doc-text h2 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 16px; color: var(--ink); }
.doc-text h3 { font-size: var(--step-body); font-weight: 600; margin: 28px 0 8px; color: var(--ink); }
.doc-text p { margin-bottom: 1em; }
.doc-text ul { list-style: disc; padding-left: 1.25em; margin-bottom: 1em; display: grid; gap: 6px; }
.doc-text li::marker { color: var(--muted); }
.doc-text a:not(.cbtn) { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; color: var(--ink); }
.doc-text strong { font-weight: 600; color: var(--ink); }
.doc-table-wrap { overflow-x: auto; margin: 8px 0 20px; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 520px; }
.doc-table th { text-align: left; font-weight: 600; padding: 10px 14px 10px 0; color: var(--muted); font-size: var(--step-small); }
.doc-table td { padding: 12px 14px 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.placeholder { color: #8a5a00; background: #fff4d6; padding: 0 4px; border-radius: 4px; }
.status-row { display: flex; align-items: center; gap: 10px; background: var(--ok-bg); color: var(--ok-ink); padding: 14px 18px; border-radius: 12px; font-weight: 500; margin-bottom: 20px; }
.status-row .live-dot { margin-right: 0; }
.doc-text .docs-list { list-style: none; padding: 0; display: grid; gap: 6px; }
.docs-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--surface); padding: 14px 18px; border-radius: 12px; color: var(--ink); }
.docs-list .dim { display: block; font-size: var(--step-small); }
.docs-list .cbtn { flex: none; text-decoration: none; display: inline-flex; align-items: center; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 110ms + 120ms); }
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
  .js .hero-stage[data-rise] { transform: translateY(28px) scale(0.985); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .fblock[data-reveal] { opacity: 1; transform: none; }
  .js .fblock[data-reveal] > * { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); }
  .js .fblock[data-reveal].is-in > * { opacity: 1; transform: none; }
  .js .fblock[data-reveal].is-in > :nth-child(2) { transition-delay: 70ms; }
  .js .fblock[data-reveal].is-in > :nth-child(3) { transition-delay: 140ms; }
  .js .faq details { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out), background-color var(--t-ui) ease, color var(--t-ui) ease; }
  .js .faq.is-in details { opacity: 1; transform: none; }
  .js .faq.is-in details:nth-child(2) { transition-delay: 60ms, 60ms, 0ms, 0ms; }
  .js .faq.is-in details:nth-child(3) { transition-delay: 120ms, 120ms, 0ms, 0ms; }
  .js .faq.is-in details:nth-child(4) { transition-delay: 180ms, 180ms, 0ms, 0ms; }
  .js .faq.is-in details:nth-child(5) { transition-delay: 240ms, 240ms, 0ms, 0ms; }
  .js .faq.is-in details:nth-child(6) { transition-delay: 300ms, 300ms, 0ms, 0ms; }
  .js .faq.is-in details:nth-child(7) { transition-delay: 360ms, 360ms, 0ms, 0ms; }
  .js .cta-copy, .js .dialog { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .js .cta.is-in .cta-copy, .js .cta.is-in .dialog { opacity: 1; transform: none; }
  .js .cta.is-in .dialog { transition-delay: 120ms; }
  .js .split-title span { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .js .showcase.is-in .split-title span { opacity: 1; transform: none; }
  .js .showcase.is-in .split-title .st-b { transition-delay: 120ms; }
  .js .foot-word { transform: translateY(18%); opacity: 0.4; transition: transform 1400ms var(--ease-soft), opacity 1400ms var(--ease-soft); }
  .js .site-footer.is-in .foot-word { transform: none; opacity: 1; }
  .js .doc-head > * { opacity: 0; transform: translateY(18px); animation: rise var(--t-reveal) var(--ease-out) forwards; }
  .js .doc-head > :nth-child(2) { animation-delay: 90ms; }
  .js .doc-head > :nth-child(3) { animation-delay: 180ms; }
  .js .doc-text section { transform: translateY(16px); transition: transform 900ms var(--ease-out); }
  .js .doc-text section.is-in { transform: none; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .step.is-working .tick { animation: none; }
  #rules li { animation: none; }
  .consent, .cdialog { transition: opacity 150ms ease; transform: none !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 22px; }
  .hero-copy { grid-column: 1 / -1; margin-bottom: 56px; }
  .hero-stage { grid-column: 1 / -1; }
  .lead { max-width: 46ch; }
  .feat-copy { padding-left: 32px; }
  .price-copy { grid-column: 1 / -1; margin-bottom: 56px; max-width: 52ch; }
  .price-main { grid-column: 1 / -1; }
  .ent-copy { grid-column: 1 / -1; position: static; margin-bottom: 48px; }
  .ent-list { grid-column: 1 / -1; }
  .handoff-copy { grid-column: 1 / -1; margin-bottom: 40px; }
  .held { grid-column: 1 / -1; }
  .faq-title { grid-column: 1 / -1; position: static; margin-bottom: 40px; }
  .faq-list { grid-column: 1 / -1; }
  .cta-copy { grid-column: 1 / -1; align-self: start; padding-top: 6vh; }
  .dialog { grid-column: 1 / -1; align-self: end; margin-top: 48px; }
  .foot-brand, .foot-cols { grid-column: 1 / -1; }
  .doc-toc { display: none; }
  .doc-text { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .bar { grid-template-columns: 1fr auto; }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  .bar { height: 64px; }
  .bar-signin { display: none; }
  .brand { font-size: 1.25rem; }
  .brand-mark { width: 26px; height: 26px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: clamp(2.375rem, 10.5vw, 2.875rem); margin-bottom: 20px; }
  .lead { font-size: 1.1875rem; }
  .hero-form { flex-direction: column; }
  .hero-form .button, .hero-form .field { width: 100%; }
  .console { min-height: 0; margin: 0 calc(var(--margin) * -1); border-radius: 0; border-left: 0; border-right: 0; }
  .console-body { grid-template-columns: 1fr; }
  .tickets { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid #26272c; scroll-snap-type: x mandatory; }
  .tickets li { flex: 0 0 72%; scroll-snap-align: start; }
  .tickets { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
  .thread { padding: 16px; min-height: 470px; }
  .stage-note { text-align: left; }

  .showcase { display: flex; flex-direction: column; min-height: 0; }
  .sc-in { order: 0; min-height: 0; padding: 28px 20px 48px; }
  #policy { font-size: 18px; }
  .split-title { order: -1; display: block; font-size: 10.5vw; background: var(--dark); padding: 64px 20px 0; }
  .st-a, .st-b { display: inline; padding: 0; background: none; color: var(--dark-ink); text-align: left; }
  .sc-out { order: 2; min-height: 0; padding: 32px 16px 72px; }

  .features { display: block; }
  .feat-stage { position: sticky; top: 64px; height: 46svh; z-index: 2; padding: 12px 16px; place-items: start center; overflow: hidden; }
  .feat-copy { padding: 48px var(--margin) 12vh; }
  .feat-intro { margin-bottom: 48px; }
  .fblock { min-height: 0; margin-bottom: 72px; }
  .seg:not(.seg--light) { display: flex; }
  .seg:not(.seg--light) button { flex: 1; }

  .stats { min-height: 84svh; }
  .figure { font-size: 30vw; flex-direction: column; align-items: flex-start; gap: 12px; }
  .figure .unit { font-size: 20px; }
  .working { font-size: 0.9375rem; }

  .price { font-size: 30vw; }
  .price .per { font-size: 15px; margin-left: 8px; white-space: normal; }
  .receipt { font-size: 13px; padding: 10px 12px; }
  .pricing .button { width: 100%; }

  .def-rows > div { grid-template-columns: 1fr; padding: 18px 18px; }
  .held-meter { grid-template-columns: 1fr auto; }
  .held-meter .meter { grid-column: 1 / -1; grid-row: 2; }

  .faq summary { font-size: 1.0625rem; min-height: 64px; padding: 20px 56px 20px 20px; }
  .plus { right: 20px; }
  .faq details p { padding: 0 20px 22px; font-size: 1rem; }
  .faq-list { gap: 6px; }

  .cta { min-height: 84svh; padding: 48px 16px 32px; }
  .cta-title { font-size: 13vw; }
  .cta-copy p { font-size: 1rem; }
  .dialog { padding: 22px; }

  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .foot-base { flex-direction: column; }

  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; grid-template-columns: 1fr; }
  .consent-actions { grid-column: 1; grid-row: auto; margin-top: 12px; flex-wrap: wrap; }
  .consent-actions .cbtn:not(.cbtn--quiet) { flex: 1; }
  .cd-form { padding: 22px 18px; }
  .cd-actions .cbtn { flex: 1 1 40%; }
  .cd-actions .cbtn--primary { flex-basis: 100%; }
  .doc-head h1 { font-size: clamp(2.25rem, 10vw, 2.75rem); }
  .docs-list li { flex-direction: column; align-items: flex-start; }
  .doc-table-wrap { overflow: visible; }
  .doc-table { min-width: 0; }
  .doc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .doc-table tr { display: block; padding: 14px 0; border-top: 1px solid var(--line); }
  .doc-table td { display: block; border: 0; padding: 3px 0; }
  .doc-table td:first-child { font-weight: 600; color: var(--ink); }
  .doc-table td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; color: var(--muted); }
}

/* ---------- plans ---------- */
.pricing { align-items: start; row-gap: 56px; }
.pricing .price-copy { grid-column: 1 / 7; padding-top: 0; }
.plan-cols { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.plan-col { padding: 32px 28px 28px; display: flex; flex-direction: column; background: #fff; border-radius: 16px; }
.plan-col h3 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; }
.plan-price { font-size: clamp(3rem, 2rem + 3vw, 4.75rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin: 18px 0 14px; display: flex; align-items: flex-start; font-variant-numeric: tabular-nums; }
.plan-price .cur { font-size: 0.5em; margin-top: 0.08em; margin-right: 0.04em; }
.plan-price .from { font-size: 1rem; letter-spacing: 0; font-weight: 500; color: var(--muted); align-self: flex-end; margin: 0 8px 0.45em 0; }
.plan-price .per { font-size: 1rem; letter-spacing: 0; font-weight: 500; color: var(--ink-2); align-self: flex-end; margin: 0 0 0.45em 6px; }
.plan-for { color: var(--ink-2); min-height: 3.2em; }
.plan-col .incl { margin: 24px 0 32px; flex: 1; align-content: start; font-size: 1rem; }
.plan-col .button { align-self: flex-start; }
.plan-col--featured { position: relative; background: var(--ink); color: #fff; }
.plan-col--featured .plan-for, .plan-col--featured .incl, .plan-col--featured .plan-price .per { color: rgba(255, 255, 255, 0.74); }
.pricing .price-volume { grid-column: 1 / -1; margin-top: 0; }
@media (max-width: 1100px) {
  .plan-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pricing .price-copy { grid-column: 1 / -1; }
  .plan-cols { grid-template-columns: 1fr; }
  .plan-col { padding: 28px 22px 22px; }
  .plan-col .button { width: 100%; }
}

/* ---------- status page (/status) ---------- */
.status-page { --up: #2a9256; --slow: #d4930f; --down: var(--danger); --none: var(--surface-2); max-width: 980px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--up); flex: none; }
[data-state="degraded"] .status-dot { background: var(--slow); }
[data-state="outage"] .status-dot { background: var(--down); }
[data-state="off"] .status-dot, [data-state="loading"] .status-dot { background: var(--line); }

.status-now { display: flex; align-items: center; gap: 14px; padding: 26px 28px; border-radius: 16px; background: var(--ok-bg); color: var(--ok-ink); margin-bottom: 40px; }
.status-now[data-state="degraded"] { background: var(--hold-bg); color: var(--hold-ink); }
.status-now[data-state="outage"] { background: var(--block-bg); color: var(--block-ink); }
.status-now[data-state="loading"] { background: var(--surface); color: var(--ink-2); }
.status-now .status-dot { width: 14px; height: 14px; box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 14%, transparent); background: currentColor; }
.status-now h2 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.status-updated { margin-left: auto; font-size: var(--step-small); font-variant-numeric: tabular-nums; opacity: 0.85; white-space: nowrap; }

.status-list { list-style: none; margin: 0; padding: 0; }
.svc { padding: 24px; border-radius: 14px; }
.svc:nth-child(odd) { background: var(--surface); }
.svc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.svc h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.svc-head p { color: var(--muted); font-size: var(--step-small); margin-top: 2px; }
.svc-state { display: inline-flex; align-items: center; gap: 8px; font-size: var(--step-small); font-weight: 600; white-space: nowrap; padding-top: 3px; }
.svc[data-state="degraded"] .svc-state { color: var(--hold-ink); }
.svc[data-state="outage"] .svc-state { color: var(--block-ink); }
.svc[data-state="off"] .svc-state { color: var(--muted); font-weight: 500; }

.bars { display: flex; gap: 2px; height: 34px; }
.daybar { flex: 1 1 0; min-width: 0; border-radius: 2px; background: var(--up); transition: transform var(--t-press) var(--ease-out); transform-origin: bottom; }
.daybar--slow { background: var(--slow); }
.daybar--down { background: var(--down); }
.daybar--none { background: var(--none); }
@media (hover: hover) { .daybar:hover { transform: scaleY(1.12); } }
.bars-foot { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; margin-top: 10px; font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.bars-foot > :nth-child(3) { text-align: center; }
.bars-foot .span-30 { display: none; }

.status-key { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; padding: 0 24px; font-size: var(--step-small); color: var(--muted); }
.status-key > div { display: flex; align-items: center; gap: 8px; }
.status-key dd { margin: 0; }
.sw { display: block; width: 10px; height: 16px; border-radius: 2px; background: var(--up); }
.sw--slow { background: var(--slow); } .sw--down { background: var(--down); } .sw--none { background: var(--none); }
.status-note { margin-top: 48px; padding: 0 24px; max-width: 68ch; color: var(--ink-2); display: grid; gap: 12px; }

@media (max-width: 720px) {
  .status-now { flex-wrap: wrap; padding: 20px; gap: 10px 12px; }
  .status-updated { margin-left: 26px; flex-basis: 100%; }
  .svc { padding: 18px; }
  .svc-head { gap: 12px; }
  /* Thirty days fit a phone; ninety would be hairlines. */
  .bars .daybar:nth-child(-n+60) { display: none; }
  .bars { gap: 3px; height: 30px; }
  .bars-foot { grid-template-columns: auto auto; row-gap: 4px; }
  .bars-foot .span-90 { display: none; }
  .bars-foot .span-30 { display: inline; }
  .bars-foot > :nth-child(3) { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .status-key, .status-note { padding: 0 4px; }
}
.bars-foot > :last-child { text-align: right; }
