/* FreshSpot site. One stylesheet for every page.
   Tokens follow docs/build/brand-spec.md (Bright Mint, locked 2026-09-13). */

/* ---------- Tokens ---------- */

:root {
  color-scheme: light dark;

  --bg: #f7fbfb;
  --surface: #ffffff;
  --raised: #ffffff;
  --fg: #10171a;
  --muted: #5b6569;
  --border: #d2d9d9;
  --accent: #40d4a6;
  --accent-soft: #ccf7e5;
  --accent-ink: #0f7156;
  --on-accent: #10171a;
  --elev-ink: 61 74 76;
  --elev-accent: 46 155 120;

  --wash: rgb(204 247 229 / 0.55);
  --stage-wash: rgb(204 247 229 / 0.55);
  --stage-shade: transparent;
  --hairline: rgb(16 23 26 / 0.09);
  --scrim: rgb(247 251 251 / 0.8);
  --stripe-opacity: 0.22;
  --label-stripe-opacity: 0.22;

  --shadow-resting: 0 1px 1px rgb(var(--elev-ink) / 0.04);
  --shadow-primary: 0 1px 1px rgb(var(--elev-ink) / 0.06), 0 10px 24px -4px rgb(var(--elev-ink) / 0.1);
  --shadow-stage: 0 1px 1px rgb(var(--elev-ink) / 0.05), 0 24px 60px -24px rgb(var(--elev-ink) / 0.22);
  --shadow-actor: inset 0 1px 0 rgb(255 255 255 / 0.35), 0 1px 2px rgb(var(--elev-accent) / 0.18), 0 8px 20px -4px rgb(var(--elev-accent) / 0.3);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --gutter: clamp(16px, 5vw, 48px);
  --max: 1160px;
  --section: clamp(88px, 12vw, 152px);

  --r-card: 20px;
  --r-primary: 24px;
  --r-stage: 32px;
  --r-button: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f2626;
    --surface: #2b3232;
    --raised: #373f3f;
    --fg: #eff3f3;
    --muted: #a3adae;
    --border: #464f50;
    --accent: #40d4a6;
    --accent-soft: #225241;
    --accent-ink: #6bddb5;
    --on-accent: #10171a;
    --elev-ink: 11 18 20;
    --elev-accent: 79 199 158;

    --wash: rgb(34 82 65 / 0.4);
    --stage-wash: transparent;
    --stage-shade: rgb(0 0 0 / 0.14);
    --hairline: rgb(255 255 255 / 0.08);
    --scrim: rgb(31 38 38 / 0.78);
    --label-stripe-opacity: 0.16;

    --shadow-resting: inset 0 1px 0 rgb(255 255 255 / 0.05);
    --shadow-primary: inset 0 1px 0 rgb(255 255 255 / 0.07), 0 16px 32px -8px rgb(var(--elev-ink) / 0.4);
    --shadow-stage: inset 0 1px 0 rgb(255 255 255 / 0.07), 0 28px 64px -24px rgb(var(--elev-ink) / 0.6);
    --shadow-actor: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 8px 22px -6px rgb(var(--elev-accent) / 0.32);
  }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

a {
  color: var(--accent-ink);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color 160ms var(--ease);
}

a:hover {
  text-decoration-color: currentColor;
}

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

::selection {
  background: var(--accent-soft);
  color: var(--fg);
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-primary);
  transform: translateY(-160%);
}

.skip-link:focus-visible {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--scrim);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--hairline);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  margin-inline-end: auto;
  border-radius: 10px;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  box-shadow: 0 0 0 1px var(--hairline), 0 1px 2px rgb(var(--elev-ink) / 0.12);
}

.wordmark {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--fg);
}

.site-nav .nav-optional {
  display: none;
}

@media (min-width: 760px) {
  .site-nav .nav-optional {
    display: inline-flex;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: var(--r-button);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-actor);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 92%, #10171a);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-quiet {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 15px;
  background: var(--surface);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-resting);
}

.btn-quiet:hover {
  box-shadow: inset 0 0 0 1px var(--muted), var(--shadow-resting);
}

/* ---------- Type ---------- */

