/*
 * CradleName website. The app's palette (app/lib/theme/app_theme.dart, AppPalette.light and
 * .dark) and type: Fraunces for names and headings, Nunito Sans for the rest. Light or dark
 * with the device's setting (prefers-color-scheme).
 */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/nunito-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* ---- Colors: AppPalette.light ---------------------------------------------------------- */

:root {
  color-scheme: light;
  --ground: #F6F3F9;
  --surface: #FFFFFF;
  --ink: #2A2238;
  --muted: #6B6478;
  --on-ink: #FFFFFF;
  --border: #E6E1EC;
  --strong-border: #D8D2DF;
  --divider: #ECE8F1;
  --rose: #B8455F;
  --rose-strong: #8F2F47;
  --rose-tint: #FBE9EE;
  --rose-fill: #B8455F;
  --rose-fill-strong: #8F2F47;
  --on-fill: #FFFFFF;
  --teal: #2E7D74;
  --teal-strong: #1F5E57;
  --teal-tint: #E3F1EE;
  --teal-fill: #2E7D74;
  --amber-text: #7A4E0A;
  --amber-tint: #FDF1DC;
  --lavender-text: #4B3F66;
  --lavender-tint: #EEE9F5;
  --boy-text: #1E5491;
  --boy-tint: #E2EDFA;
  --girl-text: #A32769;
  --girl-tint: #FCE6F1;
  --unisex-text: #674A80;
  --unisex-tint: #EFE8F4;
  /* The download band: ink with white text in both themes. */
  --band: #2A2238;
  --on-band: #FFFFFF;
  --on-band-body: #D6D0E0;
  --on-band-muted: #ABA3B9;
  /* The partner's card behind the sample deck, as in the mark. */
  --back-card: #E3F1EE;
  --back-card-line: #CFE6E1;
  --shadow: 42 34 56;
  --rose-shadow: 184 69 95;
}

/* ---- Colors: AppPalette.dark, with the device's dark setting ---------------------------- */

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ground: #17131E;
    --surface: #221D2B;
    --ink: #EEEAF4;
    --muted: #ABA3B9;
    --on-ink: #1A1620;
    --border: #3B3447;
    --strong-border: #4D4559;
    --divider: #312B3C;
    --rose: #E3758F;
    --rose-strong: #F4A9BB;
    --rose-tint: #41232F;
    --teal: #4FB3A6;
    --teal-strong: #9EDDD2;
    --teal-tint: #1B3A36;
    --amber-text: #E7B95E;
    --amber-tint: #3A2D16;
    --lavender-text: #CFC3EC;
    --lavender-tint: #2B2440;
    --boy-text: #A9CBF5;
    --boy-tint: #1B2B42;
    --girl-text: #F4AACF;
    --girl-tint: #3E1F33;
    --unisex-text: #D3BDE8;
    --unisex-tint: #2F2539;
    --back-card: #1B3A36;
    --back-card-line: #24504A;
    --shadow: 0 0 0;
  }
}

/* ---- Base --------------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--ground);
  color: var(--ink);
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
}

p {
  margin: 0;
}

a {
  color: var(--rose-strong);
}

a:hover {
  color: var(--rose);
}

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

svg {
  flex-shrink: 0;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.section--surface {
  background: var(--surface);
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
}

.eyebrow--amber {
  color: var(--amber-text);
}

.title {
  margin-top: 10px;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.lead {
  margin-top: 14px;
  max-width: 40em;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  color: var(--muted);
}

.fine {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---- Buttons ------------------------------------------------------------------------------ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button--rose {
  background: var(--rose-fill);
  color: var(--on-fill);
}

.button--rose:hover {
  background: var(--rose-fill-strong);
  color: var(--on-fill);
}

.button--quiet {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--strong-border);
}

.button--quiet:hover {
  color: var(--ink);
  border-color: var(--muted);
}

.button--large {
  min-height: 52px;
  padding: 0 28px;
  font-size: 1rem;
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.store-badge {
  display: inline-block;
  border-radius: 10px;
  line-height: 0;
}

.store-badge img {
  display: block;
  width: auto;
  height: 56px;
}

/* ---- Header ------------------------------------------------------------------------------- */

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand .mark {
  width: 29px;
  height: 34px;
}

