/* =========================================================================
   Outrun — useoutrun.app

   Ported from "Outrun Landing.dc.html" in Claude Design (project abbbf52c).
   Tokens are transcribed from the shipped app's DesignSystem/Theme.swift so the
   site and the app cannot drift. Light-only on purpose: the app pins
   .preferredColorScheme(.light), so a dark mode here would contradict it.

   Two deliberate departures from the design source, both non-negotiable:

   1. Material Symbols Rounded came off the Google Fonts CDN. Every icon is now
      inline SVG (partials/icons.njk). A font CDN would break `font-src 'self'`
      in _headers AND falsify the privacy policy's "zero third-party requests".
   2. Small text. The source uses #9A9DA3 and #B8BABE on light (2.4-2.7:1) and
      #8A8D93 on the dark plan card. Those are demoted to decorative only;
      small text on light bottoms out at --ink-600 (5.4:1) and on noir at
      --on-noir-dim (7.0:1).

   The accent is split three ways and the values must not be merged:
     --accent       #FF6900  brand fill for dots, washes, icon tints, rings
     --accent-fill  #C14F00  the ONLY accent that may sit under a white label
                             (4.63:1 on --paper-fg). Matches the app's
                             ouAccentFill; white-on-#FF6900 is 2.89:1 and fails.
     --accent-text  #B4440E  accent AS TEXT on paper (5.2:1)
   ========================================================================= */

/* Inter is the app's own typeface, subset from Outrun/Resources/Fonts by
   tools/build-fonts.py. latin covers English and Spanish in full; latin-ext is
   insurance for a future locale and is never fetched by either of today's. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Display is only ever used at 800 — every heading in the design is 800. */
@font-face {
  font-family: "Inter Display";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-display-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Display";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-display-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Surfaces */
  --page: #fbfbfc;
  --canvas: #f2f2f5;
  --card: #ffffff;
  --noir: #15161a;
  --noir-raised: #24262c;
  --noir-inset: #2c2f35;
  --fill: #f1f1f2;

  /* Ink scale */
  --ink: #15161a;
  --ink-700: #3a3d42;
  --ink-600: #5a5d63;
  --ink-550: #63656a;
  --ink-500: #6b6d72;
  --ink-400: #9a9da3;
  --ink-300: #c3c5c9;
  --ink-200: #e6e7e9;
  --ink-100: #f1f1f2;
  --paper-fg: #fbfbfc;

  /* Ink ON noir. Both clear AA on #15161A and on the #24262C plan card. */
  --on-noir: #fbfbfc;
  --on-noir-dim: #b4b7bd;
  --on-noir-faint: #a2a5ab;

  /* Accent — see the header note. The three values are not interchangeable. */
  --accent: #ff6900;
  --accent-fill: #c14f00;
  --accent-fill-hover: #a84500;
  --accent-text: #b4440e;
  --accent-wash: rgba(255, 105, 0, 0.12);
  --accent-border: rgba(255, 105, 0, 0.3);

  /* Category tints. Icon-only, never actions, never carrying text alone. */
  --teal-deep: #1e7d8c;
  --teal-wash: rgba(48, 176, 199, 0.12);
  --blue: #007aff;
  --blue-text: #0056b3;
  --blue-wash: rgba(0, 122, 255, 0.12);
  --purple: #af52de;
  --purple-wash: rgba(175, 82, 222, 0.12);
  --success: #2fa04b;

  /* Hairlines */
  --hairline: rgba(21, 22, 26, 0.07);
  --border: rgba(21, 22, 26, 0.1);
  --border-strong: rgba(21, 22, 26, 0.12);

  --font: "Inter", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI",
    sans-serif;
  --font-display: "Inter Display", "Inter", -apple-system, BlinkMacSystemFont,
    system-ui, sans-serif;

  --shell: 1280px;
  --gutter: clamp(20px, 4.4vw, 56px);
  --radius-card: 18px;
  --shadow-card: 0 5px 10px rgba(21, 22, 26, 0.06);
  --shadow-float: 0 6px 16px rgba(21, 22, 26, 0.07);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------------------------------------------------------------- base --- */

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

/* Components below set display:flex/grid, which outranks the UA's
   [hidden]{display:none}. Without this, [hidden] silently does nothing. */
[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--accent-text);
  text-decoration: none;
}
a:hover {
  color: var(--accent-pressed);
  text-decoration: underline;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--noir);
  color: var(--paper-fg);
  font-size: 14px;
  font-weight: 800;
  transition: top 0.16s var(--ease);
}
.skip-link:focus {
  top: 12px;
  color: var(--paper-fg);
  text-decoration: none;
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* In-page anchors land on the section's eyebrow rather than flush against
   the viewport top, which reads as a cut-off heading. */
[id] {
  scroll-margin-top: 92px;
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-600);
}
.eyebrow--accent {
  color: var(--accent-text);
}
.eyebrow--dim {
  /* --ink-400 reads 2.4:1 on paper; --ink-600 is the lightest ink that clears AA. */
  color: var(--ink-600);
}


