/* Bridgit website. Light only (by decision); mobile first.
   Layout: a campus scene beside a big serif promise, then bands that move
   from paper (how it works) to maroon (trust) to rose (restaurants).
   Contrast (WCAG): ink 16.4:1, muted 5.9:1 and rose 6.0:1 on --bg; white on
   rose 6.5:1; cream on maroon 13.9:1. Gold is decoration only, never text
   on --bg (use --gold-ink for that). */

@font-face { font-family: "Gloock"; src: url("/fonts/Gloock-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Afacad"; src: url("/fonts/Afacad-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Afacad"; src: url("/fonts/Afacad-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Afacad"; src: url("/fonts/Afacad-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #FBF6EE;
  --paper: #FFFDF9;
  --ink: #24141A;
  --muted: #6E5A60;
  --line: #E9DDD0;
  --blush: #F5E6E4;
  --rose: #A8324F;
  --rose-deep: #8C1F40;
  --maroon: #4F0B20;
  --cream: #FBF4E9;
  --gold: #D99A18;
  --gold-ink: #8A5A0B;

  --display: "Gloock", Georgia, "Times New Roman", serif;
  --body: "Afacad", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 5vw, 40px);
  --max: 1160px;
  --radius: 18px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
h2 { font-family: var(--display); font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose); }
.eyebrow--light { color: #F2B8C6; }

/* Ordering switch (see the comment at the top of index.html). */
[data-ordering="soon"] .when-live { display: none !important; }
[data-ordering="live"] .when-soon { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.4em;
  border-radius: 999px; border: 2px solid transparent;
  background: var(--rose); color: #fff;
  font: 700 1.05rem/1.1 var(--body); text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--rose-deep); }
.btn:active { transform: translateY(1px); }
.btn--big { font-size: 1.2rem; min-height: 56px; padding-inline: 1.6em; }
.btn--small { min-height: 40px; padding: 0.45em 1.1em; font-size: 0.98rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper); border-color: var(--muted); }
.btn--soon { background: transparent; color: var(--rose); border: 2px dashed var(--rose); cursor: default; }
.btn--soon:hover { background: transparent; }
.btn--light { background: var(--cream); color: var(--maroon); }
.btn--light:hover { background: #fff; }
.pill-soon { font-size: 0.9rem; font-weight: 600; color: var(--rose); border: 1.5px dashed var(--rose); border-radius: 999px; padding: 0.3em 0.9em; white-space: nowrap; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top__row { display: flex; align-items: center; gap: 1rem; min-height: 64px; padding-top: env(safe-area-inset-top, 0px); }
.wordmark { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--display); font-size: 1.85rem; line-height: 1; color: var(--maroon); text-decoration: none; letter-spacing: -0.01em; margin-right: auto; }
.wordmark__mark { width: 1.15em; height: 1.15em; border-radius: 0.26em; flex: none; }
.wordmark--small { font-size: 2.2rem; }
.top__nav { display: none; gap: 1.6rem; }
.top__nav a { text-decoration: none; font-weight: 600; color: var(--muted); }
.top__nav a:hover { color: var(--ink); }
@media (min-width: 760px) { .top__nav { display: flex; } }

/* Hero */
.hero { padding-block: clamp(20px, 4vw, 56px) clamp(32px, 6vw, 72px); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.hero__copy { display: grid; gap: 1.1rem; min-width: 0; }
.hero__title { font-family: var(--display); font-size: clamp(3.4rem, 1.6rem + 9vw, 6.8rem); line-height: 0.95; letter-spacing: -0.02em; color: var(--ink); }
.hero__title em {
  font-style: normal; color: var(--rose); white-space: nowrap;
  background: linear-gradient(transparent 78%, color-mix(in srgb, var(--gold) 55%, transparent) 78%, color-mix(in srgb, var(--gold) 55%, transparent) 92%, transparent 92%);
}
.hero__lede { font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem); color: var(--muted); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.4rem; }
.hero__facts { list-style: none; margin: 0.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; font-size: 1rem; font-weight: 600; color: var(--ink); }
.hero__facts li { display: inline-flex; align-items: center; gap: 0.5em; }
.hero__facts li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--rose); transform: rotate(45deg); }

.scene { position: relative; width: 100%; aspect-ratio: 4 / 3; max-width: 720px; justify-self: center; margin-inline: auto; touch-action: pan-y; }
.scene__poster, .scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.scene canvas { opacity: 0; transition: opacity .6s ease; }
.scene.is-live canvas { opacity: 1; }
.scene.is-live .scene__poster { opacity: 0; transition: opacity .6s ease .2s; }
.scene__chip {
  position: absolute; left: 0; top: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.45em 0.9em; border-radius: 999px;
  background: var(--paper); color: var(--maroon);
  font-size: 0.95rem; font-weight: 700; white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgba(79, 11, 32, .35), 0 0 0 1px var(--line);
  transform: translate(calc(var(--x, 0.27) * var(--w, 0px) - 50%), calc(var(--y, 0.5) * var(--h, 0px) - 135%));
  opacity: 0; transition: opacity .3s ease;
  pointer-events: none;
}
.scene.is-live .scene__chip { opacity: 1; }
.scene__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 0 rgba(168, 50, 79, .5); animation: ping 1.6s ease-out infinite; }
.scene__chip.is-arrived .scene__dot { background: #2F7A4B; animation: none; }
@keyframes ping { to { box-shadow: 0 0 0 9px rgba(168, 50, 79, 0); } }

/* Cravings ribbon */
.cravings { background: var(--maroon); color: var(--cream); overflow: hidden; padding-block: 0.9rem; transform: rotate(-1.2deg); margin-inline: -2vw; }
.cravings__track { display: flex; width: max-content; gap: 0; animation: drift 48s linear infinite; }
.cravings span { font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); white-space: nowrap; padding-inline: 0.9rem; }
.cravings span::after { content: "•"; color: var(--gold); margin-left: 1.8rem; font-family: var(--body); }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cravings__track { animation: none; } }

