/* Machette Labs — one stylesheet for the whole site.
   Fonts are served from /fonts (Latin subsets, SIL OFL — see /fonts/OFL.txt). Nothing on this site loads
   from another host: no font CDN, no analytics, no scripts. */

@font-face {
  font-family: 'Lilita One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/LilitaOne-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: 'M PLUS Rounded 1c';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/MPLUSRounded1c-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: 'M PLUS Rounded 1c';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/MPLUSRounded1c-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: 'M PLUS Rounded 1c';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/MPLUSRounded1c-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;
}

/* ------------------------------------------------------------------ tokens
   Paper (light) and espresso (dark). Every text pair here is ≥ 4.5:1. */
:root {
  color-scheme: light dark;
  --paper: #fbf3e4;
  --paper-2: #f5e8cf;
  --card: #fffaf0;
  --ink: #2e1d14;
  --ink-soft: #6b5446;
  --line: #e6d4b4;
  --outline: #2e1d14;          /* sticker outlines + their drop */
  --card-edge: #2e1d14;
  --grain: rgba(46, 29, 20, 0.045);
  --link: #0e7068;
  --link-hover: #0b5f59;
  --teal: #12857c;
  --teal-btn: #0e7068;
  --teal-tint: #d9efe8;
  --bun: #f2a33a;
  --bun-tint: #fbe6c4;
  --lantern: #e0503a;
  --lantern-ink: #b8392a;
  --on-dark: #fff6e6;
  --night: #24305a;
  --night-2: #3a3f72;
  --dusk: #c8664a;
  --focus: #0e7068;
  --stitch-stage: #d5eee4;
  --display: 'Lilita One', 'Arial Rounded MT Bold', ui-rounded, system-ui, sans-serif;
  --body: 'M PLUS Rounded 1c', ui-rounded, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --r-card: 28px;
  --r-pill: 999px;
  --gutter: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1d1813;
    --paper-2: #251e18;
    --card: #2a221c;
    --ink: #fbf1e0;
    --ink-soft: #c9b8a6;
    --line: #3d322a;
    --outline: #0e0a07;
    --card-edge: #4b3c30;
    --grain: rgba(255, 240, 220, 0.03);
    --link: #5fd0c4;
    --link-hover: #8be0d6;
    --teal-tint: #173a36;
    --bun-tint: #3a2a14;
    --lantern-ink: #ff8a73;
    --night: #1b2246;
    --night-2: #2c3166;
    --dusk: #8f4636;
    --focus: #5fd0c4;
    --stitch-stage: #183a33;
  }
}
:root[data-theme="dark"] {
  --paper: #1d1813;
  --paper-2: #251e18;
  --card: #2a221c;
  --ink: #fbf1e0;
  --ink-soft: #c9b8a6;
  --line: #3d322a;
  --outline: #0e0a07;
  --card-edge: #4b3c30;
  --grain: rgba(255, 240, 220, 0.03);
  --link: #5fd0c4;
  --link-hover: #8be0d6;
  --teal-tint: #173a36;
  --bun-tint: #3a2a14;
  --lantern-ink: #ff8a73;
  --night: #1b2246;
  --night-2: #2c3166;
  --dusk: #8f4636;
  --focus: #5fd0c4;
  --stitch-stage: #183a33;
}

/* -------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  background-image: radial-gradient(var(--grain) 1px, transparent 1.4px);
  background-size: 22px 22px;
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
strong, b { font-weight: 800; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--bun); color: #2e1d14; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: 720px; }
@media (min-width: 720px) { :root { --gutter: 28px; } }

.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 10;
  background: var(--card); color: var(--ink); border: 2.5px solid var(--outline); border-radius: 12px;
  padding: 10px 16px; font-weight: 800; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------- typography */
.display { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; line-height: 1.1; }
.section-h {
  font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; line-height: 1.1;
  font-size: clamp(30px, 6.4vw, 44px);
  margin-bottom: 8px;
}
.section-sub { color: var(--ink-soft); font-size: 17px; max-width: 34em; margin-bottom: 28px; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 10px;
}

