/* Pipseed landing page, built from Figma "Website E · Final direction"
   (desktop 1440, mobile 390). Sizes are the design's own; text styles follow
   the Web/* type scale (desktop) and Web/Mobile/* (under 640 px). */

:root {
  --ink: #141414;
  --muted: #666666;
  --grey: #6b6b6b;
  --faint: #8c8c8c;
  --soft: #9e9ea3;
  --surface: #f4f4f4;
  --line: #e6e6e6;
  --line-2: #e0e0e0;
  --rail: #dbdbdb;
  --white: #ffffff;

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;

  --page: 1440px;
  --gutter: clamp(20px, 8.333vw, 120px);
  --radius-card: 36px;

  color-scheme: light;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 18px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--white);
  font: 500 15px/1.3 var(--text); text-decoration: none;
}
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------------ type */

.h1, .h2, .h3, .h4, .statement {
  font-family: var(--display);
  font-optical-sizing: none;
  color: var(--ink);
}
.h1 { font-weight: 800; font-size: clamp(40px, 5.556vw, 80px); line-height: 0.98; letter-spacing: -0.025em; }
.h2 { font-weight: 800; font-size: clamp(32px, 3.889vw, 56px); line-height: 1.02; letter-spacing: -0.02em; }
.h3 { font-weight: 800; font-size: clamp(24px, 2.222vw, 32px); line-height: 1.1; letter-spacing: -0.015em; }
.h4 { font-weight: 700; font-size: clamp(18px, 1.528vw, 22px); line-height: 1.3; letter-spacing: -0.005em; }
.statement { font-weight: 700; font-size: clamp(26px, 3.056vw, 44px); line-height: 1.2; letter-spacing: -0.015em; }
.body-l { font-size: 20px; line-height: 1.55; }
.body { font-size: 18px; line-height: 1.55; }
.body-s { font-size: 16px; line-height: 1.5; }
.label { font-size: 15px; font-weight: 500; line-height: 1.3; }
.caption { font-size: 14px; line-height: 1.4; }
.eyebrow { font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: 0.1em; text-transform: uppercase; }

.muted { color: var(--muted); }
.grey { color: var(--grey); }
.faint { color: var(--faint); }

@media (max-width: 639px) {
  .body-l { font-size: 17px; }
  .body { font-size: 16px; }
  .body-s { font-size: 15px; }
  .label { font-size: 14px; }
  .caption { font-size: 13px; }
  .eyebrow { font-size: 12px; }
}

/* ---------------------------------------------------------------- layout */

.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--pt, 80px) var(--pb, 80px); }
@media (max-width: 639px) {
  .section { padding-block: var(--pt-m, 48px) var(--pb-m, 48px); }
}

.heading { display: flex; flex-direction: column; gap: 16px; }
.heading--center { align-items: center; text-align: center; }
.heading--center .body { max-width: 640px; }
.heading .eyebrow + .h2 { margin-top: 4px; }
@media (max-width: 639px) {
  .heading { gap: 12px; }
  .heading .eyebrow + .h2 { margin-top: 0; }
}

/* A phone mockup is an exported screen: border, corners and status bar
   are in the image. */
.phone { height: auto; }

/* Google Play badge */
.play { display: inline-block; border-radius: 999px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.play img { width: 100%; height: auto; }
.play--lg { width: 214px; }
.play--sm { width: 153px; }
.play:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgb(0 0 0 / 0.12); }
@media (max-width: 639px) { .play--lg { width: 171px; } }

/* ----------------------------------------------------------- scenes
   The illustrated parts (hero, seed to fruit, closing garden) keep the
   Figma coordinates: --x --y --w on the desktop canvas (1440 wide, x from
   its left edge), --mx --my --mw on the mobile one (390). One design pixel
   is --u, which shrinks with the window and never grows past 1 px. */

main { container-type: inline-size; }

.scene {
  --cx: 720;
  --u: clamp(0.72px, 100cqw / 1440, 1px);
  position: relative;
  height: calc(var(--h, 0) * var(--u));
  /* Like the Figma frames: the hills run far past the edges and are cut
     off there. The art has room around it, so nothing visible is lost. */
  overflow: clip;
}
.scene .el {
  position: absolute;
  left: calc(50% + (var(--x) - var(--cx)) * var(--u));
  top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u));
  height: auto;
}
.scene .hill, .scene .contact-shadow { height: calc(var(--hh) * var(--u)); }