/* Sections */
.section-head { display: grid; gap: 0.6rem; margin-bottom: clamp(24px, 4vw, 40px); max-width: 40ch; }
.how { padding-block: clamp(64px, 9vw, 120px) clamp(48px, 7vw, 96px); }

/* How it works.
   Steps: rose badges joined by a dotted path (horizontal from 820px,
   vertical below). Motion is transform/opacity/clip-path only, so nothing
   shifts layout; it runs when [data-reveal] gets .is-in (site.js, on
   scroll and on every role switch) and is skipped entirely for reduced
   motion and Save-Data (html.lite), where everything shows at rest. */
.roles__tabs {
  position: relative; display: inline-flex; gap: 4px; padding: 5px; margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--blush); border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.roles__pill {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px;
  background: var(--paper); box-shadow: 0 2px 10px -4px rgba(79, 11, 32, .45);
  transform: translateX(var(--pill-x, 5px)); width: var(--pill-w, 0);
  transition: transform .38s cubic-bezier(.2, .8, .2, 1), width .38s cubic-bezier(.2, .8, .2, 1);
}
.roles__tabs button {
  position: relative; z-index: 1; appearance: none; border: 0; background: transparent; color: var(--maroon);
  font: 600 1.05rem/1 var(--body); padding: 0.75em 1.25em; border-radius: 999px; cursor: pointer; white-space: nowrap; min-height: 44px;
  transition: color .25s ease;
}
.roles__tabs button[aria-selected="true"] { color: var(--rose); }
.roles:not(.has-pill) .roles__tabs button[aria-selected="true"] { background: var(--paper); }
.role { display: grid; gap: 1.2rem; }
.role + .role { margin-top: 3rem; }
.roles.is-tabs .role + .role { margin-top: 0; }
.roles.is-tabs .role__title, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.role__title { font-family: var(--display); font-size: 1.7rem; color: var(--maroon); }

.steps { --badge: 76px; --gap: clamp(28px, 4vw, 48px); list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { position: relative; display: grid; grid-template-columns: var(--badge) minmax(0, 1fr); gap: 1.1rem; align-items: start; }
@media (min-width: 820px) { .step { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; } }

.step__badge {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: var(--badge); height: var(--badge); border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, #C2486A 0%, var(--rose) 45%, var(--rose-deep) 100%);
  box-shadow: 0 10px 24px -12px rgba(140, 31, 64, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: translate .3s cubic-bezier(.3, 1.6, .5, 1), rotate .3s ease, scale .3s cubic-bezier(.3, 1.6, .5, 1);
}
.step__badge::after { /* soft ring that blooms when the badge lands */
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--rose); opacity: 0;
}
.step__n { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--cream); transform: translateY(2px); font-variant-numeric: tabular-nums; }

/* The dotted path from this badge to the next one. */
.step:not(:last-child)::after {
  content: ""; position: absolute; pointer-events: none;
  left: calc(var(--badge) / 2 - 3px); width: 6px;
  top: calc(var(--badge) + 8px); bottom: calc(-1 * var(--gap) + 8px);
  background: radial-gradient(circle, var(--rose) 1.7px, transparent 2.2px) center top / 6px 11px repeat-y;
  opacity: .55;
}
@media (min-width: 820px) {
  .step:not(:last-child)::after {
    top: calc(var(--badge) / 2 - 3px); height: 6px; bottom: auto; width: auto;
    left: calc(var(--badge) + 10px); right: calc(-1 * var(--gap) + 10px);
    background: radial-gradient(circle, var(--rose) 1.7px, transparent 2.2px) left center / 11px 6px repeat-x;
  }
}

