/* ==========================================================================
   Milestone landing page
   Warm paper and ink, one terracotta accent used with restraint.
   ========================================================================== */

/* Design tokens -------------------------------------------------------------
   Pulled from the app's palette so the site and the app read as one brand. */
:root {
  /* Grounds and surfaces */
  --paper: #F4F3EF;
  --surface: #FFFFFF;
  --raised: #FBFAF8;
  --muted: #F0EDE5;
  --sunken: #E8E3D7;
  --pressed: #EDEBE6;

  /* Text */
  --ink: #1A1A1A;
  --secondary: #6B6B6B;
  --on-accent: #FFFFFF;

  /* Accent, used sparingly */
  --terracotta: #C96A44;
  --terracotta-fill: #B15D3C;
  --terracotta-pressed: #9C4F32;
  --flame: #E07A4F;
  --flame-deep: #D07149;
  --accent-soft: #D2886A;
  --accent-tint: #F4E4DC;

  /* Lines and quiet signals */
  --hairline: #E5E3DD;
  --border-strong: #D6D3CB;
  --success: #5C7A5E;
  --success-tint: #E4EBE2;

  /* Type */
  --font-display: "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Shadow, layered and soft for quiet depth */
  --shadow-soft: 0 1px 1px rgba(26, 22, 18, 0.04), 0 4px 10px rgba(26, 22, 18, 0.04),
    0 12px 28px rgba(26, 22, 18, 0.05);
  --shadow-lift: 0 2px 4px rgba(26, 22, 18, 0.05), 0 10px 24px rgba(26, 22, 18, 0.07),
    0 28px 56px rgba(26, 22, 18, 0.09);

  /* Rhythm */
  --measure: 34ch;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 0.84, 0.28, 1);
  --dur: 220ms;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

::selection {
  background: var(--accent-tint);
  color: var(--ink);
}

/* Layout ------------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.section {
  padding-block: clamp(44px, 7vw, 100px);
}

/* Utility text ------------------------------------------------------------ */
.lede {
  color: var(--secondary);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  max-width: var(--measure);
}

.accent-word {
  position: relative;
  white-space: nowrap;
}
.accent-word::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.09em;
  background: var(--terracotta);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms var(--ease-out) 300ms;
}
.accent-word.is-underlined::after {
  transform: scaleX(1);
}

/* Nav --------------------------------------------------------------------- */
/* A floating pill at the top of the page. It scrolls away, it does not
   follow the reader down the page. */
.nav {
  position: relative;
  z-index: 40;
  padding: 18px clamp(16px, 4vw, 28px) 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 540px;
  margin-inline: auto;
  padding: 7px 7px 7px 20px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.125rem;
  color: var(--ink);
}
.brand__mark {
  width: 26px;
  height: 26px;
  flex: none;
  transition: color var(--dur) var(--ease-out);
}
.brand:hover .brand__mark {
  color: var(--terracotta);
}
.nav__cta {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--on-accent);
  background: var(--terracotta-fill);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  transition: background var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}
.nav__cta:hover {
  background: var(--terracotta-pressed);
}
.nav__cta:active {
  transform: translateY(1px);
}

/* Buttons and badges ------------------------------------------------------ */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  vertical-align: middle;
}
.appstore__badge {
  display: inline-flex;
  height: 54px;
  border-radius: var(--radius-md);
  transition: transform var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
  will-change: transform;
}
.appstore__badge svg {
  height: 100%;
  width: auto;
}
.appstore:hover .appstore__badge {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26, 22, 18, 0.16);
}
.appstore__note {
  font-size: 0.8125rem;
  color: var(--secondary);
}

/* Hero -------------------------------------------------------------------- */
.hero {
  padding-top: clamp(16px, 3vw, 40px);
  padding-bottom: clamp(44px, 6vw, 84px);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__title {
  font-size: clamp(2.5rem, 1.7rem + 3.4vw, 4.5rem);
  max-width: 16ch;
  margin-inline: auto;
  letter-spacing: -0.032em;
  line-height: 1.02;
}
.hero__actions {
  margin-top: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.hero__phone {
  margin-top: clamp(36px, 5vw, 60px);
  width: min(320px, 80vw);
}

/* Device frame ------------------------------------------------------------ */
.device {
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(26, 22, 18, 0.14));
}
.device svg {
  width: 100%;
  height: auto;
}

/* Product moment ---------------------------------------------------------- */
.moment {
  background: var(--muted);
}
.moment__lead {
  font-size: clamp(1.625rem, 1.2rem + 2vw, 2.75rem);
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: clamp(28px, 4vw, 52px);
  text-align: center;
}
.phones {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 56px);
  align-items: start;
}
.phones__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.phones__item .device {
  width: min(260px, 70vw);
}
.phones__step {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.25rem;
  color: var(--ink);
}
.phones__desc {
  color: var(--secondary);
  font-size: 0.9375rem;
  max-width: 26ch;
}