@media (max-width: 639px) {
  .scene {
    --cx: 195;
    --u: clamp(1px, 100cqw / 390, 1.4px);
    height: calc(var(--mh, 0) * var(--u));
  }
  .scene .el {
    left: calc(50% + (var(--mx) - var(--cx)) * var(--u));
    top: calc(var(--my) * var(--u));
    width: calc(var(--mw) * var(--u));
  }
  .scene .hill, .scene .contact-shadow { height: calc(var(--mhh) * var(--u)); }
  .scene [data-desktop] { display: none; }
}

.hill { border-radius: 50%; }
.hill--hero { background: linear-gradient(to bottom, var(--surface) 0%, var(--surface) 6%, var(--white) 12%); }
.hill--seed { background: linear-gradient(to bottom, var(--surface) 0%, var(--surface) 14%, var(--white) 20%); }
.hill--garden { background: var(--surface); }
.contact-shadow { border-radius: 50%; background: #d9d9db; filter: blur(10px); }

/* ------------------------------------------------------------------- nav */

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 24px var(--gutter);
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; gap: 40px;
  padding: 8px 8px 8px 10px;
  background: var(--white);
  border: 1px solid rgb(20 20 20 / 0.08);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.06);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__icon { width: 36px; height: 36px; border-radius: 10px; }
.brand__name { font: 700 24px/1.2 var(--display); font-optical-sizing: none; letter-spacing: -0.01em; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { font: 500 15px/1.3 var(--text); color: var(--muted); text-decoration: none; transition: color 0.15s; }
.nav__links a:hover { color: var(--ink); }
.nav__menu-play { display: none; }
.nav__menu { display: none; }

@media (max-width: 859px) {
  .nav { padding: 12px 16px; }
  .nav__bar { width: 100%; justify-content: space-between; gap: 12px; }
  .nav__play { display: none; }
  .nav__menu {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
    background: var(--surface); cursor: pointer;
  }
  .nav__menu span { width: 16px; height: 2px; border-radius: 1px; background: var(--ink); transition: transform 0.2s ease; }
  .nav__menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px; background: var(--white);
    border: 1px solid rgb(20 20 20 / 0.08); border-radius: 28px;
    box-shadow: 0 12px 32px rgb(0 0 0 / 0.1);
    visibility: hidden; opacity: 0; translate: 0 -6px;
    transition: opacity 0.18s ease, translate 0.18s ease, visibility 0s linear 0.18s;
  }
  .nav__links.is-open { visibility: visible; opacity: 1; translate: 0 0; transition-delay: 0s; }
  .nav__links a { display: block; padding: 14px 16px; font-size: 17px; color: var(--ink); border-radius: 16px; }
  .nav__links a:hover { background: var(--surface); }
  .nav__menu-play { display: block; padding: 8px 8px 4px; }
  .nav__menu-play a { padding: 0; width: 171px; }
  .nav__menu-play a:hover { background: none; }
}

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

.hero { position: relative; }
.hero__sky { position: absolute; inset: 0; height: auto; overflow: clip; pointer-events: none; }
.hero__copy {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 660px; margin-inline: auto; padding: 80px 20px 0;
}
.hero__copy .body-l { margin-top: 24px; max-width: 600px; }
.hero__copy .play { margin-top: 56px; }
.hero__stage { z-index: 1; }

@media (max-width: 639px) {
  .hero__copy { padding-top: 20px; }
  .hero__copy .body-l { margin-top: 16px; }
  .hero__copy .play { margin-top: 36px; }
}

/* The sky, the trees and the live timer move: see motion.css. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------------- story */

.story { padding: 130px var(--gutter) 80px; text-align: center; }
.statement__soft { color: var(--soft); }
.statement br.m { display: none; }
@media (max-width: 639px) {
  .story { padding: 60px 20px 48px; }
  .statement br.m { display: inline; }
}

/* ---------------------------------------------------------- seed to fruit */