.brand--small {
  font-size: 1.25rem;
}

.brand--small .mark {
  width: 24px;
  height: 28px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px 24px;
}

.nav a:not(.button) {
  padding: 11px 2px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

.nav a:not(.button):hover {
  color: var(--rose-strong);
}

@media (max-width: 640px) {
  .nav a:not(.button) {
    display: none;
  }
}

/* ---- Hero --------------------------------------------------------------------------------- */

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px 64px;
  padding-block: clamp(24px, 4vw, 56px) clamp(56px, 7vw, 104px);
}

@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero h1 {
  font-size: clamp(2.75rem, 1.5rem + 4.4vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--rose);
}

.hero-sub {
  margin-top: 24px;
  max-width: 30em;
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
  line-height: 1.5;
  color: var(--muted);
}

.ctas {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--rose-strong);
  font-size: 1.0625rem;
  font-weight: 800;
  text-decoration: none;
}

.hero .fine {
  margin-top: 18px;
}

/* ---- The sample deck ---------------------------------------------------------------------- */

.deck-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.deck-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--lavender-tint);
  color: var(--lavender-text);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.deck {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-top: 28px;
}

.deck::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--back-card-line);
  border-radius: 28px;
  background: var(--back-card);
  transform: rotate(-6deg);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 452px;
  padding: 24px 26px 26px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 22px 44px rgb(var(--shadow) / 0.14), 0 2px 6px rgb(var(--shadow) / 0.06);
  transform: rotate(2deg);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.card--name {
  cursor: grab;
}

.card.is-dragging {
  cursor: grabbing;
}

.card.is-settling {
  transition: transform 0.2s ease-out;
}

.card.is-leaving {
  transition: transform 0.28s ease-in, opacity 0.28s ease-in;
  opacity: 0;
}

.card.is-entering {
  animation: card-in 0.24s ease-out;
}

@keyframes card-in {
  from {
    opacity: 0.3;
    transform: rotate(2deg) scale(0.96);
  }
}

.stamp {
  position: absolute;
  top: 26px;
  padding: 2px 10px;
  border: 3px solid currentColor;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
}

.stamp--like {
  left: 22px;
  color: var(--rose);
  transform: rotate(-12deg);
}

.stamp--dislike {
  right: 22px;
  color: var(--ink);
  transform: rotate(12deg);
}

.stamp--maybe {
  left: 50%;
  top: auto;
  bottom: 30%;
  color: var(--amber-text);
  transform: translateX(-50%) rotate(-4deg);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 800;
}

.chip--girl { background: var(--girl-tint); color: var(--girl-text); }
.chip--boy { background: var(--boy-tint); color: var(--boy-text); }
.chip--unisex { background: var(--unisex-tint); color: var(--unisex-text); }
.chip--rose { background: var(--rose-tint); color: var(--rose-strong); }
.chip--amber { background: var(--amber-tint); color: var(--amber-text); }
.chip--lavender { background: var(--lavender-tint); color: var(--lavender-text); }
.chip--teal { background: var(--teal-tint); color: var(--teal-strong); }

.card-spacer {
  flex: 1 1 auto;
  min-height: 24px;
}

.card-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.25rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--lavender-tint);
  color: var(--lavender-text);
  font-size: 0.875rem;
  font-weight: 700;
}

.card .pill {
  align-self: flex-start;
  margin-top: 12px;
}

.fact-label {
  margin-top: 20px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact-label + .fact {
  margin-top: 4px;
}

.fact + .fact-label {
  margin-top: 14px;
}

.fact {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
}

.icon-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.icon-line svg {
  margin-top: 1px;
}

.card--end {
  justify-content: center;
  gap: 14px;
  padding: 32px 28px;
}

.end-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.125rem;
  font-weight: 600;
  line-height: 1.1;
}

.card--end .muted {
  color: var(--muted);
}

.card--end .button {
  align-self: flex-start;
  margin-top: 6px;
}

.deck-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid var(--strong-border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 18px rgb(var(--shadow) / 0.1);
  cursor: pointer;
}