@media (min-width: 820px) {
  .phones {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 40px);
  }
  .phones__item:nth-child(2) {
    transform: translateY(clamp(20px, 4vw, 48px));
  }
}

/* Three beats ------------------------------------------------------------- */
.beat {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding-block: clamp(32px, 5vw, 68px);
}
.beat + .beat {
  border-top: 1px solid var(--hairline);
}
.beat__title {
  font-size: clamp(2rem, 1.5rem + 2.6vw, 3.5rem);
}
.beat__support {
  margin-top: 18px;
  color: var(--secondary);
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.1875rem);
  max-width: 30ch;
}
.beat__art {
  justify-self: center;
  width: min(360px, 82vw);
}
@media (min-width: 860px) {
  .beat {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .beat--flip .beat__copy {
    order: 2;
  }
  .beat--flip .beat__art {
    order: 1;
    justify-self: start;
  }
  .beat__art {
    justify-self: end;
  }
}

/* Vignette cards used behind the beat art --------------------------------- */
.vignette {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--hairline);
  padding: 22px;
}

/* Honest deal ------------------------------------------------------------- */
.deal {
  text-align: center;
}
.deal__line {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  font-size: clamp(1.375rem, 1rem + 2.2vw, 2.375rem);
  max-width: 20ch;
  margin-inline: auto;
  color: var(--ink);
}
.deal__line .soft {
  color: var(--secondary);
}

/* Closing CTA ------------------------------------------------------------- */
.closing {
  background: var(--accent-tint);
  text-align: center;
}
.closing__line {
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  max-width: 14ch;
  margin-inline: auto;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.closing__actions {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Footer ------------------------------------------------------------------ */
.footer {
  padding-block: clamp(48px, 7vw, 72px);
  border-top: 1px solid var(--hairline);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.9375rem;
  color: var(--secondary);
}
.footer__links a {
  transition: color var(--dur) var(--ease-out);
}
.footer__links a:hover {
  color: var(--terracotta);
}
.footer__copy {
  font-size: 0.875rem;
  color: var(--secondary);
}
@media (min-width: 720px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Reading pages (privacy, terms) ------------------------------------------ */
.reading {
  max-width: 720px;
  margin-inline: auto;
  padding-block: clamp(64px, 10vw, 120px);
}
.reading h1 {
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);
  margin-bottom: 12px;
}
.reading__updated {
  color: var(--secondary);
  font-size: 0.9375rem;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.reading h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem);
  line-height: 1.2;
  margin-top: clamp(40px, 6vw, 56px);
  margin-bottom: 14px;
}
.reading p,
.reading li {
  color: color-mix(in srgb, var(--ink) 88%, var(--secondary));
  font-size: 1.0625rem;
  line-height: 1.65;
}
.reading p + p {
  margin-top: 18px;
}
.reading ul {
  margin: 18px 0;
  padding-left: 1.2em;
}
.reading li {
  margin-bottom: 10px;
}
.reading a {
  color: var(--terracotta-fill);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.reading__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--secondary);
  margin-bottom: 40px;
  transition: color var(--dur) var(--ease-out);
}
.reading__back:hover {
  color: var(--terracotta);
}

/* Reveal on scroll. Only hidden when JS is present, so no-JS visitors and
   scrapers always see the full content. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
  will-change: opacity, transform;
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
.js .reveal[data-delay="1"] { transition-delay: 90ms; }
.js .reveal[data-delay="2"] { transition-delay: 180ms; }
.js .reveal[data-delay="3"] { transition-delay: 270ms; }

/* Hero ring draws itself on load */
.ring-track {
  stroke: var(--accent-tint);
}
.ring-progress {
  stroke: var(--terracotta);
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  transform-box: fill-box;
}
.js .ring-progress--animate {
  stroke-dasharray: var(--ring-len);
  stroke-dashoffset: var(--ring-len);
  animation: ring-fill 1500ms var(--ease-out) 250ms forwards;
}
@keyframes ring-fill {
  to {
    stroke-dashoffset: var(--ring-offset);
  }
}

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

/* Paper grain. A faint printed texture over the whole page. -------------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: var(--grain-opacity, 0.5);
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='170' height='170' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* Oversized logo motif used as a quiet watermark ------------------------- */
.motif {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.motif svg {
  width: 100%;
  height: auto;
}

/* Hero depth: a soft warm well and the mark bleeding off the side. */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -12% -20%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(58% 48% at 50% 32%, var(--accent-tint), transparent 68%);
  opacity: 0.6;
}
.hero__phone .device {
  transition: transform 600ms var(--ease-out);
}
.hero__phone .device:hover {
  transform: translateY(-4px);
}

/* Challenge marquee ------------------------------------------------------ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding-block: clamp(16px, 2.6vw, 26px);
  background: var(--paper);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(22px, 4vw, 44px);
  padding-right: clamp(22px, 4vw, 44px);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.625rem, 1.1rem + 2.4vw, 2.875rem);
  color: var(--ink);
  white-space: nowrap;
}
.marquee__dot {
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: var(--terracotta);
  flex: none;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Editorial phone tilts in the product moment ---------------------------- */