/* -------------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 99px;
  font-family: var(--font);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:hover {
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px);
}

/* White label on --accent-fill (4.63:1). Never swap in --accent here: white on
   #FF6900 measures 2.89:1 and fails AA. */
.btn--accent {
  background: var(--accent-fill);
  color: var(--paper-fg);
  padding: 16px 26px;
  font-size: 15px;
}
.btn--accent:hover {
  background: var(--accent-fill-hover);
  color: var(--paper-fg);
}
.btn--accent svg {
  fill: currentColor;
}

.btn--noir {
  background: var(--noir);
  color: var(--paper-fg);
  padding: 12px 18px;
  font-size: 13.5px;
}
.btn--noir:hover {
  background: #000;
  color: var(--paper-fg);
}
.btn--noir svg {
  fill: currentColor;
}

.btn--sm {
  padding: 10px 18px;
  font-size: 13.5px;
}
.btn--lg {
  padding: 16px 26px;
  font-size: 15px;
}
.btn--block {
  display: flex;
  width: 100%;
  padding: 16px;
}

/* --------------------------------------------------------------- header --- */

.masthead {
  background: var(--canvas);
}
.masthead__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  gap: 16px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex: none;
}
.wordmark:hover {
  color: var(--ink);
  text-decoration: none;
}
.wordmark__bolt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--accent);
  flex: none;
}

.masthead__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 26px;
}
.masthead__nav a {
  color: var(--ink-600);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.masthead__nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.masthead__end {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}
.lang-switch {
  color: var(--ink-600);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.lang-switch:hover {
  color: var(--ink);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .masthead__nav {
    display: none;
  }
  .masthead__inner {
    justify-content: space-between;
  }
}

/* ----------------------------------------------------------------- hero --- */

.hero {
  background: var(--canvas);
  padding: clamp(36px, 5vw, 56px) var(--gutter) 0;
  text-align: center;
  overflow: hidden;
}
.hero__copy {
  max-width: var(--shell);
  margin: 0 auto;
}
.hero__title {
  margin: 18px auto 0;
  max-width: 15em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(33px, 5.1vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.036em;
  text-wrap: pretty;
}
.hero__lede {
  margin: 20px auto 0;
  max-width: 34em;
  font-size: clamp(15.5px, 1.4vw, 17px);
  line-height: 1.55;
  color: var(--ink-700);
}

/* ---- composer (the interactive classifier demo) ---- */

.composer {
  max-width: 760px;
  margin: 36px auto 0;
  text-align: left;
}
.composer__chip {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 22px;
  padding-left: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-550);
}
.composer__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-300);
  flex: none;
  transition: background-color 0.18s var(--ease);
}
.composer[data-intent="ask"] .composer__chip {
  color: var(--accent-text);
}
.composer[data-intent="ask"] .composer__dot {
  background: var(--accent);
}
/* --blue is the app's category tint but only reaches 3.6:1 as text on canvas,
   so the label darkens to --blue-text while the dot keeps the brand value. */
