/* Slab to Keys — the public site. Light only, on purpose (the owner's choice: Spruce & brass, light, D910).
   Layout: a drafting sheet. Paper ground, ink lines, a title block; spruce marks what you can do, brass marks what is waiting now.
   The palette is the v4 mockup's light set; blue appears only inside drawn sheets. */
:root {
  color-scheme: light;
  --paper: #f3f4f0;
  --surface: #ffffff;
  --well: #ebece6;
  --line: #e0e2da;
  --line-2: #c5c8be;
  --ink: #1c211f;
  --ink-2: #5a615c;
  --ink-3: #8c938e;
  --act: #215a4b;
  --act-deep: #173f35;
  --act-ink: #ffffff;
  --act-soft: #dce9e3;
  --act-line: #9fc2b5;
  --now: #9a6e1f;
  --now-ink: #1b1407;
  --now-soft: #f5ead0;
  --now-line: #d9be7a;
  --block: #a43a2f;
  --block-soft: #f7ded8;
  --blue: #2f5f8f;
  --blue-soft: #dce6f1;
  --concrete: #b9bdb6;
  --wood: #c4965a;
  --glass: #cadde4;
  --roof: #2b4a41;
  --f-ui: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-name: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --r: 6px;
  --r-lg: 10px;
  --shadow: 0 18px 40px -22px rgba(28, 33, 31, 0.4), 0 2px 6px -2px rgba(28, 33, 31, 0.12);
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
}
a {
  color: var(--act);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--act-deep);
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}
:focus-visible {
  outline: 2px solid var(--act);
  outline-offset: 3px;
  border-radius: 4px;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
}

/* ---------- type ---------- */
.display {
  font-family: var(--f-name);
  font-weight: 600;
  font-size: clamp(38px, 6.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}
.h2 {
  font-family: var(--f-name);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.h3 {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36em;
}
.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.muted {
  color: var(--ink-2);
}
.num {
  font-variant-numeric: tabular-nums lining-nums;
}
.prose {
  max-width: 38em;
  display: grid;
  gap: 14px;
}

/* ---------- frame ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(64px, 9vw, 112px);
}
.section + .section {
  border-top: 1px solid var(--line);
}
.section-head {
  display: grid;
  gap: 14px;
  max-width: 44em;
  margin-bottom: clamp(32px, 4vw, 48px);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--f-name);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.mark:hover {
  color: var(--ink);
}
.mark svg {
  flex: none;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}
.nav-links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--now);
  padding-bottom: 4px;
}
@media (max-width: 720px) {
  .nav .wrap {
    gap: 14px;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 14px;
  }
  .nav .btn {
    display: none;
  }
}
@media (max-width: 420px) {
  .mark span {
    display: none;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--r);
  font: 600 15px/1.2 var(--f-ui);
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn-pri {
  background: var(--act);
  color: var(--act-ink);
}
.btn-pri:hover {
  background: var(--act-deep);
  color: var(--act-ink);
}
.btn-quiet {
  border: 1px solid var(--line-2);
  color: var(--ink);
  background: var(--surface);
}
.btn-quiet:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}
.btn-sm {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 14px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.textlink {
  font-weight: 600;
  text-decoration: none;
}
.textlink::after {
  content: " →";
}

/* ---------- pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  font: 600 12px/18px var(--f-ui);
  white-space: nowrap;
  border: 1px solid transparent;
}
.pill-now {
  background: var(--now-soft);
  color: var(--now-ink);
  border-color: var(--now-line);
}
.pill-act {
  background: var(--act-soft);
  color: var(--act-deep);
  border-color: var(--act-line);
}
.pill-done {
  background: var(--well);
  color: var(--ink);
  border-color: var(--line-2);
}
.pill-done::before {
  content: "✓";
}
.pill-block {
  background: var(--block-soft);
  color: var(--block);
}
.count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--now);
  color: #fff;
  font: 600 12px/1 var(--f-ui);
  font-variant-numeric: tabular-nums;
}

/* ---------- hero ---------- */
.hero {
  padding-block: clamp(48px, 7vw, 88px) 0;
}
.hero-copy {
  display: grid;
  gap: 22px;
  max-width: 50em;
}
.hero-note {
  font-size: 14px;
  color: var(--ink-2);
}

/* the slab-to-keys sheet */
.sheet {
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--surface);
  background-blend-mode: normal;
  position: relative;
}
.sheet::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--line-2);
  pointer-events: none;
}
.sheet-draw {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 18px 0;
}
.sheet-draw svg {
  display: block;
  width: 100%;
  min-width: 760px;
  height: auto;
}
.sheet-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  border-top: 1px solid var(--line-2);
  margin: 0 6px 6px;
  background: var(--surface);
}
.now-line {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 15px;
}
.now-line .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--now);
  box-shadow: 0 0 0 4px var(--now-soft);
  flex: none;
}
.now-line b {
  font-weight: 600;
}
.now-line .now-text {
  min-width: 0;
}
.titleblock {
  display: grid;
  grid-template-columns: auto auto;
  border-left: 1px solid var(--line-2);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.titleblock div {
  padding: 6px 12px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.titleblock div:nth-child(2n) {
  border-right: 0;
}
.titleblock div:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.titleblock b {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 760px) {
  .sheet-foot {
    grid-template-columns: 1fr;
  }
  .titleblock {
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }
}
.stage-hit {
  cursor: pointer;
}
.stage-hit:focus-visible {
  outline: none;
}
.stage-hit:focus-visible .stage-label {
  text-decoration: underline;
}

/* ---------- "Today" product window ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}
.window {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
  font-size: 14px;
  line-height: 20px;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-size: 13px;
  color: var(--ink-2);
  min-width: 0;
}
.window-bar .dots {
  display: flex;
  gap: 5px;
  flex: none;
}
.window-bar .dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}
.window-bar .path {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.window-bar .path b {
  color: var(--ink);
  font-weight: 600;
}
.today {
  padding: 18px 18px 8px;
  display: grid;
  gap: 4px;
}
.today-greet {
  font-family: var(--f-name);
  font-weight: 600;
  font-size: 22px;
  line-height: 28px;
}
.pile {
  margin-top: 14px;
}
.pile-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.pile-head .count.quiet {
  background: var(--well);
  color: var(--ink-2);
}
.card-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.card-row:last-child {
  border-bottom: 0;
}
.card-row .house {
  font-family: var(--f-name);
  font-weight: 600;
}
.card-row .what {
  color: var(--ink-2);
  font-size: 13px;
  min-width: 0;
}
.card-row .verb {
  grid-row: 1 / span 2;
  grid-column: 2;
}

/* ---------- loops (scripted scenes) ---------- */
.player {
  display: grid;
  gap: 20px;
}
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line-2);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs button {
  padding: 10px 14px 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--act);
}
.tabs button:hover {
  color: var(--ink);
}

