/* M IN — public website styles. Plain CSS, no build step. */

:root {
  color-scheme: light dark;
  --bg: #FFFFFF;
  --bg-2: #F7F7F8;
  --surface: #FFFFFF;
  --surface-2: #F7F7F8;
  --chip-bg: #F2F2F4;
  --text: #0E0E10;
  --text-2: #3F3F46;
  --muted: #6B6B73;
  --border: #ECECEE;
  --coral: #E94C41;
  --coral-ink: #FFFFFF;
  --coral-soft: rgba(233, 76, 65, 0.10);
  --coral-glow: rgba(233, 76, 65, 0.28);
  --page-glow: transparent;
  --shadow: 0 1px 2px rgba(16, 16, 20, 0.04), 0 8px 24px -12px rgba(16, 16, 20, 0.10);
  --radius-card: 24px;
  --radius-card-sm: 20px;
  --radius-pill: 999px;
  --max: 1160px;
  --gutter: max(20px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0E10;
    --bg-2: #131316;
    --surface: #17171A;
    --surface-2: #1C1B1F;
    --chip-bg: #1F1E22;
    --text: #F5F3EF;
    --text-2: #C9C6C0;
    --muted: #97948E;
    --border: rgba(255, 255, 255, 0.10);
    --coral: #F26A5B;
    --coral-ink: #0E0E10;
    --coral-soft: rgba(242, 106, 91, 0.16);
    --coral-glow: rgba(242, 106, 91, 0.30);
    --page-glow: rgba(242, 106, 91, 0.30);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--coral); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  margin: 0 0 0.4em;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 3.2vw + 1.45rem, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.65rem, 1.8vw + 1.15rem, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin: 0.3em 0; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; }

.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.lead { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem); color: var(--text-2); max-width: 48ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons, chips, badges ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; min-height: 48px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  background: var(--coral); color: var(--coral-ink);
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 24px -10px var(--coral-glow); }
.btn:active { transform: translateY(0); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface); box-shadow: var(--shadow); }
.btn-lg { padding: 18px 30px; font-size: 1.1rem; min-height: 58px; }
.btn-sm { padding: 10px 18px; min-height: 44px; font-size: 0.95rem; }
.btn-block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: var(--coral-soft); color: var(--coral);
  font-size: 0.875rem; font-weight: 650; letter-spacing: 0.01em; line-height: 1.2;
}
.chip-neutral { background: var(--chip-bg); color: var(--text-2); }
.chip-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.eyebrow {
  display: inline-block; margin-bottom: 14px;
  color: var(--coral); font-weight: 700; font-size: 0.875rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* Store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 14px; min-height: 56px;
  border-radius: var(--radius-pill);
  background: var(--text); color: var(--bg);
  font-weight: 600; line-height: 1.1; text-align: left;
  transition: transform .12s ease, opacity .2s ease;
}
.store:hover { text-decoration: none; transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store small { display: block; font-size: 0.875rem; font-weight: 500; opacity: 0.75; letter-spacing: 0.02em; }
.store span { font-size: 1.02rem; }
.store[aria-disabled="true"] { opacity: 0.7; cursor: default; pointer-events: none; }
.store[aria-disabled="true"] small { opacity: 1; color: var(--coral); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
@supports not (background: color-mix(in srgb, red, blue)) {
  .site-header { background: var(--bg); }
}
.site-header { padding-top: env(safe-area-inset-top, 0px); }
.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }
.brand:hover { text-decoration: none; }
/* Logo lockup. One set of proportions for header, footer and the splash, all in em, so the
   splash can scale onto the header exactly. The mark's glyph is 61/108 of its box, which makes
   it the same height as the wordmark's capitals; the wordmark box is trimmed to cap height so
   both centre on one line. */
.lockup { display: inline-flex; align-items: center; gap: 0.39em; line-height: 1; }
.lockup .mark { width: 1.28em; height: 1.28em; flex: none; color: inherit; }
.wordmark { display: inline-flex; font-weight: 600; letter-spacing: 0.02em; font-size: 1em; line-height: 1; color: inherit; }
.wordmark b { font-weight: 600; display: inline-block; text-box: trim-both cap alphabetic; }
.wordmark b:nth-child(1) { padding-right: 0.47em; }
.wordmark b:nth-child(2) { padding-right: 0.19em; }
/* Browsers without text-box: nudge so cap centre sits on the mark's centre. */
@supports not (text-box: trim-both cap alphabetic) { .wordmark { position: relative; top: -0.011em; } }
/* The glyph has 23.5/108 of empty box on its left; pull it back so the mark's visible edge
   lines up with the page's text column. */
.brand .lockup .mark, .footer-brand .lockup .mark { margin-left: -0.2785em; }
/* Wordmark cap height = nav text cap height x 1.6 */
.site-header .lockup { font-size: calc(0.97rem * 1.6); }
.footer-brand .lockup { font-size: 18px; }
@media (max-width: 760px) { .site-header .lockup { font-size: calc(0.95rem * 1.6); } }
.nav-toggle {
  display: none;
  border: 1.5px solid var(--border); background: transparent; color: var(--text);
  border-radius: var(--radius-pill); padding: 8px 18px; min-height: 44px; font: inherit; font-weight: 650; font-size: 0.95rem;
  cursor: pointer;
}
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: var(--radius-pill);
  color: var(--text-2); font-weight: 600; font-size: 0.97rem;
}
.nav-links a:not(.btn):hover { text-decoration: none; color: var(--text); background: var(--chip-bg); }
.nav-links a[aria-current="page"] { color: var(--coral); background: var(--coral-soft); }
.nav-links .btn { margin-left: 8px; }
@media (min-width: 761px) and (max-width: 900px) {
  .nav-links { gap: 0; }
  .nav-links a:not(.btn) { padding: 8px 10px; font-size: 0.94rem; }
  .nav-links .btn { margin-left: 6px; padding: 10px 16px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .js .nav-links { display: none; }
  .js .nav-links.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px);
    max-height: calc(100svh - 90px); overflow-y: auto;
    padding: 10px; gap: 2px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-card-sm); box-shadow: var(--shadow);
  }
  .js .nav-links.is-open a { display: flex; text-align: left; }
  .js .nav-links.is-open a:not(.btn) { padding: 10px 14px; }
  .js .nav-links.is-open .btn { margin: 8px 0 0; text-align: center; }
  html:not(.js) .nav { flex-wrap: wrap; padding-bottom: 10px; }
  html:not(.js) .nav-links { flex-wrap: wrap; width: 100%; }
}

