/* GENERATED from DESIGN.md by scripts/tokens.ts. Do not edit; run `pnpm tokens`. */

:root {
  color-scheme: light;
  --font-sans: "Roboto", ui-sans-serif, system-ui, sans-serif;
  --background: #fff8f2;
  --foreground: #2b1810;
  --surface: #ffffff;
  --surface-foreground: #2b1810;
  --surface-secondary: #fbefe4;
  --surface-tertiary: #f3e4d6;
  --overlay: #ffffff;
  --overlay-foreground: #2b1810;
  --muted: #6e5a4e;
  --default: #f3e4d6;
  --default-foreground: #2b1810;
  --accent: #c2410c;
  --accent-foreground: #ffffff;
  --field-background: #ffffff;
  --field-foreground: #2b1810;
  --field-border: #8f7b6e;
  --success: #17703a;
  --success-foreground: #ffffff;
  --warning: #8f4b00;
  --warning-foreground: #ffffff;
  --danger: #c4122f;
  --danger-foreground: #ffffff;
  --border: #e6d5c5;
  --separator: #f0e3d6;
  --focus: #b23a0a;
  --link: #b23a0a;
  --celebration: #ffb020;
  --celebration-foreground: #2b1608;
  --radius: 16px;
  --field-radius: 12px;
  --field-border-width: 1px;
  --surface-secondary-foreground: var(--surface-foreground);
  --surface-tertiary-foreground: var(--surface-foreground);
  --field-placeholder: var(--muted);
  --segment: var(--surface);
  --segment-foreground: var(--foreground);
  --backdrop: rgba(0, 0, 0, 0.2);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #17100c;
    --foreground: #fbefe6;
    --surface: #211813;
    --surface-foreground: #fbefe6;
    --surface-secondary: #2b2019;
    --surface-tertiary: #352920;
    --overlay: #2b2019;
    --overlay-foreground: #fbefe6;
    --muted: #b8a598;
    --default: #3a2d24;
    --default-foreground: #fbefe6;
    --accent: #ff8a4c;
    --accent-foreground: #2a0e02;
    --field-background: #211813;
    --field-foreground: #fbefe6;
    --field-border: #7a6859;
    --success: #4ade80;
    --success-foreground: #06210f;
    --warning: #fbbf24;
    --warning-foreground: #2b1700;
    --danger: #ff7a8c;
    --danger-foreground: #2b0008;
    --border: #3a2d24;
    --separator: #2b2019;
    --focus: #ffa06b;
    --link: #ffa06b;
    --celebration: #ffc53d;
    --celebration-foreground: #2b1608;
    --radius: 16px;
    --field-radius: 12px;
    --field-border-width: 1px;
    --surface-secondary-foreground: var(--surface-foreground);
    --surface-tertiary-foreground: var(--surface-foreground);
    --field-placeholder: var(--muted);
    --segment: var(--surface-tertiary);
    --segment-foreground: var(--foreground);
    --backdrop: rgba(0, 0, 0, 0.5);
  }
}