.round--maybe {
  width: 54px;
  height: 54px;
  border-color: transparent;
  background: var(--amber-tint);
  color: var(--amber-text);
}

.round--like {
  border: 0;
  background: var(--rose-fill);
  color: var(--on-fill);
  box-shadow: 0 10px 22px rgb(var(--rose-shadow) / 0.32);
}

.round:disabled {
  opacity: 0.4;
  cursor: default;
}

.deck-status {
  max-width: 340px;
  min-height: 46px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}

.match-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-top: 10px;
  padding: 0 14px 0 8px;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal-strong);
  font-size: 0.875rem;
  font-weight: 700;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--teal-fill);
  color: var(--on-fill);
  font-size: 0.75rem;
  font-weight: 800;
}

/* ---- Where the data comes from ------------------------------------------------------------ */

.data-strip {
  border-top: 1px solid var(--border);
}

.data-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  padding-block: 24px;
}

.data-strip p {
  margin-right: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
}

.places {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.places li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 800;
}

/* ---- How it works ------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 28px;
  border-radius: 24px;
  background: var(--ground);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
}

.icon-circle--lavender { background: var(--lavender-tint); color: var(--lavender-text); }
.icon-circle--teal { background: var(--teal-tint); color: var(--teal-strong); }
.icon-circle--rose { background: var(--rose-tint); color: var(--rose); }

.step-number {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step h3 {
  margin-top: 20px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.step p,
.feature p {
  margin-top: 8px;
  color: var(--muted);
}

/* ---- Features ----------------------------------------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  margin-top: 48px;
}

.feature {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.feature h3 {
  margin-top: 22px;
  font-size: 1.375rem;
  line-height: 1.25;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 184px;
  padding: 16px 18px;
  overflow: hidden;
  border-radius: 18px;
}

.panel--center {
  justify-content: center;
}

.panel--rose { background: var(--rose-tint); }
.panel--teal { background: var(--teal-tint); }
.panel--lavender { background: var(--lavender-tint); }
.panel--amber { background: var(--amber-tint); }

.panel-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 18px;
  text-transform: uppercase;
}

.panel--rose .panel-label { color: var(--rose-strong); }

.rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
}

.rank-row span {
  flex-grow: 1;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
}

.rank-row--lifted {
  border-color: var(--rose);
  color: var(--rose-strong);
  box-shadow: 0 10px 20px rgb(var(--rose-shadow) / 0.18);
  transform: translateX(8px) rotate(-1.5deg);
}

.tabs-row {
  display: flex;
  gap: 6px;
  overflow: hidden;
}

.mini-chip {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
}

.panel--teal .mini-chip { color: var(--teal-strong); }
.panel--teal .mini-chip--place { color: var(--ink); }

.mini-chip--on,
.panel--teal .mini-chip--on {
  background: var(--teal-fill);
  color: var(--on-fill);
}

.top-lists {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.top-list {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
}

.top-list-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 18px;
  text-transform: uppercase;
}

.top-list-label--girls { color: var(--girl-text); }
.top-list-label--boys { color: var(--boy-text); }

.top-list ol {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 22px;
}

.mini-card {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 8px 18px rgb(var(--shadow) / 0.08);
}

.mini-card-label {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 16px;
  text-transform: uppercase;
}

.liked-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 700;
}

.liked-line strong {
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1875rem;
  font-weight: 600;
}

.heart--you { color: var(--rose); }
.heart--partner { color: var(--teal); }

.mini-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.1;
}

.mini-full {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.mini-siblings {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
}

.name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.name-row strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 34px;
}

.panel .pill {
  min-height: 28px;
  background: var(--surface);
  font-size: 0.8125rem;
}

.panel--rose .mini-card-label {
  margin-top: 4px;
  color: var(--rose-strong);
}

.continue-demo {
  align-self: center;
  pointer-events: none;
}

.panel-note {
  max-width: 250px;
  margin: 0 auto;
  color: var(--teal-strong);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

/* ---- Premium ------------------------------------------------------------------------------ */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  align-items: stretch;
  gap: 20px;
  max-width: 1000px;
  margin-top: 48px;
}

.plan {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--ground);
}

.plan--premium {
  border: 2px solid var(--rose);
  background: var(--surface);
  box-shadow: 0 18px 40px rgb(var(--rose-shadow) / 0.12);
}