/* ---------- Sections ---------- */

main { display: block; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lead { margin-top: 8px; }

.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(20px, 3vw, 36px); position: relative; }
.page-head .lead { margin-top: 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 128px) 0 clamp(48px, 6vw, 88px); }
.hero::before, .hero::after {
  content: none; position: absolute; pointer-events: none; border-radius: 50%; z-index: 0;
  filter: blur(40px);
}
.hero::before {
  width: 640px; height: 640px; right: -240px; top: -260px;
  background: radial-gradient(circle at center, var(--coral-glow), transparent 62%);
}
.hero::after {
  width: 420px; height: 420px; left: -200px; bottom: -220px;
  background: radial-gradient(circle at center, var(--coral-soft), transparent 65%);
}
@media (prefers-color-scheme: dark) {
  .hero::before, .hero::after { content: ""; }
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
.hero h1 { max-width: 12ch; }
.hero-grid > * { min-width: 0; }
.hero h1 .accent { color: var(--coral); }
.hero .lead { margin: 18px 0 30px; }
.hero-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }

/* Phone-ish mock card made of pure CSS (no stock illustrations) */
.plan-stack { display: grid; gap: 14px; width: 100%; max-width: 420px; }
.plan-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}
.plan-card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan-card .title { font-weight: 720; font-size: 1.1rem; letter-spacing: -0.01em; margin: 6px 0 2px; }
.plan-card .meta { color: var(--muted); font-size: 0.92rem; }
.plan-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars i {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--surface);
  background: linear-gradient(135deg, var(--coral), #F9A48F); margin-left: -8px; display: block;
}
.avatars i:first-child { margin-left: 0; }
.avatars i:nth-child(2) { background: linear-gradient(135deg, #2D6CDF, #7FB0FF); }
.avatars i:nth-child(3) { background: linear-gradient(135deg, #1E9E6A, #7EDCB6); }
.plan-card.is-joined { transform: rotate(-1.2deg); }
.plan-card.is-tilt { transform: rotate(1.1deg); }

@media (min-width: 600px) and (max-width: 899px) {
  .plan-stack { max-width: none; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  .plan-stack { margin-left: auto; }
}

/* Feature cards */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 26px 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 14px; }
.card p { color: var(--text-2); }
.card-soft { background: var(--surface-2); box-shadow: none; }
.icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--coral-soft); color: var(--coral);
}
.icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 26px 24px 24px; border-radius: var(--radius-card); background: var(--surface-2); border: 1px solid var(--border); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--coral); color: var(--coral-ink); font-weight: 800; margin-bottom: 14px;
}
.step p { color: var(--text-2); }