.loop {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
@media (max-width: 900px) {
  .loop {
    grid-template-columns: minmax(0, 1fr);
  }
}
.steps {
  list-style: none;
  display: grid;
  gap: 2px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
}
.steps button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 2px 10px;
  width: 100%;
  text-align: left;
  padding: 12px 12px 14px;
  border-radius: var(--r);
  color: var(--ink-2);
  position: relative;
  overflow: hidden;
}
.steps button::before {
  content: counter(step);
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font: 600 12px/1 var(--f-mono);
  color: var(--ink-2);
  background: var(--surface);
}
.steps button:hover {
  background: var(--well);
}
.steps button[aria-current="step"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.steps button[aria-current="step"]::before {
  background: var(--now);
  border-color: var(--now);
  color: #fff;
}
.steps .t {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
}
.steps .d {
  font-size: 14px;
  line-height: 1.45;
}
.steps button:not([aria-current="step"]) .d {
  display: none;
}
.steps .bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--now);
}
.playing .steps button[aria-current="step"] .bar {
  animation: fill var(--dwell, 4200ms) linear forwards;
}
@keyframes fill {
  to {
    width: 100%;
  }
}
.loop-ctl {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px 0;
  font-size: 13px;
  color: var(--ink-2);
}
.loop-ctl button {
  font-weight: 600;
  color: var(--act);
}