.composer[data-intent="start"] .composer__chip {
  color: var(--blue-text);
}
.composer[data-intent="start"] .composer__dot {
  background: var(--blue);
}

.composer__field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 7px 10px 7px 20px;
  border-radius: 99px;
  background: var(--page);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-float);
  transition: border-color 0.18s var(--ease);
}
.composer[data-intent="ask"] .composer__field {
  border-color: var(--accent);
}
.composer[data-intent="start"] .composer__field {
  border-color: var(--blue);
}
.composer__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
  padding: 10px 0;
}
.composer__input::placeholder {
  color: var(--ink-500);
}
.composer__mic {
  display: flex;
  flex: none;
}
.composer__send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: var(--accent-fill);
  color: var(--paper-fg);
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  flex: none;
  transition: background-color 0.18s var(--ease), padding 0.18s var(--ease);
}
.composer__send:hover {
  background: var(--accent-fill-hover);
}
.composer[data-intent="ask"] .composer__send {
  padding: 0 16px;
}
.composer__send-label,
.composer__send-icon {
  display: none;
}
.composer[data-intent="ask"] .composer__send-label {
  display: inline;
}
.composer[data-intent="ask"] [data-icon="up"],
.composer[data-empty="true"]:not([data-intent="ask"]) [data-icon="add"],
.composer[data-empty="false"]:not([data-intent="ask"]) [data-icon="sparkle"] {
  display: flex;
}

.composer__examples {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.composer__example {
  padding: 9px 14px;
  border-radius: 99px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--ink-700);
  font-family: var(--font);
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.composer__example:hover {
  border-color: var(--accent-border);
  color: var(--ink);
}

/* ---- hero call to action ---- */

.hero__cta {
  margin-top: 32px;
  text-align: center;
}
.hero__price {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-550);
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 26px;
  margin-top: 40px;
}
.hero__badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-600);
}
.hero__badges svg {
  flex: none;
}

/* ---- the phone, cropped to its top ---- */

.hero__stage {
  display: flex;
  justify-content: center;
  margin-top: 46px;
}
.phone {
  width: 402px;
  max-width: 100%;
  height: 360px;
  border-radius: 44px 44px 0 0;
  background: var(--canvas);
  border: 1px solid var(--border-strong);
  border-bottom: 0;
  box-shadow: 0 -12px 60px -22px rgba(21, 22, 26, 0.32);
  overflow: hidden;
  text-align: left;
  font-size: 16px;
  flex: none;
}
.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 0;
  height: 30px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.phone__status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.phone__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 20px 2px;
  height: 44px;
}
.phone__bar-icon {
  display: flex;
  flex: none;
}
.phone__bar-title {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.phone__date {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.phone__today {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 15.5px;
  font-weight: 700;
}
.phone__streak,
.phone__bonus {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--accent-text);
  flex: none;
}
.phone__bonus {
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(255, 105, 0, 0.07);
  font-size: 10.5px;
}
.phone__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--fill);
  border: 1px solid var(--border);
  flex: none;
}
.phone__body {
  padding: 14px 20px 0;
}
.phone__kcal {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 6px 16px;
  padding: 16px;
  border-radius: var(--radius-card);
  background: var(--page);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.ring {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.ring__text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.ring__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.026em;
}
.ring__label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-550);
}
.phone__kcal-side {
  grid-column: 1;
  display: flex;
  justify-content: center;
}
.macros {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 11px;
  justify-content: center;
}
.macro__row {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.macro__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  margin-right: auto;
}
.macro__value {
  font-size: 13px;
  font-weight: 800;
}
.macro__goal {
  font-size: 11.5px;
  color: var(--ink-500);
}
.macro__track {
  height: 5px;
  margin-top: 5px;
  border-radius: 99px;
  background: var(--ink-200);
  overflow: hidden;
}
.macro__fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--ink-400);
}
.macro__fill--ink {
  background: var(--ink);
}
.phone__loghead {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-top: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-550);
}
.phone__all {
  margin-left: auto;
  color: var(--accent-text);
}
.phone__session {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
  padding: 14px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.phone__session-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-wash);
  flex: none;
}
.phone__session-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.phone__session-name {
  font-size: 15px;
  font-weight: 600;
}
.phone__session-meta {
  font-size: 12px;
  color: var(--ink-550);
}
.phone__session-cta {
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--accent-fill);
  color: var(--paper-fg);
  font-size: 13px;
  font-weight: 700;
  flex: none;
}
.tl {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.tl__time {
  width: 52px;
  flex: none;
  text-align: right;
  padding-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
}
.tl__rule {
  width: 1px;
  flex: none;
  background: var(--border);
  position: relative;
  align-self: stretch;
}
.tl__dot {
  position: absolute;
  top: 16px;
  left: -3.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-deep);
}
.tl__dot--sport {
  background: var(--blue);
}
.tl__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0 14px;
}
.tl__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15.5px;
  font-weight: 700;
}
.tl__done {
  display: flex;
}
.tl__detail {
  font-size: 12.5px;
  color: var(--ink-550);
}
.tl__chev {
  display: flex;
  padding-top: 12px;
  flex: none;
}
.phone__quick {
  display: flex;
  gap: 8px;
  padding-top: 6px;
}
.phone__quick-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 99px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--ink-600);
  font-size: 12.5px;
  font-weight: 600;
}
.phone__quick-item--solid {
  background: var(--accent-fill);
  border-color: var(--accent-fill);
  color: var(--paper-fg);
}