.eyebrow {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.display {
  font-size: clamp(44px, 6.6vw, 80px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.026em;
  text-wrap: balance;
}

.title {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.lede {
  color: var(--muted);
  font-size: clamp(19px, 1.9vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  max-width: 34em;
}

.lede strong {
  color: var(--fg);
  font-weight: 600;
}

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

.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 96px) 0;
  background:
    radial-gradient(120% 70% at 72% -8%, var(--wash) 0%, transparent 62%),
    radial-gradient(80% 60% at 0% 0%, color-mix(in srgb, var(--wash) 50%, transparent) 0%, transparent 70%);
}

.hero .wrap {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

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

.hero__copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.hero__product {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.hero__product img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--hairline), 0 2px 6px rgb(var(--elev-ink) / 0.12);
}

.hero__product span {
  display: grid;
  line-height: 1.25;
}

.hero__product b {
  color: var(--fg);
  font-weight: 600;
}

.hero .lede {
  max-width: 27em;
}

.cta {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin-top: 8px;
}

.cta__note {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  padding-inline-start: 4px;
}

/* ---------- Figure stage (hero) ---------- */

.stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  aspect-ratio: 1000 / 1160;
  border-radius: var(--r-stage);
  background:
    radial-gradient(110% 55% at 50% 0%, var(--stage-wash) 0%, transparent 70%),
    linear-gradient(to bottom, transparent 55%, var(--stage-shade)),
    var(--raised);
  box-shadow: var(--shadow-stage);
  container-type: inline-size;
  isolation: isolate;
}

.stage::after {
  content: "";
  position: absolute;
  left: 30%;
  right: 30%;
  bottom: 3.2%;
  height: 4.2%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--elev-ink) / 0.1), transparent);
  z-index: -1;
}

.stage__figure {
  position: absolute;
  left: 24.144%;
  top: 4.31%;
  width: 51.711%;
  height: auto;
  z-index: 0;
}

.stage__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