/* The site's own rules. Colors, radius and the font come only from the token variables in theme.css. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-underline-offset: 0.2em;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
}

p {
  margin: 0 0 1rem;
}

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

main {
  flex: 1;
  padding-block: 3rem;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--accent-foreground);
  border-radius: var(--radius);
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
.site-footer {
  background: var(--surface);
  color: var(--surface-foreground);
}

.site-header {
  border-bottom: 1px solid var(--separator);
}

.site-footer {
  border-top: 1px solid var(--separator);
  padding-block: 1.5rem;
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 0.75rem;
}

.site-footer .bar p {
  margin: 0;
  color: var(--muted);
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
  text-decoration: none;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-links a[aria-current="page"],
.site-header .bar > nav a[aria-current="page"] {
  color: var(--foreground);
  font-weight: 600;
  text-decoration: none;
}

.hero {
  max-width: 44rem;
  padding-block: 2rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--muted);
}

.site-header .bar > nav a,
.article-back a {
  font-weight: 600;
}

.section {
  padding-block: 2rem;
}

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

.play-badge {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--accent-foreground);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  background: var(--surface);
  color: var(--surface-foreground);
  border: 1px solid var(--separator);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.card-highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.card h3 {
  font-size: 1.125rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.price {
  font-size: 1.75rem;
  font-weight: 700;
}

.period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.check-list {
  margin: 1rem 0 0;
  padding-inline-start: 1.25rem;
}

.faq-item {
  border-top: 1px solid var(--separator);
  padding-block: 1rem 0.25rem;
  max-width: 44rem;
}

.faq-item h3 {
  font-size: 1.125rem;
}

.article,
.article + p {
  max-width: 44rem;
}

.card-grid-wide {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.site-header .bar .lang-links,
.site-footer .bar .lang-links {
  margin-inline-start: auto;
}

.site-header .bar > nav:not(.lang-links) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin-inline-end: auto;
}

.article code {
  font-family: var(--font-mono, monospace);
  font-size: 0.9em;
  background: var(--surface);
  color: var(--surface-foreground);
  border: 1px solid var(--separator);
  border-radius: var(--radius);
  padding: 0.1em 0.35em;
}

.article li {
  margin-bottom: 0.25rem;
}

.article li::marker {
  color: var(--muted);
}

.article h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

.article h3 {
  font-size: 1.125rem;
  margin-top: 1.5rem;
}

.article ul,
.article ol {
  margin: 0 0 1rem;
  padding-inline-start: 1.5rem;
}

.card h2 {
  font-size: 1.125rem;
}

.action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.action-links > a {
  flex: 1 1 12rem;
  text-align: center;
  box-sizing: border-box;
}

.action-link-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--separator);
  border-radius: var(--radius);
  color: var(--foreground);
  font-weight: 600;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

/* Text links in the header and footer keep a 24px minimum target (WCAG 2.2 target size). */
.site-header .bar > nav a,
.article-back a,
.site-footer a {
  display: inline-block;
  min-height: 1.5rem;
  padding-block: 0.25rem;
  box-sizing: border-box;
}

/* Landing: brand, hero, showcases, features, pricing, call to action. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
}

.logo {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
}

.logo-small {
  width: 2rem;
  height: 2rem;
}

.logo-tile {
  fill: var(--accent);
}

.logo-flame {
  fill: var(--accent-foreground);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

h1 {
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero {
  max-width: none;
  padding-block: 1rem 2rem;
}

.hero-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-text {
  max-width: 40rem;
}

.hero-aside,
.showcase-art {
  display: flex;
  justify-content: center;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--separator);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 600;
}

.play-badge {
  min-height: 3rem;
  padding-block: 0.8rem;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent);
}

.play-badge:hover {
  filter: brightness(1.08);
}

.section-lead {
  color: var(--muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.section {
  padding-block: 2.5rem;
}

.showcase {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding-block: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
}

.showcase-text {
  max-width: 28rem;
}

.showcase-text h3 {
  font-size: 1.5rem;
}

.showcase-text p {
  color: var(--muted);
  font-size: 1.125rem;
}

.feature-icon {
  margin-bottom: 0.75rem;
  border-radius: 0.875rem;
  background: var(--surface-secondary);
  color: var(--accent);
  fill: none;
  stroke: currentcolor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  box-sizing: content-box;
  padding: 0.6rem;
  width: 1.5rem;
  height: 1.5rem;
}

.card p {
  color: var(--muted);
}

.card .price,
.card .price .period {
  color: var(--foreground);
}

.card .price .period {
  color: var(--muted);
}

.card .note {
  color: var(--accent);
  font-weight: 600;
}

.price-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.price-grid .check-list {
  color: var(--muted);
}

.fine-print {
  margin-top: 1rem;
  font-size: 0.875rem;
  max-width: 44rem;
}

.cta-band {
  margin-block: 2rem;
  padding: 2.5rem 1.5rem;
  border-radius: calc(var(--radius) * 1.5);
  background: var(--accent);
  color: var(--accent-foreground);
  text-align: center;
}

.cta-band p {
  max-width: 32rem;
  margin-inline: auto;
}

.cta-band .play-badge {
  background: var(--accent-foreground);
  color: var(--accent);
  box-shadow: none;
}

.cta-band a:focus-visible {
  outline-color: var(--accent-foreground);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 1.5rem 2rem;
  padding-block: 0.5rem 1rem;
}

.footer-brand {
  grid-column: 1 / -1;
}

.footer-title {
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-rights {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--separator);
  font-size: 0.875rem;
}

.site-footer .lang-links {
  margin: 0.75rem 0 0;
}

/* Static phone pictures of the app. */
.phone {
  margin: 0;
  position: relative;
  width: min(100%, 17.5rem);
  padding: 0.5rem;
  border-radius: 2.25rem;
  background: var(--foreground);
  box-shadow: 0 20px 50px color-mix(in srgb, var(--foreground) 22%, transparent);
}