/* the scene canvas */
.scene {
  min-height: 420px;
  display: grid;
}
.scene .window {
  height: 100%;
}
.scene-body {
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.scene-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 16px;
  align-items: start;
}
@media (max-width: 560px) {
  .scene-split {
    grid-template-columns: minmax(0, 1fr);
  }
}
[data-from] {
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
[data-from].off {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}
.stack {
  display: grid;
  align-items: start;
}
.scene .tile > svg {
  display: block;
  width: 100%;
  max-height: 180px;
}
.stack > * {
  grid-area: 1 / 1;
}
.stack > .off {
  visibility: hidden;
}
.ask {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 14px;
}
.ask::before {
  content: "Ask";
  font: 600 11px/20px var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--act);
  flex: none;
}
.tile {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px 12px;
  background: var(--surface);
  display: grid;
  gap: 2px;
  min-width: 0;
}
.tile .k {
  font: 500 11px/16px var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tile .v {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tile .s {
  font-size: 13px;
  color: var(--ink-2);
}
.tile.now {
  border-color: var(--now-line);
  background: var(--now-soft);
}
.tile.done {
  border-color: var(--act-line);
  background: var(--act-soft);
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 480px) {
  .grid3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
.lines {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.lines th {
  text-align: left;
  font: 500 11px/16px var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 4px 6px;
  border-bottom: 1px solid var(--line);
}
.lines td {
  padding: 6px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.lines .r {
  text-align: right;
}
.lines tr.total td {
  font-weight: 600;
  border-bottom: 0;
}
.lines tr.win td {
  background: var(--now-soft);
}
.receipt {
  font-size: 12px;
  color: var(--act);
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
}
.note {
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.note.warn {
  color: var(--now-ink);
  background: var(--now-soft);
  border: 1px solid var(--now-line);
  border-radius: var(--r);
  padding: 8px 10px;
}

/* the phone */
.phone {
  border: 1px solid var(--line-2);
  border-radius: 28px;
  padding: 10px;
  background: var(--ink);
  box-shadow: var(--shadow);
  max-width: 230px;
  width: 100%;
  justify-self: center;
}
.phone-screen {
  background: var(--paper);
  border-radius: 20px;
  min-height: 340px;
  padding: 14px 12px;
  display: grid;
  align-content: start;
  gap: 10px;
  font-size: 13px;
  line-height: 18px;
  overflow: hidden;
}
.phone-top {
  display: flex;
  justify-content: space-between;
  font: 600 11px/14px var(--f-ui);
  color: var(--ink-2);
}
.bubble {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px;
  padding: 9px 11px;
}
.bubble .fake-link {
  font-weight: 600;
  color: var(--act);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.win-cell {
  background: var(--now-soft);
  box-shadow: inset 0 -2px 0 var(--now);
}
.off-look {
  opacity: 0.55;
  transition: opacity 0.3s;
}
.opt {
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--surface);
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 0 8px;
  align-items: center;
}
.opt .sw {
  grid-row: 1 / span 2;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid var(--line-2);
}
.opt b {
  font-weight: 600;
}
.opt span {
  font-size: 12px;
  color: var(--ink-2);
}
.opt.pick {
  border-color: var(--act);
  box-shadow: inset 0 0 0 1px var(--act);
}
.phone .btn {
  width: 100%;
  min-height: 36px;
  font-size: 13px;
}

/* the sheet thumbnails in the sketch loop (blue lives only in drawings) */
.sheets {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 560px) {
  .sheets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.sht {
  border: 1px solid var(--line-2);
  background: var(--surface);
  border-radius: 3px;
  padding: 6px;
  display: grid;
  gap: 4px;
  position: relative;
}
.sht svg {
  display: block;
  width: 100%;
  height: auto;
  background: var(--blue-soft);
  border-radius: 2px;
}
.sht .k {
  font: 600 11px/14px var(--f-mono);
  letter-spacing: 0.04em;
}
.sht .s {
  font-size: 11px;
  color: var(--ink-2);
  line-height: 14px;
}
.stamp {
  position: absolute;
  top: 14px;
  right: 6px;
  transform: rotate(-8deg);
  font: 700 8.5px/1 var(--f-mono);
  letter-spacing: 0.06em;
  color: var(--block);
  border: 1.5px solid var(--block);
  padding: 2px 3px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}

/* ---------- how it is built ---------- */
.rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-2);
}
.rules > div {
  padding: 28px 28px 32px 0;
  display: grid;
  gap: 10px;
  align-content: start;
  border-bottom: 1px solid var(--line-2);
}
.rules > div:nth-child(2n) {
  padding-left: 28px;
  padding-right: 0;
  border-left: 1px solid var(--line-2);
}
@media (max-width: 760px) {
  .rules {
    grid-template-columns: minmax(0, 1fr);
  }
  .rules > div,
  .rules > div:nth-child(2n) {
    padding: 24px 0;
    border-left: 0;
  }
}
.rules p {
  color: var(--ink-2);
  max-width: 32em;
}

/* ---------- side by side ---------- */
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}
.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: 0;
}
.compare thead th {
  font-weight: 600;
  font-size: 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--line-2);
}
.compare thead th.us {
  color: var(--act);
}
.compare tbody th {
  font-weight: 600;
  width: 30%;
}
.compare td.us {
  background: color-mix(in srgb, var(--act-soft) 45%, var(--surface));
}
.compare .theirs-win {
  display: inline-block;
  margin-left: 6px;
}

/* ---------- price ---------- */
.price-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 860px) {
  .price-band {
    grid-template-columns: minmax(0, 1fr);
  }
}
.price-fig {
  font-family: var(--f-name);
  font-weight: 600;
  font-size: clamp(64px, 9vw, 104px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums;
}
.price-fig small {
  font-family: var(--f-ui);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-2);
  margin-left: 6px;
}
.ticks {
  list-style: none;
  display: grid;
  gap: 10px;
}
.ticks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}
.ticks li::before {
  content: "✓";
  color: var(--act);
  font-weight: 700;
}
.ticks.cross li::before {
  content: "—";
  color: var(--ink-3);
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 22px;
  max-width: 560px;
}
.plan hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.setup {
  list-style: none;
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
}
.setup li {
  counter-increment: s;
  padding: 18px 20px 0 0;
  display: grid;
  gap: 8px;
  align-content: start;
}
.setup li::before {
  content: counter(s, decimal-leading-zero);
  font: 500 13px/1 var(--f-mono);
  color: var(--now);
  letter-spacing: 0.06em;
}
.setup p {
  color: var(--ink-2);
  font-size: 15px;
}
@media (max-width: 860px) {
  .setup {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }
}
@media (max-width: 480px) {
  .setup {
    grid-template-columns: minmax(0, 1fr);
  }
}
.faq {
  display: grid;
  border-top: 1px solid var(--line-2);
  max-width: 46em;
}
.faq details {
  border-bottom: 1px solid var(--line-2);
}
.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font: 400 22px/1 var(--f-ui);
  color: var(--ink-3);
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  padding-bottom: 20px;
  color: var(--ink-2);
  max-width: 38em;
}

