/* Nomino website. Built from design/website (Nomino Website v1.1).
   Breakpoints: 0–767 mobile, 768–1023 tablet, 1024+ desktop. */

:root {
  color-scheme: light;
  --ink: #2c3a23;
  --ink-soft: #3d4d32;
  --moss: #54683f;
  --moss-hover: #475a35;
  --moss-press: #3d4e2d;
  --fern: #6f8060;
  --gold: #c2963a;
  --gold-tint: #e3cf99;
  --parchment: #ece9e0;
  --meadow: #e2ebd8;
  --mist: #f3f6ef;
  --mist-soft: #dfe6d6;
  --honey: #f7f0dd;
  --line: rgba(84, 104, 63, .2);
  --gutter: 20px;
  --sec-y: 44px;
  --head-gap: 24px;
  --ring: 0 0 0 3px var(--mist), 0 0 0 6px var(--ink);
}
@media (min-width: 768px) { :root { --gutter: 40px; --sec-y: 72px; --head-gap: 40px; } }
@media (min-width: 1024px) { :root { --gutter: 80px; --sec-y: 112px; --head-gap: 52px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--parchment);
  font-family: 'DM Sans', -apple-system, system-ui, sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
html[lang="de"] body { hyphens: auto; -webkit-hyphens: auto; }
img, svg { display: block; }
a { color: var(--moss); }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; font-family: 'Literata', serif; font-weight: 500; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: none; box-shadow: var(--ring); }
.on-ink :focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--mist); }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--ink); padding: 12px 16px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.skip:focus-visible { top: 12px; }
.wrap { max-width: 1280px; margin: 0 auto; }
.sec { padding: var(--sec-y) var(--gutter); }
.eyebrow { font-weight: 600; font-size: 13px; letter-spacing: .14em; color: var(--moss); text-transform: uppercase; }
.lead { font-size: clamp(16px, .5vw + 14px, 21px); line-height: 1.55; color: var(--ink-soft); }
.body { font-size: clamp(16px, .2vw + 15px, 18px); line-height: 1.6; color: var(--ink-soft); }
.h2 { font-size: clamp(30px, 3.2vw + 18px, 60px); line-height: 1.08; }
.h2-l { font-size: clamp(36px, 4.6vw + 18px, 80px); line-height: 1.04; }
.h3 { font-size: clamp(22px, .9vw + 19px, 32px); line-height: 1.2; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  min-height: 54px; padding: 0 26px; border: none; border-radius: 27px;
  background: var(--moss); color: var(--mist);
  font: 600 16px/1 'DM Sans', sans-serif; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  box-shadow: 0 14px 28px rgba(84, 104, 63, .28);
  transition: background 200ms ease-out, transform 200ms ease-out;
}
.btn:hover { background: var(--moss-hover); color: var(--mist); }
.btn:active { background: var(--moss-press); transform: scale(.98); }
.btn:focus-visible { box-shadow: var(--ring); }
.btn-get {
  height: 48px; display: inline-flex; align-items: center; gap: 8px; padding: 0 20px;
  border-radius: 24px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px;
  text-decoration: none; white-space: nowrap; box-shadow: 0 8px 20px rgba(66, 81, 56, .1);
  transition: background 200ms ease-out;
}
.btn-get:hover { background: var(--mist); color: var(--ink); }
.btn-get:active { transform: scale(.98); }
.btn-get span { color: var(--moss); }

