/* Quirna site — every value lifted from the Claude Design canvas
   "Quirna Site Dark New.dc.html" (project 3e320642). Dark only: the canvas
   draws one palette and no switch. Desktop is the 1440 artboard, phones the
   390 one; the breakpoint between them is ours. See docs/adr/0022-dark-redesign.md. */

:root {
  --paper: #0b0d12;
  --card: #12151c;
  --ink: #e8eaf0;
  --ink-rgb: 232, 234, 240;
  --dim: rgba(232, 234, 240, 0.6);
  --amber: #e0a33e;
  --ok: #7fbf9e;
  --bad: #e08d7c;
  --line: rgba(232, 234, 240, 0.16);
  --line-soft: rgba(232, 234, 240, 0.1);
  --line-mid: rgba(232, 234, 240, 0.12);
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --side: 336px;
  --gutter: 64px;
  --col-gap: 56px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ink);
  text-decoration: none;
}
a:hover {
  color: var(--amber);
}

::selection {
  background: rgba(224, 163, 62, 0.28);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

pre {
  margin: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------- type helpers */

.eyebrow,
.control-label,
.pane-label,
.get-eyebrow,
.plan-name {
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow,
.pane-label {
  color: var(--amber);
}
.control-label,
.plan-name {
  color: var(--dim);
}

.amber {
  color: var(--amber);
}
.dim {
  color: var(--dim);
}
.ok {
  color: rgba(127, 191, 158, 0.95);
}
.right {
  text-align: right;
}

.hr {
  height: 1px;
  background: var(--line-mid);
}
.hr.soft {
  background: var(--line-soft);
}

/* ------------------------------------------------------------- buttons */

.btn-solid,
.btn-outline,
.btn-amber,
.btn-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.btn-solid {
  padding: 18px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
}
.btn-solid:hover {
  background: #fff;
  border-color: #fff;
  color: var(--paper);
}
.btn-outline {
  padding: 12px 20px;
  border: 1px solid rgba(232, 234, 240, 0.26);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: rgba(232, 234, 240, 0.6);
  color: var(--ink);
}
.btn-amber {
  border: 1px solid var(--amber);
  background: var(--amber);
  color: var(--paper);
  font-weight: 500;
}
.btn-amber:hover {
  background: #ebb458;
  border-color: #ebb458;
  color: var(--paper);
}
.wide {
  width: 100%;
  height: 52px;
  margin-top: 28px;
}
.btn-outline.wide:hover {
  background: rgba(224, 163, 62, 0.16);
  border-color: var(--amber);
}

/* --------------------------------------------------------------- board */

.board {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(232, 234, 240, 0.1);
  border-right: 1px solid rgba(232, 234, 240, 0.1);
  overflow: clip;
}

/* ---------------------------------------------------------------- rail */

.rail {
  position: absolute;
  left: calc(var(--gutter) + var(--side));
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
  pointer-events: none;
  z-index: 1;
}
.rail-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 600px;
  background: linear-gradient(
    to bottom,
    rgba(224, 163, 62, 0.18) 0%,
    rgba(224, 163, 62, 0.55) 70%,
    var(--amber) 100%
  );
  box-shadow: 0 0 6px rgba(224, 163, 62, 0.35);
  transition: height 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rail-ticks {
  position: absolute;
  left: -5px;
  top: 0;
  bottom: 0;
  width: 11px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(232, 234, 240, 0.28) 0 1px,
    transparent 1px 150px
  );
}
.rail-note {
  position: absolute;
  right: 20px;
  white-space: nowrap;
  font: 400 9px / 1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--dim);
}
.rail-note.on {
  color: var(--amber);
}
.rail-glow {
  position: absolute;
  left: -60px;
  top: 540px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 163, 62, 0.22) 0%, rgba(0, 0, 0, 0) 65%);
}
.rail-mark {
  position: absolute;
  left: -5px;
  top: 600px;
  width: 11px;
  height: 1px;
  background: var(--amber);
  box-shadow: 0 0 9px rgba(224, 163, 62, 0.9);
}