.section--surface .plan:not(.plan--premium) {
  background: var(--ground);
}

.plan-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.plan h3 {
  font-size: 1.75rem;
  line-height: 1.2;
}

.plan-sub {
  margin-top: 6px;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--amber-tint);
  color: var(--amber-text);
  font-size: 0.8125rem;
  font-weight: 800;
}

.badge--small {
  min-height: 20px;
  padding: 0 8px;
  font-size: 0.6875rem;
}

.prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 12px;
  margin-top: 16px;
}

.price {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--ground);
}

.price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 18px;
  text-transform: uppercase;
}

.price-amount {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.price-amount strong {
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 36px;
}

.plan .fine {
  margin-top: 10px;
  font-size: 0.8125rem;
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.plan--premium .checks {
  margin-top: 20px;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.checks svg {
  margin-top: 2px;
  color: var(--teal);
}

.plan--premium .checks svg {
  color: var(--rose);
}

.plan-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--divider);
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---- FAQ ---------------------------------------------------------------------------------- */

.faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  column-gap: 48px;
  margin-top: 40px;
}

.faq-item {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.faq-item h3 {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.45;
}

.faq-item p {
  margin-top: 6px;
  color: var(--muted);
}

/* ---- Contact ------------------------------------------------------------------------------ */

.contact .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 32px 64px;
}

@media (max-width: 860px) {
  .contact .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact .lead {
  max-width: 28em;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--ground);
}

.contact-intro {
  color: var(--muted);
}

.turnstile-slot {
  min-height: 65px;
  margin-top: 18px;
}

.contact-show {
  margin-top: 18px;
}

.contact-status {
  min-height: 1.55em;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 700;
}

.contact-status.is-error {
  color: var(--rose-strong);
}

.contact-revealed:focus {
  outline: none;
}

.contact-address-label {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-address {
  display: inline-block;
  margin-top: 4px;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.contact-address:hover {
  color: var(--rose-strong);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* Shown in the contact card's place without JavaScript (no-js.css). */
.no-js-note {
  display: none;
}

/* ---- The download band -------------------------------------------------------------------- */

.band {
  background: var(--band);
  color: var(--on-band);
}

.band .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: clamp(64px, 8vw, 112px);
  text-align: center;
}

.band .mark {
  width: 62px;
  height: 72px;
}

.band h2 {
  margin-top: 24px;
  color: var(--on-band);
  font-size: clamp(2.25rem, 1.4rem + 2.8vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.band p {
  max-width: 34em;
  margin-top: 16px;
  color: var(--on-band-body);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
}

.band .store-badge {
  margin-top: 32px;
}

.band .fine {
  margin-top: 16px;
  color: var(--on-band-muted);
  font-size: 0.875rem;
}

/* ---- Footer ------------------------------------------------------------------------------- */

.site-footer .wrap {
  padding-block: 36px 44px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

.footer-links a {
  display: inline-block;
  padding: 11px 0;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--rose-strong);
}

.legal-line {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* ---- Pages: Terms, Privacy, 404 ----------------------------------------------------------- */

.page .wrap {
  max-width: 860px;
}

.page article {
  padding-block: clamp(16px, 3vw, 40px) clamp(56px, 7vw, 96px);
}

.page h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page h2 {
  margin-top: 48px;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  line-height: 1.2;
}

.page h3 {
  margin-top: 28px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.page p,
.page ul,
.page ol,
.page table,
.page blockquote {
  margin-top: 16px;
}

.page ul,
.page ol {
  padding-left: 1.4em;
}

.page li + li {
  margin-top: 6px;
}

.page blockquote {
  margin-inline: 0;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--amber-tint);
  color: var(--amber-text);
}

.page blockquote p {
  margin: 0;
}

.page code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--lavender-tint);
  color: var(--lavender-text);
  font-size: 0.9em;
}

.page table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.page th,
.page td {
  min-width: 140px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.page th {
  font-weight: 800;
}

.page hr {
  margin: 40px 0 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.not-found {
  text-align: center;
}

.not-found .button {
  margin-top: 28px;
}

/* ---- Motion ------------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