/* Zone grammar, mirrored from FreshSpotKit SiteGrammar. */
.z {
  fill: var(--border);
  fill-opacity: 0.3;
  stroke: var(--muted);
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.z--cooling {
  fill: var(--accent-soft);
  fill-opacity: 0.55;
  stroke: none;
}

.z-hatch {
  stroke: var(--accent);
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.map .shape {
  display: none;
}

.map .shape.is-active {
  display: inline;
}

.z--selected {
  fill: var(--accent-soft);
  fill-opacity: 1;
  stroke: var(--accent-ink);
  stroke-width: 2;
}

.hatch-line {
  fill: var(--accent);
  fill-opacity: var(--stripe-opacity);
}

.leader {
  fill: none;
  stroke: var(--muted);
  stroke-opacity: 0.55;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.leader--selected {
  stroke: var(--accent-ink);
  stroke-opacity: 0.9;
}

/* Zone labels: open, cooling, selected (FreshSpotKit ZoneLabel). */
.zl {
  position: absolute;
  z-index: 2;
  top: calc(var(--y) * 1% / 11.6);
  display: grid;
  gap: 1px;
  max-width: 29cqi;
  padding: clamp(6px, 1.5cqi, 9px) clamp(8px, 2.2cqi, 13px);
  border-radius: 14px;
  font-size: clamp(12px, 2.65cqi, 15px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  transform: translateY(-50%);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--muted) 35%, transparent), var(--shadow-resting);
}

.zl--r {
  right: calc(100% - var(--x) * 1% / 10);
  text-align: left;
}

.zl--l {
  left: calc(var(--x) * 1% / 10);
}

.zl__title {
  color: var(--fg);
  font-weight: 600;
}

.zl__sub {
  color: var(--muted);
  font-size: 0.87em;
  font-weight: 500;
}

.zl--cooling {
  background:
    repeating-linear-gradient(45deg,
      rgb(64 212 166 / var(--label-stripe-opacity)) 0 3px,
      transparent 3px 5.66px),
    color-mix(in srgb, var(--accent-soft) 55%, var(--surface));
  box-shadow: none;
}

.zl--cooling .zl__title,
.zl--cooling .zl__sub {
  color: var(--accent-ink);
}

.zl--selected {
  grid-template-columns: 1fr auto;
  column-gap: 8px;
  align-items: center;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent-ink), 0 1px 1px rgb(var(--elev-accent) / 0.12), 0 4px 12px -2px rgb(var(--elev-accent) / 0.2);
}

.zl--selected .zl__title {
  color: var(--fg);
}

.zl__check {
  width: 1em;
  height: 1em;
  color: var(--fg);
}

.stage__side {
  position: absolute;
  top: 3.6%;
  z-index: 2;
  color: var(--muted);
  font-size: clamp(10px, 2.2cqi, 12px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage__side--r {
  left: 5.2%;
}

.stage__side--l {
  right: 5.2%;
}

@media (prefers-reduced-motion: no-preference) {
  .stage--animate .stage__figure {
    animation: rise 640ms var(--ease) both;
  }

  .stage--animate .stage__art .zones {
    animation: fade 520ms var(--ease) 220ms both;
  }

  .stage--animate .leader {
    animation: fade 420ms var(--ease) 420ms both;
  }

  .stage--animate .zl {
    animation: label-in 460ms var(--ease) both;
    animation-delay: calc(460ms + var(--i, 0) * 90ms);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage--animate .stage__figure,
  .stage--animate .stage__art .zones,
  .stage--animate .leader,
  .stage--animate .zl {
    animation: fade 100ms linear both;
  }

  .btn,
  .faq summary::after {
    transition: none;
  }

  .btn-primary:active {
    transform: none;
  }

  .map__canvas img {
    transition-duration: 100ms;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes label-in {
  from {
    opacity: 0;
    transform: translateY(calc(-50% + 8px));
  }

  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section);
}

.section + .section {
  padding-top: 0;
}

.hero + .section {
  padding-top: clamp(96px, 12vw, 160px);
}

.section__head {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.section__head--center .lede {
  text-wrap: balance;
}

.section__head .lede {
  margin-top: 4px;
}

.split {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

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

  .split--flip > :first-child {
    order: 2;
  }
}

.split__copy {
  display: grid;
  gap: 20px;
  align-content: center;
}

/* ---------- Screens in a CSS frame ---------- */

.screen {
  position: relative;
  width: min(100%, var(--screen-w, 300px));
  margin-inline: auto;
  padding: 7px;
  border-radius: 48px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-stage);
}

.screen img {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  border-radius: 41px;
  background: var(--bg);
}

@media (max-width: 520px) {
  .screen {
    padding: 6px;
    border-radius: 42px;
  }

  .screen img {
    border-radius: 36px;
  }
}

/* ---------- Three steps ---------- */

.steps {
  display: grid;
  gap: 64px;
  margin-top: clamp(48px, 6vw, 80px);
  counter-reset: step;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 40px);
  }
}

.step {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 28px;
}

.step__text {
  display: grid;
  gap: 8px;
  align-content: start;
  max-width: 22em;
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-resting);
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  font-size: clamp(24px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.step p {
  color: var(--muted);
  font-size: 17px;
  text-wrap: pretty;
}

.step .screen {
  --screen-w: 288px;
  align-self: end;
}

/* ---------- Fact lists (bold lead, muted rest) ---------- */

.facts {
  display: grid;
  margin-top: 12px;
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.facts li {
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
  text-wrap: pretty;
}

.facts b {
  color: var(--fg);
  font-weight: 600;
}

/* ---------- Body map ---------- */

.map {
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(20px, 4vw, 48px);
  border-radius: var(--r-stage);
  background:
    radial-gradient(90% 50% at 50% 0%, var(--stage-wash) 0%, transparent 70%),
    var(--raised);
  box-shadow: var(--shadow-stage);
}

.map__figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 3vw, 48px);
  max-width: 760px;
  margin-inline: auto;
}

.map__figure {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.map__canvas {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1364 / 2796;
}

.map__canvas img,
.map__canvas svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map__canvas img {
  transition: opacity 220ms var(--ease);
}

.map__canvas img.is-swapping {
  opacity: 0.25;
}

.map__canvas svg {
  pointer-events: none;
}

.map__canvas::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0.4%;
  height: 3.6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--elev-ink) / 0.09), transparent);
  z-index: -1;
}