/* ── Header ────────────────────────────────────────── */
.site-head {
  position: relative; z-index: 30; top: 0;
  padding: 22px var(--gutter);
  transition: background 200ms ease-out, box-shadow 200ms ease-out;
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lockup { display: flex; align-items: center; min-height: 44px; border-radius: 14px; flex: none; }
.lockup img { height: 58px; width: auto; }
.head-actions { display: flex; align-items: center; gap: 12px; }
.lang-seg { display: flex; align-items: center; background: rgba(255, 255, 255, .6); border: 1px solid rgba(84, 104, 63, .14); border-radius: 999px; padding: 3px; }
.lang-seg a {
  min-width: 48px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-decoration: none;
  transition: background 200ms ease-out;
}
.lang-seg a:hover { background: var(--meadow); }
.lang-seg a[aria-current="page"] { background: var(--ink); color: var(--mist); }
.lang-menu { position: relative; display: none; }
.lang-menu summary {
  list-style: none; cursor: pointer; height: 44px; min-width: 64px; padding: 0 14px 0 16px; border-radius: 22px;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(84, 104, 63, .16);
  display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; letter-spacing: .06em; color: var(--ink);
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary span { font-size: 11px; color: var(--moss); }
.lang-menu .menu {
  position: absolute; right: 0; top: 52px; width: 180px; background: #fff; border-radius: 20px; padding: 6px;
  box-shadow: 0 18px 40px rgba(66, 81, 56, .18); display: flex; flex-direction: column; z-index: 40;
}
.lang-menu .menu a {
  min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-radius: 14px;
  color: var(--ink); font-size: 15px; text-decoration: none;
}
.lang-menu .menu a:hover { background: var(--mist); }
.lang-menu .menu a:focus-visible { box-shadow: inset 0 0 0 3px var(--ink); }
.lang-menu .menu a[aria-current="page"] { background: var(--mist); font-weight: 600; }
.lang-menu .menu a[aria-current="page"]::after { content: "✓"; color: var(--moss); }
@media (max-width: 1023px) { .site-head { padding: 18px var(--gutter); } .lockup img { height: 52px; } }
@media (max-width: 767px) {
  .site-head { position: sticky; padding: 12px var(--gutter); }
  .lockup img { height: 44px; }
  .lang-seg { display: none; }
  .lang-menu { display: block; }
  .site-head .btn-get { display: none; }
  .site-head.is-stuck { background: rgba(236, 233, 224, .94); box-shadow: 0 1px 0 rgba(84, 104, 63, .14), 0 8px 20px rgba(66, 81, 56, .06); }
  .site-head.is-stuck .btn-get { display: inline-flex; }
  .site-head.is-stuck:has(.btn-get) .lang-menu { display: none; }
}
@media (max-width: 359px) { .site-head { padding: 12px 16px; } .lockup img { height: 38px; } .btn-get { padding: 0 16px; } }

/* ── Footer ────────────────────────────────────────── */
.site-foot { background: var(--meadow); border-radius: 36px 36px 0 0; padding: 72px var(--gutter) 40px; }
.site-foot .wrap { display: flex; flex-direction: column; gap: 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 28px 32px; align-items: start; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.foot-brand .lockup img { height: 68px; }
.foot-brand p { font-family: 'Literata', serif; font-weight: 500; font-size: 22px; line-height: 1.3; letter-spacing: -.015em; color: var(--ink); max-width: 280px; }
.foot-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.foot-col h2 { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .14em; color: var(--moss); padding-bottom: 6px; }
.foot-col a {
  align-self: flex-start; max-width: 100%; min-height: 44px; display: flex; align-items: center;
  padding: 0 8px; margin-left: -8px; border-radius: 12px; color: var(--ink); font-size: 15px; line-height: 1.35;
  overflow-wrap: anywhere; text-decoration: none;
}
.foot-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-col a.mail { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(84, 104, 63, .5); }
.foot-col a.mail:hover { text-decoration-color: var(--ink); }
.foot-col p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); max-width: 260px; }
.foot-base { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; border-top: 1px solid rgba(84, 104, 63, .18); padding-top: 18px; }
.foot-base small { font-size: 14px; color: var(--ink-soft); }
.foot-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-left: -8px; }
.foot-langs a { min-height: 44px; padding: 0 12px; display: flex; align-items: center; border-radius: 22px; color: var(--ink); font-weight: 500; font-size: 14px; text-decoration: none; }
.foot-langs a:hover { background: #fff; }
.foot-langs a[aria-current="page"] { background: #fff; font-weight: 600; }
@media (max-width: 1023px) {
  .site-foot { padding: 56px var(--gutter) 36px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .site-foot { padding: 44px var(--gutter) 28px; border-radius: 28px 28px 0 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .foot-brand .lockup img { height: 56px; }
  .foot-contact { grid-column: 1 / -1; }
}

/* ── App Store action ─────────────────────────────── */
.store { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.store.center { align-items: center; }
.store-row { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.store.center .store-row { justify-content: center; }
.badge { display: block; flex: none; border-radius: 12px; padding: 0; transition: box-shadow 200ms ease-out; }
.badge:hover { box-shadow: 0 10px 24px rgba(66, 81, 56, .22); }
.badge img { height: 54px; width: auto; }
/* The QR has no quiet zone of its own; the margin and the gap keep four
   modules (about 12px at this size) of page background around it. */
.store-qr { display: none; align-items: center; gap: 20px; margin: 12px 0 12px 8px; }
.store-qr .tile { width: 112px; height: 112px; flex: none; }
.store-qr .tile img, .store-qr .tile svg { display: block; width: 112px; height: 112px; }
.store-qr span { font-size: 14px; line-height: 1.45; color: var(--moss); max-width: 150px; }
.store-for { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--moss); }
@media (min-width: 1024px) { .store-qr { display: flex; } }

/* ── Phone mock-up and name card ──────────────────── */
.phone { position: relative; flex: none; width: calc(422px * var(--s)); height: calc(894px * var(--s)); }
.phone-body {
  position: absolute; left: 0; top: 0; width: 422px; height: 894px; transform: scale(var(--s)); transform-origin: 0 0;
  padding: 10px; border-radius: 58px; background: #1f2a19;
  box-shadow: 0 34px 70px rgba(44, 58, 35, .28), 0 10px 24px rgba(44, 58, 35, .14), inset 0 0 0 1.5px var(--ink-soft);
}
.screen { position: relative; width: 402px; height: 874px; border-radius: 48px; overflow: hidden; background: linear-gradient(180deg, var(--mist) 0%, var(--meadow) 100%); }
.status { position: absolute; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: 21px 34px 0 50px; font: 600 17px/1 -apple-system, 'SF Pro Text', system-ui, sans-serif; color: #000; }
.status .bat { width: 25px; height: 12px; border-radius: 4px; border: 1.5px solid rgba(0, 0, 0, .35); padding: 1.5px; }
.status .bat i { display: block; width: 80%; height: 100%; border-radius: 2px; background: #000; }
.status.light { color: #fff; }
.status.light .bat { border-color: rgba(255, 255, 255, .4); }
.status.light .bat i { background: #fff; }
.island { position: absolute; top: 11px; left: 50%; margin-left: -62px; width: 124px; height: 36px; border-radius: 20px; background: #000; z-index: 61; }
.quest-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0; }
.quest-top div { display: flex; flex-direction: column; }
.quest-top b { font-weight: 600; font-size: 11px; letter-spacing: .14em; color: #637552; }
.quest-top span { font-family: 'Literata', serif; font-weight: 500; font-size: 18px; color: var(--ink); letter-spacing: -.015em; }
.quest-top i { width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 6px 14px rgba(66, 81, 56, .1); }

.card {
  position: relative; width: 288px; height: 406px; background: #fff; overflow: hidden; border-radius: 30px;
  box-shadow: 0 24px 50px rgba(84, 104, 63, .2);
}
.card.flat { box-shadow: 0 18px 40px rgba(84, 104, 63, .1); }
.card-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 0 24px; }
.card-mid { margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.card-name { font-family: 'Literata', serif; font-weight: 500; font-size: 44px; color: #33422a; line-height: 1.1; letter-spacing: -.015em; white-space: nowrap; }
.card-native { font-size: 22px; line-height: 1.2; color: #91702b; margin-top: -4px; }
.card-native:empty { display: none; }
.card-phon { padding: 6px 13px; border-radius: 999px; background: #eef2e6; color: var(--ink-soft); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.card-info { display: flex; flex-direction: column; align-items: center; gap: 7px; max-width: 100%; margin-top: 2px; }
.card-mean { max-width: 240px; text-align: center; text-wrap: balance; line-height: 1.5; font-weight: 600; font-size: 11px; letter-spacing: .14em; color: #687b57; text-transform: uppercase; }
.card-orig { margin-top: 50px; padding: 4px 11px; border-radius: 999px; border: 1px solid #dbe3cf; font-size: 12.5px; font-weight: 500; color: var(--moss); white-space: nowrap; }
.card-badge { position: absolute; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; transition: opacity 200ms ease-out; }
.card-badge.g { top: 16px; left: 16px; border-radius: 50%; background: #eef2e6; color: var(--moss); }
.card-badge.snd { top: 16px; right: 16px; border-radius: 50%; background: var(--honey); color: #aa8433; }
.card-badge.fl { left: 6px; bottom: 6px; color: #869b6a; }
.card-badge.rt { right: 6px; bottom: 6px; color: #869b6a; }
.card-badge svg { display: block; }
.card .g-ico { display: none; }
.card[data-g="girl"] .g-girl, .card[data-g="boy"] .g-boy, .card[data-g="both"] .g-both { display: flex; }
.stamp {
  position: absolute; top: 22px; left: 22px; border: 2.5px solid #91702b; color: #91702b; border-radius: 12px; padding: 5px 12px;
  font-weight: 700; font-size: 16px; transform: rotate(-12deg); white-space: nowrap; background: rgba(255, 255, 255, .85); letter-spacing: .04em;
  opacity: 0;
}

/* ── Hero ──────────────────────────────────────────── */
.hero { padding: 8px var(--gutter) 28px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.hero h1 { font-size: clamp(26px, 10vw, 44px); line-height: 1.02; white-space: nowrap; padding-bottom: .08em; text-wrap: initial; }
.hero h1 span { display: block; }
.hero .lead { max-width: 540px; }
.hero .store-wrap { padding-top: 4px; }
.deck { position: relative; display: flex; justify-content: center; align-items: flex-start; --s: .6; height: calc(894px * var(--s) + 60px); }
.deck-cards { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 66px 0 118px; }
.deck-stack { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; }
.deck-stack .under { position: absolute; width: 288px; height: 406px; background: #fff; border-radius: 30px; box-shadow: 0 18px 40px rgba(84, 104, 63, .1); transform: scale(.94) translateY(14px); }
.deck-top { position: absolute; width: 288px; height: 406px; transition: transform 400ms ease-out, opacity 400ms ease-out; }
.deck-top .card { transition: transform 400ms ease-out; }
.deck-top.drag .card { transform: translateX(10px) rotate(3deg); }
.deck-top.drag { transform: translateX(26px) rotate(4deg); }
.deck-top.drag .stamp, .deck-top.out .stamp { opacity: 1; }
.deck-top.drag .card-badge, .deck-top.out .card-badge { opacity: 0; }
.deck-top.out { transform: translateX(140%) rotate(18deg); opacity: 0; transition: transform 300ms ease-in, opacity 300ms ease-in; }
.deck-top.enter { transform: scale(.94) translateY(14px); transition: none; }
.deck-btns { display: flex; justify-content: center; align-items: center; gap: 24px; transform: translateY(-50px); }
.deck-btns i { border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; }
.deck-btns .no { width: 80px; height: 80px; background: #fff; font-size: 26px; color: #879a75; box-shadow: 0 12px 28px rgba(66, 81, 56, .16); }
.deck-btns .undo { width: 44px; height: 44px; background: #eef2e6; font-size: 15px; color: #879a75; }
.deck-btns .yes { width: 80px; height: 80px; background: #b88e37; font-size: 26px; color: #fff; box-shadow: 0 14px 30px rgba(194, 150, 58, .45); }
.tabbar { position: absolute; left: 22px; right: 22px; bottom: 44px; height: 64px; background: #fff; border-radius: 32px; box-shadow: 0 16px 36px rgba(66, 81, 56, .18); display: flex; align-items: center; padding: 0 8px; }
.tabbar span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-weight: 600; font-size: 10px; color: #899a73; }
.tabbar span b { font-size: 17px; font-weight: 400; }
.tabbar span.on { color: var(--moss); }
.home-ind { position: absolute; bottom: 8px; left: 50%; margin-left: -67px; width: 134px; height: 5px; border-radius: 3px; background: var(--ink); opacity: .85; }
.pause {
  position: absolute; bottom: 0; right: calc(50% - 22px); width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(84, 104, 63, .2); background: #fff; color: var(--ink); font-size: 13px; cursor: pointer;
  display: none; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(66, 81, 56, .1); padding: 0;
}
.js .pause { display: flex; }
.js .pause[hidden] { display: none; }
.pause:hover { background: var(--mist); }
.pause span { font-weight: 700; letter-spacing: 1px; }
@media (max-width: 359px) { .deck { --s: .47; } }
@media (min-width: 768px) {
  .hero { padding: 28px var(--gutter) 56px; }
  .hero .wrap { gap: 44px; }
  .hero-text { gap: 22px; align-items: center; text-align: center; }
  .hero .store { align-items: center; }
  .hero .store-row { justify-content: center; }
  .hero h1 { font-size: clamp(40px, 8.6vw, 72px); }
  .deck { align-items: center; --s: .716; }
  .pause { right: calc(50% - 211px * var(--s) - 60px); }
}
@media (min-width: 1024px) {
  .hero { padding: 24px var(--gutter) 72px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; min-height: 680px; }
  .hero-text { align-items: flex-start; text-align: left; }
  .hero .store { align-items: flex-start; }
  .hero .store-row { justify-content: flex-start; }
  .hero h1 { font-size: clamp(40px, 5.4vw, 108px); }
  .deck { --s: .805; }
}

/* ── How it works ─────────────────────────────────── */
.how .wrap { display: flex; flex-direction: column; gap: var(--head-gap); }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.steps { list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; display: grid; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; gap: 16px; scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
.step { scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: center; }
.step-n { order: 1; font-family: 'Literata', serif; font-weight: 500; font-size: 22px; line-height: 1; color: var(--moss); }
.step-t { order: 2; display: flex; flex-direction: column; gap: 8px; }
.step-t p { max-width: 520px; }
.vig { order: 0; height: 220px; border-radius: 24px; background: var(--mist); display: flex; justify-content: center; align-items: flex-start; padding-top: 22px; overflow: hidden; --s: .4; }
.vig .phone { height: calc(220px - 22px); }
.vig .phone-body { box-shadow: 0 24px 50px rgba(44, 58, 35, .22), inset 0 0 0 1.5px var(--ink-soft); }
.vig.meadow { background: var(--meadow); }
.vig.honey { background: var(--honey); }
.step-dots { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: -18px; }
.step-dots .dots { display: flex; gap: 8px; }
.step-dots .dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(84, 104, 63, .3); transition: width 200ms ease-out; }
.step-dots .dots i.on { width: 22px; background: var(--ink); }
.step-dots span { font-size: 14px; font-weight: 600; color: var(--moss); }
@media (min-width: 768px) {
  .steps { margin: 0; padding: 0; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); overflow: visible; gap: 0; }
  .step { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 260px); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
  .step-n { order: 0; font-size: 44px; }
  .vig { order: 3; height: 230px; --s: .42; }
  .vig .phone { height: calc(230px - 22px); }
  .step-dots { display: none; }
}
@media (min-width: 1024px) {
  .step { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 440px); gap: 40px; padding: 36px 0; }
  .step-n { font-size: 64px; }
  .vig { height: 260px; --s: .48; }
  .vig .phone { height: calc(260px - 22px); }
}
.v-invite { position: absolute; inset: 0; padding: 96px 28px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.v-invite .spark { font-size: 32px; }
.v-invite .t { font-family: 'Literata', serif; font-weight: 500; font-size: 29px; color: var(--ink); line-height: 1.15; letter-spacing: -.015em; }
.v-invite .s { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); max-width: 290px; }
.v-invite .code { margin-top: 8px; background: #fff; border-radius: 24px; padding: 24px 34px; box-shadow: 0 18px 40px rgba(84, 104, 63, .15); display: flex; flex-direction: column; gap: 6px; align-items: center; }
.v-invite .code b { font-weight: 600; font-size: 11px; letter-spacing: .16em; color: var(--moss); }
.v-invite .code span { font-weight: 700; font-size: 34px; letter-spacing: .1em; color: var(--ink); }
.v-invite .cp { margin-top: 6px; height: 54px; width: 290px; border-radius: 27px; background: var(--moss); color: var(--mist); display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 16px; }
.v-swipe { position: absolute; inset: 0; padding: 72px 0 0; }
.v-swipe .stage { position: relative; margin: 34px auto 0; width: 288px; height: 406px; }
.v-swipe .stage .under { position: absolute; inset: 0; background: #fff; border-radius: 30px; transform: scale(.94) translateY(14px); box-shadow: 0 18px 40px rgba(84, 104, 63, .1); }
.v-swipe .stage .tilt { position: absolute; inset: 0; transform: translateX(18px) rotate(4deg); }
.v-blur { position: absolute; inset: 0; filter: blur(6px); opacity: .9; }
.v-blur i { position: absolute; display: block; }
.v-match { position: absolute; inset: 0; background: rgba(44, 58, 35, .9); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 120px 36px 0; }
.v-match.mid { justify-content: center; padding: 0 36px; }
.ring { position: relative; width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; }
.ring::before { content: ""; position: absolute; inset: -16px; border-radius: 50%; border: 2px solid rgba(194, 150, 58, .35); }
.ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); }
.ring span { position: absolute; inset: 14px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 38px; color: #fff; }
.v-match .k { font-weight: 600; font-size: 11px; letter-spacing: .24em; color: var(--gold-tint); }
.v-match .n { font-family: 'Literata', serif; font-weight: 500; font-size: 44px; color: var(--honey); line-height: 1.05; letter-spacing: -.015em; }
.v-match .b { font-size: 15px; line-height: 1.6; color: var(--mist-soft); max-width: 280px; }
.v-match .go { margin-top: 10px; background: var(--gold); color: #fff; border-radius: 999px; padding: 14px 30px; font-weight: 600; font-size: 15px; box-shadow: 0 14px 30px rgba(20, 28, 16, .3); }
.v-keep { position: absolute; inset: 0; padding: 78px 28px 0; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.v-keep .bar { align-self: stretch; display: flex; align-items: center; gap: 14px; }
.v-keep .bar i { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--moss); font-size: 19px; font-style: normal; box-shadow: 0 6px 14px rgba(66, 81, 56, .1); }
.v-keep .bar span { font-family: 'Literata', serif; font-weight: 500; font-size: 20px; color: var(--ink); letter-spacing: -.015em; }
.keep { background: linear-gradient(165deg, var(--ink), var(--ink-soft)); border-radius: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; box-shadow: 0 28px 60px rgba(44, 58, 35, .35); }
.v-keep .keep { width: 280px; padding: 34px 28px 22px; }
.keep .w { font-weight: 600; font-size: 10.5px; letter-spacing: .24em; color: var(--mist-soft); }
.keep .n { font-family: 'Literata', serif; font-weight: 500; font-size: 44px; color: var(--honey); line-height: 1.05; letter-spacing: -.015em; }
.keep .m { font-family: 'Literata', serif; font-style: italic; font-size: 18px; color: var(--gold-tint); }
.keep .rule { width: 44px; height: 1.5px; background: rgba(227, 207, 153, .5); margin: 6px 0; }
.keep .a { font-size: 12px; color: var(--mist-soft); }

/* ── Blind voting band ────────────────────────────── */
.band-outer { padding: 12px 0; }
.band { max-width: 1280px; margin: 0 auto; overflow: hidden; border-radius: 28px; padding: 52px var(--gutter); display: flex; flex-direction: column; gap: var(--head-gap); }
.band.ink { background: var(--ink); align-items: center; text-align: center; }
.band.ink h2 { color: var(--mist); }
.band.ink p { color: var(--mist-soft); }
.band.ink .eyebrow { color: var(--mist-soft); }
.band .intro { display: flex; flex-direction: column; gap: 16px; align-items: center; max-width: 820px; }
.band .intro p { max-width: 640px; }
.blind-phone { --s: .5; }
.blind-phone .phone-body { box-shadow: 0 34px 70px rgba(0, 0, 0, .35), inset 0 0 0 1.5px var(--ink-soft); }
.band .outro { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 720px; }
.band .outro .owner { font-family: 'Literata', serif; font-weight: 500; font-size: clamp(22px, .9vw + 19px, 32px); line-height: 1.3; letter-spacing: -.015em; color: var(--mist); text-wrap: balance; }
@media (max-width: 359px) { .blind-phone { --s: .45; } }
@media (min-width: 768px) {
  .band-outer { padding: 24px var(--gutter); }
  .band { border-radius: 40px; padding: 72px var(--gutter); }
  .blind-phone { --s: .626; }
}
@media (min-width: 1024px) {
  .band-outer { padding: 32px var(--gutter); }
  .band { padding: 104px var(--gutter); }
  .blind-phone { --s: .694; }
}

/* ── Names: the card that turns over ──────────────── */
.names .wrap { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "card" "facts"; gap: 24px; align-items: center; }
.names-text { grid-area: text; display: flex; flex-direction: column; gap: 18px; align-self: end; }
.names-text p { max-width: 520px; }
.facts { grid-area: facts; align-self: start; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; max-width: 520px; width: 100%; }
.facts div { border-top: 1px solid var(--line); padding: 12px 0; display: flex; flex-direction: column; gap: 4px 16px; }
.facts dt { font-weight: 600; font-size: 12px; letter-spacing: .12em; color: var(--moss); }
.facts dd { margin: 0; font-family: 'Literata', serif; font-size: 19px; color: var(--ink); }
@media (max-width: 359px) { .flip { --cs: .903; } .facts { grid-template-columns: minmax(0, 1fr); } .facts div { flex-direction: row; justify-content: space-between; align-items: baseline; } }
.flip-area { grid-area: card; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.flip { --cs: 1.0417; --cw: calc(288px * var(--cs)); perspective: 1400px; width: var(--cw); height: calc(var(--cw) * 406 / 288); cursor: pointer; border-radius: 30px; border: 0; padding: 0; background: none; font: inherit; color: inherit; text-align: left; display: block; }
.flip:focus-visible { box-shadow: 0 0 0 3px var(--parchment), 0 0 0 6px var(--ink); }
.flip-inner { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 600ms cubic-bezier(.45, 0, .25, 1); }
.flip[aria-pressed="true"] .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-face > .scaler { width: 288px; height: 406px; transform-origin: 0 0; }
.flip-back { transform: rotateY(180deg); }
.flip-hint { font-size: 14px; font-weight: 600; color: var(--moss); display: flex; align-items: center; gap: 8px; }
.flip-hint .back, .flip.is-flipped + .flip-hint .front { display: none; }
.flip.is-flipped + .flip-hint .back { display: inline; }
.cardback { width: 288px; height: 406px; border-radius: 30px; box-shadow: 0 24px 50px rgba(84, 104, 63, .2); overflow: hidden; background: linear-gradient(180deg, #fdfcf7, #f7f4ea); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.cardback .hd { display: flex; flex-direction: column; gap: 3px; }
.cardback .hd b { font-family: 'Literata', serif; font-weight: 500; font-size: 30px; line-height: 1.15; color: var(--ink); letter-spacing: -.015em; }
.cardback .hd span { font-size: 12.5px; font-weight: 500; color: var(--moss); }
.cardback .say { background: #fff; border-radius: 16px; padding: 11px 14px; box-shadow: 0 6px 14px rgba(66, 81, 56, .08); display: flex; flex-direction: column; gap: 9px; }
.cardback .say .row { display: flex; align-items: center; gap: 12px; }
.cardback .say .play { width: 36px; height: 36px; flex: none; border-radius: 50%; background: #b88e37; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.cardback .say .row div { display: flex; flex-direction: column; min-width: 0; }
.cardback .say .row b { font-weight: 600; font-size: 15px; color: var(--ink); }
.cardback .say .row span { font-size: 12px; color: var(--moss); }
.cardback .say .ipa { border-top: 1px solid #eef1e8; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 3px 10px; font-size: 12px; line-height: 1.4; color: var(--moss); }
.cardback .say .ipa b { color: var(--ink); font-weight: 500; }
.cardback .f { display: flex; flex-direction: column; gap: 5px; }
.cardback .f > b { font-weight: 600; font-size: 11px; letter-spacing: .14em; color: var(--moss); }
.cardback .f .mv { font-family: 'Literata', serif; font-style: italic; font-size: 18px; color: var(--ink); line-height: 1.3; letter-spacing: -.015em; }
.cardback .f .ov { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cardback .f .ov span { font-size: 15px; font-weight: 500; color: var(--ink); }
.cardback .f .ov i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink-soft); background: #eef2e6; border-radius: 999px; padding: 3px 9px; }
.cardback .rel { display: flex; flex-wrap: wrap; gap: 6px; }
.cardback .rel span { display: flex; align-items: baseline; gap: 6px; padding: 5px 10px; border-radius: 12px; border: 1px solid #dbe3cf; background: #fff; }
.cardback .rel b { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.cardback .rel i { font-style: normal; font-size: 11.5px; color: var(--moss); }
@media (min-width: 768px) { .names .wrap { gap: 36px; } .flip { --cs: 1.111; } }
@media (min-width: 1024px) {
  .names .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "text card" "facts card"; gap: 28px 72px; }
  .flip { --cs: 1.25; }
}

/* ── Reveal and Chosen One band ───────────────────── */
.band.honey { background: var(--honey); }
.band.honey > h2 { align-self: flex-start; }
.reveal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.reveal-col { display: flex; flex-direction: column; gap: 22px; align-items: stretch; }
.reveal-col .txt { display: flex; flex-direction: column; gap: 8px; max-width: 440px; }
.panel { background: var(--ink); border-radius: 28px; padding: 26px 22px 22px; width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 28px 60px rgba(44, 58, 35, .22); }
.panel .hd { text-align: center; display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; }
.panel .hd b { font-weight: 600; font-size: 11px; letter-spacing: .22em; color: var(--gold-tint); }
.panel .hd span { font-family: 'Literata', serif; font-weight: 500; font-size: 24px; color: var(--mist); line-height: 1.15; letter-spacing: -.015em; }
.panel .row { display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .05); border: 1px solid rgba(227, 207, 153, .28); border-radius: 18px; padding: 11px 18px; }
.panel .row span { font-family: 'Literata', serif; font-weight: 500; font-size: 22px; color: var(--mist); letter-spacing: -.015em; }
.panel .row b { font-weight: 700; font-size: 13px; color: var(--gold-tint); }
.keep-stage { position: relative; width: 100%; max-width: 400px; display: flex; justify-content: center; padding: 24px 0; --kw: min(300px, calc(100vw - 80px)); }
.burst { position: absolute; left: 50%; top: 50%; width: calc(var(--kw) + 60px); height: calc(var(--kw) + 60px); transform: translate(-50%, -50%) scale(1.15); border-radius: 50%; border: 2px solid var(--gold); opacity: .35; }
.keep-stage.is-burst .burst { animation: nwBurst 1s ease-out both; }
@keyframes nwBurst { 0% { transform: translate(-50%, -50%) scale(.6); opacity: 0; } 40% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.15); opacity: .35; } }
.keep-stage .keep { position: relative; width: var(--kw); padding: 38px 24px 22px; border-radius: 28px; }
.keep-stage .keep .n { font-size: 46px; }
.keep-stage .keep .m { font-size: 19px; }
.keep-stage .keep .a { font-size: 13px; }
.keep-stage .keep img { width: 100px; height: auto; margin-top: 18px; }
@media (min-width: 768px) {
  .band.honey > h2 { align-self: center; text-align: center; }
  .reveal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .keep-stage { --kw: 270px; }
}
@media (min-width: 1024px) {
  .reveal-grid { gap: 72px; }
  .reveal-col { align-items: center; }
  .reveal-col.chosen { padding-top: 72px; }
  .keep-stage { --kw: 320px; }
}

/* ── The unlock ───────────────────────────────────── */
.unlock .wrap { max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.unlock-text { display: flex; flex-direction: column; gap: 18px; }
.unlock-text .lead { color: var(--ink); max-width: 560px; line-height: 1.6; }
.unlock-text .note { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.unlock-list { margin: 0; padding: 8px 28px; list-style: none; background: #fff; border-radius: 28px; box-shadow: 0 18px 40px rgba(66, 81, 56, .1); display: flex; flex-direction: column; }
.unlock-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 0; }
.unlock-list li + li { border-top: 1px solid #eef1e8; }
.unlock-list .tick { width: 40px; height: 40px; border-radius: 50%; background: var(--meadow); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.unlock-list .tx { display: flex; flex-direction: column; gap: 3px; }
.unlock-list h3 { font-size: 21px; }
.unlock-list p { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
@media (min-width: 768px) { .unlock .wrap { gap: 40px; } }
@media (min-width: 1024px) { .unlock .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; } }

/* ── Invited (Home) ───────────────────────────────── */
.invited { padding: 12px var(--gutter); }
.invited .box { max-width: 1080px; margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px 48px; align-items: center; }
.invited .tx { display: flex; flex-direction: column; gap: 10px; }
.invited h2 { font-size: clamp(24px, .9vw + 21px, 34px); line-height: 1.15; }
.invited p { color: var(--ink-soft); }
.numlist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.numlist li { display: flex; gap: 14px; align-items: center; min-height: 52px; font-size: 16px; line-height: 1.45; }
.numlist li > b { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--meadow); display: flex; align-items: center; justify-content: center; font-family: 'Literata', serif; font-weight: 500; font-size: 16px; }
@media (min-width: 768px) { .invited { padding: 16px var(--gutter); } .invited .box { padding: 40px 0; } }
@media (min-width: 1024px) { .invited { padding: 24px var(--gutter); } .invited .box { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ── FAQ ──────────────────────────────────────────── */
.faq .wrap { max-width: 860px; display: flex; flex-direction: column; gap: 20px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid rgba(84, 104, 63, .22); }
.faq-list details { border-bottom: 1px solid rgba(84, 104, 63, .22); }
.faq-list summary {
  list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 0; border-radius: 12px; font-family: 'Literata', serif; font-weight: 500; font-size: clamp(19px, .5vw + 17px, 24px); letter-spacing: -.015em; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { box-shadow: 0 0 0 3px var(--parchment), 0 0 0 6px var(--ink); }
.faq-list summary i { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--meadow); color: var(--ink); display: flex; align-items: center; justify-content: center; font: 400 20px/1 'DM Sans', sans-serif; transition: background 200ms ease-out; }
.faq-list summary i::before { content: "+"; }
.faq-list details[open] summary i { background: var(--ink); color: var(--mist); }
.faq-list details[open] summary i::before { content: "−"; }
.faq-list p { padding: 0 52px 22px 0; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
@media (min-width: 768px) { .faq .wrap { gap: 40px; } }

/* ── Closing ──────────────────────────────────────── */
.closing { padding: 56px var(--gutter) 72px; }
.closing .wrap { max-width: 960px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.closing .lead { max-width: 520px; }
.qmark { position: relative; width: 150px; height: 116px; }
.qmark i { position: absolute; left: 25px; top: 8px; width: 100px; height: 100px; border-radius: 22px; }
.qmark i:nth-child(1) { transform: rotate(-12deg) translateX(-26px); background: #dbe6cd; }
.qmark i:nth-child(2) { transform: rotate(10deg) translateX(26px); background: var(--gold-tint); }
.qmark b { position: absolute; left: 25px; top: 4px; width: 100px; height: 108px; background: #fff; border-radius: 22px; box-shadow: 0 16px 34px rgba(84, 104, 63, .18); display: flex; align-items: center; justify-content: center; font-family: 'Literata', serif; font-weight: 500; font-size: 44px; color: var(--ink); }
@media (min-width: 768px) { .closing { padding: 88px var(--gutter) 104px; } }
@media (min-width: 1024px) { .closing { padding: 128px var(--gutter) 140px; } }

/* ── Rise ─────────────────────────────────────────── */
.js .rise { opacity: 0; transform: translateY(26px); transition: opacity 400ms ease-out, transform 400ms ease-out; }
.js .rise.is-in { opacity: 1; transform: none; }

/* ── Invite page ──────────────────────────────────── */
.join-head { padding: 10px var(--gutter); }
.join-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.join-logo { display: block; border-radius: 14px; }
.join-logo img { width: 155px; height: auto; }
.join-head .lang-menu { display: block; }
.join-main { padding: 4px var(--gutter) 56px; }
.join-col { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; align-items: stretch; text-align: left; }
.join-col .greet { display: flex; flex-direction: column; gap: 10px; }
.join-col h1 { font-size: clamp(30px, 3.2vw + 18px, 58px); line-height: 1.08; }
.join-col .greet p { font-size: clamp(16px, .4vw + 14.5px, 20px); line-height: 1.55; color: var(--ink-soft); max-width: 540px; }
.code-card { position: relative; width: 100%; }
.code-card::before, .code-card::after { content: ""; position: absolute; inset: 6px 10px; border-radius: 28px; }
.code-card::before { transform: rotate(4deg) translate(10px, 4px); background: var(--gold-tint); }
.code-card::after { transform: rotate(-3deg) translate(-8px, 3px); background: #dbe6cd; }
.code-card .face { position: relative; z-index: 1; background: #fff; border-radius: 28px; box-shadow: 0 24px 50px rgba(84, 104, 63, .18); padding: 24px 18px 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.code-card .lbl { font-weight: 600; font-size: 12px; letter-spacing: .16em; color: var(--moss); }
.code-card .code { font-weight: 700; font-size: clamp(34px, 5vw + 18px, 56px); letter-spacing: .08em; color: var(--ink); line-height: 1.1; user-select: all; -webkit-user-select: all; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.code-card .note { font-size: 14px; line-height: 1.5; color: var(--ink-soft); max-width: 300px; }
.join-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; width: 100%; }
.join-actions .row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; justify-content: flex-start; }
.join-actions .btn { flex: none; }
.copy-status { min-height: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--ink); text-align: left; }
.copy-status:not(:empty) { min-height: 22px; }
.copy-status i { width: 22px; height: 22px; flex: none; border-radius: 50%; color: var(--mist); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; font-style: normal; background: var(--moss); }
.copy-status.failed i { background: var(--ink); }
.reassure { font-size: 14px; font-weight: 600; color: var(--moss); }
.join-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; width: 100%; max-width: 520px; border-top: 1px solid var(--line); text-align: left; }
.join-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.join-steps li > b { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--meadow); display: flex; align-items: center; justify-content: center; font-family: 'Literata', serif; font-weight: 500; font-size: 14px; }
.join-steps li > span { padding-top: 2px; }
.blind-note { max-width: 560px; margin: 40px auto 0; background: var(--mist); border: 1px solid rgba(84, 104, 63, .14); border-radius: 24px; padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.blind-note h2 { font-size: 22px; }
.blind-note p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.join-view { display: contents; }
.join-view[hidden] { display: none; }
.state-invalid .code { color: var(--ink-soft); text-decoration: line-through; text-decoration-thickness: 2px; }
.state-bare .code { color: var(--moss); }
.invite-qr { display: none; }
.js .invite-qr.ready { display: flex; }
@media (max-width: 1023px) { .js .invite-qr.ready { display: none; } }
@media (min-width: 1024px) {
  .join-head { padding: 24px var(--gutter); }
  .join-logo img { width: 233px; }
  .join-main { padding: 24px var(--gutter) 96px; }
  .join-col { max-width: 680px; gap: 28px; align-items: center; text-align: center; }
  .join-col .greet { align-items: center; }
  .code-card { max-width: 520px; }
  .code-card .face { padding: 40px 32px 34px; }
  .join-actions { align-items: center; }
  .join-actions .row { justify-content: center; }
  .blind-note { max-width: 680px; margin-top: 64px; padding: 26px 30px; }
}

/* ── Legal pages ──────────────────────────────────── */
.legal-main { padding: 16px var(--gutter) 64px; }
.legal-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
.toc-side { display: none; }
.legal-art { display: flex; flex-direction: column; min-width: 0; }
.legal-art > h1 { font-size: clamp(36px, 2.6vw + 26px, 64px); line-height: 1.08; margin: 8px 0 0; }
.legal-art .updated { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.toc-m { margin-top: 20px; background: #fff; border-radius: 22px; box-shadow: 0 8px 20px rgba(66, 81, 56, .06); }
.toc-m summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; font-weight: 600; font-size: 15px; color: var(--ink); border-radius: 22px; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m summary i { width: 32px; height: 32px; border-radius: 50%; background: var(--meadow); display: flex; align-items: center; justify-content: center; font-size: 18px; font-style: normal; }
.toc-m summary i::before { content: "+"; }
.toc-m[open] summary i::before { content: "−"; }
.toc-m ol { margin: 0; padding: 0 8px 10px; list-style: none; display: flex; flex-direction: column; }
.toc-m a { min-height: 44px; display: flex; align-items: center; padding: 6px 10px; border-radius: 14px; font-size: 15px; line-height: 1.35; color: var(--ink); text-decoration: none; }
.toc-m a:focus-visible { box-shadow: inset 0 0 0 3px var(--ink); }
.legal-rule { height: 1px; background: rgba(84, 104, 63, .22); margin: 32px 0 4px; }
.legal-body { max-width: 680px; }
.legal-body h2 { font-size: clamp(22px, .8vw + 19px, 28px); line-height: 1.25; margin: 32px 0 14px; scroll-margin-top: 24px; }
.legal-body h3 { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: 0; margin: 22px 0 6px; }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.75; color: var(--ink); margin: 0 0 12px; }
.legal-body ul { padding-left: 22px; margin: 0 0 12px; }
.legal-body address { font-style: normal; margin: 0 0 12px; line-height: 1.75; }
.legal-body a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: rgba(84, 104, 63, .5); }
.legal-ask { margin-top: 44px; padding: 22px 24px; border-radius: 22px; background: var(--mist); border: 1px solid rgba(84, 104, 63, .14); display: flex; flex-direction: column; gap: 6px; max-width: 680px; }
.legal-ask b { font-family: 'Literata', serif; font-weight: 500; font-size: 20px; color: var(--ink); }
.legal-ask a { align-self: flex-start; min-height: 44px; display: flex; align-items: center; color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(84, 104, 63, .5); border-radius: 10px; }
.support { max-width: 680px; margin: 0 auto; }
.support .lead { margin: 16px 0 8px; }
.todo { background: #ffe3e0; color: #9b1c12; padding: 1px 4px; border-radius: 3px; font-weight: 600; }
@media (min-width: 768px) { .legal-main { padding: 32px var(--gutter) 88px; } }
@media (min-width: 1024px) {
  .legal-main { padding: 40px var(--gutter) 120px; }
  .legal-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
  .toc-side { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
  .toc-side > b { font-weight: 600; font-size: 12px; letter-spacing: .14em; color: var(--moss); padding: 0 14px 8px; }
  .toc-side a { min-height: 44px; display: flex; align-items: center; padding: 6px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.35; color: var(--ink); text-decoration: none; }
  .toc-side a:hover { background: var(--meadow); }
  .toc-side a.sub { margin-top: 10px; font-weight: 600; }
  .toc-m { display: none; }
}

/* ── 404 ──────────────────────────────────────────── */
.nf { padding: 24px var(--gutter) 80px; }
.nf .wrap { max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.nf-card { position: relative; transform: rotate(-4deg); --cw: 210px; }
.nf-card::before { content: ""; position: absolute; inset: 0; transform: rotate(10deg) translate(18px, 6px); background: #dbe6cd; border-radius: 30px; }
.nf-card .sized { position: relative; width: var(--cw); height: calc(var(--cw) * 406 / 288); }
.nf-card .card { transform: scale(calc(210 / 288)); transform-origin: 0 0; }
.nf h1 { font-size: clamp(34px, 2.6vw + 24px, 64px); line-height: 1.08; }
.nf p { font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 480px; }
@media (min-width: 768px) {
  .nf { padding: 64px var(--gutter) 140px; }
  .nf-card { --cw: 250px; }
  .nf-card .card { transform: scale(calc(250 / 288)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rise { opacity: 1; transform: none; }
}