.seed { --pt: 72px; --pt-m: 43px; }
.seed__panel { margin-top: 64px; }
.stage-label { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
@media (max-width: 639px) {
  .seed__panel { margin-top: 32px; }
  .stage-label { gap: 2px; }
}

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

.features { --pt: 90px; --pt-m: 36px; }
.features__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.features__head .body { max-width: 420px; }
.grid {
  display: grid; gap: 24px; margin-top: 64px;
  grid-template-columns: 456fr 240fr 456fr;
}
.card {
  position: relative; overflow: hidden;
  height: 600px;
  background: var(--surface);
  border-radius: var(--radius-card);
}
.grid > .card:nth-child(1) { grid-column: 1 / 3; }
.grid > .card:nth-child(2) { grid-column: 3 / 4; }
.grid > .card:nth-child(3) { grid-column: 1 / 2; }
.grid > .card:nth-child(4) { grid-column: 2 / 4; }
/* Text boxes as in Figma: 360 wide in the small cards, 300 in the big. */
.card__text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; padding: 48px 0 0 48px; max-width: 408px; }
.card__text .eyebrow + .h3 { margin-top: -4px; }
/* Card phones are exported with their bottom third already cropped, and
   with the 6 px grey border outside the screen: they sit on the card's
   bottom edge. */
.card__phone { position: absolute; bottom: 0; }
.card--phone-right .card__text { max-width: 348px; }
.card--phone-right .card__phone { width: 312px; right: 58px; }
.card--phone-centre .card__phone { width: 292px; left: 50%; translate: -50% 0; }
.badges { display: grid; grid-template-columns: repeat(3, 108px); justify-content: space-between; row-gap: 24px; padding: 49px 52px 0 48px; }
.badges li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.badges img { width: 108px; height: 108px; }

/* One column of wide cards on a tablet. */
@media (max-width: 1179px) and (min-width: 640px) {
  .features__head { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: 1fr; }
  .grid > .card:nth-child(n) { grid-column: auto; }
  .card { height: 480px; }
  .card .card__text { max-width: 54%; padding-right: 32px; }
  .card .card__phone { width: min(292px, 40%); left: auto; right: 5%; translate: none; }
  .card--badges .badges { position: absolute; right: 6%; top: 50%; translate: 0 -50%; padding: 0; width: 44%; max-width: 380px; }
}

@media (max-width: 639px) {
  .features__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .grid > .card:nth-child(n) { grid-column: auto; }
  .card { height: auto; border-radius: 28px; }
  .card__text { gap: 12px; padding: 28px 24px 0; max-width: none; }
  .card__text .eyebrow + .h3 { margin-top: 0; }
  .card .card__phone { position: static; translate: none; width: 240px; margin: 28px auto 0; }
  .badges { grid-template-columns: repeat(3, 86px); padding: 28px 24px 36px; row-gap: 18px; }
  .badges img { width: 86px; height: 86px; }
}

/* ----------------------------------------------------- sounds, statistics */

.split { --pt: 84px; --pb: 64px; --pt-m: 44px; }
.split--flip { --pt: 107px; --pb: 80px; --pt-m: 50px; }
.split__inner { display: flex; align-items: center; justify-content: center; gap: 96px; }
.split__copy { display: flex; flex-direction: column; gap: 20px; max-width: 560px; }
.split__copy .body { max-width: 500px; }
.split--flip .split__copy { max-width: 680px; }
.split--flip .split__copy .body { max-width: 480px; }
.split--flip .split__inner { flex-direction: row-reverse; }
/* The phone's 6 px border sits outside its frame, as in Figma: it doesn't
   push the layout. */
.split__phone { width: 292px; flex: none; margin: -6px; }
.split__copy { flex: 0 1 560px; }
.split--flip .split__copy { flex-basis: 680px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; max-width: 500px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: var(--surface); font: 500 15px/1.3 var(--text); color: var(--ink);
}
.chip img { width: 20px; height: 20px; }

@media (max-width: 899px) {
  .split__inner, .split--flip .split__inner { flex-direction: column; align-items: stretch; gap: 40px; }
  .split__copy, .split--flip .split__copy { max-width: none; gap: 12px; }
  .split__phone { width: 250px; align-self: center; }
}
@media (max-width: 639px) {
  .chip { font-size: 14px; }
}

/* ------------------------------------------------------------ real trees */