.phones__item .device {
  transition: transform 500ms var(--ease-out);
}
.phones__item:nth-child(1) .device { transform: rotate(-3.5deg); }
.phones__item:nth-child(3) .device { transform: rotate(3.5deg); }
.phones__item .device:hover {
  transform: rotate(0) translateY(-6px);
}
@media (max-width: 819px) {
  .phones__item:nth-child(1) .device,
  .phones__item:nth-child(3) .device,
  .hero__phone .device {
    transform: none;
  }
}

/* Rotating seal (the honest deal) ---------------------------------------- */
.seal {
  width: clamp(210px, 44vw, 300px);
  margin: 0 auto clamp(30px, 4vw, 44px);
}
.seal svg {
  width: 100%;
  height: auto;
}
.seal__ring {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 1;
}
.seal text {
  fill: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11.6px;
  letter-spacing: 0.02em;
}
.seal__spin {
  transform-origin: 100px 100px;
  animation: spin 36s linear infinite;
}
.seal__mark {
  color: var(--terracotta);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Draw-on-scroll rings (recap and finish) -------------------------------- */
.js .ring-draw {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1400ms var(--ease-out);
}
.js .reveal.is-in .ring-draw {
  stroke-dashoffset: 0;
}

/* Closing motif */
.closing {
  position: relative;
  overflow: hidden;
}
.closing .wrap {
  position: relative;
  z-index: 1;
}
.closing__motif {
  left: clamp(-160px, -10vw, -80px);
  bottom: clamp(-160px, -10vw, -90px);
  width: min(520px, 78vw);
  color: var(--accent-soft);
  opacity: 0.32;
}

/* Build-your-challenge panel --------------------------------------------- */
.builder-section {
  background: var(--sunken);
}
.builder__heading {
  font-size: clamp(1.75rem, 1.3rem + 2.2vw, 3rem);
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin-inline: auto;
  margin-bottom: clamp(24px, 4vw, 44px);
  text-align: center;
}
.builder {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 3.5vw, 44px);
}
@media (min-width: 900px) {
  .builder {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(36px, 4vw, 64px);
  }
}
.builder__controls {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 32px);
}
.builder__step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.builder__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.builder__lenrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.builder__lenval {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--terracotta-fill);
  font-variant-numeric: tabular-nums;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--secondary);
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  padding: 9px 15px;
  cursor: pointer;
  transition: background var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}
.chip:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.chip.is-on {
  background: var(--accent-tint);
  border-color: var(--terracotta);
  color: var(--terracotta-fill);
  font-weight: 500;
}

.segmented {
  display: inline-flex;
  align-self: flex-start;
  background: var(--muted);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
}
.seg {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  cursor: pointer;
  transition: background var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}
.seg.is-on {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.builder__hint {
  color: var(--secondary);
  font-size: 0.9375rem;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--sunken);
  cursor: pointer;
}
.slider:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 6px;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--terracotta-fill);
  border: 4px solid var(--surface);
  box-shadow: 0 2px 6px rgba(26, 22, 18, 0.2);
  cursor: pointer;
}
.slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--terracotta-fill);
  border: 4px solid var(--surface);
  box-shadow: 0 2px 6px rgba(26, 22, 18, 0.2);
  cursor: pointer;
}
.slider::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: transparent;
}
.presets {
  display: flex;
  gap: 6px;
}
.preset {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--secondary);
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    background var(--dur) var(--ease-out);
}
.preset:hover {
  border-color: var(--border-strong);
}
.preset.is-on {
  border-color: var(--terracotta);
  color: var(--terracotta-fill);
  background: var(--accent-tint);
}

.builder__preview {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.preview-card {
  background: var(--muted);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.preview-ring {
  width: 122px;
  height: auto;
}
.preview-arc {
  transition: stroke-dashoffset 350ms var(--ease-out);
}
.preview-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.preview-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.preview-rules li {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  padding: 5px 11px;
  font-size: 0.8125rem;
  color: var(--ink);
}
.preview-rules li.preview-rules__more {
  color: var(--secondary);
  background: transparent;
  border-color: transparent;
}
.preview-term-row {
  font-size: 0.9375rem;
  color: var(--secondary);
}
.preview-term {
  color: var(--terracotta-fill);
  font-weight: 500;
}
.preview-finish {
  margin-top: 2px;
}
.preview-finish strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.preview-finish span {
  font-size: 0.875rem;
  color: var(--secondary);
}
.builder__note {
  font-size: 0.8125rem;
  color: var(--secondary);
  text-align: center;
}

/* Reduced motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .accent-word::after {
    transform: scaleX(1);
  }
  .js .ring-progress--animate {
    stroke-dashoffset: var(--ring-offset);
    animation: none;
  }
  .marquee__track,
  .seal__spin {
    animation: none;
  }
  .js .ring-draw {
    stroke-dashoffset: 0;
    transition: none;
  }
}