@media (max-width: 460px) {
  .phone {
    border-radius: 34px 34px 0 0;
  }
  .phone__body,
  .phone__bar {
    padding-left: 14px;
    padding-right: 14px;
  }
  .phone__kcal {
    grid-template-columns: 84px 1fr;
    gap: 6px 12px;
  }
  .ring,
  .ring svg {
    width: 84px;
    height: 84px;
  }
  .ring__value {
    font-size: 25px;
  }
}

/* -------------------------------------------------------------- problem --- */

.problem {
  background: var(--page);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.problem__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(44px, 5vw, 64px) var(--gutter);
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.problem__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.problem h2 {
  font-size: clamp(28px, 3.1vw, 38px);
  letter-spacing: -0.037em;
  line-height: 1.06;
}
.problem__lede {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-600);
}
.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.tile {
  padding: 20px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(21, 22, 26, 0.08);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.tile--muted {
  opacity: 0.85;
}
.tile--noir {
  background: var(--noir);
  border-color: var(--noir);
  box-shadow: 0 18px 34px -16px rgba(21, 22, 26, 0.5);
}
.tile__name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink-600);
  text-decoration: line-through;
}
.tile__note {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-600);
}
.tile--noir .tile__name {
  color: var(--paper-fg);
  text-decoration: none;
}
.tile--noir .tile__note {
  color: var(--ink-400);
}
.tile__bolt {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--accent);
}
.tile__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

@media (max-width: 1080px) {
  .problem__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .problem__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .problem__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile {
    gap: 18px;
  }
}


/* ------------------------------------------------------------ section h --- */

.section {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) var(--gutter) clamp(56px, 7vw, 96px);
}
.section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 660px;
}
.section__head h2 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.039em;
  line-height: 1.02;
}
.section__head p {
  font-size: 16px;
  color: var(--ink-600);
  line-height: 1.6;
}


/* ---------------------------------------------------------- how it works --- */

