/* Daily Driver OS: sales page and policy page styles.
   Self-contained and relative-path safe: everything it needs sits in this folder (fonts/ beside it).
   No external CDNs.
   Brand: Inter; charcoal #282828; slate #5f6980 body text; yellow #ffe143 as a highlight only
   (never as text on white: 1.3:1). Contrast checked: slate on white 5.5:1, slate on #f9fafb 5.26:1,
   charcoal on yellow 11.3:1, #c9cdd6 on charcoal 9.26:1.
   Dashed borders are reserved for placeholders, so they can never be mistaken for real content. */

@font-face {
  font-family: "Inter";
  /* Latin subset (with ₹, curly quotes and the · dot) of the same variable Inter: 58 KB instead of the
     804 KB full TTF, which stays in fonts/ as the source. Rebuild with pyftsubset if a page needs a new character. */
  src: url("fonts/Inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #282828;
  --slate: #5f6980;
  --yellow: #ffe143;
  --ph-bg: #fff7c2;
  --line: #eaecf0;
  --line-strong: #d0d5dd;
  --soft: #f9fafb;
  --soft-2: #f2f4f7;
  --on-ink-muted: #c9cdd6;
  --white: #ffffff;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --container: 1600px;
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --gap: clamp(1rem, 2vw, 2rem);
  --section-y: clamp(4.5rem, 9vw, 9.5rem);
  --measure: 36rem;
  --radius-s: 0.625rem;
  --radius-m: 1.5rem;
  --radius-l: 2rem;
  --band-inset: clamp(0px, calc(var(--gutter) - 2rem), calc(var(--gutter) / 2));

  color-scheme: light;
}

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

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (min-width: 768px) {
  body { font-size: 1.125rem; }
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.03em;
}

p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

strong { color: var(--ink); font-weight: 600; }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--ink);
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  padding: 0.05em 0.35em;
  white-space: nowrap;
}

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

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

.nowrap { white-space: nowrap; }

