@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-Roman-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  color-scheme: light dark;
  --canvas: #f4f6f8;
  --surface: #ffffff;
  --ink: #16222e;
  --ink-2: #3d4a57;
  --ink-3: #566370;
  --line: #dde2e8;
  --line-strong: #bcc5ce;
  --accent: #a03636;
  --stroke: #a03636;
  --button-bg: #16222e;
  --button-ink: #ffffff;
  --button-hover: #26394a;
  --tint: #ece5e6;
  --bezel: #0b1117;
  --bezel-ring: rgba(128, 144, 160, 0.28);
  --night: #0b1117;
  --night-2: #121b25;
  --night-line: #243140;
  --night-ink: #f4f6f8;
  --night-ink-2: #b4bfca;
  --ok-bg: #e5f1ea;
  --ok-ink: #14472a;
  --bad-bg: #f8e6e6;
  --bad-ink: #7a2424;
  --radius: 20px;
  --gutter: clamp(20px, 5vw, 56px);
  --measure: 62ch;
  --header: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0b1117;
    --surface: #121b25;
    --ink: #f4f6f8;
    --ink-2: #c3ccd5;
    --ink-3: #98a4b0;
    --line: #243140;
    --line-strong: #3b4b5c;
    --accent: #e48d8d;
    --stroke: #d46363;
    --button-bg: #f4f6f8;
    --button-ink: #0b1117;
    --button-hover: #ffffff;
    --tint: #1d252e;
    --bezel: #1b2733;
    --bezel-ring: rgba(190, 205, 220, 0.2);
    --night: #070b10;
    --night-2: #0f171f;
    --ok-bg: #11271b;
    --ok-ink: #a9dcbf;
    --bad-bg: #2e1517;
    --bad-ink: #f0b4b4;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--header) + 16px);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--stroke);
  color: #fff;
}

.skip-link {
  position: fixed;
  z-index: 60;
  inset: 12px auto auto 12px;
  padding: 12px 16px;
  background: var(--button-bg);
  color: var(--button-ink);
  border-radius: 8px;
  transform: translateY(-220%);
}
.skip-link:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 1180px);
  margin-inline: auto;
}

main:focus {
  outline: none;
}

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 20px;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.9rem, 7.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 em,
h1 span {
  font-style: normal;
}

p {
  text-wrap: pretty;
}

.lede {
  margin: 28px 0 0;
  max-width: 34ch;
  color: var(--ink-2);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.5;
}

.num {
  font-variant-numeric: tabular-nums;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  view-transition-name: site-header;
}

.header-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header);
}

.brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  font-size: 1.4rem;
  font-weight: 650;
  letter-spacing: -0.06em;
  text-decoration: none;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 14px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
}
/* Just above the phone menu, the links and the button share less room. */
@media (min-width: 721px) and (max-width: 800px) {
  .nav {
    gap: 2px;
  }
  .nav a:not(.button) {
    padding-inline: 9px;
  }
}
.nav a:not(.button):hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}
/* Plus, when current or under the pointer, wears the Plus badge of the store promos. */
.nav a.nav-plus:hover,
.nav a.nav-plus[aria-current="page"] {
  color: var(--canvas);
  background: var(--accent);
}

.menu-button {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 999px;
}
.menu-button:hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

/* ---------- buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--button-bg);
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--button-ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}
.button:hover {
  background: var(--button-hover);
}
.button:active {
  transform: translateY(1px);
}
.button.small {
  min-height: 44px;
  padding: 0 18px;
}
.button.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.button.ghost:hover {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
.button.on-night {
  background: #f4f6f8;
  color: #0b1117;
  border-color: #f4f6f8;
}
.button.on-night:hover {
  background: #fff;
}
.button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* ---------- tally strokes: the signature ---------- */
.tally {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 24px;
}
.tally i {
  display: block;
  width: 22px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-26deg);
}
.tally i.off {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px currentColor;
  opacity: 0.5;
}
.tally.brand i {
  background: var(--stroke);
}
.tally.one i {
  width: 30px;
  height: 10px;
}
.tally.small {
  height: 20px;
}
.tally.small i {
  width: 14px;
  height: 6px;
}