.steps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px;
  border-radius: var(--radius-card);
  background: #fff;
  border: 1px solid rgba(21, 22, 26, 0.09);
  box-shadow: 0 1px 2px rgba(21, 22, 26, 0.04),
    0 22px 40px -30px rgba(21, 22, 26, 0.35);
}
.step__head {
  display: flex;
  align-items: baseline;
  gap: 11px;
}
.step__num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--accent-text);
}
.step__name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.024em;
}
.step__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-600);
}
.step__demo {
  margin-top: auto;
}
.demo-pill {
  padding: 13px 15px;
  border-radius: 999px;
  background: var(--ink-100);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
}
.demo-caret {
  width: 1.5px;
  height: 15px;
  background: var(--accent);
  animation: ouCaret 1s step-end infinite;
}
.demo-card {
  padding: 14px 15px;
  border-radius: 16px;
  background: var(--ink-100);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.demo-card__line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}
.demo-card__time {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-600);
}
.demo-card__detail {
  padding-left: 22px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-700);
}
.demo-proposal {
  padding: 14px 15px;
  border-radius: 16px;
  background: var(--accent-wash);
  border: 1px solid var(--accent-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-proposal__text {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}
.demo-proposal__actions {
  display: flex;
  gap: 8px;
}
.chip {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.chip--solid {
  background: var(--accent);
  color: var(--ink);
}
.chip--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-600);
}

@media (max-width: 940px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 40px;
  }
}


/* ---------------------------------------------------------------- coach --- */

.coach {
  background: var(--noir);
  color: var(--paper-fg);
}
.coach__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(44px, 6vw, 80px);
  align-items: center;
}
.coach h2 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.039em;
  line-height: 1.04;
}
.coach__lede {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-400);
  max-width: 560px;
}
.coach__list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.coach__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}
.coach__list svg {
  flex: none;
  margin-top: 2px;
}

.thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bubble {
  padding: 15px 18px;
  border-radius: 20px;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 500;
}
.bubble--user {
  align-self: flex-end;
  max-width: 82%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper-fg);
  border-bottom-right-radius: 7px;
}
.bubble--coach {
  background: var(--card);
  color: var(--ink);
  border-bottom-left-radius: 7px;
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.6);
}
.proposal {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 105, 0, 0.1);
  border: 1px solid rgba(255, 105, 0, 0.32);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.proposal__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent);
}
.proposal__title {
  font-size: 15px;
  font-weight: 800;
}
.proposal__meta {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-400);
}
.proposal__actions {
  display: flex;
  gap: 9px;
}

@media (max-width: 1000px) {
  .coach__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* --------------------------------------------------------------- shared --- */

/* Canvas bands run to the viewport edge. `.section` and `.split` are centred
   boxes capped at --shell, so simply tinting one paints an inset card floating
   on the page colour instead of a band across it. Dropping the cap and moving
   the same distance into the padding keeps their content column on exactly the
   grid the capped sections above and below use, at every width.
   `.split--canvas` needs the same treatment, but has to be declared after
   `.split` to outrank it — see the food section. */
.section--canvas {
  background: var(--canvas);
  max-width: none;
  padding-inline: max(
    var(--gutter),
    calc((100% - var(--shell)) / 2 + var(--gutter))
  );
}
/* Accent as text needs the darkened value; on noir the brand orange is safe. */
.eyebrow--onnoir {
  color: var(--accent);
}
.coach__title {
  margin-top: 14px;
}
.chip--onnoir {
  color: var(--on-noir-dim);
  border-color: rgba(251, 251, 252, 0.22);
}

/* -------------------------------------------------------------- features --- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.card {
  padding: 26px;
  border-radius: var(--radius-card);
  background: var(--page);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
}
.card__icon--accent {
  background: var(--accent-wash);
  color: var(--accent);
}
.card__icon--teal {
  background: var(--teal-wash);
  color: var(--teal-deep);
}
.card__icon--blue {
  background: var(--blue-wash);
  color: var(--blue);
}
.card__icon--purple {
  background: var(--purple-wash);
  color: var(--purple);
}
.card__icon svg {
  stroke: currentColor;
}
.card__icon--accent svg[fill="currentColor"],
.card__icon svg[fill="currentColor"] {
  fill: currentColor;
  stroke: none;
}
.card__title {
  margin-top: 18px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.card__body {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-700);
}

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

/* ------------------------------------------------------------------ food --- */

.split {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 84px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.split--canvas {
  background: var(--canvas);
  max-width: none;
  padding-inline: max(
    var(--gutter),
    calc((100% - var(--shell)) / 2 + var(--gutter))
  );
}
.split h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.033em;
  text-wrap: pretty;
}
.split__lede {
  margin-top: 18px;
  max-width: 30em;
  font-size: clamp(15px, 1.35vw, 16.5px);
  line-height: 1.6;
  color: var(--ink-700);
}
.ways {
  margin-top: 32px;
}
.way {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.way:last-child {
  border-bottom: 1px solid var(--border);
}
.way__icon {
  display: flex;
  margin-top: 1px;
  flex: none;
}
.way__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.way__title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
}
.way__body {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-550);
}