/* ---------- product page ---------- */
.feature {
  display: grid;
  gap: 28px;
}
.feature-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px clamp(28px, 5vw, 64px);
  align-items: end;
}
@media (max-width: 860px) {
  .feature-head {
    grid-template-columns: minmax(0, 1fr);
  }
}
.fine {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px clamp(28px, 5vw, 64px);
  padding-top: 8px;
}
@media (max-width: 760px) {
  .fine {
    grid-template-columns: minmax(0, 1fr);
  }
}
.fine h3 {
  margin-bottom: 10px;
}
.fine .ticks {
  font-size: 15px;
  color: var(--ink-2);
}
.also {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-2);
}
.also > div {
  padding: 22px 24px 26px 0;
  border-bottom: 1px solid var(--line-2);
  display: grid;
  gap: 6px;
  align-content: start;
}
.also p {
  color: var(--ink-2);
  font-size: 15px;
}
@media (max-width: 860px) {
  .also {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .also {
    grid-template-columns: minmax(0, 1fr);
  }
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.jump a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  background: var(--surface);
}
.jump a:hover {
  border-color: var(--act);
  color: var(--act);
}

/* ---------- about ---------- */
.fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
@media (max-width: 760px) {
  .fit {
    grid-template-columns: minmax(0, 1fr);
  }
}
.fit > div {
  display: grid;
  gap: 16px;
  align-content: start;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}
.fit > div.not {
  border-top-color: var(--line-2);
}
.fit .ticks {
  color: var(--ink-2);
}
.rule-list {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-2);
}
.rule-list li {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 8px clamp(24px, 4vw, 56px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line-2);
}
.rule-list p {
  color: var(--ink-2);
}
@media (max-width: 760px) {
  .rule-list li {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- closing band + footer ---------- */
.close {
  background: var(--act-deep);
  color: #eef3f0;
}
.close .h2 {
  color: #fff;
}
.close .lede {
  color: #c9dad3;
}
.close .btn-pri {
  background: var(--now-line);
  color: var(--now-ink);
}
.close .btn-pri:hover {
  background: #e6cd8c;
  color: var(--now-ink);
}
.close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 48px;
  align-items: end;
}
@media (max-width: 760px) {
  .close-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #c9dad3;
}
.mail code {
  font-family: var(--f-mono);
  font-size: 15px;
  color: #fff;
  user-select: all;
}
.mail button {
  font-size: 13px;
  font-weight: 600;
  color: var(--now-line);
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}
.mail button:hover {
  border-color: var(--now-line);
}
.close .mail button:focus-visible {
  outline-color: var(--now-line);
}
.close a:focus-visible {
  outline-color: var(--now-line);
}
.footer {
  padding-block: 32px;
  font-size: 14px;
  color: var(--ink-2);
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}
.footer nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
.footer a {
  color: var(--ink-2);
  text-decoration: none;
}
.footer a:hover {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-from],
  .btn {
    transition: none;
  }
  .playing .steps button[aria-current="step"] .bar {
    animation: none;
  }
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