/* Trust band */
.band {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: clamp(32px, 5vw, 56px);
  background: var(--text); color: var(--bg);
}
.band::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -240px; border-radius: 50%;
  background: radial-gradient(circle at center, var(--coral-glow), transparent 62%); filter: blur(30px);
}
.band > * { position: relative; }
.band h2 { color: inherit; }
.band .lead { color: inherit; opacity: 0.8; }
.band ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .band ul { grid-template-columns: repeat(3, 1fr); } }
.band li { margin: 0; padding: 18px; border-radius: var(--radius-card-sm); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.10); }
@media (prefers-color-scheme: dark) {
  .band li { background: rgba(0,0,0,0.25); border-color: rgba(0,0,0,0.35); }
}
.band li strong { display: block; margin-bottom: 4px; }
.band li span { opacity: 0.8; font-size: 0.95rem; }

/* Announcements */
.news-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.news {
  display: grid; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 24px;
}
.news .news-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news time { color: var(--muted); font-size: 0.9rem; }
.news h3, .news h2 { margin: 6px 0 4px; font-size: 1.25rem; letter-spacing: -0.02em; }
.news h3 a, .news h2 a { color: inherit; }
.news .news-body { color: var(--text-2); }
.news .news-body p:last-child { margin-bottom: 0; }
.news .news-body ul { margin-bottom: 0.8em; }
.news-strip .news { padding: 22px; }
.news-strip .news .news-body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-strip .news .news-body ul { display: none; }

/* Prose pages */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2em; padding-top: 0.2em; }
.prose h2:first-of-type { margin-top: 1.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-2); }
.prose li { margin: 0.45em 0; }
.prose .callout {
  background: var(--bg-2); border: 1px solid var(--border); border-left: 3px solid var(--coral); border-radius: var(--radius-card-sm);
  padding: 18px 20px; margin: 1.4em 0; color: var(--text);
}
.prose .callout p { color: inherit; }
.prose .box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card-sm); padding: 20px 22px; margin: 1.4em 0; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.prose dd { min-width: 0; }
@media (max-width: 420px) { .prose dl { grid-template-columns: 1fr; gap: 2px; } .prose dd { margin-bottom: 10px; } }
.prose dt { font-weight: 650; color: var(--text); }
.prose dd { margin: 0; color: var(--text-2); }
.toc { list-style: none; padding: 0; margin: 0 0 1.5em; display: flex; flex-wrap: wrap; gap: 8px; }
.toc li { margin: 0; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-size: 0.9rem; font-weight: 600; }
.toc a:hover { text-decoration: none; color: var(--coral); border-color: var(--coral); }