.fdemo {
  padding: 22px;
  border-radius: 20px;
  background: var(--page);
  border: 1px solid var(--border);
}
.fdemo__chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 14px;
  font-size: 12px;
  color: var(--ink-550);
}
.fdemo__chip b {
  font-weight: 600;
  color: var(--ink-700);
}
.fdemo__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.fdemo__field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 18px;
  border-radius: 99px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 10px rgba(21, 22, 26, 0.06);
}
.fdemo__text {
  flex: 1;
  min-width: 0;
  font-size: 15.5px;
  line-height: 1.3;
}
.fdemo__go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-fill);
  flex: none;
}
.fdemo__arrow {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}
.fdemo__result {
  padding: 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.fdemo__result-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.fdemo__result-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--teal-wash);
  flex: none;
}
.fdemo__result-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fdemo__result-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.25;
}
.fdemo__result-meta {
  font-size: 12.5px;
  color: var(--ink-550);
}
.fdemo__check {
  display: flex;
  flex: none;
}
.fdemo__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.fdemo__item {
  padding: 7px 12px;
  border-radius: 99px;
  background: var(--fill);
  border: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-700);
}
.fdemo__note {
  margin-top: 14px;
  padding: 0 4px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-500);
}

@media (max-width: 940px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

/* --------------------------------------------------------------- pricing --- */

.pricing {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 84px) 0;
  background: var(--noir);
  color: var(--on-noir);
}
.pricing::before {
  content: "";
  position: absolute;
  bottom: -240px;
  left: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 105, 0, 0.18) 0%,
    rgba(255, 105, 0, 0) 62%
  );
  pointer-events: none;
}
.pricing__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 56px;
  align-items: start;
}
.pricing__title {
  margin-top: 16px;
  max-width: 20em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.033em;
  text-wrap: pretty;
}
.pricing__lede {
  margin-top: 18px;
  max-width: 30em;
  font-size: clamp(15px, 1.35vw, 16.5px);
  line-height: 1.6;
  color: var(--on-noir-dim);
}
.pricing__includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 30px;
  margin-top: 34px;
  max-width: 34em;
}
.pricing__includes li {
  display: flex;
  gap: 9px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--on-noir-dim);
}
.pricing__includes svg {
  flex: none;
  margin-top: 2px;
}

.plan {
  padding: 28px;
  border-radius: 22px;
  background: var(--noir-raised);
  border: 1px solid var(--accent-border);
}
.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-noir-faint);
}
.plan__trial {
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan__price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 20px;
}
.plan__amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 4.4vw, 54px);
  line-height: 1;
  letter-spacing: -0.037em;
}
.plan__per {
  padding-bottom: 7px;
  font-size: 15px;
  font-weight: 500;
  color: var(--on-noir-faint);
}
.plan__year {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--noir-inset);
}
.plan__year-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.plan__year-price {
  font-size: 14.5px;
  font-weight: 700;
}
.plan__year-save {
  font-size: 12px;
  color: var(--on-noir-faint);
}
.plan__best {
  padding: 6px 11px;
  border-radius: 99px;
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: none;
}
/* On the raised card the brand orange carries an INK label (6.26:1). The
   white-on---accent-fill treatment used everywhere else would sink into the
   dark card, so this is the one place the two swap roles. */