.step__body { display: grid; gap: 0.35rem; min-width: 0; padding-top: 0.35rem; }
@media (min-width: 820px) { .step__body { padding-top: 0; } }
.step__icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 0.35rem;
  border-radius: 12px; background: var(--blush); color: var(--rose);
  transition: rotate .3s ease, background-color .3s ease, color .3s ease;
}
.step__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step h4 { font-size: 1.3rem; font-weight: 700; }
.step p { color: var(--muted); max-width: 34ch; }

/* Hover and tap: individual translate/rotate/scale properties, so they
   compose with the entrance's transform instead of fighting it. */
@media (hover: hover) {
  .step:hover .step__badge { translate: 0 -3px; rotate: -6deg; scale: 1.04; }
  .step:hover .step__icon { background: var(--rose); color: var(--paper); rotate: -4deg; }
}
.step:active .step__badge { scale: .95; }

/* Motion (not for html.lite). Start states apply only once JS has marked
   the section, so without JS everything is simply visible. */
html:not(.lite) [data-reveal].is-armed .step__badge { transform: scale(.4); opacity: 0; }
html:not(.lite) [data-reveal].is-armed .step__body { transform: translateY(14px); opacity: 0; }
html:not(.lite) [data-reveal].is-armed .step:not(:last-child)::after { clip-path: inset(0 0 100% 0); }
@media (min-width: 820px) { html:not(.lite) [data-reveal].is-armed .step:not(:last-child)::after { clip-path: inset(0 100% 0 0); } }

html:not(.lite) [data-reveal].is-in .step__badge { transform: none; opacity: 1; transition: transform .55s cubic-bezier(.3, 1.6, .5, 1), opacity .25s ease, translate .3s cubic-bezier(.3, 1.6, .5, 1), rotate .3s ease, scale .3s cubic-bezier(.3, 1.6, .5, 1); }
html:not(.lite) [data-reveal].is-in .step__badge::after { animation: bloom .9s ease-out both; }
html:not(.lite) [data-reveal].is-in .step__body { transform: none; opacity: 1; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .5s ease; }
html:not(.lite) [data-reveal].is-in .step:not(:last-child)::after { clip-path: inset(0); transition: clip-path .7s cubic-bezier(.6, 0, .3, 1); }
html:not(.lite) [data-reveal].is-in .step:nth-child(1) .step__badge, html:not(.lite) [data-reveal].is-in .step:nth-child(1) .step__badge::after { transition-delay: 0s; animation-delay: .15s; }
html:not(.lite) [data-reveal].is-in .step:nth-child(1) .step__body { transition-delay: .1s; }
html:not(.lite) [data-reveal].is-in .step:nth-child(1)::after { transition-delay: .3s; }
html:not(.lite) [data-reveal].is-in .step:nth-child(2) .step__badge { transition-delay: .55s, .55s, 0s, 0s, 0s; }
html:not(.lite) [data-reveal].is-in .step:nth-child(2) .step__badge::after { animation-delay: .7s; }
html:not(.lite) [data-reveal].is-in .step:nth-child(2) .step__body { transition-delay: .65s; }
html:not(.lite) [data-reveal].is-in .step:nth-child(2)::after { transition-delay: .85s; }
html:not(.lite) [data-reveal].is-in .step:nth-child(3) .step__badge { transition-delay: 1.1s, 1.1s, 0s, 0s, 0s; }
html:not(.lite) [data-reveal].is-in .step:nth-child(3) .step__badge::after { animation-delay: 1.25s; }
html:not(.lite) [data-reveal].is-in .step:nth-child(3) .step__body { transition-delay: 1.2s; }
/* A role switch replays faster than the first reveal. */
html:not(.lite) [data-reveal].is-quick.is-in .step:nth-child(2) .step__badge { transition-delay: .18s, .18s, 0s, 0s, 0s; }
html:not(.lite) [data-reveal].is-quick.is-in .step:nth-child(2) .step__body { transition-delay: .22s; }
html:not(.lite) [data-reveal].is-quick.is-in .step:nth-child(1)::after { transition-delay: .1s; }
html:not(.lite) [data-reveal].is-quick.is-in .step:nth-child(2)::after { transition-delay: .3s; }
html:not(.lite) [data-reveal].is-quick.is-in .step:nth-child(3) .step__badge { transition-delay: .36s, .36s, 0s, 0s, 0s; }
html:not(.lite) [data-reveal].is-quick.is-in .step:nth-child(3) .step__body { transition-delay: .4s; }
html:not(.lite) [data-reveal].is-quick.is-in .step .step__badge::after { animation: none; }
@keyframes bloom { 0% { opacity: .7; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.35); } }

@media (prefers-reduced-motion: reduce) {
  .roles__pill, .step__badge, .step__icon { transition: none !important; }
}

