/*
 * kitty's sales site. The tokens are the app's (web/src/styles/globals.css): paper ground, plum
 * chrome, one gold for the main action. Light only: the site is a single brand surface, not a
 * workspace. Mobile first; the desk layout starts at 1024px like the app's `desk` breakpoint.
 * No inline styles anywhere in the pages: the CSP in _headers has no 'unsafe-inline'.
 */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/instrument-sans-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/bricolage-grotesque-latin.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --paper: #f7f3ec;
  --surface: #fffdf9;
  --surface-2: #faf6ef;
  --sunken: #efe9df;
  --line: #e6dfd3;
  --line-strong: #d8cfc0;
  --ink: #1e1a24;
  --ink-2: #57525e;
  --ink-3: #736d7a;
  --plum: #2a1740;
  --on-plum: #f3eef8;
  --on-plum-2: #dcd2e8;
  --on-plum-3: #9a88b0;
  --gold: #f5b83d;
  --gold-strong: #e6a52a;
  --on-gold: #2a1740;
  --violet: #5b2fc4;
  --violet-on-plum: #b79cff;
  --overdue: #b3261e;
  --overdue-wash: #fbe9e6;
  --due: #8a5300;
  --due-wash: #fdf1dc;
  --paid: #146c3a;
  --paid-wash: #e4f3e8;
  --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Bricolage Grotesque', 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
  --gutter: 20px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 40px;
  }
}

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

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
}

p {
  margin: 0;
}

a {
  color: var(--violet);
}

a:hover {
  color: #45296b;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

svg {
  flex: none;
}

[hidden] {
  display: none !important;
}

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

.skip {
  position: absolute;
  left: -9999px;
}

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

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface);
}

.icon {
  width: 18px;
  height: 18px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--on-gold);
}

.btn-gold:hover {
  background: var(--gold-strong);
  color: var(--on-gold);
}

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 15px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---------- Header ---------- */

.site-head {
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--plum);
  text-decoration: none;
}

.brand:hover {
  color: var(--plum);
}

