/* globsie.com
 *
 * One stylesheet for every page. The palette is the app's own ("Daylight":
 * white and graphite pages, violet for what you've done, orange for what's
 * next), the display face is the app's, and the small monospace is for the
 * things an atlas would print: coordinates, counts, labels.
 *
 * Built into web/assets/ with a content hash by scripts/build-web.mjs.
 */

@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-soft: #f6f5fb;
  --bg-sunk: #eeecf6;
  --card: #ffffff;
  --ink: #0e1016;
  --ink-2: #2d303a;
  --muted: #5d636f;
  --line: #e5e3ee;
  --violet: #603ef4;
  --violet-hover: #4e2fe0;
  --violet-soft: #eeeaff;
  --violet-top: #6a49fc;
  --violet-deep: #2a1a9e;
  --orange: #ff6f43;
  --orange-soft: #ffece4;
  --orange-ink: #b4421a;
  --heart: #e5484d;
  --good: #17845a;
  --on-dark: #ffffff;
  --on-violet: #ffffff;
  --shadow: 0 1px 2px rgba(14, 16, 22, 0.05), 0 18px 40px -18px rgba(42, 26, 158, 0.28);
  --shadow-lg: 0 2px 4px rgba(14, 16, 22, 0.04), 0 40px 80px -32px rgba(42, 26, 158, 0.35);
  --glow-0: rgba(106, 73, 252, 0.24);
  --glow-1: rgba(106, 73, 252, 0);
  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --maxw: 1160px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c10;
    --bg-soft: #111218;
    --bg-sunk: #181922;
    --card: #15161d;
    --ink: #f2f3f7;
    --ink-2: #d6d8e1;
    --muted: #a0a6b4;
    --line: #262833;
    --violet: #a794fc;
    --violet-hover: #bcadff;
    --violet-soft: #211b42;
    --orange: #ff8a63;
    --orange-soft: #2f1c15;
    --orange-ink: #ffac8e;
    --heart: #ff6369;
    --good: #4cc38a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 18px 40px -18px rgba(0, 0, 0, 0.8);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 40px 80px -32px rgba(0, 0, 0, 0.9);
    --on-violet: #140d38;
    --glow-0: rgba(140, 115, 255, 0.22);
    --glow-1: rgba(140, 115, 255, 0);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--violet); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--violet-hover); }
:focus-visible { outline: 2.5px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; }
strong, b { font-weight: 650; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap.narrow { max-width: 820px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--bg); }

/* ---------- type ---------- */
.eyebrow { font: 500 12.5px/1.4 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); }
.display { font-size: clamp(2.6rem, 6.2vw, 5.1rem); line-height: 0.98; font-weight: 800; letter-spacing: -0.035em; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; }
.h3 { font-size: 1.4rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-weight: 500; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.prose { max-width: 66ch; }
.prose p + p { margin-top: 1em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; padding-top: env(safe-area-inset-top, 0px); }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 22px/1 var(--f-display); letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 8px rgba(42, 26, 158, 0.25); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0 0 0 auto; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 15.5px; }
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--violet); background: var(--violet-soft); }
.nav-links a.btn { display: inline-flex; align-items: center; padding: 0 16px; color: var(--bg); }
.nav-links a.btn:hover { background: var(--ink-2); color: var(--bg); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 10px max(16px, env(safe-area-inset-left, 0px)) 18px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-header.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 17px; }
  .nav-cta { margin: 6px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--f-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease; }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { color: var(--bg); background: var(--ink-2); }