@keyframes stroke-in {
  from {
    opacity: 0;
    transform: rotate(-26deg) translateX(-10px);
  }
}
.ledger.play .tally i {
  animation: stroke-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.ledger.play .tally i:nth-child(2) {
  animation-delay: 0.08s;
}
.ledger.play .tally i:nth-child(3) {
  animation-delay: 0.16s;
}

/* ---------- phone ---------- */
.phone {
  --w: 300px;
  position: relative;
  width: var(--w);
  margin: 0;
  padding: calc(var(--w) * 0.02);
  border-radius: calc(var(--w) * 0.155);
  background: var(--bezel);
  box-shadow:
    0 0 0 1px var(--bezel-ring),
    0 2px 4px rgba(11, 17, 23, 0.08),
    0 40px 70px -34px rgba(11, 17, 23, 0.5);
}
.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 386 / 840;
  object-fit: cover;
  border-radius: calc(var(--w) * 0.128);
  background: var(--surface);
}
.phone.crop {
  overflow: hidden;
  padding-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  -webkit-mask-image: linear-gradient(#000 88%, transparent);
  mask-image: linear-gradient(#000 88%, transparent);
}
.phone.crop img {
  height: 100%;
  object-position: top;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* ---------- home hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  padding-top: clamp(40px, 6vw, 88px);
}
.hero-copy {
  align-self: center;
  padding-bottom: clamp(40px, 6vw, 96px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 40px;
}
.hero-notes {
  display: grid;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-3);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.hero-notes li {
  position: relative;
  padding-left: 22px;
}
.hero-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 4px;
  border-radius: 99px;
  background: var(--stroke);
  transform: rotate(-26deg);
}
.hero-notes b {
  color: var(--ink);
  font-weight: 650;
}
.plans-scope {
  margin: 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--ink-2);
  font-size: 0.9688rem;
  line-height: 1.5;
}
.plans-scope b {
  color: var(--ink);
  font-weight: 650;
}
.devices {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(12px, 2vw, 26px);
}
.devices .phone {
  --w: clamp(176px, 21vw, 292px);
}
.devices .phone:first-child {
  aspect-ratio: 386 / 600;
}
.devices .phone:last-child {
  aspect-ratio: 386 / 760;
}

/* ---------- sections ---------- */
.section {
  padding-block: clamp(64px, 9vw, 128px);
}
.section-head {
  max-width: 44rem;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--ink-2);
  max-width: var(--measure);
}

.paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}
.path {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.path .phone {
  --w: min(100%, 300px);
  aspect-ratio: 386 / 500;
}
.path p {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 1rem;
}
.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--stroke) 14%, transparent);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 3px;
}