.values { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 1.5em 0; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
.values .card { padding: 22px; }
.values .card h3 { margin-top: 0; }

/* CTA block */
.cta { text-align: center; padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 40px); background: var(--surface-2); border: 1px solid var(--border); border-radius: 28px; position: relative; overflow: hidden; }
.cta::before { content: none; position: absolute; inset: auto -100px -200px auto; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle at center, var(--coral-soft), transparent 65%); filter: blur(24px); }
@media (prefers-color-scheme: dark) { .cta::before { content: ""; } }
.cta > * { position: relative; }
.cta .stores { justify-content: center; margin-top: 22px; }
.cta .app-icon { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 18px; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); padding: 40px 0 max(44px, calc(env(safe-area-inset-bottom, 0px) + 24px)); margin-top: clamp(40px, 6vw, 80px); color: var(--muted); font-size: 0.95rem; }
.footer-grid { display: grid; gap: 28px 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(220px, 1fr) 2.4fr; } }
.footer-about p { margin: 10px 0 0; max-width: 34ch; }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }
.footer-brand:hover { text-decoration: none; }
.footer-cols { display: grid; gap: 20px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-h { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; line-height: 1.4; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text-2); font-weight: 550; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--coral); }
.footer-bottom { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* ---------- Share landing (/p/) ---------- */

.share-page { min-height: 100svh; display: flex; flex-direction: column; }
.share-page main { flex: 1; display: flex; align-items: center; }
.share-card {
  width: 100%; max-width: 480px; margin: 40px auto; padding: 32px 28px 28px; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow);
}
.share-card .app-icon { width: 96px; height: 96px; border-radius: 26px; margin: 0 auto 20px; box-shadow: var(--shadow); }
.share-card h1 { font-size: clamp(1.7rem, 3vw + 0.8rem, 2.2rem); }
.share-card .lead { margin: 10px auto 24px; font-size: 1.02rem; }
.share-card .btn-lg { width: 100%; }
.share-card .fallback { margin-top: 14px; font-size: 0.92rem; color: var(--muted); }
.qr-panel { display: none; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.qr-panel .qr { display: inline-block; padding: 12px; background: #fff; border-radius: 16px; border: 1px solid var(--border); }
.qr-panel .qr svg { width: 168px; height: 168px; }
.qr-panel .stores { justify-content: center; margin-top: 18px; }
.share-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875rem; color: var(--muted); word-break: break-all; }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) { .qr-panel { display: block; } }

/* 404 */
.big-num { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.95; color: var(--coral); }

/* Utilities */
.stack > * + * { margin-top: 12px; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.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; }

/* Additions */
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; max-width: none; flex-wrap: wrap; }
.btn-on-dark { background: rgba(255,255,255,0.12); color: inherit; border-color: rgba(255,255,255,0.22); }
.btn-on-dark:hover { background: rgba(255,255,255,0.18); }
@media (prefers-color-scheme: dark) {
  .btn-on-dark { background: rgba(0,0,0,0.25); border-color: rgba(0,0,0,0.4); }
  .btn-on-dark:hover { background: rgba(0,0,0,0.35); }
}
.prose .summary { border-left: 4px solid var(--coral); }
.prose .summary ul { margin-bottom: 0; }

/* ---------- Opening splash (home) ---------- */
#splash { display: none; }
.splash-on #splash {
  display: flex; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center;
  color: var(--text); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.splash-on .site-header .brand { visibility: hidden; }
