/* ============================================================
   Ghim — landing page styles
   Lemon-yellow, warm-white, Apple-native, emoji-forward.
   ============================================================ */

:root {
  --lemon: #FFE01B;
  --lemon-deep: #F5C400;
  --lemon-soft: #FFF3B8;
  --lemon-faint: #FFFAE0;
  --paper: #FFFDF6;
  --sunken: #F6F1E4;
  --ink: #17150F;
  --ink-70: rgba(23, 21, 15, 0.70);
  --ink-55: rgba(23, 21, 15, 0.55);
  --ink-35: rgba(23, 21, 15, 0.35);
  --hairline: rgba(23, 21, 15, 0.09);
  --card-shadow: 0 2px 6px rgba(23, 21, 15, 0.04), 0 18px 44px rgba(23, 21, 15, 0.08);
  --card-shadow-lg: 0 6px 16px rgba(23, 21, 15, 0.07), 0 30px 70px rgba(23, 21, 15, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-pill: 999px;
  --r-card: 20px;
  --r-tile: 16px;
  --r-sheet: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--lemon); color: var(--ink); }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 17px/1 var(--font);
  padding: 16px 28px;
  border-radius: var(--r-pill);
  text-decoration: none;
  border: none; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--lemon); color: var(--ink);
  box-shadow: 0 2px 0 rgba(23,21,15,0.08), 0 12px 28px rgba(245, 196, 0, 0.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 0 rgba(23,21,15,0.08), 0 18px 38px rgba(245, 196, 0, 0.5); }
.btn-primary:active { transform: translateY(1px); background: var(--lemon-deep); box-shadow: 0 1px 0 rgba(23,21,15,0.1); }
.btn-secondary {
  background: #fff; color: var(--ink);
  border: 1px solid var(--hairline);
  box-shadow: 0 8px 20px rgba(23,21,15,0.06);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23,21,15,0.1); }