/* ------------------------------------------------------------------- buttons
   Sticker buttons: a fat outline and a solid drop that the button presses into. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 11px 22px;
  border: 2.5px solid var(--outline); border-radius: var(--r-pill);
  box-shadow: 0 4px 0 var(--outline);
  background: var(--bun); color: #2e1d14;
  font: 800 16px/1.15 var(--body); text-decoration: none; text-align: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.btn:hover { color: #2e1d14; background: #f6b14f; transform: translateY(-1px); box-shadow: 0 5px 0 var(--outline); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--outline); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--teal { background: var(--teal-btn); color: #fff; }
.btn--teal:hover { background: #0b5f59; color: #fff; }
.btn--plain { background: var(--card); color: var(--ink); }
.btn--plain:hover { background: var(--paper-2); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn:active { transition: none; transform: none; } }

/* status pills */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 10px; border-radius: var(--r-pill);
  font-weight: 800; font-size: 13.5px; line-height: 1.3;
  background: var(--teal-tint); color: var(--link);
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.pill--soon { background: var(--bun-tint); color: var(--ink); }
.pill--soon::before { background: var(--lantern); box-shadow: 0 0 0 3px rgba(224, 80, 58, 0.22); }

/* ------------------------------------------------------------------ top bar */
.topbar { padding: 14px 0; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar-home { display: inline-flex; flex: none; border-radius: 12px; }
.topbar-home img { display: block; width: 150px; height: 50px; }
.topbar-nav { display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.topbar-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill);
  font-weight: 800; font-size: 15px; color: var(--ink); text-decoration: none;
}
.topbar-nav a:hover { background: var(--paper-2); color: var(--ink); }
.topbar-nav a[aria-current="page"] { background: var(--card); box-shadow: inset 0 0 0 2px var(--line); }
/* Phones: the four page links get their own row under the mark. */
@media (max-width: 559px) {
  .topbar { padding: 10px 0 6px; }
  .topbar .wrap { flex-wrap: wrap; row-gap: 4px; }
  .topbar-nav { flex: 1 1 100%; justify-content: flex-start; margin-left: -12px; }
}
@media (max-width: 380px) {
  .topbar-nav { margin-left: -10px; }
  .topbar-nav a { padding: 0 10px; font-size: 15px; }
}

/* ------------------------------------------------------------------- footer */
.site-footer {
  margin-top: 96px; padding: 44px 0 56px;
  border-top: 2px dashed var(--line);
  color: var(--ink-soft); font-size: 15.5px;
}
.footer-grid { display: grid; gap: 28px 20px; grid-template-columns: 1fr 1fr; }
.footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
.footer-brand p { margin: 0; max-width: 22em; }
.footer-brand .footer-name {
  font-family: var(--display); font-weight: 400; font-size: 27px; line-height: 1.1; letter-spacing: 0.01em;
  color: var(--ink); margin: 0 0 8px;
}
.footer-name span { color: var(--link); }
.site-footer h2 {
  font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 8px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 2px 0; }
.site-footer a { color: var(--ink); font-weight: 700; text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--link); text-decoration: underline; }
.footer-legal { margin-top: 34px; font-size: 14px; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: auto; }
}