.splash-bg { position: absolute; inset: 0; background: #FFFFFF; }
@media (prefers-color-scheme: dark) { .splash-bg { background: var(--bg); } }
.splash-lockup { position: relative; font-size: 36px; will-change: transform; }
.splash-markwrap { position: relative; display: inline-flex; }
.splash-mark { width: 120px; height: 120px; display: block; position: relative; z-index: 1; flex: none; }
.sp-stroke { fill: none; stroke: currentColor; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.sp-sweep { fill: none; stroke: var(--coral); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; mix-blend-mode: normal; }
.sp-dot { fill: currentColor; transform-origin: 72px 72px; transform: scale(0); opacity: 0; }
.splash-glow {
  position: absolute; left: -80%; top: -80%; width: 260%; height: 260%;
  transform-origin: center; transform: scale(0.55); border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle at center, var(--coral-glow), transparent 62%); filter: blur(18px);
  display: none;
}
@media (prefers-color-scheme: dark) { .splash-glow { display: block; } }
.splash-word { opacity: 0; }
.splash-word b { opacity: 0; transform: translateX(-8px); }
.splash-signoff {
  position: absolute; left: 0; right: 0; bottom: max(40px, env(safe-area-inset-bottom, 0px) + 32px);
  display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; transform: translateY(6px);
  color: var(--muted); font-size: 14px; letter-spacing: 0.1em;
}
.splash-signoff .rentuku { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 15px; font-weight: 600; letter-spacing: 0.23em; }
.splash-signoff .rentuku img { width: 22px; height: 22px; }
.splash-signoff i { font-style: normal; }

/* Editorial shapes */
.editorial { font-size: clamp(1.1rem, 0.6vw + 1rem, 1.35rem); line-height: 1.6; color: var(--text-2); max-width: 62ch; }
.not-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: clamp(20px, 4vw, 28px) clamp(20px, 4vw, 28px) 24px; box-shadow: var(--shadow); }
.not-list h2 { font-size: 1.4rem; margin-bottom: 0.6em; }
.not-list ul { list-style: none; padding: 0; margin: 0; }
.not-list li { padding: 10px 0; border-top: 1px solid var(--border); color: var(--text-2); }
.not-list li:first-child { border-top: 0; }
.not-list li::before { content: "\2715"; color: var(--coral); font-weight: 700; margin-right: 12px; }
.bigline { font-size: clamp(1.5rem, 2.2vw + 1rem, 2.4rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; text-wrap: balance; max-width: 26ch; margin: 0 auto; }
.faq { display: grid; gap: 10px; margin-top: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card-sm); padding: 0 20px; }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--coral); font-weight: 700; font-size: 1.3rem; line-height: 1; flex: none; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--text-2); padding-bottom: 18px; margin: 0; }
.plain-list { list-style: none; padding: 0; }
.plain-list li { padding: 10px 0; border-top: 1px solid var(--border); }
.plain-list li:first-child { border-top: 0; }
.founder-note { font-size: clamp(1.05rem, 0.4vw + 1rem, 1.15rem); line-height: 1.65; padding: 8px 0 8px clamp(16px, 3vw, 22px); border-left: 3px solid var(--coral); margin: 0.5em 0 1.5em; }
.founder-note p { color: var(--text); }
.founder-note .sign { font-weight: 650; margin-top: 1.2em; }

/* ---------- Small screens and landscape phones ---------- */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; max-width: 100%; }
  .stores { gap: 10px; }
  .store { padding: 10px 18px 10px 12px; }
  .card, .step { padding: 22px 20px; }
  .news, .news-strip .news { padding: 20px; }
  .band { border-radius: 22px; }
  .cta { border-radius: 22px; }
  .share-card { padding: 28px 20px 24px; }
}
@media (max-width: 360px) {
  .stores .store { flex: 1 1 100%; justify-content: center; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding-top: 40px; }
  .site-header { position: relative; }
  .splash-mark { width: 88px; height: 88px; }
  .splash-signoff { bottom: max(16px, env(safe-area-inset-bottom, 0px) + 8px); }
}
@media (min-width: 1600px) {
  :root { --max: 1200px; }
}

/* ---------- Guides, FAQ and city pages ---------- */
.crumbs { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 0.9rem; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--border); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--coral); }
.prose .plan-card { margin: 1.2em 0; max-width: 440px; }
.prose .plan-card .title { color: var(--text); }
.qa h3 { font-size: 1.15rem; margin-top: 1.8em; }
.qa h3 + p { margin-top: 0.3em; }
.see-also { list-style: none; padding: 0; margin: 1em 0 0; display: grid; gap: 10px; }
.see-also li { margin: 0; }
.see-also a { display: block; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius-card-sm); background: var(--surface); color: var(--text); font-weight: 650; }
.see-also a span { display: block; font-weight: 400; color: var(--text-2); font-size: 0.95rem; margin-top: 2px; }
.see-also a:hover { text-decoration: none; border-color: var(--coral); }
.day { display: grid; gap: 4px 20px; grid-template-columns: 1fr; padding: 14px 0; border-top: 1px solid var(--border); }
@media (min-width: 560px) { .day { grid-template-columns: 7.5em 1fr; } }
.day:first-of-type { border-top: 0; }
.day dt { font-weight: 700; color: var(--text); }
.day dd { margin: 0; color: var(--text-2); }
.more-link { margin-top: 18px; }
.prose dl.days { display: block; margin: 1em 0; }
[id] { scroll-margin-top: 84px; }