.skip {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 30;
  padding: 0.625rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Placeholders (to fill before launch) ---------- */

.ph {
  display: inline;
  color: var(--ink);
  background: var(--ph-bg);
  border: 1.5px dashed var(--slate);
  border-radius: 0.375rem;
  padding: 0 0.3em;
  font-size: 0.88em;
  font-weight: 500;
  letter-spacing: 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.ph-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  min-height: 15rem;
  padding: 2rem 1.5rem;
  border: 2px dashed var(--slate);
  border-radius: var(--radius-m);
  background: var(--soft);
}

/* 16:9 only where it cannot force the box wider than its column (aspect-ratio transfers
   the content height into a minimum width on narrow screens). */
@media (min-width: 768px) {
  .ph-block { aspect-ratio: 16 / 9; min-height: 0; }
}

.ph-tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: var(--ph-bg);
  border: 1.5px dashed var(--slate);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ph-title {
  color: var(--ink);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ph-text {
  max-width: 34rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

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

.btn {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 0.35em;
  row-gap: 0.1em;
  min-height: 3.5rem;
  padding: 0.95rem 1.75rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { background: #3a3a3a; border-color: #3a3a3a; }
.btn:active { transform: translateY(1px); }
.btn-note { white-space: nowrap; font-weight: 500; opacity: 0.85; }

.btn-yellow {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}
.btn-yellow:hover { background: #fff0a3; border-color: #fff0a3; }

/* Secondary action (the setup offer): outlined, so the kit's buy button stays the strongest call on the page. */
.btn-outline {
  background: var(--white);
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--soft-2); border-color: var(--ink); }

.btn-arrow {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  transition: transform 0.2s;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

@media (max-width: 599px) {
  .btn { width: 100%; padding-inline: 1rem; font-size: 1rem; }
}

/* ---------- Header and hero ---------- */

.site-header .container {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  padding-block: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.mark {
  width: 1.875rem;
  height: auto;
  flex: none;
  color: var(--ink);
}

.topline {
  display: flex;
  flex-direction: column;
  font-size: 0.9375rem;
  line-height: 1.3;
}
.topline-name { color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.topline-dot { display: none; color: var(--slate); }
.topline-tag { color: var(--slate); }

@media (min-width: 600px) {
  .topline { flex-direction: row; flex-wrap: wrap; column-gap: 0.5rem; align-items: baseline; }
  .topline-dot { display: inline; }
}

.hero { display: flex; }

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  row-gap: 2rem;
  padding-block: clamp(2.25rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6rem);
}

.hero-title {
  max-width: 13.5em;
  font-size: clamp(2.125rem, 0.8rem + 5vw, 6rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-myth { color: var(--slate); }

.hero-title mark {
  color: inherit;
  background-color: transparent;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-position: 0 86%;
  background-size: 100% 0.34em;
  padding-inline: 0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-title mark { animation: mark-in 0.8s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes mark-in {
  from { background-size: 0% 0.34em; }
  to { background-size: 100% 0.34em; }
}

.hero-body {
  display: grid;
  row-gap: 1.75rem;
  max-width: var(--measure);
}

.hero-sub {
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
  line-height: 1.55;
}

.cta { display: grid; justify-items: start; row-gap: 0.875rem; }
.cta-note { font-size: 0.9375rem; line-height: 1.5; }

@media (min-width: 1024px) {
  .hero .container {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-content: space-between;
    row-gap: 3.5rem;
  }
  .hero-title { grid-column: 1 / -1; }
  .hero-body { grid-column: 5 / span 7; }
}

/* Full-height hero on desktop: the viewport minus the 4.5rem header. */
@media (min-width: 1024px) and (min-height: 640px) {
  .hero { min-height: calc(100vh - 4.5rem); min-height: calc(100svh - 4.5rem); }
}

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

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 1.75rem;
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
  }
  .section-head { grid-column: 1 / span 3; }
  .section-body { grid-column: 5 / -1; }
}

.label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.4;
}
.label::before {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 0.1875rem;
  background: var(--yellow);
  box-shadow: inset 0 0 0 1px rgba(40, 40, 40, 0.12);
  flex: none;
}
.label-meta { color: var(--slate); font-weight: 500; }

/* Desktop: drop each label onto the centre of the first line of its section body,
   so label and content read as one row. Offsets are (first line height - label line height) / 2. */
@media (min-width: 1024px) {
  .head-lead { padding-top: 0.55rem; }  /* big lead text */
  .head-text { padding-top: 0.35rem; }  /* 1.25rem body text */
  .head-q { padding-top: 0.2rem; }      /* FAQ question */
}

.section-body { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; align-content: start; }

.lead {
  max-width: 27em;
  color: var(--ink);
  font-size: clamp(1.375rem, 1rem + 1.15vw, 2.125rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}
.lead .muted { color: var(--slate); }

.prose { display: grid; row-gap: 1.25rem; max-width: var(--measure); }
.prose p { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.6; }

.sub {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* Story */

.story { display: grid; row-gap: 2rem; }

.stat {
  display: grid;
  row-gap: 0.5rem;
  align-content: start;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--soft);
}
.stat-num {
  color: var(--ink);
  font-size: clamp(3.5rem, 2rem + 5vw, 6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stat-text { font-size: 0.9375rem; line-height: 1.5; max-width: 16rem; }

@media (min-width: 768px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); column-gap: var(--gap); align-items: start; }
}
@media (min-width: 1024px) {
  .story { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr); }
}

/* What's inside */

.inside { display: grid; row-gap: 3rem; }
.inside-group { display: grid; row-gap: 1rem; }

.cmds { border-top: 1px solid var(--line); }
.cmd {
  display: grid;
  row-gap: 0.625rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.cmd-name {
  justify-self: start;
  padding: 0.3rem 0.65rem;
  font-size: 0.975rem;
  font-weight: 600;
  white-space: nowrap;
}
.cmd-desc { max-width: 38rem; }

@media (min-width: 768px) {
  .cmd {
    grid-template-columns: 12.5rem minmax(0, 1fr);
    column-gap: 2rem;
    align-items: baseline;
    padding-block: 1.5rem;
  }
}

.extras { display: grid; border-top: 1px solid var(--line); }
.extra {
  position: relative;
  padding: 1.25rem 0 1.25rem 1.75rem;
  border-bottom: 1px solid var(--line);
}
.extra::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.42em;
  border-radius: 0.1875rem;
  background: var(--ink);
}

@media (min-width: 768px) {
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); border-top: 0; }
  .extra { border-top: 1px solid var(--line); border-bottom: 0; padding-block: 1.5rem; }
  .extra::before { top: 1.5rem; }
}

/* Who it's for */

.fit { display: grid; row-gap: 1.25rem; }
.fit-item {
  position: relative;
  padding-left: 2.5rem;
  max-width: 30em;
  color: var(--ink);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.fit-item::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.32em;
  width: 0.55em;
  height: 0.3em;
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(-45deg);
  transform-origin: center;
}

.notfor {
  max-width: 40rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--soft);
}

/* Price */

.price-card {
  display: grid;
  row-gap: 2rem;
  padding: clamp(1.25rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--soft);
}

.price-info { display: grid; row-gap: 1rem; align-content: start; }

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 1rem;
  row-gap: 0.25rem;
}
.price-was {
  color: var(--slate);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.price-was s { text-decoration-thickness: 2px; }
.price-now {
  color: var(--ink);
  font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.price-terms { max-width: 30rem; }

.price-act { display: grid; row-gap: 1.25rem; align-content: start; }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.cd-cell {
  display: grid;
  justify-items: center;
  row-gap: 0.25rem;
  padding: 0.875rem 0.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
}
.cd-num {
  color: var(--ink);
  font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.cd-unit { font-size: 0.8125rem; line-height: 1.2; }
.cd-caption { font-size: 0.9375rem; }

.price-act .btn { width: 100%; }
.fine { font-size: 0.9375rem; line-height: 1.55; }

@media (min-width: 900px) {
  .price-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 4rem); }
}

/* Launch state: the head script sets is-launch or is-ended on <html> before first paint. */
.is-ended .launch-only { display: none !important; }
.no-js .countdown, .no-js .cd-caption { display: none; }
@media (prefers-reduced-motion: reduce) {
  .cd-cell-sec { display: none; }
  .countdown { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Setup band */

.band {
  width: calc(100% - 2 * var(--band-inset));
  max-width: calc(var(--container) + var(--gutter));
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: min(var(--radius-l), calc(var(--band-inset) * 4));
  background: var(--soft);
  color: var(--slate);
}
.band .container {
  max-width: none;
  padding-inline: calc(var(--gutter) - var(--band-inset));
}
.band .grid { border-top: 0; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.band h2 {
  color: var(--ink);
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 9em;
  text-wrap: balance;
}
.band strong { color: var(--ink); }
.band-text {
  max-width: var(--measure);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
}
.band-price {
  color: var(--ink);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.band-price strong { color: var(--ink); font-weight: 700; }
.band .cta { padding-top: 0.5rem; }

@media (min-width: 1024px) {
  .band .section-head { grid-column: 1 / span 4; padding-top: 0; }
}

/* Spacer so the section after the band keeps its rhythm without a divider line */
.after-band .grid { border-top: 0; }

/* Questions */

.faq-item {
  display: grid;
  row-gap: 0.5rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { padding-top: 0; }
.faq-q {
  font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3125rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.faq-a { display: grid; row-gap: 0.75rem; max-width: 38rem; }

@media (min-width: 768px) {
  .faq-item {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    column-gap: 2rem;
    padding-block: 1.75rem;
  }
  .faq-item:first-child { padding-top: 0; }
}

/* Final call */

.final .grid { border-top: 0; }
.final-title {
  max-width: 13em;
  font-size: clamp(2.125rem, 0.9rem + 4.2vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
@media (min-width: 1024px) {
  .final-title { grid-column: 1 / -1; }
  .final .cta { grid-column: 1 / span 6; }
}

/* Testimonials (built, not shown yet: see the comment in kit/index.html) */

.reviews { display: grid; gap: var(--gap); }
.review {
  display: grid;
  row-gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--soft);
}
.review-tag { justify-self: start; font-size: 0.8125rem; font-weight: 600; color: var(--ink); }
.review-who { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; }
.review-photo { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
@media (min-width: 768px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

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

.site-footer {
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.site-footer .container {
  display: grid;
  row-gap: 1.25rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.footer-seller { color: var(--ink); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  row-gap: 0.5rem;
}
.footer-links a { color: var(--ink); }
.footer-small { font-size: 0.875rem; max-width: 46rem; }

@media (min-width: 1024px) {
  .site-footer .container {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
  }
  .footer-seller { grid-column: 1 / span 4; }
  .footer-nav { grid-column: 5 / -1; }
  .footer-small { grid-column: 5 / -1; }
}

/* ---------- Analytics banner and note ----------
   Classes set in <head>: has-analytics (an ID is set), has-clarity, has-pixel,
   mode-notice or mode-optin, ask-consent (banner showing). */

.consent, .footer-analytics, .tool-clarity, .tool-pixel { display: none; }
.has-analytics .footer-analytics { display: grid; }
.has-clarity .tool-clarity, .has-pixel .tool-pixel { display: inline; }
.mode-notice .optin-only, .mode-optin .notice-only { display: none !important; }

/* Fixed at the TOP, over the 72 px header strip: on a phone the headline starts about 108 px down,
   so the banner never reaches the headline or the buy button, whatever the screen height. */
.ask-consent .consent {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: fixed;
  z-index: 20;
  top: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  padding: 0.5rem 0.5rem 0.5rem 0.875rem;
  border-radius: 1rem;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(40, 40, 40, 0.18);
}
.ask-consent { scroll-padding-top: 6rem; }

.consent-text {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  line-height: 1.35;
}
.consent-text a { color: var(--white); }
.consent :focus-visible { outline-color: var(--yellow); }

.consent-actions { display: flex; flex: none; gap: 0.375rem; }
.consent-btn {
  min-width: 3.5rem;
  min-height: 2.75rem;
  padding: 0 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.consent-btn:hover { background: var(--white); color: var(--ink); }

@media (min-width: 768px) {
  .ask-consent .consent {
    left: auto;
    right: max(var(--gutter), calc((100% - var(--container)) / 2));
    top: 0.75rem;
    max-width: 34rem;
  }
}

.footer-analytics {
  row-gap: 0.5rem;
  max-width: 46rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}
@media (min-width: 1024px) {
  .footer-analytics { grid-column: 5 / -1; }
}

.linklike {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.linklike:hover { text-decoration-thickness: 2px; }

/* ---------- Policy pages ---------- */

.legal .grid { border-top: 0; padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.legal h1 {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.legal-meta { font-size: 0.9375rem; margin-top: 0.75rem; }
.legal-body { display: grid; row-gap: 2.25rem; max-width: 40rem; }
.legal-body section { display: grid; row-gap: 0.75rem; }
.legal-body h2 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); letter-spacing: -0.025em; line-height: 1.25; }
.legal-body ul { padding-left: 1.25rem; display: grid; row-gap: 0.5rem; }
.legal-body address { font-style: normal; }
@media (min-width: 1024px) {
  .legal .section-head { grid-column: 1 / span 9; padding-top: 0; }
  .legal .section-body { grid-column: 5 / span 7; padding-top: 1.5rem; }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