/* =============================================================== HOME page */
.hero { position: relative; padding: 64px 0 40px; text-align: center; }
.hero-mark { margin: 0 auto; width: min(580px, 92%); position: relative; }
.hero-mark img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; }
.hero-line {
  margin: 22px auto 0; max-width: 20em;
  font-weight: 800; font-size: clamp(21px, 5.2vw, 28px); line-height: 1.3; color: var(--ink);
  text-wrap: balance;
}
.hero-line .care { position: relative; white-space: nowrap; }
.hero-line .care::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -8px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c18-6 34-6 52-2s36 5 64-3' fill='none' stroke='%23f2a33a' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero-sub { margin: 18px auto 0; max-width: 30em; color: var(--ink-soft); }
.spark { position: absolute; width: 26px; height: 26px; pointer-events: none; }
.spark path { stroke: var(--outline); stroke-width: 1.6; stroke-linejoin: round; }
.spark--1 { left: -4%; top: 2%; width: 22px; height: 22px; }
.spark--1 path { fill: var(--bun); }
.spark--2 { right: -3%; top: -10%; }
.spark--2 path { fill: var(--teal); }
.spark--3 { left: 15%; bottom: 3%; width: 18px; height: 18px; }
.spark--3 path { fill: var(--lantern); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .spark path { stroke: #fffaf0; } }
:root[data-theme="dark"] .spark path { stroke: #fffaf0; }
@media (min-width: 720px) { .hero { padding: 104px 0 56px; } }

.lineup { padding-top: 40px; }
.lineup-head { text-align: center; margin-bottom: 30px; }
.lineup-head .section-sub { margin-left: auto; margin-right: auto; }
.cards { display: grid; gap: 28px; }
@media (min-width: 900px) { .cards { grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; } }

.app-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card);
  border: 2.5px solid var(--card-edge); border-radius: var(--r-card);
  box-shadow: 0 7px 0 var(--outline);
}
.app-stage {
  position: relative; height: 216px; display: grid; place-items: center; overflow: hidden;
  border-bottom: 2.5px solid var(--card-edge);
}
.app-stage--stitch { background: var(--stitch-stage); }
.app-stage--stitch::before {
  /* a running stitch, the app's own motif */
  content: ""; position: absolute; inset: auto 0 34px 0; height: 0;
  border-top: 3px dashed rgba(31, 143, 122, 0.35);
}
.app-icon {
  position: relative; width: 132px; height: 132px; border-radius: 30px;
  border: 2.5px solid var(--outline); box-shadow: 0 6px 0 var(--outline); background: #fbf8f4;
}
.app-stage--night {
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 62%, var(--dusk) 100%);
}
.app-stage--night .lanterns { position: absolute; top: -6px; left: 50%; width: 360px; max-width: none; transform: translateX(-50%); }
.app-stage--night .skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; opacity: 0.9; background: url(/lulus/img/skyline-wheel.svg) center bottom / auto 100% no-repeat, url(/lulus/img/skyline.svg) center bottom / auto 100% repeat-x; }
.app-stage--night .moon { position: absolute; right: 9%; top: 58px; width: 34px; height: 34px; }
@media (max-width: 420px) { .app-stage--night .moon { display: none; } }
.app-stage--night .logo { position: relative; width: min(330px, 84%); margin-top: 34px; }
.app-body { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 24px 22px 26px; flex: 1; }
.app-body h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.15; letter-spacing: 0.01em; margin: 14px 0 10px; }
.app-body p { color: var(--ink-soft); margin-bottom: 22px; }
.app-actions { display: flex; flex-wrap: wrap; gap: 12px 12px; margin-top: auto; }
@media (max-width: 420px) { .app-actions .btn { width: 100%; } }
@media (min-width: 720px) { .app-body { padding: 28px 30px 32px; } .app-stage { height: 240px; } }

.hello { margin-top: 72px; text-align: center; }
.hello p { color: var(--ink-soft); max-width: 30em; margin: 0 auto; }
.hello a { font-weight: 800; }