/* ---------- night band: how it adapts ---------- */
.night {
  background: var(--night);
  color: var(--night-ink);
}
.night .eyebrow {
  color: var(--night-ink-2);
}
.night .lede-night {
  margin: 22px 0 0;
  color: var(--night-ink-2);
  max-width: 38ch;
}
.adapt {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.adapt .button {
  margin-top: 36px;
}

.ledger-wrap {
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
  background: var(--night-2);
  color: var(--night-ink);
  overflow: hidden;
}
.ledger {
  width: 100%;
  border-collapse: collapse;
}
.ledger caption {
  padding: 18px 24px;
  border-bottom: 1px solid var(--night-line);
  color: var(--night-ink-2);
  font-size: 0.8125rem;
  text-align: left;
}
.ledger caption strong {
  color: var(--night-ink);
  font-weight: 600;
}
.ledger tbody tr {
  border-bottom: 1px solid var(--night-line);
}
.ledger th,
.ledger td {
  padding: 20px 12px;
  text-align: left;
  vertical-align: middle;
  font-weight: 400;
}
.ledger th:first-child,
.ledger td:first-child {
  padding-left: 24px;
}
.ledger th:last-child,
.ledger td:last-child {
  padding-right: 24px;
}
.ledger thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.ledger .day {
  color: var(--night-ink-2);
  font-size: 0.875rem;
  white-space: nowrap;
}
.ledger .load {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.ledger .sets {
  color: var(--night-ink);
}
.ledger .sets .tally {
  display: flex;
}
.ledger .sets span.num {
  display: block;
  margin-top: 4px;
  color: var(--night-ink-2);
  font-size: 0.8125rem;
}
.ledger .next {
  font-size: 0.9375rem;
  line-height: 1.4;
}
.ledger .next b {
  font-weight: 650;
}
.ledger .next .up {
  white-space: nowrap;
  box-shadow: inset 0 -0.42em 0
    color-mix(in srgb, var(--stroke) 60%, transparent);
}
.ledger-foot {
  margin: 0;
  padding: 16px 24px;
  border-top: 1px solid var(--night-line);
  color: var(--night-ink-2);
  font-size: 0.8125rem;
}

/* ---------- plus ---------- */
.plus-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.promise {
  margin: 28px 0 0;
  padding-left: 20px;
  border-left: 3px solid var(--stroke);
  font-size: 1.1875rem;
  line-height: 1.5;
  letter-spacing: -0.012em;
}
.plans {
  display: grid;
  gap: 18px;
}
.plans-lead {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.plan-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.plan.best {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.plan-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  min-height: 28px;
}
.plan-name {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.plan-save {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--button-ink);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.plan-price {
  margin: 0;
}
.plan-price .amount {
  font-size: clamp(2.5rem, 4.2vw, 3.25rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan-price .per {
  display: block;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 1.0625rem;
  font-weight: 500;
}
.plan-note {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.9688rem;
  line-height: 1.45;
}
.plan-note b {
  color: var(--ink);
  font-weight: 650;
}
.plans-foot {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.terms {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.terms li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-3);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.terms li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 4px;
  border-radius: 99px;
  background: var(--stroke);
  transform: rotate(-26deg);
}
.lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 56px);
}
.lists h3,
.lists h2 {
  margin-bottom: 16px;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.lists ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.lists li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.45;
}
.lists li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 4px;
  border-radius: 99px;
  background: var(--stroke);
  transform: rotate(-26deg);
}
.fine {
  margin: 24px 0 0;
  color: var(--ink-3);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 64ch;
}
.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.band h3 {
  font-size: 1.375rem;
}
.band p {
  margin: 6px 0 0;
  color: var(--ink-2);
  max-width: 52ch;
  font-size: 1rem;
}
.stack-top {
  margin-top: clamp(40px, 6vw, 72px);
}

/* ---------- proof ---------- */
.proof {
  border-top: 1px solid var(--line);
}
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}
.facts li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.facts b {
  display: block;
  margin-bottom: 6px;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.facts span {
  color: var(--ink-2);
  font-size: 0.9688rem;
}
.proof .more {
  margin-top: 28px;
}

/* ---------- roadmap: a filled stroke is available, an outlined one is planned ---------- */
.roadmap,
.roadmap ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.roadmap > li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.roadmap .tally {
  margin-top: 1px;
}
.roadmap h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.roadmap p {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 0.9688rem;
}
.roadmap ul {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.roadmap ul li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.roadmap ul b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
.roadmap-note {
  margin-top: 16px;
  color: var(--ink-2);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 56px 32px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.5fr));
  gap: 40px;
}
.footer-top p {
  margin: 14px 0 0;
  max-width: 32ch;
}
.footer-top h2 {
  margin-bottom: 8px;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-top nav {
  display: grid;
  align-content: start;
  gap: 0;
}
.footer-top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  text-decoration: none;
}
.footer-top nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.8125rem;
}
.footer-bottom p {
  margin: 0;
  max-width: 62ch;
}

/* ---------- inner pages ---------- */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 104px);
}
.page-hero.single {
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
}
.page-hero.single .lede {
  max-width: 44ch;
}
.steps {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
  max-width: 44ch;
}
.steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  color: var(--ink-2);
  font-size: 1rem;
}
.steps li b {
  display: block;
  color: var(--ink);
  font-weight: 650;
}
.steps li .tally {
  margin-top: 3px;
}

.rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.rules li {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.rules h3 {
  margin: 14px 0 8px;
}
.rules p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
}

.prose {
  max-width: var(--measure);
}
.prose p {
  margin: 0 0 1em;
  color: var(--ink-2);
}
.prose p:last-child {
  margin-bottom: 0;
}

/* ---------- forms ---------- */
.form-card {
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.form-card h2 {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}
.field > label,
.field > legend {
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}
.field .hint {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.875rem;
  line-height: 1.45;
}
.field .opt {
  color: var(--ink-3);
  font-weight: 500;
}
.field-error {
  margin: 0;
  color: var(--bad-ink);
  font-size: 0.875rem;
  font-weight: 550;
}
input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--canvas);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
}
textarea {
  min-height: 150px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: var(--ink-3);
}
input:hover,
textarea:hover {
  border-color: var(--ink-3);
}
input:focus,
textarea:focus {
  border-color: var(--ink);
}
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--bad-ink);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chips label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--canvas);
  font-size: 0.9375rem;
  font-weight: 550;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}
.chips label:hover {
  border-color: var(--ink);
}
.chips input:checked + label {
  background: var(--button-bg);
  border-color: var(--button-bg);
  color: var(--button-ink);
}
.chips input:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
/* The Turnstile widget's height, kept free from the first paint so nothing moves when it
   appears. Before site.js picks the size, the field's width gives the same choice: the
   compact widget below 300 px. Its frame sits on a text line; no line height keeps the
   line from adding space under it. */
.field:has(> [data-turnstile]) {
  container-type: inline-size;
}
[data-turnstile] {
  min-height: 65px;
  line-height: 0;
}
@container (width < 300px) {
  [data-turnstile] {
    min-height: 140px;
  }
}
[data-turnstile][data-size="flexible"] {
  min-height: 65px;
}
[data-turnstile][data-size="compact"] {
  min-height: 140px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 28px;
}
.form-actions p {
  margin: 0;
  max-width: 46ch;
  color: var(--ink-3);
  font-size: 0.875rem;
}
.status {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 0.9688rem;
}
.status[hidden] {
  display: none;
}
.status b {
  display: block;
  font-weight: 650;
}
.status.ok {
  background: var(--ok-bg);
  color: var(--ok-ink);
}
.status.bad {
  background: var(--bad-bg);
  color: var(--bad-ink);
}
.status a {
  font-weight: 600;
}
.form-card.done .fields {
  display: none;
}

/* The account-deletion page: one step at a time, a checkbox and a receipt. */
.form-card [data-step][hidden],
.form-card [data-deletion][hidden] {
  display: none;
}
.form-card .signed-in {
  margin: 22px 0 0;
  color: var(--ink-2);
}
.form-card .signed-in b {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.field > .check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
}
.field > .check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--button-bg);
}
.status [data-check] {
  display: inline-flex;
  margin-top: 10px;
}
.receipt {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px 20px;
  margin: 22px 0 0;
}
.receipt dt {
  color: var(--ink-3);
  font-size: 0.875rem;
  font-weight: 600;
}
.receipt dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* ---------- faq ---------- */
.answers {
  border-top: 1px solid var(--line);
}
.faq {
  max-width: 46rem;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-block: 12px;
  font-weight: 600;
  letter-spacing: -0.012em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: 0 0 20px;
  max-width: 60ch;
  color: var(--ink-2);
}

/* ---------- message and 404 ---------- */
.notice {
  padding-block: clamp(56px, 9vw, 120px);
  max-width: 40rem;
}
.notice .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 36px;
}
.notice section {
  display: none;
}
.notice section:target {
  display: block;
}
.notice .fallback {
  display: block;
}
.notice section:target ~ .fallback,
.notice:has(section:target) .fallback {
  display: none;
}

