@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/nunito-400.woff") format("woff");
}

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/nunito-600.woff") format("woff");
}

:root {
  color-scheme: light;
  --cream: #fbf7f0;
  --ink: #2c2825;
  --muted: #6b6560;
  --accent: #9a5340;
  --accent-soft: #f6e4dc;
  --sage: #245233;
  --sage-soft: #e4efe5;
  --line: #e8e0d4;
  --white: #fff;
  --chip: #f3ede4;
  font-family: Nunito, "Segoe UI", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.45;
}

img { max-width: 100%; }

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

a:hover { color: #7a3e2e; }

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

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  padding: 8px 12px;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header,
.site-footer {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

.header-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.button,
button.button {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--cream);
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button:hover { color: var(--cream); }

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

.audience {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--white);
  width: fit-content;
}

.audience button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.audience button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--cream);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: start;
  padding: 12px 0 40px;
}

h1 {
  margin: 12px 0 8px;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}

.lede { margin: 0; max-width: 38rem; font-size: 1.05rem; }

.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.note { margin: 10px 0 0; color: var(--muted); }

.footnote {
  margin: 20px 0 0;
  max-width: 38rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.footnote a { color: var(--muted); }

.beats { margin-top: 18px; display: grid; gap: 0; }

.beats button {
  text-align: left;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 10px 0;
  cursor: pointer;
}

.beats button[aria-current="true"] { color: var(--accent); }

.device-label { margin: 0; color: var(--muted); text-align: center; }

.phone-mount { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.device {
  width: min(100%, 400px);
  height: min(420px, 52vh);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--cream);
  overflow: hidden;
}

.track {
  display: flex;
  width: 300%;
  height: 100%;
  align-items: stretch;
  transition: transform 420ms ease;
}

.slide {
  width: calc(100% / 3);
  height: 100%;
  box-sizing: border-box;
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.app-title { margin: 0; font-size: 1.2rem; font-weight: 600; }

.sub { margin: 0; font-weight: 600; }

.muted { margin: 0; color: var(--muted); }

.caption { margin: 0; color: var(--muted); font-size: 0.78rem; }

.label {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}

.label.ink { color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }

.chip {
  align-self: flex-start;
  background: var(--chip);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

.chip.sage { background: var(--sage-soft); color: var(--sage); }

.chip.accent { background: var(--accent-soft); color: var(--accent); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.argument {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.argument p, .passage p { margin: 0; }

.passage {
  background: var(--sage-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.passage-top { display: flex; justify-content: space-between; gap: 8px; }

.player { gap: 10px; }

.transport { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.transport span {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  min-width: 52px;
  text-align: center;
}

.transport .speed { margin-left: auto; }

.scrub {
  height: 4px;
  border-radius: 999px;
  background: var(--line);
}

.scrub-fill {
  display: block;
  width: 35%;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}

.times { display: flex; justify-content: space-between; }

.choice, .field {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 12px 14px;
}

.field { color: var(--muted); border-radius: 12px; }

.field-label { margin: 0; font-size: 0.78rem; font-weight: 600; }

.public-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.switch {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: var(--chip);
  flex: 0 0 auto;
}

.ask {
  margin: 0;
  text-align: center;
  background: var(--chip);
  color: #a8988c;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
}

.carousel { display: flex; align-items: center; gap: 8px; }

.carousel button {
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font: inherit;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}

.carousel button:disabled { color: #a8988c; cursor: default; }

.dots { display: flex; gap: 6px; }

.dots button {
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 0;
  position: relative;
}

.dots button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  position: absolute;
  top: 17px;
  left: 17px;
}

.dots button[aria-current="true"] {
  background: var(--accent);
  color: var(--cream);
  border-color: var(--accent);
}

.band { padding: 8px 0 48px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

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

.steps strong { display: block; margin-bottom: 4px; }

h2 { margin: 0 0 8px; font-size: 1.35rem; font-weight: 600; }

.plans { width: 100%; border-collapse: collapse; margin-top: 16px; }

.plans th, .plans td {
  text-align: left;
  padding: 12px 10px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.plans th { font-weight: 600; }

.price { font-size: 1.2rem; font-weight: 600; }

.legal { padding-bottom: 48px; }

.legal h1 { font-size: 1.7rem; }

.legal h2 { margin-top: 28px; font-size: 1.2rem; }

.legal h3 { margin: 20px 0 8px; font-size: 1.05rem; }

.legal p, .legal li { max-width: 42rem; }

.legal table { border-collapse: collapse; width: min(100%, 42rem); margin: 12px 0; }

.legal th, .legal td { border-top: 1px solid var(--line); text-align: left; padding: 8px 10px 8px 0; vertical-align: top; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }

.site-footer a { color: var(--muted); }

@media (max-width: 800px) {
  .hero, .steps { grid-template-columns: minmax(0, 1fr); }
  .header-actions { margin-left: 0; }
  h1 { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .track { transition: none; }
}