.map__caption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map__footer {
  display: grid;
  gap: 24px;
  justify-items: center;
  margin-top: clamp(24px, 4vw, 40px);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}

.legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.swatch {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  flex: none;
}

.swatch--cooling {
  background:
    repeating-linear-gradient(45deg, rgb(64 212 166 / 0.22) 0 2px, transparent 2px 5px),
    color-mix(in srgb, var(--accent-soft) 55%, var(--surface));
  box-shadow: inset 0 0 0 1px var(--accent);
}

.swatch--latest {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent-ink);
}

.swatch--open {
  background: color-mix(in srgb, var(--border) 30%, var(--surface));
  box-shadow: inset 0 0 0 1px var(--muted);
}

.chooser {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin: 0;
  padding: 0;
  border: 0;
}

.js .chooser {
  display: flex;
}

.chooser fieldset {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.chooser legend {
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seg {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 4px;
  border-radius: 14px;
  background: var(--accent-soft);
}

.seg label {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 96px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.seg input,
.tones input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.seg label:has(input:checked) {
  background: var(--raised);
  color: var(--fg);
  box-shadow: 0 1px 2px rgb(var(--elev-ink) / 0.12), 0 4px 10px -2px rgb(var(--elev-ink) / 0.14);
}

.seg label:has(input:focus-visible),
.tones label:has(input:focus-visible) {
  outline: 3px solid var(--accent-ink);
  outline-offset: 2px;
}

.tones {
  display: flex;
  gap: 12px;
}

.tones label {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
}

.tones .dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tone);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.1);
}

@media (prefers-color-scheme: dark) {
  .tones .dot {
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22);
  }
}

.tones label:has(input:checked) {
  box-shadow: inset 0 0 0 3px var(--accent);
}

.tone-name {
  min-height: 1.5em;
  color: var(--fg);
  font-size: 15px;
  font-weight: 500;
}

/* ---------- Reminders ---------- */

.reminders__art {
  position: relative;
  width: min(100%, 470px);
  margin-inline: auto;
  padding-bottom: 200px;
}

.reminders__art .screen {
  --screen-w: 270px;
  margin: 0;
}