.btn-violet { background: var(--violet); color: #fff; }
.btn-violet:hover { background: var(--violet-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 22px 0 18px; border-radius: 16px; background: var(--ink); color: var(--bg); text-decoration: none; }
.store:hover { color: var(--bg); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: grid; gap: 3px; font: 650 17px/1.05 var(--f-body); }
.store small { font: 500 11.5px/1 var(--f-body); opacity: 0.75; letter-spacing: 0.02em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.text-link::after { content: "\2192"; transition: transform 0.15s; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section.soft { background: var(--bg-soft); }
.section.tight { padding-block: clamp(48px, 7vw, 80px); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split-copy { display: grid; gap: 18px; align-content: center; min-width: 0; }
.split-copy .lede { font-size: 1.15rem; }
.split-art { min-width: 0; display: grid; justify-items: center; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
}
.points { list-style: none; padding: 0; display: grid; gap: 12px; }
.points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); }
.points li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23603ef4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (prefers-color-scheme: dark) {
  .points li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a794fc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-copy .lede { max-width: 52ch; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; color: var(--muted); font-size: 15px; font-weight: 500; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero-art { position: relative; min-width: 0; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.hero-globe { width: 100%; height: 100%; overflow: visible; }
.hero-globe .hg-glow-0 { stop-color: var(--glow-0); }
.hero-globe .hg-glow-1 { stop-color: var(--glow-1); }
.hero-globe .hg-disc { fill: #ffffff; stroke: rgba(96, 62, 244, 0.18); stroke-width: 3px; }
@media (prefers-color-scheme: dark) { .hero-globe .hg-disc { stroke: none; } }
.hero-globe .hg-friend { stroke: var(--bg); stroke-width: 24px; paint-order: stroke; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 440px; order: -1; margin-bottom: -12px; }
}

.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.25; white-space: nowrap; animation: drift 7s ease-in-out infinite; }
.float b { display: block; font-weight: 650; color: var(--ink); }
.float small { display: block; color: var(--muted); font-size: 12px; }
.float img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; }
.float .num { font: 800 22px/1 var(--f-display); color: var(--violet); letter-spacing: -0.02em; padding: 0 2px 0 6px; }
.float .av { width: 36px; height: 36px; font-size: 15px; }
.float .heart { width: 18px; height: 18px; color: var(--heart); fill: var(--heart); margin-left: 2px; }
.f1 { left: -2%; top: 14%; }
.f2 { right: -4%; top: 47%; animation-delay: -2.3s; }
.f3 { left: 6%; bottom: 4%; animation-delay: -4.6s; }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 520px) {
  .float { font-size: 12px; padding: 7px 10px 7px 7px; gap: 7px; }
  .float img { width: 30px; height: 30px; }
  .float .num { font-size: 18px; }
  .float .av { width: 28px; height: 28px; font-size: 12px; }
  .f2 { display: none; }
}

/* ---------- facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.fact { padding: 26px 22px; display: grid; gap: 6px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact b { font: 800 clamp(2rem, 4vw, 2.8rem)/1 var(--f-display); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.fact span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- app UI pieces (drawn from the app's own design) ---------- */
.ui { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); font-family: var(--f-body); font-size: 14px; line-height: 1.4; color: var(--ink); overflow: hidden; }
.ui-pad { padding: 20px; display: grid; gap: 14px; }
.ui-title { font: 750 20px/1.2 var(--f-display); letter-spacing: -0.01em; }
.ui-sub { color: var(--muted); font-size: 13px; }
.ui-label { font: 500 11px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ui-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; background: var(--bg-sunk); color: var(--muted); font-size: 13.5px; }
.ui-search svg { width: 16px; height: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: var(--bg-sunk); font-size: 13px; font-weight: 550; color: var(--ink-2); }
.chip.on { background: var(--violet); color: var(--on-violet); }
.chip.on::after { content: "\2713"; font-size: 11px; font-weight: 700; }
.ui-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--line); font-weight: 600; font-size: 13.5px; }
.ui-btn { padding: 9px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 650; font-size: 13.5px; }
.ui-cover { position: relative; aspect-ratio: 16 / 10; }
.ui-cover img { width: 100%; height: 100%; object-fit: cover; }
.ui-badge { position: absolute; left: 14px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(8, 9, 14, 0.62); color: #fff; font: 600 12px/1 var(--f-body); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ui-meta { color: var(--muted); font-size: 13px; }
.ui-day { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.ui-date { font: 700 12px/1 var(--f-body); color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.ui-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ui-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who b { display: block; font-size: 14.5px; font-weight: 650; }
.who small { display: block; color: var(--muted); font-size: 12px; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 14px/1 var(--f-body); flex: none; }
.av-elif { background: #db5f93; } .av-maya { background: #2b9a80; } .av-jonas { background: #4a76ec; } .av-can { background: #e0922a; }
.hbtn { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-sunk); display: grid; place-items: center; color: var(--heart); flex: none; }
.hbtn svg { width: 18px; height: 18px; fill: var(--heart); }
.feed-title { font: 750 19px/1.2 var(--f-display); letter-spacing: -0.01em; }
.feed-cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
.feed-text { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--bg-sunk); }
.seg span { text-align: center; padding: 8px 0; border-radius: 10px; font-weight: 600; font-size: 13.5px; color: var(--muted); }
.seg .on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.rows { display: grid; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.row small { display: block; color: var(--muted); font-size: 12px; }
.tick { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line); flex: none; display: grid; place-items: center; }
.tick.on { background: var(--violet); border-color: var(--violet); }
.tick.on::after { content: ""; width: 10px; height: 6px; border: 2.5px solid var(--on-violet); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.switch { width: 44px; height: 26px; border-radius: 13px; background: var(--bg-sunk); border: 1px solid var(--line); position: relative; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.switch.on { background: var(--violet); border-color: var(--violet); }
.switch.on::after { left: 20px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { padding: 14px 12px; border-radius: 16px; background: var(--bg-sunk); display: grid; gap: 4px; }
.tile b { font: 800 26px/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tile span { font-size: 12px; color: var(--muted); }
.tile.v { background: var(--violet); color: var(--on-violet); }
.tile.v b, .tile.v span { color: var(--on-violet); }
.bars { display: grid; grid-template-columns: repeat(9, 1fr); align-items: end; gap: 6px; height: 92px; }
.bars i { display: block; border-radius: 6px 6px 3px 3px; background: var(--violet-soft); }
.bars i.hi { background: var(--violet); }
.bar-years { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; text-align: center; font: 500 10px/1 var(--f-mono); color: var(--muted); }
.progress { height: 8px; border-radius: 4px; background: var(--bg-sunk); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--violet), var(--orange)); }
.medal { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-ink); flex: none; }
.medal svg { width: 20px; height: 20px; }
.stack { display: grid; gap: 14px; width: 100%; max-width: 420px; }
.stack .ui:nth-child(2) { margin-left: auto; width: 88%; }

/* ---------- map illustration ---------- */
.map-figure { width: 100%; max-width: 560px; display: grid; gap: 14px; justify-items: center; }
.map-figure img { width: 100%; aspect-ratio: 1; filter: drop-shadow(0 30px 50px rgba(42, 26, 158, 0.18)); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.legend .lv { background: #603ef4; } .legend .lw { background: #ff7a1f; } .legend .ll { background: #c6cdd9; }
.modes { display: flex; gap: 8px; flex-wrap: wrap; }
.modes span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.modes span:first-child { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- posters ---------- */
.fan { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1.25; margin-inline: auto; }
.fan figure { position: absolute; margin: 0; width: 42%; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--card); }
.fan figure img { width: 100%; }
.fan .p1 { left: 4%; top: 8%; transform: rotate(-7deg); }
.fan .p2 { left: 29%; top: 0; transform: rotate(1deg); z-index: 2; width: 44%; }
.fan .p3 { right: 4%; top: 9%; transform: rotate(7deg); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); align-items: start; }
.gallery figure { margin: 0; display: grid; gap: 12px; }
.gallery img { width: 100%; border-radius: 12px; box-shadow: var(--shadow); background: var(--card); }
.gallery figcaption { font-size: 14px; color: var(--muted); }
.gallery figcaption b { color: var(--ink); display: block; font-size: 15px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.005em; }
.card p { color: var(--muted); font-size: 15.5px; }
.icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon.o { background: var(--orange-soft); color: var(--orange-ink); }
.group-title { display: flex; align-items: baseline; gap: 14px; margin: 56px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.group-title:first-of-type { margin-top: 0; }
.group-title h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; }
.group-title .mono { margin-left: auto; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 500 13px/1 var(--f-mono); color: var(--violet); letter-spacing: 0.1em; }
.steps h3 { font-size: 1.1rem; font-weight: 700; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- compare lists ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.compare .card ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.compare li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.compare .yes li::before { content: "\2713"; color: var(--good); font-weight: 800; }
.compare .no li::before { content: "\2715"; color: var(--muted); font-weight: 700; }
@media (max-width: 720px) { .compare { grid-template-columns: minmax(0, 1fr); } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
table.plain { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
table.plain th, table.plain td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain thead th { font: 500 12px/1.2 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); }
table.plain tbody tr:last-child td, table.plain tbody tr:last-child th { border-bottom: 0; }
table.plain td.c { text-align: center; width: 160px; }
.y { color: var(--good); font-weight: 800; }
.n { color: var(--muted); }

/* ---------- privacy band ---------- */
.band { background: linear-gradient(180deg, #1b1250, #120c33); color: var(--on-dark); }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: #b8a8ff; }
.band .lede { color: rgba(255, 255, 255, 0.78); }
.band .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.band .card p { color: rgba(255, 255, 255, 0.74); }
.band .icon { background: rgba(167, 148, 252, 0.18); color: #c9bdff; }
.band a { color: #c9bdff; }
.band a:hover { color: #fff; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 4px; font: 650 1.08rem/1.4 var(--f-body); color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.2s; }
.qa[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.qa .a { padding: 0 4px 22px; color: var(--ink-2); display: grid; gap: 12px; max-width: 70ch; }
.qa .a ul { padding-left: 20px; display: grid; gap: 8px; }
.faq-group { display: grid; gap: 14px; margin-top: 48px; }
.faq-group:first-of-type { margin-top: 0; }
.faq-group h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; letter-spacing: -0.02em; }

/* ---------- help page ---------- */
.help-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 96px; display: grid; gap: 4px; font-size: 15px; }
.toc p { margin-bottom: 8px; }
.toc a { color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 10px; }
.toc a:hover { background: var(--bg-soft); color: var(--ink); }
@media (max-width: 900px) { .help-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; } .toc p { width: 100%; margin: 0; } .toc a { border: 1px solid var(--line); border-radius: 999px; } }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 26px; border-radius: 24px; background: var(--violet-soft); }
.contact h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.contact p { color: var(--ink-2); margin-top: 6px; }
.contact .email { font: 700 1.15rem/1.3 var(--f-body); }
@media (max-width: 680px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.note { border-left: 3px solid var(--violet); padding: 4px 0 4px 18px; color: var(--ink-2); }

/* ---------- legal ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal .toc { font-size: 14px; }
.legal-body { max-width: 72ch; min-width: 0; }
.legal-body h2 { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.015em; margin: 48px 0 12px; scroll-margin-top: 96px; }
.legal-body h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body p + p { margin-top: 14px; }
.legal-body ul { padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.legal-body .note { margin: 22px 0; }
.legal-body .note strong { color: var(--ink); }
.legal-body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15.5px; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); }
.legal-body th { width: 30%; font-weight: 650; color: var(--ink); }
.legal-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0 20px; }
.updated { font: 500 13px/1.4 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .legal { grid-template-columns: minmax(0, 1fr); } .legal .toc { position: static; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(48px, 8vw, 104px) clamp(32px, 5vw, 64px); }
.page-hero .wrap { display: grid; gap: 20px; }
.page-hero.center .wrap { justify-items: center; text-align: center; }
.page-hero.center .lede { margin-inline: auto; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 14.5px; background: var(--card); }
.jump a:hover { border-color: var(--violet); color: var(--violet); }

/* ---------- final CTA ---------- */
.get { text-align: center; display: grid; gap: 22px; justify-items: center; }
.get .h2 { max-width: 16ch; }
.get .lede { margin-inline: auto; }
.get-mark { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--shadow-lg); }

/* ---------- press ---------- */
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.swatch { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.swatch i { display: block; height: 84px; }
.swatch div { padding: 12px 14px; font-size: 14px; }
.swatch code { font: 500 12.5px var(--f-mono); color: var(--muted); }
@media (max-width: 720px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dl { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-decoration: none; color: var(--ink); }
.dl:hover { border-color: var(--violet); color: var(--ink); }
.dl img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.dl b { display: block; }
.dl small { color: var(--muted); font-size: 13.5px; }
blockquote.copy { margin: 0; padding: 20px 22px; border-radius: 18px; background: var(--bg-soft); color: var(--ink-2); }
dl.facts-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 28px; margin: 0; }
dl.facts-list dt { font: 500 12.5px/1.6 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
dl.facts-list dd { margin: 0; color: var(--ink-2); }

/* ---------- credits ---------- */
.credits { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.credits li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); font-size: 14.5px; }
.credits img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; }
.credits b { display: block; color: var(--ink); }
.credits span { color: var(--muted); }
@media (max-width: 720px) { .credits { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 404 ---------- */
.lost { text-align: center; display: grid; justify-items: center; gap: 18px; padding-block: clamp(48px, 8vw, 96px); }
.lost .hero-globe { width: min(360px, 80vw); height: auto; }
.invite .hero-globe { width: min(260px, 64vw); }
.invite-title { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 18ch; overflow-wrap: anywhere; }
.invite-help { max-width: 52ch; font-size: 15px; line-height: 1.55; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); background: var(--bg); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand p { color: var(--muted); font-size: 15px; max-width: 34ch; }
.foot h2 { font: 500 12px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--violet); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