.real { --pt: 85px; --pt-m: 50px; }
.real__inner {
  display: grid;
  grid-template-columns: 640fr 520fr;
  grid-template-rows: auto auto;
  column-gap: 96px; row-gap: 20px;
}
/* Figma lets this row run 56 px into the right margin (640 + 96 + 520). */
@media (min-width: 1300px) { .real__inner { padding-right: calc(var(--gutter) - 56px); } }
.real__visual { grid-row: 1 / 3; grid-column: 1; align-self: center; position: relative; aspect-ratio: 640 / 660; }
.real__intro { grid-column: 2; align-self: end; display: flex; flex-direction: column; gap: 20px; }
.real__intro .body { max-width: 500px; }
.timeline .body-s { max-width: 440px; }
.real__details { grid-column: 2; align-self: start; display: flex; flex-direction: column; gap: 20px; }
.real__photo { position: absolute; left: 0; top: 0; width: 84.375%; height: auto; border-radius: 40px; }
.real__phone { position: absolute; left: 62.1875%; top: 22.424%; width: 37.8125%; }

.timeline { display: flex; flex-direction: column; gap: 27px; }
.timeline__step { position: relative; padding-left: 36px; display: flex; flex-direction: column; gap: 5px; }
.timeline__step::before {
  content: ""; position: absolute; left: 1px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--white);
}
.timeline__step.is-done::before { background: var(--ink); }
.timeline__step:not(:last-child)::after {
  content: ""; position: absolute; left: 7px; top: 22px; bottom: -27px;
  width: 2px; background: var(--rail);
}
.certificate {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 999px; background: var(--surface);
}
.certificate img { width: 20px; height: 20px; }

@media (max-width: 899px) {
  .real__inner { grid-template-columns: 1fr; row-gap: 32px; }
  .real__visual, .real__intro, .real__details { grid-column: 1; grid-row: auto; align-self: stretch; }
  .real__intro { gap: 12px; }
  .real__visual { aspect-ratio: 350 / 390; max-width: 520px; width: 100%; justify-self: center; }
  .real__photo { width: 80%; border-radius: 28px; }
  .real__phone { left: 56.03%; top: 15.41%; width: 45.09%; }
  .timeline { gap: 24px; }
  .timeline__step:not(:last-child)::after { bottom: -24px; }
  .real__details { gap: 24px; }
}

/* -------------------------------------------------------------- together */

.together { --pt: 76px; --pt-m: 45px; }
.together .heading { margin-bottom: 48px; }
.together .heading .body { max-width: 560px; }
.podium { width: 720px; max-width: 100%; height: auto; margin-inline: auto; }
.facts { display: grid; grid-template-columns: repeat(3, 340px); justify-content: center; margin-top: 48px; }
.facts li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px 24px; text-align: center; }
.facts li + li { border-left: 1px solid var(--line-2); }
.facts img { width: 24px; height: 24px; margin-bottom: 2px; }
.together__note { margin-top: 48px; text-align: center; }

@media (max-width: 1099px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .together .heading { margin-bottom: 32px; }
  .facts { grid-template-columns: 1fr; margin-top: 32px; }
  .facts li { padding: 20px 0; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line-2); }
  .together__note { margin-top: 32px; }
}

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

.faq { --pt: 76px; --pt-m: 44px; }
.faq__inner { display: flex; gap: 96px; }
.faq__head { flex: 0 0 380px; display: flex; flex-direction: column; gap: 16px; }
.faq__head .body-s { max-width: 340px; }
.faq__head a { color: var(--ink); }
.faq__list { flex: 1; min-width: 0; max-width: 724px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 30px 0; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 24px; height: 24px;
  background: url("/assets/icons/plus.svg") center / 24px no-repeat;
}
.faq details[open] summary::after { background-image: url("/assets/icons/minus.svg"); }
.faq details[open] summary { padding-bottom: 14px; }
.faq details p { padding: 0 0 30px; }
.faq details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) {
  .faq details::details-content { transition: none; }
}

@media (max-width: 899px) {
  .faq__inner { flex-direction: column; gap: 32px; }
  .faq__head { flex: none; gap: 12px; }
  .faq__list { max-width: none; }
}
@media (max-width: 639px) {
  .faq summary { padding: 24px 0; }
  .faq details[open] summary { padding-bottom: 12px; }
  .faq details p { padding: 0 0 24px; }
}