/* ---------- policy pages (Privacy and Terms) ---------- */
.policy-hero {
  padding-block: clamp(40px, 6vw, 88px) 48px;
  border-bottom: 1px solid var(--line);
}
.policy-intro h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}
.policy-intro h1 em {
  color: var(--accent);
}
.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  color: var(--ink-3);
  font-size: 0.875rem;
}
.policy-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 750px);
  justify-content: space-between;
  align-items: start;
  gap: 64px;
  padding-block: 56px clamp(64px, 9vw, 112px);
}
.policy-contents {
  position: sticky;
  top: calc(var(--header) + 16px);
  max-height: calc(100dvh - var(--header) - 32px);
  overflow-y: auto;
}
.policy-contents > div {
  padding-inline-start: 20px;
  border-inline-start: 1px solid var(--line);
}
.policy-contents p {
  margin: 0 0 14px;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.policy-contents nav {
  display: grid;
}
.policy-contents a {
  min-height: 36px;
  padding-block: 7px;
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.45;
  text-decoration: none;
}
.policy-contents a:hover {
  text-decoration: underline;
}
.policy-contents a[aria-current="location"] {
  color: var(--accent);
  font-weight: 600;
}
.policy-document {
  min-width: 0;
}
.policy-section {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header) + 16px);
}
.policy-section + .policy-section {
  padding-top: 48px;
}
.policy-section .section-number {
  margin: 8px 0 0;
  color: var(--accent);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}
.policy-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.policy-section h3 {
  margin: 30px 0 12px;
  font-size: 1.1875rem;
}
.policy-section p,
.policy-section li {
  color: var(--ink-2);
  font-size: 0.9688rem;
  line-height: 1.8;
}
.policy-section h2 + p,
.policy-opening {
  margin-top: 22px;
}
.policy-section p:last-child {
  margin-bottom: 0;
}
.policy-section ul {
  margin-block: 20px 0;
  padding-inline-start: 20px;
}
.policy-section li + li {
  margin-top: 8px;
}
.policy-section .policy-opening {
  color: var(--ink);
  font-size: 1.1875rem;
  line-height: 1.7;
}
.policy-section a {
  text-decoration-color: color-mix(in srgb, var(--ink) 40%, transparent);
}
.policy-contact {
  border-bottom: 0;
}
.quiet-callout {
  margin-top: 28px;
  padding: 24px;
  border-inline-start: 3px solid var(--stroke);
  border-radius: 0 12px 12px 0;
  background: var(--tint);
}
.quiet-callout strong {
  font-size: 0.9375rem;
}
.quiet-callout p {
  margin: 8px 0 0;
}