/* ----------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 24px var(--gutter);
  border-bottom: 1px solid rgba(232, 234, 240, 0.08);
}

.brand {
  width: var(--side);
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand:hover {
  color: var(--ink);
}
.mark {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 9px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mark i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1.8px solid var(--paper);
}
.brand b {
  font: 600 15px / 1 var(--sans);
  letter-spacing: -0.01em;
}

.nav-links {
  flex: 1;
  display: flex;
  gap: 28px;
  padding-left: var(--col-gap);
}
.nav-links a,
.nav-pricing {
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.nav-links a:hover,
.nav-pricing:hover {
  color: var(--ink);
}
.nav-pricing {
  display: none;
}
.nav-signin {
  flex: none;
}

/* ---------------------------------------------------------------- rows */

.row {
  display: grid;
  grid-template-columns: var(--side) 1fr;
  padding: 0 var(--gutter);
}
.section {
  padding-top: 150px;
  scroll-margin-top: 80px;
}
.section .body {
  padding-left: var(--col-gap);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.section h2 {
  font: 600 34px / 1.08 var(--sans);
  letter-spacing: -0.025em;
  max-width: 560px;
  text-wrap: balance;
}

.node {
  position: relative;
  padding-right: 28px;
  text-align: right;
  height: fit-content;
}
.node-halo {
  position: absolute;
  right: -64px;
  top: -55px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 65%);
  pointer-events: none;
  transition: background 0.5s;
}
.node-dot {
  position: absolute;
  right: -4px;
  top: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--dim);
  transition: all 0.4s;
}
.node-label {
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.4s;
}
.is-active .node-halo {
  background: radial-gradient(circle, rgba(224, 163, 62, 0.26) 0%, rgba(0, 0, 0, 0) 65%);
}
.is-active .node-dot {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 12px rgba(224, 163, 62, 0.9);
}
.is-active .node-label {
  color: var(--amber);
}

/* ---------------------------------------------------------------- hero */