/* ============================================================ LuLu's page */
.lulus-hero {
  position: relative; overflow: hidden; color: var(--on-dark); text-align: center;
  background: linear-gradient(180deg, var(--night) 0%, var(--night) 30%, var(--night-2) 70%, var(--dusk) 100%);
  padding: 0 0 0;
}
.lulus-hero .awning { display: block; width: 100%; height: 48px; position: relative; z-index: 2; }
.lulus-hero .lanterns {
  position: absolute; top: 34px; left: 50%; transform: translateX(-50%);
  width: 520px; max-width: none; z-index: 1;
}
.lulus-hero .moon { position: absolute; top: 150px; right: max(6%, calc(50% - 500px)); width: 46px; height: 46px; }
@media (max-width: 559px) { .lulus-hero .moon { display: none; } }  /* phones: the lanterns fill the sky */
.lulus-hero .stars { position: absolute; inset: 0; pointer-events: none; }
.lulus-hero-inner { position: relative; z-index: 2; padding: 120px var(--gutter) 0; }
.lulus-hero .logo { display: block; width: min(560px, 100%); margin: 0 auto; aspect-ratio: 5 / 2; }
.lulus-hero h1 { margin: 0; line-height: 0; }
.lulus-tagline {
  font-family: var(--display); font-weight: 400; letter-spacing: 0.01em;
  font-size: clamp(23px, 5.6vw, 36px); line-height: 1.15; margin: 8px 0 12px; text-wrap: balance;
}
.lulus-hero .pitch { max-width: 30em; margin: 0 auto 26px; color: #f3e6d4; font-size: 17.5px; }
.soon-badge, .closing .soon-badge {
  display: inline-flex; align-items: center; gap: 12px; text-align: left;
  padding: 10px 20px 10px 12px; border-radius: 18px;
  background: #fffaf0; color: #2e1d14;
  border: 2.5px solid #2e1d14; box-shadow: 0 5px 0 #120c08;
}
.soon-badge .ic { width: 46px; height: 46px; flex: none; margin: -4px 0 -2px; }
.soon-badge small { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #6b5446; }
.soon-badge span { display: block; font-family: var(--display); font-size: 21px; line-height: 1.1; letter-spacing: 0.01em; }
.lulus-hero .skyline { height: 96px; margin-top: 40px; position: relative; z-index: 1; background: url(/lulus/img/skyline-wheel.svg) center bottom / auto 100% no-repeat, url(/lulus/img/skyline.svg) center bottom / auto 100% repeat-x; }
.lulus-hero .ground { height: 20px; background: #6a3d2a; border-top: 3px solid #3a2418; position: relative; z-index: 2; }
@media (min-width: 720px) {
  .lulus-hero .awning { height: 58px; }
  .lulus-hero .lanterns { width: 700px; top: 26px; }
  .lulus-hero-inner { padding-top: 150px; }
  .lulus-hero .logo { width: min(520px, 100%); }
  .lulus-hero .skyline { height: 128px; margin-top: 8px; }
}

.lulus-topbar { background: var(--night); }
.lulus-topbar .topbar-nav a { color: var(--on-dark); }
.lulus-topbar .topbar-nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.lulus-topbar .topbar-nav a[aria-current="page"] {
  background: none; box-shadow: none; color: #fff;
  text-decoration: underline; text-decoration-color: var(--bun); text-decoration-thickness: 3px; text-underline-offset: 7px;
}
.lulus-topbar :focus-visible { outline-color: var(--bun); }

/* screenshots */
.shots { padding-top: 72px; }
.shots-head { text-align: center; }
.shots-head .section-sub { margin-left: auto; margin-right: auto; }
.shot-row {
  list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter) 22px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(66vw, 250px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  overscroll-behavior-x: contain;
}
.shot-row li { scroll-snap-align: start; }
.shot-row figure { margin: 0; }
.shot-row img {
  display: block; width: 100%; height: auto; aspect-ratio: 600 / 1258;
  border-radius: 26px; border: 2.5px solid var(--card-edge); box-shadow: 0 7px 0 var(--outline);
  background: var(--paper-2);
}
.shot-row figcaption { margin-top: 14px; font-weight: 800; font-size: 15px; line-height: 1.4; text-align: center; color: var(--ink-soft); text-wrap: balance; }
@media (min-width: 1000px) {
  .shot-row { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 8px 0 22px; gap: 28px; }
  .shot-row li:nth-child(even) { transform: translateY(26px); }
}

/* stations */
.stations { padding-top: 88px; }
.stations-grid { display: grid; gap: 28px; }
@media (min-width: 940px) { .stations-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; } .stations-intro { position: sticky; top: 32px; } }
.stations-intro p { color: var(--ink-soft); }
.stations-intro .lulu { width: 132px; height: 132px; display: block; margin: 8px 0 6px -8px; }
.menu-card {
  background: var(--card); border: 2.5px solid var(--card-edge); border-radius: var(--r-card);
  box-shadow: 0 7px 0 var(--outline); padding: 10px 20px; margin: 0; list-style: none;
}
.menu-card li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 16px 0; }
.menu-card li + li { border-top: 2px dashed var(--line); }
.menu-card img { width: 64px; height: 64px; }
.menu-card h3 { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 0.01em; line-height: 1.2; margin: 0 0 2px; }
.menu-card p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
@media (min-width: 720px) { .menu-card { padding: 12px 30px; } .menu-card li { grid-template-columns: 76px 1fr; gap: 20px; } .menu-card img { width: 76px; height: 76px; } }

/* fair */
.fair { padding-top: 88px; }
.fair-head { text-align: center; }
.fair-head .section-sub { margin-left: auto; margin-right: auto; }
.fair-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 640px) { .fair-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
@media (min-width: 1040px) { .fair-grid { grid-template-columns: repeat(4, 1fr); } }
.fair-grid li {
  background: var(--card); border: 2.5px solid var(--card-edge); border-radius: 24px; box-shadow: 0 6px 0 var(--outline);
  padding: 22px 22px 20px;
}
.fair-ic {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 14px;
  border: 2.5px solid var(--outline); color: #2e1d14;
}
.fair-ic svg { width: 26px; height: 26px; }
.fair-ic--teal { background: #7fd9cf; }
.fair-ic--bun { background: var(--bun); }
.fair-ic--red { background: #f59a85; }
.fair-ic--sky { background: #a9dbf3; }
.fair-grid h3 { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 0.01em; line-height: 1.2; margin: 0 0 6px; }
.fair-grid p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* closing */
.closing { padding-top: 96px; text-align: center; }
.closing img { width: 150px; height: 150px; display: block; margin: 0 auto 6px; }
.closing p { color: var(--ink-soft); max-width: 30em; margin: 0 auto 24px; }
.closing .soon-badge { margin-bottom: 22px; }
.closing .made { margin-top: 18px; font-weight: 700; }

/* ===================================================== text / legal pages */
.doc-head { padding: 28px 0 20px; }
.doc-head .crumbs { font-size: 15px; font-weight: 700; color: var(--ink-soft); margin: 0 0 18px; }
.doc-head .crumbs a { color: var(--ink-soft); }
.doc-head .crumbs a:hover { color: var(--link); }
.doc-head h1 { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; font-size: clamp(34px, 8vw, 48px); line-height: 1.08; margin: 0 0 10px; }
.doc-head .meta { color: var(--ink-soft); font-size: 15px; margin: 0; }
.doc-head .lulu-mini { width: 96px; height: 96px; display: block; margin: 0 0 4px -6px; }
.doc { padding-bottom: 8px; }
.doc h2 { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; font-size: 25px; line-height: 1.2; margin: 44px 0 10px; scroll-margin-top: 20px; }
.doc h3 { font-size: 17px; font-weight: 800; margin: 24px 0 6px; }
.doc ul { padding-left: 22px; margin: 0 0 1em; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--teal); }
.doc .summary {
  background: var(--card); border: 2.5px solid var(--card-edge); border-radius: 22px; box-shadow: 0 5px 0 var(--outline);
  padding: 20px 22px 6px; margin: 26px 0 8px;
}
.doc .summary h2 { margin-top: 0; font-size: 21px; }
.doc .summary ul { list-style: none; padding: 0; }
.doc .summary li { position: relative; padding-left: 30px; }
.doc .summary li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2312857c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.doc .toc { font-size: 15.5px; margin: 26px 0 0; padding: 16px 20px; border-radius: 18px; background: var(--paper-2); }
.doc .toc h2 { font-family: var(--body); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 6px; }
.doc .toc ol { margin: 0; padding-left: 20px; columns: 1; }
.doc .toc li { margin: 3px 0; }
@media (min-width: 640px) { .doc .toc ol { columns: 2; column-gap: 32px; } }
.doc table { border-collapse: collapse; width: 100%; font-size: 15.5px; margin: 0 0 1em; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 2px dashed var(--line); }
.doc th { font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
/* Phones: each row becomes a small card, every cell labelled, so no column is ever off-screen.
   The roles in the markup keep the table semantics once display changes. */
@media (max-width: 599px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .doc tr { background: var(--card); border: 2px solid var(--line); border-radius: 18px; padding: 12px 16px 10px; margin: 0 0 12px; }
  .doc td { border: 0; padding: 3px 0 6px; }
  .doc td:first-child { font-size: 17px; padding-bottom: 4px; }
  .doc td[data-label]::before {
    content: attr(data-label); display: block;
    font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
  }
}
.doc .note { color: var(--ink-soft); font-size: 15.5px; }

/* FAQ */
.doc .faq { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.faq > li {
  min-width: 0;
  background: var(--card); border: 2.5px solid var(--card-edge); border-radius: 22px; box-shadow: 0 5px 0 var(--outline);
  padding: 20px 22px 6px;
}
.faq h2 { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 0.01em; line-height: 1.25; margin: 0 0 8px; }
.faq p, .faq ol, .faq ul { color: var(--ink-soft); }
.faq ol, .faq ul { padding-left: 22px; }
.path { font-weight: 800; color: var(--ink); }
.contact-card {
  margin: 30px 0 24px; display: grid; gap: 4px; justify-items: center; text-align: center;
  background: var(--teal-tint); border-radius: 24px; padding: 26px 22px 24px;
}
.contact-card img { width: 104px; height: 104px; }
.contact-card h2 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 0; }
.contact-card p { margin: 0 0 14px; color: var(--ink-soft); max-width: 28em; }
.contact-card .btn { margin-bottom: 6px; }

/* 404 */
.lost { text-align: center; padding: 56px 0 0; }
.lost img { width: 168px; height: 168px; display: block; margin: 0 auto; }
.lost h1 { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; font-size: clamp(34px, 8vw, 50px); line-height: 1.1; margin: 8px 0 12px; }
.lost p { color: var(--ink-soft); max-width: 26em; margin: 0 auto 26px; }
.lost .app-actions { justify-content: center; }