/* ---------- motion and preferences ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

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

@media (forced-colors: active) {
  .tally i {
    background: CanvasText;
    forced-color-adjust: none;
  }
  .tally i.off {
    background: Canvas;
    box-shadow: inset 0 0 0 1.5px CanvasText;
    opacity: 1;
  }
  .phone,
  .plan,
  .band,
  .form-card,
  .ledger-wrap {
    border: 1px solid CanvasText;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero,
  .adapt,
  .plus-grid,
  .proof-grid,
  .page-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy {
    padding-bottom: 8px;
  }
  .devices {
    justify-content: flex-start;
    margin-top: 40px;
  }
  .devices .phone {
    --w: clamp(150px, 42vw, 280px);
  }
  .paths {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }
  .policy-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .policy-contents {
    position: static;
    max-height: none;
  }
  .policy-contents > div {
    padding: 0;
    border: 0;
  }
  .policy-contents nav {
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
  .policy-contents a {
    min-height: 44px;
    padding-block: 11px;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .nav a:not(.button) {
    display: none;
  }
  .menu-button {
    display: inline-flex;
  }
  .nav.open {
    position: absolute;
    inset: calc(var(--header) - 4px) calc(var(--gutter) * -1) auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
    background: var(--canvas);
  }
  .nav.open a:not(.button) {
    display: flex;
    min-height: 52px;
    padding-inline: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
  }
  .nav.open a.button {
    margin-top: 14px;
  }
  /* In the open menu the Plus badge wraps the word only, not the whole row. */
  .nav.open a.nav-plus:hover,
  .nav.open a.nav-plus[aria-current="page"] {
    color: var(--ink);
    background: transparent;
  }
  .nav.open a.nav-plus:hover span,
  .nav.open a.nav-plus[aria-current="page"] span {
    margin-left: -12px;
    padding: 4px 12px;
    border-radius: 999px;
    color: var(--canvas);
    background: var(--accent);
  }
  .nav.open .menu-button {
    order: -1;
    align-self: flex-end;
  }
  .ledger,
  .ledger tbody {
    display: block;
  }
  .ledger caption {
    display: block;
    width: 100%;
  }
  .ledger tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "day load" "sets sets" "next next";
    gap: 8px 12px;
    padding: 18px 20px;
  }
  .ledger tbody tr:last-child {
    border-bottom: 0;
  }
  .ledger th,
  .ledger td {
    display: block;
    padding: 0;
  }
  .ledger th:first-child,
  .ledger td:first-child,
  .ledger th:last-child,
  .ledger td:last-child {
    padding: 0;
  }
  .ledger .day {
    grid-area: day;
  }
  .ledger .load {
    grid-area: load;
    text-align: right;
  }
  .ledger .sets {
    grid-area: sets;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .ledger .sets span.num {
    margin-top: 0;
  }
  .ledger .next {
    grid-area: next;
  }
  .plan-cards,
  .lists,
  .facts,
  .rules {
    grid-template-columns: minmax(0, 1fr);
  }
  .devices {
    gap: 10px;
  }
  .policy-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 36px;
  }
  .policy-section + .policy-section {
    padding-top: 36px;
  }
  .policy-section .section-number {
    margin: 0;
  }
}

@media print {
  .site-header,
  .skip-link,
  .policy-contents,
  .form-card {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}

/* Without JavaScript the menu button cannot open anything, so show the links. */
@media (max-width: 720px) and (scripting: none) {
  .header-row {
    flex-wrap: wrap;
    padding-bottom: 8px;
  }
  .nav {
    flex-wrap: wrap;
    flex-basis: 100%;
  }
  .nav a:not(.button) {
    display: inline-flex;
    padding-inline: 10px;
  }
  .menu-button {
    display: none;
  }
}

@media (max-width: 360px) {
  .header-row {
    gap: 6px;
  }
  .nav {
    gap: 0;
  }
  .nav .button.small {
    padding: 0 12px;
    font-size: 0.875rem;
  }
  .menu-button {
    padding: 0 8px;
  }
  .brand {
    gap: 8px;
    font-size: 1.25rem;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
}

/* On wide screens the two plan cards share rows, so prices and notes line up. */
@media (min-width: 721px) {
  @supports (grid-template-rows: subgrid) {
    .plan-cards {
      grid-template-rows: repeat(3, auto);
      row-gap: 0;
    }
    .plan {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
      row-gap: 22px;
    }
    .plan-note {
      margin: 0;
    }
  }
}

/* Keep a number with its unit. */
.nb {
  white-space: nowrap;
}

/* Pages with a form: intro and form first on small screens, the steps after. */
.page-hero .lede {
  max-width: 40ch;
}
.page-hero.with-form {
  grid-template-areas: "intro form" "steps form";
  grid-template-rows: auto 1fr;
  gap: 36px clamp(32px, 6vw, 88px);
}
.page-hero.with-form > .intro {
  grid-area: intro;
}
.page-hero.with-form > .form-card {
  grid-area: form;
}
.page-hero.with-form > .steps {
  grid-area: steps;
  align-self: start;
  margin: 0;
}
@media (max-width: 960px) {
  .page-hero.with-form {
    grid-template-areas: "intro" "form" "steps";
    grid-template-rows: auto;
  }
}

/* Question pages: the heading stays in view beside a long list. */
.answers .section-head {
  align-self: start;
  margin-bottom: 0;
}
.answers .faq {
  max-width: none;
}
@media (min-width: 961px) {
  .answers .section-head {
    position: sticky;
    top: calc(var(--header) + 32px);
  }
}

.band h2 {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