.phone-screen {
  min-height: 29rem;
  padding: 1.25rem 1rem;
  border-radius: 1.75rem;
  background: var(--background);
  color: var(--foreground);
  overflow: hidden;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.mock-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mock-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.6rem 0.15rem 0.25rem;
  border-radius: 999px;
  background: var(--surface-secondary);
  font-weight: 800;
}

.mock-chip-flame {
  width: 1.25rem;
  height: 1.25rem;
}

.mock-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--separator);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 600;
}

.mock-text {
  flex: 1;
  min-width: 0;
}

.mock-text small {
  display: block;
  color: var(--muted);
  font-weight: 400;
}

.mock-box,
.mock-ring {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid var(--border);
  border-radius: 50%;
}

.mock-box-done {
  border-color: var(--accent);
  background: var(--accent);
}

.mock-check {
  fill: none;
  stroke: var(--accent-foreground);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mock-ring {
  border-color: var(--accent);
  border-right-color: var(--separator);
  border-bottom-color: var(--separator);
  transform: rotate(-20deg);
}

.mock-bar {
  display: block;
  height: 0.4rem;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: var(--separator);
  overflow: hidden;
}

.mock-bar > span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.mock-celebrate {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1rem;
  text-align: center;
}

.flame-top {
  stop-color: var(--celebration);
}

.flame-bottom {
  stop-color: var(--accent);
}

.flame-big {
  width: 9rem;
  height: auto;
  filter: drop-shadow(0 0 1.5rem color-mix(in srgb, var(--celebration) 60%, transparent));
}

.mock-number {
  margin: 0.5rem 0 0;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.mock-label {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-weight: 600;
}

.mock-bar-wide {
  width: 100%;
}

.mock-cheer {
  margin: 1rem 0 0;
  font-weight: 700;
}

.mock-medal,
.mock-avatar {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
}

.mock-medal-gold {
  background: var(--celebration);
  color: var(--celebration-foreground);
}

.mock-medal-silver {
  background: var(--muted);
  color: var(--background);
}

.mock-medal-bronze {
  background: var(--accent);
  color: var(--accent-foreground);
}

.mock-medal-iron {
  background: var(--surface-tertiary);
  color: var(--surface-foreground);
}

.mock-avatar {
  background: var(--surface-secondary);
  color: var(--surface-foreground);
}

.mock-streak {
  font-weight: 900;
  color: var(--accent);
}

.mock-month {
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
  text-align: center;
}

.mock-dow {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.mock-day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.mock-day-done {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-foreground);
}

.mock-day-future {
  border-color: transparent;
  color: var(--muted);
}

.mock-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.mock-stats p {
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--separator);
  border-radius: var(--radius);
  background: var(--surface);
}

.mock-stats strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
}

.mock-stats small {
  color: var(--muted);
}

@media (min-width: 56rem) {
  .hero-split {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
  }

  .showcase {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .showcase-text {
    justify-self: end;
  }

  .showcase-reverse .showcase-text {
    order: 2;
    justify-self: start;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }

  main {
    padding-block: 4rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .play-badge {
    transition: filter 0.15s ease;
  }
}

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