/* ----------------------------------------------------------- get the app */

.get { padding-top: 75px; }
.get__copy { display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: 20px; }
.get__copy .body-l { margin-top: 16px; }
.get__copy .play { margin-top: 48px; }
.garden { margin-top: 64px; }
@media (max-width: 639px) {
  .get { padding-top: 44px; }
  .get__copy .body-l { margin-top: 12px; }
  .get__copy .play { margin-top: 28px; }
  .garden { margin-top: 40px; }
}

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

.footer { background: var(--surface); }
.footer__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  max-width: var(--page); margin-inline: auto; padding: 40px var(--gutter) 48px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; color: var(--faint); }
.footer__brand img { width: 28px; height: 28px; border-radius: 8px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.footer__links a { color: var(--faint); text-decoration: none; }
.footer__links a:hover { color: var(--ink); }
@media (max-width: 639px) {
  .footer__inner { flex-direction: column; align-items: flex-start; padding: 28px 20px 36px; }
  .footer__links { gap: 10px 20px; }
}

/* ------------------------------------------------------------ legal pages
   /privacy and /terms: the same nav and footer, a white page and one
   720 px column of text in the Web type scale. */

.legal { --pt: 48px; --pb: 112px; --pt-m: 16px; --pb-m: 72px; }
.legal__inner { max-width: 760px; margin-inline: auto; padding-inline: 20px; }
.legal__head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.legal__head .body-l { max-width: 640px; }

.legal__draft {
  margin-top: 32px; padding: 18px 22px; border-radius: 20px;
  background: #fff6cc; border: 1px dashed #d9b400; color: var(--ink);
}
.legal__draft strong { font-weight: 600; }

.legal__toc { margin-top: 32px; padding: 24px 28px; border-radius: 24px; background: var(--surface); }
.legal__toc ol { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; counter-reset: toc; }
.legal__toc li { counter-increment: toc; display: flex; gap: 10px; }
.legal__toc li::before { content: counter(toc); flex: 0 0 18px; color: var(--faint); font-variant-numeric: tabular-nums; }
.legal__toc a { color: var(--ink); text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; }

.legal__body > section { padding-top: 56px; }
.legal__body h2 { scroll-margin-top: 110px; }
.legal__body h3 { margin-top: 32px; }
.legal__body p, .legal__body ul, .legal__body ol, .legal__body dl { margin-top: 16px; }
.legal__body h2 + p, .legal__body h2 + ul { margin-top: 20px; }
.legal__body h3 + p, .legal__body h3 + ul { margin-top: 10px; }
.legal__body ul { padding-left: 1.25em; list-style: disc; }
.legal__body ol { padding-left: 1.4em; list-style: decimal; }
.legal__body li + li { margin-top: 8px; }
.legal__body li::marker { color: var(--faint); }
.legal__body a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__body strong { font-weight: 600; }
.legal__body .muted a { color: var(--ink); }

/* Who helps us run Pipseed: one row per service. */
.legal__list { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.legal__body .legal__list { padding-left: 0; list-style: none; }
.legal__list > div { display: grid; grid-template-columns: 220px 1fr; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.legal__list dt { font-weight: 600; }
.legal__list dd { margin: 0; color: var(--muted); }

.legal__summary { margin-top: 24px; padding: 28px 32px; border-radius: var(--radius-card); background: var(--surface); }
.legal__summary ul { margin-top: 12px; padding-left: 1.25em; list-style: disc; }
.legal__summary li + li { margin-top: 8px; }
.legal__summary li::marker { color: var(--faint); }

.legal__back { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal__back a { font-weight: 500; text-decoration: none; }
.legal__back a:hover { text-decoration: underline; }

/* Details the owner still has to fill in or decide. */
mark.fill {
  padding: 1px 6px; border-radius: 6px;
  background: #ffe86b; color: var(--ink);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

@media (max-width: 639px) {
  .legal__head { gap: 12px; padding-bottom: 28px; }
  .legal__toc { padding: 20px; }
  .legal__toc ol { grid-template-columns: 1fr; }
  .legal__body > section { padding-top: 40px; }
  .legal__summary { padding: 22px 20px; border-radius: 24px; }
  .legal__list > div { grid-template-columns: 1fr; padding: 14px 0; }
}