.btn-ink {
  background: var(--ink); color: var(--lemon);
  box-shadow: 0 14px 34px rgba(23,21,15,0.35);
}
.btn-ink:hover { transform: translateY(-2px) scale(1.02); }
.btn-lg { font-size: 19px; padding: 19px 36px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.nav.scrolled {
  background: rgba(255, 253, 246, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 21px; letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 8px rgba(23,21,15,0.14); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  font-size: 15px; font-weight: 600; color: var(--ink-70);
  text-decoration: none; transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 11px 20px; font-size: 15px; }
@media (max-width: 760px) { .nav-links { display: none; } .nav-inner { justify-content: space-between; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 60px;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: visible;
}
.hero-bg {
  position: absolute; inset: -20% -10%;
  z-index: -2;
  background:
    radial-gradient(48% 42% at 78% 18%, rgba(255, 224, 27, 0.34), transparent 70%),
    radial-gradient(40% 36% at 8% 78%, rgba(255, 224, 27, 0.20), transparent 70%),
    var(--paper);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 40px; align-items: center; width: 100%;
}
.hero-copy h1 {
  font-size: clamp(44px, 6.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 22px;
}
.hl {
  position: relative; white-space: nowrap; display: inline-block;
}
.hl::before {
  content: ""; position: absolute; z-index: -1;
  left: -0.08em; right: -0.08em; bottom: 0.02em; height: 0.48em;
  background: var(--lemon);
  border-radius: 8px;
  transform: rotate(-1.2deg);
}
.hero-copy .sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink-70);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.trust-line {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink-55);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--hairline);
  padding: 9px 16px; border-radius: var(--r-pill);
}
.platform-note { margin-top: 18px; font-size: 13px; color: var(--ink-35); font-weight: 500; }

/* hero stage: phone + floating pins */
.hero-stage { position: relative; height: 640px; }
.parallax { will-change: transform; }

.float-pin {
  position: absolute; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  text-decoration: none;
  filter: drop-shadow(0 12px 20px rgba(23,21,15,0.16));
}
.float-pin .bub {
  width: 58px; height: 58px; border-radius: 18px;
  background: #fff; border: 1px solid var(--hairline);
  display: grid; place-items: center;
  font-size: 30px; position: relative;
}
.float-pin .bub::after {
  content: ""; position: absolute; bottom: -7px; left: 50%;
  width: 14px; height: 14px; background: #fff;
  border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  transform: translateX(-50%) rotate(45deg);
  border-bottom-right-radius: 4px;
}
.float-pin .tag {
  margin-top: 6px;
  font-size: 12px; font-weight: 700;
  background: var(--ink); color: #fff;
  padding: 5px 11px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.float-pin.lemon .bub { background: var(--lemon); border-color: rgba(23,21,15,0.12); }
.float-pin.sm .bub { width: 46px; height: 46px; font-size: 24px; border-radius: 14px; }

/* screenshot card that feeds the phone */
.shot-card {
  position: absolute; z-index: 3;
  width: 200px;
  background: #fff; border-radius: 18px;
  border: 1px solid var(--hairline);
  box-shadow: var(--card-shadow-lg);
  overflow: hidden;
  transform: rotate(-7deg);
}
.shot-card .thumb {
  height: 128px;
  background:
    radial-gradient(80% 90% at 30% 20%, #FF9A62, transparent 60%),
    radial-gradient(90% 80% at 80% 80%, #C0532F, transparent 65%),
    linear-gradient(160deg, #E86A3E, #9C3B1E);
  position: relative;
}
.shot-card .thumb::after {
  content: "▶"; position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.92); font-size: 26px;
}
.shot-card .cap { padding: 10px 12px 12px; font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.shot-card .cap span { display: block; color: var(--ink-55); font-weight: 500; margin-top: 3px; font-size: 11.5px; }
/* phone mockup */
.phone {
  position: absolute; right: 6%; top: 30px; z-index: 3;
  width: 310px; height: 620px;
  background: var(--ink);
  border-radius: 52px;
  padding: 11px;
  box-shadow: 0 40px 90px rgba(23,21,15,0.3), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 42px; overflow: hidden;
  background: #F3EEDF;
}
.phone-island {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 26px; background: var(--ink); border-radius: var(--r-pill);
  z-index: 10;
}
.phone-status {
  position: absolute; top: 16px; left: 20px; right: 18px; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--ink);
}
.status-time { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.status-icons { display: flex; align-items: center; gap: 4px; }
.status-icons svg { display: block; }
.mini-map { position: absolute; inset: 0; }
.mini-map svg { width: 100%; height: 100%; display: block; }
.map-pin {
  position: absolute; z-index: 5;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: #fff; border-radius: 12px;
  border: 1px solid var(--hairline);
  box-shadow: 0 6px 14px rgba(23,21,15,0.18);
  font-size: 21px;
}
.map-pin::after {
  content: ""; position: absolute; bottom: -5px;
  width: 10px; height: 10px; background: #fff;
  border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  transform: rotate(45deg);
  border-bottom-right-radius: 3px;
}
.map-pin.hot { background: var(--lemon); border-color: rgba(23,21,15,0.14); }
.map-pin.hot::after { background: var(--lemon); }
.map-pin.pop { animation: pop-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-delay: var(--d, 0s); }
@keyframes pop-in {
  from { transform: scale(0) translateY(10px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

/* labeled map pin: bubble + name chip, matching the real app's map markers */
.map-pin.labeled {
  width: auto; height: auto; background: none; border: none; box-shadow: none;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: inherit;
}
.map-pin.labeled::after { display: none; }
.map-pin.labeled .pin-bubble {
  width: 38px; height: 38px; border-radius: 11px;
  background: #fff; border: 1px solid var(--hairline);
  display: grid; place-items: center; font-size: 19px;
  box-shadow: 0 6px 14px rgba(23,21,15,0.18);
  position: relative;
}
.map-pin.labeled .pin-bubble::after {
  content: ""; position: absolute; bottom: -5px; left: 50%;
  width: 9px; height: 9px; background: #fff;
  border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  transform: translateX(-50%) rotate(45deg);
  border-bottom-right-radius: 3px;
}
.map-pin.labeled.hot .pin-bubble { background: var(--lemon); border-color: rgba(23,21,15,0.14); }
.map-pin.labeled.hot .pin-bubble::after { background: var(--lemon); }
.map-pin.labeled .pin-name {
  background: #fff; border: 1px solid var(--hairline);
  font-size: 10.5px; font-weight: 800; color: var(--ink);
  padding: 5px 10px; border-radius: var(--r-pill);
  white-space: nowrap; max-width: 118px; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 4px 10px rgba(23,21,15,0.12);
}

.map-chips {
  position: absolute; left: 0; right: 0; bottom: 78px; z-index: 6;
  display: flex; gap: 7px; padding: 0 14px;
  overflow: hidden;
}
.map-chips span {
  flex-shrink: 0;
  background: rgba(255,255,255,0.92); border: 1px solid var(--hairline);
  font-size: 11.5px; font-weight: 700;
  padding: 7px 12px; border-radius: var(--r-pill);
  box-shadow: 0 4px 12px rgba(23,21,15,0.1);
  backdrop-filter: blur(6px);
}
.map-chips span.on { background: var(--lemon); border-color: rgba(23,21,15,0.14); }

/* floating bottom tab bar, matching the app's Scan / Saved / Map / Profile nav */
.phone-tabbar {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 8;
  display: flex; justify-content: space-around; align-items: center;
  padding: 9px 4px;
  background: linear-gradient(135deg, rgba(255,250,224,0.9), rgba(255,255,255,0.75));
  border-radius: var(--r-pill);
  box-shadow: 0 10px 26px rgba(23,21,15,0.16), inset 0 0 0 1px rgba(255,255,255,0.6);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: rgba(23,21,15,0.42); font-size: 9.5px; font-weight: 700;
}
.tab svg { display: block; }
.tab.active { color: var(--lemon-deep); }

/* giant outlined watermark */
.watermark {
  position: absolute; z-index: 0; top: 4%; left: -2%;
  font-size: clamp(140px, 24vw, 300px);
  font-weight: 900; letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(245, 196, 0, 0.25);
  pointer-events: none; user-select: none;
  white-space: nowrap;
  will-change: transform;
}

@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: 120px; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .hero-stage { height: 560px; transform: scale(0.92); transform-origin: top center; margin-top: 20px; }
  .phone { right: 50%; transform: translateX(50%); }
  .watermark { display: none; }
}

/* ---------- category marquee ---------- */
.marquee-band {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: #fff;
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.marquee { display: flex; width: max-content; gap: 12px; animation: marquee 34s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.cat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--hairline);
  background: var(--paper);
  border-radius: var(--r-pill);
  padding: 9px 18px;
  font-size: 15px; font-weight: 700;
  white-space: nowrap;
}
.cat-pill em { font-style: normal; font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------- section scaffolding ---------- */
section { position: relative; }
.section-pad { padding: 110px 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink);
  background: var(--lemon-soft);
  border: 1px solid rgba(245,196,0,0.45);
  padding: 7px 14px; border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.06; letter-spacing: -0.03em; font-weight: 800;
  max-width: 20ch;
}
.h2 + .lede { margin-top: 16px; }
.lede { font-size: 18px; color: var(--ink-70); max-width: 58ch; }
.center { text-align: center; }
.center .h2, .center .lede { margin-left: auto; margin-right: auto; }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- how it works ---------- */
.how { background: var(--sunken); overflow: hidden; }
.how-head { margin-bottom: 70px; }
.route-wrap { position: relative; }
.route {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 4px; transform: translateX(-50%);
  z-index: 0;
}
.route-line, .route-line-progress {
  position: absolute; top: 0; left: 0; right: 0;
  border-radius: 2px;
}
.route-line { bottom: 0; background-image: linear-gradient(var(--ink-35) 34%, transparent 34%); background-size: 4px 18px; opacity: 0.5; }
.route-line-progress { height: 0; background: var(--lemon-deep); box-shadow: 0 0 12px rgba(245,196,0,0.7); }
.route-pin {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -50%);
  font-size: 34px;
  filter: drop-shadow(0 8px 14px rgba(23,21,15,0.25));
  z-index: 2;
  will-change: top;
}
.steps { list-style: none; position: relative; z-index: 1; }
.step {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
  padding: 44px 0;
}
.step-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  box-shadow: var(--card-shadow);
  padding: 34px 36px;
  position: relative;
}
.step-num {
  position: absolute; top: -20px; left: 30px;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--lemon);
  display: grid; place-items: center;
  font-weight: 900; font-size: 19px;
  box-shadow: 0 8px 18px rgba(245,196,0,0.45);
  transform: rotate(-4deg);
}
.step-card h3 { font-size: 24px; letter-spacing: -0.02em; margin: 10px 0 10px; }
.step-card p { color: var(--ink-70); font-size: 16.5px; }
.step:nth-child(odd) .step-card { grid-column: 1; }
.step:nth-child(odd) .step-visual { grid-column: 2; }
.step:nth-child(even) .step-card { grid-column: 2; grid-row: 1; }
.step:nth-child(even) .step-visual { grid-column: 1; grid-row: 1; }
.step-visual { display: flex; justify-content: center; }
.step-visual .big-emoji {
  font-size: 110px;
  filter: drop-shadow(0 18px 26px rgba(23,21,15,0.18));
  transform: rotate(var(--tilt, -5deg));
}
@media (max-width: 860px) {
  .route { left: 22px; }
  .step, .step:nth-child(even) .step-card, .step:nth-child(even) .step-visual { grid-template-columns: 1fr; grid-column: 1; grid-row: auto; }
  .step { padding-left: 56px; gap: 24px; }
  .step-visual { display: none; }
}

/* ---------- features ---------- */
.features-grid {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  box-shadow: var(--card-shadow);
  padding: 0 0 26px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.feature:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--card-shadow-lg); }
.feature .band { height: 10px; background: var(--tint, var(--lemon)); }
.feature .inner { padding: 24px 26px 0; }
.feature .emoji-tile {
  width: 58px; height: 58px; border-radius: var(--r-tile);
  background: color-mix(in srgb, var(--tint, var(--lemon)) 30%, #fff);
  border: 1px solid color-mix(in srgb, var(--tint, var(--lemon)) 55%, #fff);
  display: grid; place-items: center; font-size: 29px;
  margin-bottom: 18px;
}
.feature h3 { font-size: 20px; letter-spacing: -0.015em; margin-bottom: 8px; }
.feature p { font-size: 15.5px; color: var(--ink-70); }
@media (max-width: 960px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- use cases ---------- */
.usecases { overflow: hidden; }
.uc-grid {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  align-items: stretch;
}
.uc {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  box-shadow: var(--card-shadow);
  padding: 28px 24px;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.uc:hover { transform: rotate(0deg) translateY(-8px) scale(1.03); box-shadow: var(--card-shadow-lg); }
.uc .big { font-size: 46px; margin-bottom: 14px; display: block; }
.uc p { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }
.uc small { display: block; margin-top: 10px; color: var(--ink-55); font-weight: 500; font-size: 13.5px; }
@media (max-width: 960px) { .uc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .uc-grid { grid-template-columns: 1fr; } }

/* ---------- control band ---------- */
.control {
  background: var(--sunken);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.control-inner {
  display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center;
  max-width: 900px; margin: 0 auto; padding: 70px 24px;
}
.control .big-emoji { font-size: 72px; filter: drop-shadow(0 12px 18px rgba(23,21,15,0.15)); }
.control h2 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 10px; }
.control p { color: var(--ink-70); font-size: 16.5px; max-width: 62ch; }
@media (max-width: 640px) { .control-inner { grid-template-columns: 1fr; text-align: center; } .control .big-emoji { margin: 0 auto; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 56px auto 0; display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-tile);
  box-shadow: 0 4px 14px rgba(23,21,15,0.04);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: var(--card-shadow); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .tw {
  flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 10px;
  background: var(--lemon-faint); border: 1px solid rgba(245,196,0,0.4);
  display: grid; place-items: center;
  font-size: 16px; font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease;
}
.faq-item[open] summary .tw { transform: rotate(45deg); background: var(--lemon); }
.faq-item .a { padding: 0 24px 22px; color: var(--ink-70); font-size: 15.5px; max-width: 66ch; }

/* ---------- final CTA ---------- */
.finale {
  position: relative;
  background: var(--lemon);
  margin: 110px 18px 18px;
  border-radius: 48px;
  overflow: hidden;
  text-align: center;
  padding: 110px 24px;
}
.finale h2 {
  font-size: clamp(38px, 5.6vw, 68px);
  letter-spacing: -0.035em; line-height: 1.02; font-weight: 900;
  max-width: 16ch; margin: 0 auto 18px;
}
.finale p { font-size: 18px; color: rgba(23,21,15,0.75); font-weight: 500; margin-bottom: 36px; }
.finale .float-pin { z-index: 1; opacity: 0.95; }
.finale .float-pin .tag { background: rgba(23,21,15,0.88); }
.finale-content { position: relative; z-index: 2; }
@media (max-width: 860px) { .finale { border-radius: 32px; margin: 80px 10px 10px; padding: 80px 20px; } .finale .float-pin { display: none; } }

/* ---------- footer ---------- */
.footer { padding: 70px 0 46px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--hairline);
}
.footer .nav-logo { margin-bottom: 14px; }
.footer p { font-size: 14.5px; color: var(--ink-55); max-width: 34ch; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-35); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: 15px; font-weight: 600; color: var(--ink-70); text-decoration: none; }
.footer ul a:hover { color: var(--ink); }
.footer-meta {
  padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 13px; color: var(--ink-35);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- legal pages ---------- */
.legal-hero {
  background: var(--sunken);
  border-bottom: 1px solid var(--hairline);
  padding: 140px 0 56px;
}
.legal-hero h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.03em; }
.legal-hero .meta { margin-top: 12px; color: var(--ink-55); font-size: 15px; }
.legal-body { max-width: 780px; margin: 0 auto; padding: 56px 24px 90px; }
.legal-body h2 { font-size: 26px; letter-spacing: -0.02em; margin: 44px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 19px; margin: 28px 0 10px; }
.legal-body p, .legal-body li { color: var(--ink-70); font-size: 16px; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul, .legal-body ol { padding-left: 24px; margin-bottom: 16px; display: grid; gap: 8px; }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--ink); text-decoration-color: var(--lemon-deep); text-decoration-thickness: 2px; }
.legal-body table {
  width: 100%; border-collapse: collapse; margin: 18px 0 22px;
  font-size: 14.5px;
}
.legal-body th, .legal-body td {
  text-align: left; padding: 12px 14px;
  border: 1px solid var(--hairline); vertical-align: top;
  color: var(--ink-70);
}
.legal-body th { background: var(--sunken); color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.legal-body .table-scroll { overflow-x: auto; }
.draft-note {
  background: var(--lemon-faint);
  border: 1px solid rgba(245,196,0,0.5);
  border-radius: var(--r-tile);
  padding: 18px 22px;
  font-size: 15px; color: var(--ink-70);
  margin-bottom: 36px;
}
.placeholder {
  background: var(--lemon-soft);
  border-radius: 6px; padding: 1px 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em; white-space: nowrap;
  color: var(--ink);
}