.brand svg {
  width: 28px;
  height: 28px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.nav {
  display: none;
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.head-signin {
  padding: 10px 12px;
  color: var(--plum);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.head-cta {
  display: none;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-btn svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  border-top: 1px solid var(--line);
  padding: 8px 0 16px;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}

.mobile-nav .btn {
  margin-top: 8px;
  color: var(--on-gold);
}

@media (min-width: 1024px) {
  .site-head .wrap {
    min-height: 88px;
  }

  .brand svg {
    width: 32px;
    height: 32px;
  }

  .wordmark {
    font-size: 29px;
  }

  .nav {
    display: flex;
    gap: 36px;
  }

  .nav a {
    color: var(--ink-2);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
  }

  .nav a:hover {
    color: var(--ink);
  }

  .head-actions {
    gap: 24px;
  }

  .head-signin {
    padding: 0;
    font-size: 16px;
  }

  .head-cta {
    display: inline-flex;
  }

  .menu-btn,
  .mobile-nav {
    display: none !important;
  }
}

/* ---------- Shared type ---------- */

.section {
  padding-block: 56px;
}

.section-line {
  border-top: 1px solid var(--line);
}

.tint {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.h2 {
  color: var(--plum);
  font-size: clamp(2rem, 1.25rem + 2.6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lead {
  margin-top: 12px;
  max-width: 36em;
  color: var(--ink-2);
  font-size: 17px;
  text-wrap: pretty;
}

.fine {
  margin-top: 24px;
  color: var(--ink-3);
  font-size: 15px;
}

.label-caps {
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .section {
    padding-block: 96px;
  }

  .lead {
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.5;
  }

  .fine {
    margin-top: 32px;
    font-size: 16px;
  }

  .label-caps {
    font-size: 14px;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: 32px 40px;
}

.hero-grid {
  display: grid;
  gap: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--sunken);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--plum);
}

.hero h1 {
  margin-top: 20px;
  color: var(--plum);
  font-size: clamp(2.75rem, 1.5rem + 3.9vw, 4.75rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero .lead {
  margin-top: 16px;
  max-width: 33em;
}

.hero .lead + .lead {
  margin-top: 12px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 24px;
}

.hero-cta .btn {
  width: 100%;
}

.hero-cta .text-link {
  font-weight: 600;
  text-decoration: none;
}

.hero-note {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 14px;
}

.ticks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}

.ticks svg {
  color: var(--paid);
}

@media (min-width: 640px) {
  .hero-cta .btn {
    width: auto;
  }

  .ticks {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 28px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-block: 64px 56px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 460px;
    align-items: start;
    gap: 48px;
  }

  .hero-copy {
    padding-top: 40px;
  }

  .hero .lead {
    margin-top: 24px;
  }

  .hero-cta {
    margin-top: 36px;
  }

  .hero-cta .btn {
    min-height: 56px;
    padding: 0 26px;
  }

  .hero-note {
    margin-top: 16px;
    font-size: 15px;
  }

  .ticks {
    margin-top: 36px;
  }
}

@media (min-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 560px;
  }
}

/* ---------- The kitty panel: the mark's head, stretched down to hold the demo ---------- */

.kitty {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  container-type: inline-size;
}

/* Ears and the top of the head, from KittyMark's path (48 × 22.7 units above the straight sides). */
.kitty-ears {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: auto;
  fill: var(--plum);
}

.kitty::after {
  content: '';
  position: absolute;
  inset: calc(47.29cqw - 1px) 0 0;
  border-radius: 0 0 29.17cqw 29.17cqw;
  background: var(--plum);
}

.kitty-hint {
  position: absolute;
  top: 6cqw;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-50%);
}

.kitty-hint svg {
  width: 14px;
  height: 14px;
}

.kitty-inner {
  position: relative;
  z-index: 1;
  padding: calc(18.13cqw + 11px) 16px 28px;
}

.kitty-note {
  margin-top: 20px;
  color: var(--on-plum-2);
  font-size: 15px;
  text-align: center;
}

/* Below the desk the demo is a card at its natural size; from the desk it sits in a phone. */
.device {
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
}

.demo {
  padding: 16px;
}

.demo-bar,
.show-more,
.today,
.demo-tabs {
  display: none;
}

@media (min-width: 1024px) {
  .kitty {
    max-width: none;
  }

  .kitty-hint {
    font-size: 15px;
  }

  .kitty-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: calc(18.13cqw + 4px) 0 32px;
  }

  .kitty-note {
    display: none;
  }

  .device {
    width: 330px;
    padding: 9px;
    border-radius: 47px;
    background: #120b1c;
    box-shadow: 0 40px 80px -30px rgba(10, 4, 20, 0.75);
  }

  .screen {
    position: relative;
    width: 312px;
    height: 675px;
    overflow: hidden;
    border-radius: 38px;
    background: var(--paper);
  }

  /* The real app at a real phone's size (390 × 844), shown at 80%. */
  .demo {
    position: absolute;
    top: 0;
    left: 0;
    width: 390px;
    height: 844px;
    padding: 0;
    transform: scale(0.8);
    transform-origin: 0 0;
  }

  .demo-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 243, 236, 0.95);
    color: var(--plum);
  }

  .demo-bar svg {
    width: 28px;
    height: 28px;
  }

  .demo-main {
    padding: 16px 16px 0;
  }

  .show-more {
    display: block;
  }

  .today {
    display: block;
  }

  .demo-tabs {
    display: grid;
  }
}

.demo-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--sunken);
}

.seg button {
  flex: 1;
  height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
}

.seg button[aria-pressed='true'] {
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(30, 26, 36, 0.14);
  color: var(--ink);
  font-weight: 600;
}

.amount {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 64px;
  padding: 0 16px;
  border: 2px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
}

.amount:focus-within {
  border-color: var(--violet);
}

.amount-sign {
  color: var(--ink-3);
  font-size: 30px;
  font-weight: 500;
}

.amount input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 36px;
  font-weight: 600;
}

.amount-error {
  color: var(--overdue);
  font-size: 14px;
  font-weight: 500;
}

.chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.chip:hover {
  border-color: #cdbfae;
  background: #fbf6ee;
}

.chip:active {
  transform: scale(0.98);
}

.dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.c0 { background: #eb6834; }
.c1 { background: #1baf7a; }
.c2 { background: #2a78d6; }
.c3 { background: #e87ba4; }
.c4 { background: #008300; }
.c5 { background: #4a3aa7; }
.c6 { background: #e34948; }
.c7 { background: #eda100; }

.show-more {
  margin-top: 4px;
  color: var(--violet);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.today {
  margin-top: 8px;
}

.today-title {
  margin: 0 0 8px;
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
}

.today ul {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  list-style: none;
}

.today li {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 20px;
  font-size: 15px;
}

.today li + li {
  border-top: 1px solid var(--line);
}

.today-name {
  flex: 1;
  min-width: 0;
}

.today-amt {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.receipt {
  margin-top: 12px;
  padding: 10px 12px 12px 16px;
  border-radius: 16px;
  background: var(--plum);
  box-shadow: 0 16px 36px -12px rgba(20, 10, 30, 0.55);
  color: var(--on-plum);
}

.receipt-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.receipt-title {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 15px;
  line-height: 1.3;
}

.receipt-title strong {
  font-variant-numeric: tabular-nums;
}

.receipt-cat {
  color: var(--on-plum-2);
}

.undo {
  flex: none;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: rgba(245, 184, 61, 0.15);
  color: var(--gold);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.receipt-meter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 8px;
  font-size: 13px;
}

.meter {
  flex: 1 1 48px;
  min-width: 48px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(243, 238, 248, 0.15);
}

.meter span {
  display: block;
  width: 52%;
  height: 100%;
  border-radius: 999px;
  background: #eb6834;
}

.receipt-text {
  flex: none;
  color: var(--on-plum-2);
  font-variant-numeric: tabular-nums;
}

.receipt-text.is-nearly {
  color: #f2c063;
  font-weight: 700;
}

.receipt-text.is-over {
  color: #ff8a80;
  font-weight: 700;
}

.receipt-plan {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--on-plum-2);
  font-size: 13px;
}

.receipt-plan a {
  color: var(--violet-on-plum);
  font-weight: 700;
}

.demo-tabs {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: 84px;
  padding: 0 4px 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.95);
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
}

.tab-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 30px;
  border-radius: 999px;
}

.tab svg {
  width: 21px;
  height: 21px;
}

.tab-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab.is-active {
  color: var(--ink);
  font-weight: 600;
}

.tab.is-active .tab-pill {
  background: #dcebf3;
  color: #0284c7;
}

@media (min-width: 1024px) {
  .receipt {
    position: absolute;
    right: 16px;
    bottom: 92px;
    left: 16px;
    margin: 0;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .device {
    zoom: 0.86;
  }
}

@media (max-width: 374px) {
  :root {
    --gutter: 16px;
  }

  .kitty-inner {
    padding-inline: 10px;
  }

  .demo {
    padding: 12px;
  }

  .chip {
    gap: 8px;
    padding: 10px;
    font-size: 14px;
  }
}

@container (max-width: 360px) {
  .kitty-hint {
    top: 3.5cqw;
  }
}

@container (max-width: 340px) {
  .kitty-hint {
    top: 2.5cqw;
    font-size: 12.5px;
  }
}

/* ---------- How it works ---------- */

.how-grid {
  display: grid;
  gap: 12px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 14px;
}

.num {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--plum);
  color: var(--on-plum);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
}

.steps h3 {
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.steps p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 16px;
}

@media (min-width: 1024px) {
  .how-grid {
    grid-template-columns: 440px minmax(0, 1fr);
    gap: 80px;
  }

  .how .lead {
    margin-top: 0;
  }

  .steps {
    gap: 28px;
    margin-top: 36px;
  }

  .steps li {
    gap: 18px;
  }

  .num {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .steps h3 {
    font-size: 22px;
  }

  .steps p {
    font-size: 17px;
  }
}

/* ---------- See it on a phone: the walkthrough video and screens from the app ---------- */

.look-grid {
  display: grid;
  gap: 28px;
}

.look-phone {
  justify-self: center;
  width: min(100%, 300px);
  margin: 0;
}

/* The hero demo's phone at the desk: a dark bezel round the real app, recorded at 390 × 844. */
.phone {
  padding: 8px;
  border-radius: 44px;
  background: #120b1c;
  box-shadow: 0 32px 64px -28px rgba(10, 4, 20, 0.7);
}

.look-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
  background: var(--paper);
}

.look-note {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 14px;
  text-align: center;
}

.look-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.look-toggle {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.look-toggle:hover {
  border-color: var(--ink-3);
}

.look-toggle svg {
  width: 18px;
  height: 18px;
}

.look-toggle .icon-play,
.look-toggle[data-paused] .icon-pause {
  display: none;
}

.look-toggle[data-paused] .icon-play {
  display: block;
}

.chapters {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.chapters li {
  border-bottom: 1px solid var(--line);
}

.chapter {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  min-height: 52px;
  padding: 13px 4px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.chapter:hover {
  color: var(--ink);
}

.chapter-time {
  flex: none;
  min-width: 2.6em;
  color: var(--ink-3);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.chapter[aria-current='true'] {
  color: var(--plum);
  font-weight: 600;
}

.chapter[aria-current='true'] .chapter-time {
  color: var(--violet);
}

/* Below the desk the screens scroll sideways, one phone and a bit at a time. */
.screens {
  margin-top: 44px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.screens-list {
  display: grid;
  grid-auto-columns: min(72%, 260px);
  grid-auto-flow: column;
  gap: 16px;
  margin: 0;
  padding: 0 0 14px;
  list-style: none;
}

.screens-list li {
  scroll-snap-align: start;
}

.screen-shot {
  margin: 0;
}

.screen-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 18px 40px -26px rgba(42, 23, 64, 0.45);
}

.screen-shot figcaption {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.screen-shot figcaption b {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 16px;
}

@media (min-width: 1024px) {
  .look-grid {
    grid-template-areas:
      'phone copy'
      'phone controls';
    grid-template-columns: 330px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 80px;
    row-gap: 36px;
    align-items: start;
  }

  .look-copy {
    grid-area: copy;
    padding-top: 32px;
  }

  .look-phone {
    grid-area: phone;
    width: 330px;
  }

  .look-controls {
    grid-area: controls;
    max-width: 36em;
  }

  .phone {
    padding: 9px;
    border-radius: 47px;
  }

  .look-video {
    border-radius: 38px;
  }

  .chapter {
    font-size: 17px;
  }

  .screens {
    margin-top: 80px;
    overflow: visible;
  }

  .screens-list {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    padding: 0;
  }
}

/* ---------- Features ---------- */

.features-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-label {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.ic-bills { background: #fbecd6; color: #b45309; }
.ic-budget { background: #d9efec; color: #0f766e; }
.ic-kids { background: #f5ecd4; color: #a16207; }
.ic-goals { background: #f6e4f6; color: #a21caf; }
.ic-worth { background: #dff1e4; color: #15803d; }
.ic-safe { background: #e3ecfb; color: #1d4ed8; }
.ic-receipt { background: #dcebf3; color: #0369a1; }
.ic-shared { background: #ece6fb; color: #6d28d9; }
.ic-debts { background: #fbe7ec; color: #be123c; }
.ic-report { background: #e9e8f7; color: #4338ca; }
.ic-offline { background: #e6ebef; color: #475569; }
.ic-otw { background: #fdf1dc; color: #8a5300; }
.ic-dash { background: #fde9dc; color: #c2410c; }

/* A look-back line is a sentence, not a title: it's set in the text face so it reads like one. */
.card h3 {
  margin-top: 16px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.card-lg h3 {
  font-size: 21px;
}

.card p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 16px;
}

.bills {
  margin: 18px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  list-style: none;
}

.bills li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 12px;
}

.bills li + li {
  border-top: 1px solid var(--line);
}

.bill-main {
  flex: 1;
  min-width: 0;
}

.bill-name {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.bill-meta {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.bill-freq::before {
  content: ' · ';
}

.pill {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.pill svg {
  width: 14px;
  height: 14px;
}

.pill-overdue { background: var(--overdue-wash); color: var(--overdue); }
.pill-due { background: var(--due-wash); color: var(--due); }
.pill-paid { background: var(--paid-wash); color: var(--paid); }
.pill-neutral { background: var(--sunken); color: var(--ink-2); }

.kids {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.kid {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.kid-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kid-initial {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f5ecd4;
  color: #a16207;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
}

.kid-name {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.kid-total {
  color: var(--ink-2);
  font-size: 15px;
}

.kid-total strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.kid-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 10px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
  list-style: none;
}

.kid-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.kid-lines b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

/* Your own dashboard: one adult's tabs and the cards on the one that's open. */
.dash {
  margin-top: 18px;
}

.dash-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dash-tab {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}

.dash-tab-on {
  border-color: var(--plum);
  background: var(--plum);
  color: var(--on-plum);
}

.dash-cards {
  margin: 12px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  list-style: none;
}

.dash-cards li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  font-size: 15px;
}

.dash-cards li + li {
  border-top: 1px solid var(--line);
}

.dash-cards b {
  min-width: 0;
  color: var(--ink);
  font-weight: 600;
}

.dash-cards span {
  flex: none;
  color: var(--ink-3);
  font-size: 13px;
}

.card .card-aside {
  margin-top: 12px;
  color: var(--plum);
  font-family: var(--font-display);
  font-weight: 700;
}

.card-otw {
  border-style: dashed;
  border-color: var(--line-strong);
  background: transparent;
}

.otw {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.otw li {
  display: flex;
  gap: 10px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.5;
}

.otw li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--gold-strong);
}

.meters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}

.meter-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}

.meter-row b {
  color: var(--ink);
  font-weight: 600;
}

.meter-row span {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.meter-row .over {
  color: var(--overdue);
  font-weight: 700;
}

.bar {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--sunken);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.bar-groceries {
  width: 69%;
  background: #1baf7a;
}

.bar-over {
  width: 100%;
  background: var(--overdue);
}

.box {
  margin-top: 28px;
}

.box-label {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 700;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.tag svg {
  width: 14px;
  height: 14px;
  color: var(--ink-2);
}

@media (min-width: 560px) {
  .kids {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .card-wide,
  .card-otw {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 56px;
  }

  .card-wide {
    grid-column: span 2;
  }

  .card-otw {
    grid-column: auto;
  }

  .card {
    padding: 32px;
  }

  .card-lg {
    padding: 36px;
  }

  .card-icon {
    width: 44px;
    height: 44px;
  }

  .card-icon svg {
    width: 22px;
    height: 22px;
  }

  .card h3 {
    margin-top: 18px;
    font-size: 22px;
  }

  .card-lg h3 {
    margin-top: 20px;
    font-size: 24px;
    line-height: 1.25;
  }

  .card-lg p {
    margin-top: 10px;
    max-width: 38em;
    font-size: 17px;
  }

  .bills {
    margin-top: 24px;
    border-radius: 18px;
  }

  .bills li {
    min-height: 56px;
    padding: 0 18px;
  }

  .bill-main {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .bill-name {
    flex: 1;
    font-size: 16px;
  }

  .bill-meta {
    display: contents;
  }

  .bill-freq {
    order: 1;
    width: 140px;
    color: var(--ink-3);
    font-size: 15px;
  }

  .bill-freq::before {
    content: none;
  }

  .bill-amt {
    order: 2;
    width: 90px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    text-align: right;
  }

  .bill-status {
    display: flex;
    justify-content: flex-end;
    width: 160px;
  }

  .meters {
    gap: 20px;
    margin-top: auto;
    padding-top: 24px;
  }

  .box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
  }

  .tags {
    display: contents;
  }

  .tag {
    min-height: 40px;
    padding: 0 16px;
    font-size: 15px;
  }

  .tag svg {
    width: 16px;
    height: 16px;
  }
}

/* ---------- Retirement (plum band) ---------- */

.plum {
  background: var(--plum);
  color: var(--on-plum);
}

.ret-grid {
  display: grid;
  gap: 32px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-plum-3);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kicker svg {
  width: 20px;
  height: 20px;
  color: #f472b6;
}

.plum .h2 {
  margin-top: 14px;
  color: var(--on-plum);
  font-size: clamp(1.8rem, 1.05rem + 2.6vw, 3.375rem);
}

.plum .lead {
  margin-top: 14px;
  color: var(--on-plum-2);
  font-size: 16px;
}

.points {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.point {
  display: flex;
  gap: 14px;
}

.point svg {
  width: 24px;
  height: 24px;
  color: var(--violet-on-plum);
}

.point h3 {
  color: var(--on-plum);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.point p {
  margin-top: 4px;
  color: var(--on-plum-2);
  font-size: 15px;
  line-height: 1.5;
}

.disclaimer {
  margin-top: 24px;
  color: var(--on-plum-3);
  font-size: 13px;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .ret-grid {
    grid-template-columns: minmax(0, 1fr) 480px;
    align-items: start;
    gap: 80px;
  }

  .kicker {
    font-size: 14px;
  }

  .plum .h2 {
    margin-top: 16px;
  }

  .plum .lead {
    margin-top: 20px;
    font-size: 19px;
  }

  .points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 36px;
    margin-top: 44px;
  }

  .point {
    display: block;
  }

  .point h3 {
    margin-top: 12px;
    font-size: 19px;
  }

  .point p {
    margin-top: 6px;
    font-size: 16px;
  }

  .disclaimer {
    margin-top: 40px;
    font-size: 14px;
  }

}

/* Real screens from the Retirement pages, where the mock used to be. Two at the desk, the second a
   little lower; below it they scroll sideways like the ones under "See it on a phone". */
.plum .screen-shot img {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}

.plum .screen-shot figcaption {
  color: var(--on-plum-2);
}

.plum .screen-shot figcaption b {
  color: var(--on-plum);
}

.plum .screens:focus-visible {
  outline-color: var(--violet-on-plum);
}

.ret-note {
  margin-top: 16px;
  color: var(--on-plum-3);
  font-size: 14px;
}

@media (min-width: 1024px) {
  .screens-two {
    margin-top: 0;
  }

  .screens-two .screens-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .screens-two .screens-list li:nth-child(2) {
    margin-top: 56px;
  }
}

/* ---------- Privacy ---------- */

.trust {
  margin: 24px 0 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.trust li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.trust svg {
  width: 24px;
  height: 24px;
  color: var(--plum);
}

.trust h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.trust p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.quote {
  margin: 32px 0 0;
}

.quote > svg {
  width: 44px;
  height: 44px;
}

.quote blockquote {
  max-width: 28em;
  margin: 14px 0 0;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.15rem + 1.1vw, 2.125rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.quote figcaption {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 15px;
}

@media (min-width: 768px) {
  .trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    border: 0;
  }

  .trust li {
    display: block;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
  }

  .trust h3 {
    margin-top: 16px;
  }
}

@media (min-width: 1024px) {
  .trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 56px;
  }

  .trust li {
    padding: 28px;
  }

  .trust h3 {
    font-size: 20px;
  }

  .trust p {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.55;
  }

  .quote {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-top: 72px;
  }

  .quote > svg {
    width: 64px;
    height: 64px;
  }

  .quote blockquote {
    margin: 0;
  }

  .quote figcaption {
    margin-top: 16px;
    font-size: 16px;
  }
}

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  gap: 24px;
}

.price-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 30px 60px -40px rgba(42, 23, 64, 0.35);
}

.price-card h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
}

.billing {
  display: flex;
  gap: 4px;
  margin-top: 16px;
  padding: 4px;
  border-radius: 12px;
  background: var(--sunken);
}

.billing button {
  flex: 1;
  height: 44px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.billing button[aria-pressed='true'] {
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(30, 26, 36, 0.14);
  color: var(--ink);
  font-weight: 600;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
}

.price-amt {
  color: var(--plum);
  font-family: var(--font-display);
  font-size: clamp(4rem, 3.2rem + 1.6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price-per {
  color: var(--ink-2);
  font-size: 18px;
}

.price-sub {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
}

.price-card .btn {
  margin-top: 20px;
}

.price-note {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 15px;
}

.includes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.includes li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.4;
}

.includes svg {
  width: 20px;
  height: 20px;
  color: var(--paid);
}

.price-fine {
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.5;
}

.checkout-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.checkout-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 1.5;
}

.num-sm {
  width: 30px;
  height: 30px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .price-grid {
    grid-template-areas:
      'copy card'
      'how card';
    grid-template-columns: minmax(0, 1fr) 536px;
    grid-template-rows: auto 1fr;
    gap: 48px 80px;
    align-items: start;
  }

  .price-copy {
    grid-area: copy;
  }

  .price-card {
    grid-area: card;
    padding: 40px;
    border-radius: 32px;
  }

  .price-how {
    grid-area: how;
  }

  .price-card h3 {
    font-size: 20px;
  }

  .price {
    margin-top: 28px;
  }

  .price-per {
    font-size: 20px;
  }

  .price-sub {
    margin-top: 8px;
    font-size: 16px;
  }

  .price-card .btn {
    margin-top: 28px;
  }

  .price-note {
    margin-top: 14px;
  }

  .includes {
    gap: 14px;
    margin-top: 28px;
    padding-top: 28px;
  }

  .includes li {
    font-size: 16px;
  }

  .price-fine {
    margin-top: 24px;
    font-size: 14px;
  }

  .checkout-steps {
    gap: 18px;
    margin-top: 16px;
  }

  .checkout-steps li {
    font-size: 17px;
  }
}

/* ---------- Questions ---------- */

.faq-grid {
  display: grid;
  gap: 20px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 18px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary svg {
  width: 20px;
  height: 20px;
  color: var(--ink-2);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary svg {
  transform: rotate(180deg);
}

.faq-list details p {
  max-width: 680px;
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 360px minmax(0, 1fr);
    align-items: start;
    gap: 80px;
  }

  .faq-grid .lead {
    font-size: 17px;
  }

  .faq-list summary {
    padding: 24px 0;
    font-size: 19px;
  }

  .faq-list details p {
    margin-bottom: 24px;
    font-size: 17px;
  }
}

/* ---------- Closing call ---------- */

.cta-section {
  padding-block: 8px 56px;
}

.cta-card {
  padding: 28px;
  border-radius: 32px;
  background: var(--plum);
  color: var(--on-plum);
}

.cta-card .mark {
  width: 72px;
  height: 72px;
}

.cta-card .h2 {
  margin-top: 18px;
  color: var(--on-plum);
}

.cta-card p {
  max-width: 560px;
  margin-top: 12px;
  color: var(--on-plum-2);
  font-size: 17px;
  text-wrap: pretty;
}

.cta-card .btn {
  width: 100%;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .cta-card .btn {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .cta-section {
    padding-block: 16px 96px;
  }

  .cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 72px 80px;
    border-radius: 40px;
  }

  .cta-card .mark {
    order: 2;
    width: 240px;
    height: 240px;
  }

  .cta-card .h2 {
    margin-top: 0;
    font-size: 56px;
  }

  .cta-card p {
    margin-top: 16px;
    font-size: 20px;
    line-height: 1.5;
  }

  .cta-card .btn {
    min-height: 56px;
    margin-top: 32px;
    padding: 0 26px;
  }
}

/* ---------- Footer ---------- */

.site-foot {
  padding-block: 36px;
  border-top: 1px solid var(--line);
}

.foot-top {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.foot-tagline {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 15px;
}

.foot-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.foot-nav div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-nav h2 {
  margin-bottom: 4px;
  color: var(--ink-3);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foot-nav a {
  color: var(--ink-2);
  font-size: 15px;
  text-decoration: none;
}

.foot-nav a:hover {
  color: var(--ink);
}

.foot-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .site-foot {
    padding-block: 56px 40px;
  }

  .foot-top {
    flex-direction: row;
    justify-content: space-between;
    gap: 80px;
  }

  .foot-tagline {
    margin-top: 14px;
    font-size: 16px;
  }

  .foot-nav {
    display: flex;
    gap: 80px;
  }

  .foot-nav div {
    gap: 12px;
  }

  .foot-nav h2 {
    font-size: 13px;
  }

  .foot-nav a {
    font-size: 16px;
  }

  .foot-legal {
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
    padding-top: 24px;
    font-size: 14px;
  }
}

/* ---------- Checkout, welcome and small pages ---------- */

.preview-bar {
  padding: 10px var(--gutter);
  background: var(--sunken);
  color: var(--ink-2);
  font-size: 14px;
  text-align: center;
}

.secure {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}

.secure svg {
  width: 16px;
  height: 16px;
}

.checkout {
  padding-block: 32px 64px;
}

.checkout-grid {
  display: grid;
  gap: 32px;
}

.progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  font-size: 15px;
  list-style: none;
}

.progress li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-weight: 500;
}

.progress li + li::before {
  content: '';
  width: 24px;
  height: 1px;
  margin-right: 4px;
  background: var(--line-strong);
}

.progress .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.progress [aria-current='step'] {
  color: var(--ink);
  font-weight: 600;
}

.progress [aria-current='step'] .step-num {
  border-color: var(--plum);
  background: var(--plum);
  color: var(--on-plum);
  font-weight: 700;
}

.checkout h1 {
  margin-top: 28px;
  color: var(--plum);
  font-size: clamp(2.25rem, 1.8rem + 1.4vw, 3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.checkout .lead {
  font-size: 17px;
}

.plan-set {
  min-width: 0;
  margin: 32px 0 0;
  padding: 0;
  border: 0;
}

.plan-set legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface);
  cursor: pointer;
}

.plan:has(input:checked) {
  border-color: var(--violet);
  box-shadow: 0 0 0 1px var(--violet);
  background: #f6f2fd;
}

.plan-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

.plan input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--violet);
}

.plan-price {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.save {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-top: 4px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--paid-wash);
  color: var(--paid);
  font-size: 13px;
  font-weight: 600;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}

.field label {
  font-size: 15px;
  font-weight: 600;
}

.field label span {
  color: var(--ink-3);
  font-weight: 400;
}

.field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}

.field input:focus-visible {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 1px var(--violet);
}

.field .help {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.5;
}

.checkout .btn-block {
  margin-top: 32px;
}

.lock-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 14px;
}

.lock-line svg {
  width: 16px;
  height: 16px;
}

.terms {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 14px;
}

.summary {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 30px 60px -40px rgba(42, 23, 64, 0.35);
}

.summary-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.summary-head svg {
  width: 40px;
  height: 40px;
}

.summary-head b {
  display: block;
  font-size: 18px;
}

.summary-head span {
  color: var(--ink-2);
  font-size: 15px;
}

.summary dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 16px;
  margin: 24px 0 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.summary dt {
  color: var(--ink-2);
}

.summary dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.summary h2 {
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
}

.summary ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.summary li {
  display: flex;
  gap: 10px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.summary li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--plum);
}

.summary-help {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 14px;
}

@media (min-width: 1024px) {
  .checkout {
    padding-block: 64px 96px;
  }

  .checkout-grid {
    grid-template-columns: minmax(0, 560px) 400px;
    justify-content: center;
    align-items: start;
    gap: 80px;
  }

  .checkout h1 {
    margin-top: 32px;
  }

  .checkout .lead {
    margin-top: 12px;
    font-size: 18px;
  }

  .summary-wrap {
    margin-top: 60px;
  }

  .summary {
    padding: 32px;
  }
}

.welcome {
  width: min(100% - 2 * var(--gutter), 440px);
  margin-inline: auto;
  padding-block: 32px 56px;
}

.welcome > svg {
  width: 88px;
  height: 88px;
}

.welcome h1 {
  margin-top: 20px;
  color: var(--plum);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.welcome .lead {
  margin-top: 10px;
}

.next-steps {
  margin: 28px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  list-style: none;
}

.next-steps li {
  display: flex;
  gap: 14px;
  padding: 18px;
}

.next-steps li + li {
  border-top: 1px solid var(--line);
}

.next-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--sunken);
  color: var(--plum);
}

.next-icon svg {
  width: 20px;
  height: 20px;
}

.next-steps h2 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.next-steps p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.welcome .btn-block {
  margin-top: 24px;
}

.welcome-fine {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.plain {
  width: min(100% - 2 * var(--gutter), 640px);
  margin-inline: auto;
  padding-block: 64px 96px;
}

.plain h1 {
  color: var(--plum);
  font-size: clamp(2.25rem, 1.8rem + 1.4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.plain p {
  margin-top: 16px;
  color: var(--ink-2);
}

.plain .btn {
  margin-top: 28px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