.lock {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: min(300px, 82%);
  padding: 26px 16px 18px;
  border-radius: 36px;
  color: #ffffff;
  background:
    radial-gradient(70% 45% at 0% 0%, rgb(64 212 166 / 0.3) 0%, transparent 70%),
    radial-gradient(80% 70% at 100% 100%, rgb(34 82 65 / 0.9) 0%, transparent 70%),
    linear-gradient(165deg, #243d38 0%, #121a19 100%) #1a2422;
  box-shadow: var(--shadow-stage), 0 30px 60px -30px rgb(0 0 0 / 0.45), inset 0 0 0 1px rgb(255 255 255 / 0.08);
}

@media (max-width: 520px) {
  .reminders__art .screen {
    margin-inline: auto;
  }

  .lock {
    right: auto;
    left: 50%;
    width: min(300px, 88%);
    transform: translateX(-50%);
  }
}

.lock__date {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lock__time {
  text-align: center;
  font-size: 76px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 2px;
  opacity: 0.94;
}

.lock__widgets {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.lock__widget {
  display: grid;
  align-content: center;
  min-height: 64px;
  padding: 0 14px;
  border-radius: 18px;
  background: rgb(255 255 255 / 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 15px;
  line-height: 1.25;
}

.lock__widget--round {
  width: 64px;
  padding: 0;
  border-radius: 50%;
  text-align: center;
}

.lock__widget b {
  font-size: 20px;
  font-weight: 600;
}

.lock__widget small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.notice {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 2px 12px;
  align-items: center;
  margin-top: 44px;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgb(246 248 248 / 0.84);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  color: #10171a;
  box-shadow: 0 8px 24px -8px rgb(0 0 0 / 0.35);
}

@media (prefers-color-scheme: dark) {
  .notice {
    background: rgb(43 50 50 / 0.86);
    color: #eff3f3;
  }
}

.notice img {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.notice b {
  font-size: 15px;
  font-weight: 600;
}

.notice time {
  justify-self: end;
  font-size: 13px;
  opacity: 0.7;
}

.notice p {
  grid-column: 2 / span 2;
  font-size: 15px;
  line-height: 1.3;
}

.lock__caption {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.85;
}

/* ---------- Fair by design ---------- */

.fair {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  margin-top: clamp(40px, 6vw, 72px);
}

@media (min-width: 900px) {
  .fair {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.fair__choices {
  display: grid;
  gap: 16px;
  align-content: start;
}

.fair__choices > .eyebrow {
  padding: 4px 4px 0;
}

.card--trial {
  align-content: start;
}

.card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r-primary);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-primary);
}

.card h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.card p {
  color: var(--muted);
  font-size: 17px;
  text-wrap: pretty;
}

.card .eyebrow {
  margin-bottom: 4px;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
  list-style: none;
}

.days li {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.days li:first-child {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-actor);
}

.card__foot {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

.fair__note {
  margin-top: clamp(24px, 3vw, 32px);
  color: var(--fg);
  font-size: clamp(19px, 1.9vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin: clamp(32px, 5vw, 56px) auto 0;
  border-top: 1px solid var(--hairline);
}

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

.faq summary {
  position: relative;
  display: block;
  margin-inline: -12px;
  padding: 22px 60px 22px 12px;
  cursor: pointer;
  list-style: none;
  color: var(--fg);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  border-radius: 8px;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  color: var(--muted);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--border);
  transition: transform 220ms var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details > div {
  padding: 0 48px 24px 0;
  color: var(--muted);
  font-size: 17px;
  text-wrap: pretty;
}

.faq details > div p + p {
  margin-top: 10px;
}

/* ---------- Closing call to action ---------- */

.closing {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.closing img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  box-shadow: 0 0 0 1px var(--hairline), 0 12px 32px -10px rgb(var(--elev-ink) / 0.35);
}

.closing .cta {
  justify-items: center;
}

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

.site-footer {
  padding-block: 56px 64px;
  border-top: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
}

.site-footer .wrap {
  display: grid;
  gap: 28px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  list-style: none;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fg);
  font-weight: 500;
  text-decoration: none;
}

.footer__links a:hover {
  text-decoration: underline;
  text-decoration-color: var(--border);
}

.footer__contact a {
  font-weight: 500;
}

.disclaimer {
  padding-top: 24px;
  padding-inline-end: max(0px, calc(100% - 62em));
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Documents (privacy, terms, support) ---------- */

.doc {
  padding-block: clamp(40px, 7vw, 88px) var(--section);
}

.doc .wrap {
  max-width: calc(760px + 2 * var(--gutter));
}

.doc__head {
  display: grid;
  gap: 14px;
  padding-bottom: clamp(28px, 4vw, 40px);
  margin-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--hairline);
}

.doc__head h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.doc__meta {
  color: var(--muted);
  font-size: 16px;
}

.prose {
  display: grid;
  gap: 18px;
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}

.prose h2 {
  margin-top: 28px;
  font-size: clamp(23px, 2.4vw, 27px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 10px;
  padding-inline-start: 1.3em;
}

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

.prose .summary {
  padding: 22px 24px;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-resting);
}

.prose .summary ul {
  gap: 8px;
}

.contact-card {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: clamp(24px, 4vw, 32px);
  border-radius: var(--r-primary);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-primary);
}

.contact-card p {
  color: var(--muted);
  font-size: 17px;
}

.contact-card .email {
  color: var(--fg);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.path {
  color: var(--fg);
  font-weight: 600;
}

/* ---------- 404 ---------- */

.notfound {
  padding-block: clamp(48px, 8vw, 104px) var(--section);
}

.notfound .wrap {
  display: grid;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

@media (min-width: 820px) {
  .notfound .wrap {
    grid-template-columns: 1.2fr 1fr;
  }
}

.notfound__copy {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.notfound__figure {
  width: min(62vw, 260px);
  margin-inline: auto;
}