.hero {
  padding-top: 72px;
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 40px;
}
.pending {
  display: flex;
  align-items: center;
  gap: 9px;
}
.pending-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(224, 163, 62, 0.9);
  transition:
    background 0.4s,
    box-shadow 0.4s;
}
.pending-dot.done {
  background: rgba(127, 191, 158, 0.9);
  box-shadow: 0 0 14px rgba(127, 191, 158, 0.9);
}
.pending-label {
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero-count-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-count {
  font: 500 52px / 1 var(--mono);
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.hero-count-sub {
  font: 400 10px / 1.8 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.hero-main {
  padding-left: var(--col-gap);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
  min-width: 0;
}
.hero-copy h1 {
  font: 600 56px / 1.04 var(--sans);
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 470px;
}
.hero-sub {
  margin-top: 36px;
  max-width: 420px;
  font: 400 15px / 1.75 var(--mono);
  color: var(--dim);
  text-wrap: pretty;
}
.hero-ctas {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero-link {
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero-link:hover {
  color: var(--ink);
}

.hero-demo {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.arrow-note {
  text-align: center;
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Slack message: the hero mention and the surfaces' post. */
.slack {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.slack-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.spacer {
  flex: 1;
}
.slack-text {
  margin-top: 12px;
  font: 400 14px / 1.7 var(--mono);
  color: rgba(232, 234, 240, 0.78);
  text-wrap: pretty;
}
.slack-title {
  margin-top: 14px;
  font: 500 18px / 1.2 var(--sans);
  letter-spacing: -0.015em;
}
.slack-meta {
  margin-top: 8px;
  font: 400 12px / 1.7 var(--mono);
  color: var(--dim);
}
.slack-lines {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slack-lines div {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 400 12px / 1.4 var(--mono);
  color: rgba(232, 234, 240, 0.78);
}
.slack-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font: 400 10.5px / 1.5 var(--mono);
  letter-spacing: 0.06em;
  color: var(--dim);
}
.dot-ok,
.dot-amber {
  display: inline-block;
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: rgba(127, 191, 158, 0.9);
}
.dot-amber {
  background: var(--amber);
}
.v .dot-ok {
  margin-right: 7px;
  vertical-align: 1px;
  background: rgba(127, 191, 158, 0.95);
}

/* Phone frames: the hero device, the surfaces device and the walkthrough mini. */
.phone-wrap {
  position: relative;
}
.halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 163, 62, 0.22) 0%, rgba(0, 0, 0, 0) 62%);
  pointer-events: none;
  transition: background 0.6s ease;
}
.phone {
  position: relative;
  border: 1px solid rgba(232, 234, 240, 0.22);
  border-radius: 30px;
  padding: 11px;
  background: var(--paper);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.phone-screen {
  border: 1px solid var(--line);
  border-radius: 21px;
  padding: 26px 22px 22px;
}
.phone-screen.compact {
  padding: 22px 20px 20px;
}
.tier {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--amber);
}
.tier.crit {
  color: rgba(224, 141, 124, 0.9);
}
.tier .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tier .dot.glow {
  box-shadow: 0 0 10px rgba(224, 163, 62, 0.8);
}
.tier .name {
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.tier .exp {
  margin-left: auto;
  font: 400 11px / 1 var(--mono);
  color: var(--dim);
}
.phone-title {
  margin-top: 24px;
  font: 600 32px / 1.06 var(--sans);
  letter-spacing: -0.025em;
}
.compact .phone-title,
.mini-title {
  margin-top: 20px;
  font: 600 25px / 1.08 var(--sans);
  letter-spacing: -0.025em;
}
.phone-sub {
  margin-top: 12px;
  font: 400 11px / 1 var(--mono);
  letter-spacing: 0.04em;
  color: var(--dim);
}
.compact .phone-sub,
.mini .phone-sub {
  margin-top: 10px;
}
.rule {
  margin-top: 26px;
  height: 1px;
  background: var(--line);
}
.compact .rule,
.mini .rule {
  margin-top: 22px;
}
.rows {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.compact .rows,
.mini .rows {
  margin-top: 18px;
  gap: 12px;
}
.row-kv {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.row-kv .k {
  font: 400 10.5px / 1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.row-kv .v {
  margin-left: auto;
  font: 400 13px / 1 var(--mono);
}
.decide {
  margin-top: 30px;
  display: flex;
  gap: 10px;
}
.compact .decide,
.mini .decide {
  margin-top: 26px;
}
.btn-reject,
.btn-approve {
  position: relative;
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  user-select: none;
  transition: opacity 0.3s;
}
.btn-reject {
  border: 1px solid rgba(224, 141, 124, 0.55);
  color: var(--bad);
}
.btn-approve {
  border: 1px solid rgba(127, 191, 158, 0.7);
  background: rgba(127, 191, 158, 0.06);
  color: var(--ok);
}
.btn-reject .label,
.btn-approve .label,
.btn-reject:not(:has(.label)),
.btn-approve:not(:has(.label)) {
  position: relative;
  display: block;
  padding: 15px 0;
  font: 600 15px / 1 var(--sans);
}
.mini .btn-reject .label,
.mini .btn-approve .label {
  padding: 14px 0;
  font-size: 14px;
}
.btn-reject .fill,
.btn-approve .fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: rgba(127, 191, 158, 0.2);
  transition: width 60ms linear;
}
.btn-reject .fill {
  background: rgba(224, 141, 124, 0.18);
}
.btn-reject.filled .fill,
.btn-approve.filled .fill {
  width: 100%;
}
.hold {
  cursor: pointer;
  touch-action: none;
  width: auto;
}
.hold:focus-visible {
  outline: 1px solid var(--ok);
  outline-offset: 2px;
}
.hold-foot {
  margin-top: 14px;
  text-align: center;
  white-space: nowrap;
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.compact .hold-foot,
.mini .hold-foot {
  margin-top: 12px;
  letter-spacing: 0.12em;
}
.mini .hold-foot {
  white-space: normal;
  line-height: 1.5;
}
.phone-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font: 400 10.5px / 1.7 var(--mono);
  color: var(--dim);
  text-wrap: pretty;
}
.mini .phone-note {
  margin-top: 14px;
  padding-top: 12px;
}

/* --------------------------------------------------------- walkthrough */

.controls {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.control-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.control-group .control-label {
  margin-right: 14px;
}
.control-group.wait {
  margin-left: auto;
}
.control-group.wait .control-label {
  margin-left: 10px;
}
.chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(232, 234, 240, 0.26);
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  transition: all 0.2s;
}
.chip:hover {
  border-color: rgba(232, 234, 240, 0.5);
}
.chip.on {
  border-color: var(--amber);
  background: rgba(224, 163, 62, 0.14);
  color: var(--ink);
}
.chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.outcomes .chip.on {
  background: rgba(232, 234, 240, 0.06);
}
.outcomes .chip.on[data-outcome="approved"] {
  border-color: rgba(127, 191, 158, 0.9);
}
.outcomes .chip.on[data-outcome="rejected"] {
  border-color: rgba(224, 141, 124, 0.9);
}
.outcomes .chip.on[data-outcome="expired"] {
  border-color: rgba(232, 234, 240, 0.22);
}

.stages {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.stage {
  position: relative;
  text-align: left;
  border-top: 1px solid var(--line);
  padding: 16px 16px 0 0;
}
.stage-tick {
  position: absolute;
  left: 0;
  top: -4px;
  width: 1px;
  height: 7px;
  background: rgba(232, 234, 240, 0.28);
}
.stage-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stage-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(232, 234, 240, 0.22);
}
.stage-n {
  font: 400 9px / 1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--dim);
}
.stage-label {
  display: block;
  margin-top: 8px;
  font: 400 12px / 1.4 var(--mono);
  color: var(--dim);
}
.stage.done .stage-dot {
  background: rgba(127, 191, 158, 0.9);
}
.stage.on {
  border-top-color: var(--amber);
}
.stage.on .stage-tick,
.stage.on .stage-dot {
  background: var(--amber);
}
.stage.on .stage-n,
.stage.on .stage-label {
  color: var(--amber);
}
.stage-now {
  display: none;
}

.demo {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 820px;
}
.pane-left {
  padding-right: 48px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pane-head {
  margin-top: 18px;
  font: 600 30px / 1.1 var(--sans);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.pane-body {
  margin-top: 18px;
  max-width: 420px;
  font: 400 14px / 1.8 var(--mono);
  color: var(--dim);
  text-wrap: pretty;
}
.facts {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}
.fact {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
}
.fact .k {
  flex: none;
  width: 120px;
  font: 400 10px / 1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.fact .v {
  min-width: 0;
  font: 400 14px / 1.4 var(--mono);
  word-break: break-word;
}
.mini {
  margin-top: 30px;
  width: 300px;
  max-width: 100%;
  border: 1px solid rgba(232, 234, 240, 0.2);
  border-radius: 28px;
  padding: 10px;
}
.mini-screen {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 20px 20px;
}
.outcomes {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.outcomes .control-label {
  margin-right: 14px;
}
.pane-foot {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.btn-back {
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.btn-back:hover {
  color: var(--ink);
}
.btn-next {
  padding: 14px 22px;
  border: 1px solid rgba(232, 234, 240, 0.26);
  color: var(--ink);
}
.btn-next:hover {
  background: rgba(224, 163, 62, 0.16);
  border-color: var(--amber);
}
.counter {
  margin-left: auto;
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--dim);
}

.pane-right {
  border-left: 1px solid var(--line);
  background: var(--card);
  padding: 28px 32px 32px 40px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}
.code-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.code-label {
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.code-meta {
  margin-left: auto;
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.code {
  margin-top: 24px;
  font: 400 13px / 1.8 var(--mono);
  color: rgba(232, 234, 240, 0.78);
  white-space: pre-wrap;
  word-break: break-word;
}
.code-note {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  font: 400 13px / 1.8 var(--mono);
  color: var(--dim);
  text-wrap: pretty;
}

/* ------------------------------------------------------------ surfaces */

.surfaces {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
}
.surface {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--col-gap);
  border-top: 1px solid var(--line-mid);
  padding: 40px 0 44px;
  align-items: center;
}
.surface h3 {
  margin-top: 16px;
  font: 600 26px / 1.15 var(--sans);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.surface p {
  margin-top: 16px;
  max-width: 400px;
  font: 400 14px / 1.8 var(--mono);
  color: var(--dim);
  text-wrap: pretty;
}

.console-card {
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  min-width: 0;
}
.console-tabs {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.console-tabs .on {
  color: var(--ink);
}
.console-tabs .count {
  margin-left: auto;
  letter-spacing: 0.14em;
  text-transform: none;
}
.console-row {
  display: grid;
  grid-template-columns: 1fr 1fr 96px;
  column-gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(232, 234, 240, 0.07);
}
.cr-name {
  font: 400 13px / 1.3 var(--mono);
}
.cr-when {
  margin-top: 4px;
  font: 400 10.5px / 1.3 var(--mono);
  color: var(--dim);
}
.cr-req {
  font: 400 11.5px / 1.4 var(--mono);
  color: rgba(232, 234, 240, 0.78);
}
.cr-tier {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cr-tier i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.surface-phone {
  display: flex;
  justify-content: center;
}
.surface-phone .phone-wrap {
  width: 300px;
}
.surface-phone .phone {
  padding: 10px;
}

/* ----------------------------------------------------------------- why */

.gets-head,
.get {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  column-gap: 40px;
}
.gets-head {
  margin-top: 44px;
  padding-bottom: 14px;
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.get {
  border-top: 1px solid var(--line-mid);
  padding: 28px 0 30px;
}
.get-sep {
  background: var(--line);
}
.get-eyebrow {
  display: none;
}
.get-t {
  font: 600 21px / 1.2 var(--sans);
  letter-spacing: -0.015em;
}
.get-before .get-t {
  color: rgba(232, 234, 240, 0.62);
}
.get-after .get-t {
  color: var(--amber);
}
.get-b {
  margin-top: 12px;
  font: 400 14px / 1.7 var(--mono);
  color: var(--dim);
  text-wrap: pretty;
}
.get-after .get-b {
  color: rgba(232, 234, 240, 0.7);
}

/* -------------------------------------------------------------- record */

.ledger-head,
.ledger-row {
  display: grid;
  grid-template-columns: 110px 1fr 1fr 1fr 120px;
  column-gap: 24px;
}
.ledger-head {
  margin-top: 36px;
  padding-bottom: 12px;
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.ledger-row {
  align-items: baseline;
  padding: 15px 0;
  border-top: 1px solid var(--line-soft);
  font: 400 13px / 1.4 var(--mono);
  color: rgba(232, 234, 240, 0.78);
}
.l-t,
.l-by,
.l-device {
  color: var(--dim);
}
.l-out {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.l-out i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.l-meta {
  display: none;
}
.ledger-note {
  margin-top: 18px;
  max-width: 560px;
  font: 400 14px / 1.8 var(--mono);
  color: var(--dim);
  text-wrap: pretty;
}

/* ------------------------------------------------------------- pricing */

.plans {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  column-gap: var(--col-gap);
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.plan-sep {
  background: var(--line);
}
.plan-name-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.plan-tag {
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.price {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.amount {
  font: 400 52px / 1 var(--mono);
  letter-spacing: -0.035em;
  color: var(--amber);
}
.per {
  font: 400 10px / 1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.plan-pitch {
  margin-top: 16px;
  font: 500 19px / 1.3 var(--sans);
  letter-spacing: -0.015em;
  color: rgba(232, 234, 240, 0.78);
  text-wrap: pretty;
}
.plan-cancel {
  margin-top: 10px;
  text-align: center;
  font: 400 10px / 1.5 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
}
.feature {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
}
.feature .k {
  flex: none;
  width: 110px;
  font: 400 10px / 1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.feature .v {
  min-width: 0;
  font: 400 14px / 1.4 var(--mono);
}
.plan.team {
  position: relative;
  margin: -33px -28px 0;
  padding: 32px 28px 8px;
  border: 1px solid var(--amber);
  box-shadow:
    0 0 0 1px rgba(224, 163, 62, 0.15),
    0 30px 80px -40px rgba(224, 163, 62, 0.35);
}
.plan-glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: 640px;
  height: 420px;
  transform: translate(-50%, -30%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(224, 163, 62, 0.11) 0%, rgba(0, 0, 0, 0) 65%);
  pointer-events: none;
}
.plan.team > :not(.plan-glow) {
  position: relative;
}

/* ------------------------------------------------------------- contact */

.body.contact {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.contact-mail {
  margin-top: 20px;
  font: 400 40px / 1 var(--mono);
  letter-spacing: -0.035em;
  color: var(--ink);
  word-break: break-all;
}
.contact-mail:hover {
  color: var(--amber);
}
.contact-note {
  margin-top: 18px;
  font: 400 15px / 1.75 var(--mono);
  color: var(--dim);
}

/* ---------------------------------------------------------------- top */

.to-top {
  position: sticky;
  bottom: 28px;
  align-self: flex-end;
  margin: -52px var(--gutter) 0 0;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid rgba(232, 234, 240, 0.26);
  background: var(--paper);
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.to-top:hover {
  color: var(--ink);
  border-color: var(--amber);
}
.to-top-short {
  display: none;
}

/* -------------------------------------------------------------- footer */

.foot {
  margin-top: 140px;
  padding: 0 var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.foot-in {
  padding-top: 14px;
  display: flex;
  font: 400 10px / 1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.foot-copy {
  width: var(--side);
  flex: none;
}
.foot-line {
  padding-left: var(--col-gap);
  flex: 1;
}
.foot-links {
  display: flex;
  gap: 22px;
}
.foot-links a,
.foot-in a {
  color: var(--dim);
}
.foot-links a:hover,
.foot-in a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------- legal pages */
/* /terms and /privacy (ZUR-11). Not in the canvas: the site's header and
   footer, a plain reading column in the canvas's palette and type. */

.site {
  max-width: 1440px;
  margin: 0 auto;
  border-left: 1px solid rgba(232, 234, 240, 0.1);
  border-right: 1px solid rgba(232, 234, 240, 0.1);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site .top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid rgba(232, 234, 240, 0.08);
}
.site .top-in {
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
}
.site .brand {
  width: auto;
}
.site .foot {
  margin-top: auto;
  padding-top: 80px;
}
.site .foot-in {
  display: block;
}
.legal {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 28px 40px;
  font: 400 15px / 1.7 var(--mono);
  color: rgba(232, 234, 240, 0.72);
}
.legal .eyebrow {
  margin: 0 0 10px;
}
.legal h1 {
  margin: 0;
  font: 600 clamp(30px, 5vw, 40px) / 1.1 var(--sans);
  letter-spacing: -0.025em;
  color: var(--ink);
}
.legal-date {
  margin: 10px 0 36px;
  font: 400 12px / 1.4 var(--mono);
  letter-spacing: 0.06em;
  color: var(--dim);
}
.legal h2 {
  margin: 40px 0 10px;
  font: 600 19px / 1.3 var(--sans);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.legal h3 {
  margin: 24px 0 6px;
  font: 600 15px / 1.4 var(--sans);
  color: var(--ink);
}
.legal p {
  margin: 0 0 14px;
}
.legal ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.legal li {
  margin-bottom: 8px;
}
.legal strong {
  font-weight: 500;
  color: var(--ink);
}
.legal code {
  font: 400 13px / 1 var(--mono);
  color: var(--ink);
  overflow-wrap: anywhere;
}
.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232, 234, 240, 0.4);
}
.legal a:hover {
  color: var(--amber);
}
.legal-table {
  overflow-x: auto;
  margin: 0 0 14px;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.5;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.legal th {
  font-weight: 500;
  color: var(--ink);
}

/* ------------------------------------------------------------- phones */
/* The 390 artboard: one column, the rail at 20px, section markers inline. */

@media (max-width: 1023px) {
  :root {
    --gutter: 20px;
    --col-gap: 0px;
  }
  .board {
    border: 0;
  }
  .rail {
    left: 20px;
  }
  .rail-ticks {
    left: -4px;
    width: 9px;
    background: repeating-linear-gradient(
      to bottom,
      rgba(232, 234, 240, 0.28) 0 1px,
      transparent 1px 120px
    );
  }
  .rail-note,
  .rail-glow,
  .rail-mark {
    display: none;
  }

  .nav {
    gap: 16px;
    padding: 16px 20px 16px 40px;
  }
  .brand {
    width: auto;
    flex: 1;
  }
  .mark {
    width: 24px;
    height: 24px;
    border-radius: 8px;
  }
  .mark i {
    width: 9px;
    height: 9px;
  }
  .brand b {
    font-size: 14px;
  }
  .nav-links {
    display: none;
  }
  .nav-pricing {
    display: block;
  }
  .nav-signin {
    padding: 11px 14px;
  }

  .row {
    display: flex;
    flex-direction: column;
    padding: 0 20px 0 40px;
  }
  .section {
    padding-top: 96px;
    scroll-margin-top: 70px;
  }
  .section .body {
    padding-left: 0;
  }
  .section h2 {
    margin-top: 20px;
    font-size: 26px;
    line-height: 1.1;
  }
  .node {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: -24px;
    padding-right: 0;
    text-align: left;
  }
  .node-halo {
    display: none;
  }
  .node-dot {
    position: static;
    flex: none;
  }

  .hero {
    padding-top: 44px;
  }
  .hero-side {
    padding-right: 0;
    gap: 12px;
  }
  .pending-id {
    display: none;
  }
  .hero-count-wrap {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
  }
  .hero-count {
    font-size: 44px;
  }
  .hero-count-sub {
    line-height: 1.6;
    letter-spacing: 0.14em;
  }
  .hero-main {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .hero-copy h1 {
    margin-top: 44px;
    font-size: 36px;
    letter-spacing: -0.025em;
    max-width: none;
  }
  .hero-sub {
    margin-top: 22px;
    font-size: 14px;
    max-width: none;
  }
  .hero-ctas {
    margin-top: 30px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .hero-ctas .btn-solid {
    height: 52px;
    padding: 0;
  }
  .hero-demo {
    margin-top: 56px;
  }
  .halo {
    width: 560px;
    height: 560px;
  }
  .phone {
    padding: 10px;
    box-shadow: none;
  }
  .phone-screen {
    border-radius: 22px;
    padding: 22px 18px 20px;
  }
  .phone-title {
    margin-top: 20px;
    font-size: 26px;
  }
  .phone-sub {
    margin-top: 10px;
  }
  .rule {
    margin-top: 22px;
  }
  .rows {
    margin-top: 18px;
    gap: 12px;
  }
  .decide {
    margin-top: 26px;
  }
  .hold-foot {
    margin-top: 12px;
    letter-spacing: 0.12em;
  }
  .phone-note {
    margin-top: 16px;
    padding-top: 12px;
    font-size: 11px;
  }

  .controls {
    margin-top: 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .control-group {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .control-group .control-label,
  .control-group.wait .control-label {
    margin: 0;
  }
  .control-group.wait {
    margin-left: 0;
  }
  .stages {
    margin-top: 32px;
  }
  .stage {
    padding: 14px 8px 0 0;
  }
  .stage-top {
    gap: 6px;
  }
  .stage-label {
    display: none;
  }
  .stage-now {
    margin-top: 14px;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
  .stage-name {
    font: 400 14px / 1.4 var(--mono);
    color: var(--amber);
  }
  .demo {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .pane-left {
    padding-right: 0;
  }
  .pane-head {
    margin-top: 14px;
    font-size: 25px;
    line-height: 1.12;
  }
  .pane-body {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.75;
    max-width: none;
  }
  .facts {
    margin-top: 24px;
  }
  .fact {
    gap: 12px;
    padding: 12px 0;
  }
  .fact .k {
    width: 104px;
  }
  .fact .v {
    font-size: 13px;
  }
  .mini {
    margin-top: 24px;
    width: 100%;
    border-radius: 26px;
  }
  .mini-screen {
    border-radius: 18px;
    padding: 20px 18px 18px;
  }
  .mini-title {
    margin-top: 18px;
    font-size: 23px;
    line-height: 1.1;
    letter-spacing: -0.015em;
  }
  .outcomes {
    margin-top: 26px;
    gap: 12px 22px;
  }
  .outcomes .control-label {
    margin-right: 0;
  }
  .pane-foot {
    order: 3;
    padding-top: 28px;
    gap: 22px;
  }
  .pane-foot .counter {
    display: none;
  }
  .btn-next {
    flex: 1;
    height: 50px;
    padding: 0;
  }
  .pane-right {
    order: 2;
    margin-top: 32px;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 0 24px;
  }
  .code-head {
    padding: 0 16px 14px;
  }
  .code {
    margin: 20px 16px 0;
    font-size: 12px;
  }
  .code-note {
    margin: 22px 16px 0;
    padding-top: 18px;
    font-size: 12.5px;
    line-height: 1.75;
  }
  /* The mobile artboard puts the code pane between the copy and the buttons. */
  .pane-left {
    display: contents;
  }
  .pane-left > #pane-left {
    order: 1;
    display: flex;
    flex-direction: column;
  }

  .surfaces {
    margin-top: 28px;
  }
  .surface {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px 0 32px;
  }
  .surface h3 {
    margin-top: 12px;
    font-size: 21px;
    letter-spacing: -0.015em;
  }
  .surface p {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.7;
    max-width: none;
  }
  .console-row {
    grid-template-columns: 1fr 84px;
  }
  .cr-req {
    display: none;
  }
  .surface-phone .phone-wrap {
    width: 100%;
  }
  .surface-phone .phone {
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.6),
      0 30px 80px -30px rgba(0, 0, 0, 0.9);
  }
  .phone-screen.compact {
    border-radius: 21px;
    padding: 22px 20px 20px;
  }
  .compact .phone-title {
    font-size: 25px;
  }

  .gets-head {
    display: none;
  }
  #gets {
    margin-top: 32px;
  }
  .get {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 0 26px;
  }
  .get-sep {
    height: 1px;
    width: 40px;
  }
  .get-eyebrow {
    display: block;
  }
  .get-t {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 500;
  }
  .get-b {
    margin-top: 8px;
    font-size: 13px;
  }

  .ledger-head {
    display: none;
  }
  #ledger {
    margin-top: 28px;
  }
  .ledger-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 0;
  }
  .l-action {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .l-t,
  .l-by,
  .l-device {
    display: none;
  }
  .l-meta {
    display: block;
    width: 100%;
    margin-top: -6px;
    font: 400 11px / 1.5 var(--mono);
    color: var(--dim);
  }
  .ledger-note {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.75;
  }

  .plans {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    padding-top: 26px;
  }
  .plan-sep {
    display: none;
  }
  .price {
    margin-top: 16px;
    gap: 10px;
  }
  .amount {
    font-size: 44px;
  }
  .plan-pitch {
    margin-top: 12px;
    font-size: 18px;
  }
  .wide {
    height: 50px;
    margin-top: 22px;
  }
  .features {
    margin-top: 24px;
  }
  .feature {
    gap: 12px;
    padding: 11px 0;
  }
  .feature .k {
    width: 96px;
  }
  .feature .v {
    font-size: 13px;
  }
  .plan.team {
    margin: 44px 0 0;
    padding: 26px 0 0;
    border: 0;
    border-top: 1px solid var(--amber);
    box-shadow: none;
  }
  .plan-glow {
    width: 520px;
    height: 360px;
  }

  .body.contact {
    margin-top: 20px;
    padding-top: 24px;
  }
  .contact-mail {
    margin-top: 16px;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
  }
  .contact-note {
    margin-top: 14px;
    font-size: 14px;
  }

  .to-top {
    bottom: 20px;
    margin: -46px 20px 0 0;
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 0;
  }
  .to-top-full {
    display: none;
  }
  .to-top-short {
    display: block;
  }

  .foot {
    margin-top: 80px;
    padding: 0 20px 32px 40px;
  }
  .foot-in {
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    line-height: 1.4;
  }
  .foot-copy {
    order: 3;
    width: auto;
  }
  .foot-line {
    order: 1;
    padding-left: 0;
  }
  .foot-links {
    order: 2;
    gap: 18px;
  }

  .site .top-in {
    padding: 16px 20px;
  }
  .site .foot {
    padding: 0 20px 32px;
  }
  .legal {
    padding: 40px 0 24px;
  }
}

@media (max-width: 480px) {
  .hero-count-wrap {
    flex-wrap: wrap;
  }
}