.plan .btn--accent {
  margin-top: 20px;
  background: var(--accent);
  color: var(--ink);
}
.plan .btn--accent:hover {
  background: #ff7a1a;
  color: var(--ink);
}
.plan__fine {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--on-noir-faint);
}

@media (max-width: 1040px) {
  .pricing__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .plan {
    max-width: 430px;
  }
}
@media (max-width: 520px) {
  .pricing__includes {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ faq --- */

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  margin-top: 34px;
}
.faq__item {
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}
.faq__item:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--hairline);
}
.faq__q {
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.faq__a {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-700);
}

@media (max-width: 780px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .faq__item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .faq__item:last-child {
    border-bottom: 1px solid var(--hairline);
  }
}

/* --------------------------------------------------------------- footer --- */

.footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: clamp(44px, 5vw, 64px) 0 40px;
}
.footer__top,
.footer__base {
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__brand {
  max-width: 26em;
}
.footer__blurb {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-550);
}
.footer__brand .btn {
  margin-top: 18px;
}
.footer__cols {
  display: flex;
  gap: clamp(32px, 6vw, 64px);
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__colhead {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.footer__col a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
}
.footer__col a:hover {
  color: var(--accent-text);
  text-decoration: underline;
}
.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.footer__fine {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 62em;
}
.footer__fine p {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-500);
}
.footer__fine a {
  color: var(--accent-text);
}
.footer__copy {
  font-size: 11.5px;
  color: var(--ink-500);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .footer__base {
    flex-direction: column;
    gap: 16px;
  }
  .footer__copy {
    white-space: normal;
  }
}

/* ---------------------------------------------------------------- prose --- */

.prose-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) var(--gutter) clamp(64px, 8vw, 96px);
}
.prose-head {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.prose-head h1 {
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.036em;
}
.prose-head__meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-600);
}

.prose {
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink-700);
}
.prose h2 {
  margin: 44px 0 14px;
  font-size: 25px;
  letter-spacing: -0.026em;
  color: var(--ink);
  scroll-margin-top: 92px;
}
.prose h3 {
  margin: 30px 0 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.prose p {
  margin: 0 0 16px;
}
.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li {
  margin-bottom: 9px;
}
.prose li::marker {
  color: var(--ink-400);
}
.prose strong {
  font-weight: 800;
  color: var(--ink);
}
.prose a {
  text-decoration: underline;
}
.prose hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid var(--border);
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--ink-100);
  color: var(--ink);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 14.5px;
}
.prose thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-600);
  padding: 0 12px 10px 0;
  border-bottom: 1px solid var(--border);
}
.prose tbody td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
.prose tbody tr:last-child td {
  border-bottom: 0;
}
.table-wrap {
  overflow-x: auto;
  margin: 0 0 22px;
  -webkit-overflow-scrolling: touch;
}
.table-wrap table {
  min-width: 520px;
  margin: 0;
}

/* A flagged spot where the user needs real legal advice. */
.legal-note {
  margin: 0 0 20px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--accent-wash);
  border: 1px solid var(--accent-border);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-700);
}
.legal-note strong {
  color: var(--accent-text);
}

.toc {
  margin: 0 0 40px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
}
.toc h2 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-600);
}
.toc ol {
  margin: 0;
  padding-left: 20px;
  list-style: decimal;
  font-size: 14.5px;
  line-height: 1.5;
}
.toc li {
  margin-bottom: 7px;
}
.toc li::marker {
  color: var(--ink-400);
  font-weight: 700;
}


/* --------------------------------------------------------------- motion --- */

@keyframes ouPulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}
@keyframes ouUp {
  0% {
    opacity: 0;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ouCaret {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@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;
  }
}

@media print {
  .masthead,
  .footer,
  .skip-link {
    display: none;
  }
  .prose-page {
    max-width: none;
  }
}