/* Trust */
.trust { background: var(--maroon); color: var(--cream); padding-block: clamp(64px, 9vw, 120px); }
.trust__grid { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .trust__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); } }
.trust__copy { display: grid; gap: 1.1rem; max-width: 46ch; }
.trust__copy p { color: #EBD9D6; }
.ticket {
  margin: 0; justify-self: center; width: min(100%, 380px);
  background: var(--paper); color: var(--ink); border-radius: 16px; padding: 1.4rem 1.4rem 1.6rem;
  transform: rotate(2deg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.ticket__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ticket__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ticket__status { font-size: 0.9rem; font-weight: 700; color: var(--rose); background: var(--blush); padding: 0.25em 0.7em; border-radius: 999px; }
.ticket__items { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.ticket__items li { display: flex; justify-content: space-between; gap: 1rem; font-size: 1.05rem; }
.ticket__items li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.ticket__tear { height: 22px; margin: 1.2rem -1.4rem; background: radial-gradient(circle at 0 50%, var(--maroon) 10px, transparent 11px), radial-gradient(circle at 100% 50%, var(--maroon) 10px, transparent 11px), linear-gradient(90deg, var(--line) 50%, transparent 50%) center / 14px 2px repeat-x; }
.ticket__code { display: grid; gap: 0.4rem; text-align: center; }
.ticket__digits { font-family: var(--display); font-size: 3.4rem; line-height: 1; color: var(--maroon); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.ticket__hint { font-size: 0.95rem; color: var(--muted); }

/* Next order */
.again { padding-block: clamp(64px, 9vw, 120px); }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem 2.4rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.features li { border-top: 2px solid var(--ink); padding-top: 1rem; display: grid; gap: 0.35rem; align-content: start; }
.features h3 { font-family: var(--display); font-size: 1.55rem; }
.features p { color: var(--muted); }

/* Restaurants band */
.band--restaurants { background: var(--rose); color: #fff; padding-block: clamp(56px, 8vw, 96px); }
.band__grid { display: grid; gap: 1.6rem; align-items: end; }
@media (min-width: 860px) { .band__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.band__grid > div:first-child { display: grid; gap: 0.9rem; max-width: 42ch; }
.band--restaurants .eyebrow--light { color: #FFE2E9; }
.band__actions { display: grid; gap: 0.9rem; justify-items: start; }
@media (min-width: 860px) { .band__actions { justify-items: end; text-align: right; } }
.band__mail a { font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Get the app */
.get { padding-block: clamp(64px, 9vw, 120px); }
.get__grid { display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 860px) { .get__grid { grid-template-columns: minmax(0, 1fr) auto; } }
.get__grid > div { display: grid; gap: 0.8rem; max-width: 44ch; }
.get__grid p { color: var(--muted); }
.stores { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.store {
  display: inline-flex; align-items: center; gap: 0.7rem;
  min-height: 56px; padding: 0.55em 1.2em 0.55em 0.9em;
  border-radius: 14px; border: 1.5px solid var(--ink); color: var(--ink); background: var(--paper);
  font-weight: 700; font-size: 1.1rem; line-height: 1.05;
}
.store small { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.store svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 2.6rem calc(2.6rem + env(safe-area-inset-bottom, 0px)); }
.foot__grid { display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1fr auto; align-items: end; } }
.foot__tag { color: var(--muted); margin-top: 0.3rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.foot nav a { font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.foot__small { font-size: 0.9rem; color: var(--muted); }
@media (min-width: 760px) { .foot__small { grid-column: 1 / -1; } }

/* Legal pages */
.legal { padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--display); font-size: clamp(2.6rem, 1.8rem + 3vw, 3.8rem); line-height: 1; margin-bottom: 0.6rem; }
.legal h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin-top: 2.4rem; margin-bottom: 0.6rem; }
.legal h3 { font-size: 1.2rem; font-weight: 700; margin-top: 1.4rem; margin-bottom: 0.3rem; }
.legal p, .legal li { color: #3D2A30; }
.legal p + p { margin-top: 0.8rem; }
.legal ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; margin: 0.6rem 0 0; }
.legal .updated { color: var(--muted); }
.draft { margin: 1.4rem 0 1.6rem; padding: 1rem 1.2rem; border: 2px dashed var(--gold-ink); border-radius: 12px; background: #FFF6E2; color: #5A3C08; font-weight: 600; }
.confirm { background: #FFF1C9; color: #5A3C08; border-radius: 4px; padding: 0 0.25em; font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 0.8rem; font-size: 1rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 700; }
.table-scroll { overflow-x: auto; }
.notfound { min-height: 60vh; display: grid; align-content: center; gap: 1rem; padding-block: 64px; }
.notfound h1 { font-family: var(--display); font-size: clamp(2.6rem, 2rem + 4vw, 4.6rem); line-height: 1; }
