/* MarktHero website – design tokens taken 1:1 from the app (src/components/theme.ts, "MarktHero final design").
   Mobile first: base styles are the phone layout, larger screens add columns. */
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url('../fonts/manrope-500.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url('../fonts/manrope-600.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url('../fonts/manrope-700.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url('../fonts/manrope-800.woff2') format('woff2'); }

:root {
  /* colours (brand.*) */
  --page: #FAF7F2;          /* brand.page – warm off-white */
  --card: #FFFFFF;          /* brand.card */
  --ink: #14304F;           /* brand.ink */
  --ink-2: #5C6B7A;         /* brand.ink2 */
  --ink-3: #97A1AC;         /* brand.ink3 */
  --navy: #0B2D4D;          /* brand.navy – app icon */
  --orange: #FF7A00;        /* brand.orange – the one action colour */
  --orange-text: #B04E00;   /* darker orange for small text on light backgrounds (WCAG AA) */
  --cream: #FFF0DF;         /* brand.cream */
  --cream-blob: #FFEBD6;    /* brand.creamBlob */
  --sky: #E6F1FC;           /* brand.sky */
  --mint: #DDF2E6;          /* brand.mint */
  --mint-deep: #2E9E6B;     /* brand.mintDeep */
  --mint-text: #165C3D;     /* brand.mintText */
  --apricot: #FFE7D4;       /* brand.apricot */
  --apricot-text: #8A440F;  /* brand.apricotText */
  --pill: #F5F1EA;          /* brand.pill */
  --hair: #F1EBE2;          /* brand.hair */
  --line: #E7DFD3;          /* slightly stronger divider on the page background */
  --found: #34C759;         /* colors.found – camera hit */
  --maybe: #FFCC00;         /* colors.maybe – possible hit */
  /* radius (radius.*) */
  --r-s: 10px; --r-m: 14px; --r-l: 22px; --r-xl: 32px; --r-pill: 999px;
  /* type */
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* one spacing scale */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px;
  --section: clamp(64px, 10vw, 128px);
  --shadow-card: 0 1px 2px rgba(20, 48, 79, .05), 0 10px 30px -12px rgba(20, 48, 79, .14);
  --shadow-phone: 0 1px 2px rgba(20, 48, 79, .12), 0 28px 50px -24px rgba(20, 48, 79, .45);
  --wrap: 1160px;
  --gutter: clamp(16px, 5vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--page); color: var(--ink-2); font: 500 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -0.025em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
h1 { font-weight: 800; font-size: clamp(40px, 10.5vw, 76px); line-height: 1.02; }
h2 { font-weight: 800; font-size: clamp(32px, 7.4vw, 56px); line-height: 1.06; }
h3 { font-weight: 800; font-size: clamp(22px, 4.6vw, 28px); line-height: 1.18; }
p { margin: 0; text-wrap: pretty; }
b, strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s); z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); }

/* draft banner (legal pages before publication) */
.draft { background: var(--apricot); color: var(--apricot-text); font: 700 14px/1.4 var(--font); text-align: center; padding: 10px 16px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: var(--s-2); height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { border-radius: 8px; box-shadow: 0 2px 6px rgba(11, 45, 77, .18); }
.wordmark { font: 800 20px/1 var(--font); color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; }
.hero-o { color: var(--orange); }
.main-nav { display: none; }
.menu { margin-left: auto; position: relative; }
.menu > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover { background: var(--pill); }
.menu .ic-close { display: none; }
.menu[open] .ic-open { display: none; }
.menu[open] .ic-close { display: block; }
.menu-panel { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 2 * var(--gutter))); background: var(--card); border-radius: var(--r-l); box-shadow: 0 20px 50px -18px rgba(20, 48, 79, .35), 0 0 0 1px var(--hair); padding: 8px; display: grid; }
.menu-panel a { display: block; padding: 14px 16px; border-radius: var(--r-m); font: 700 17px/1.2 var(--font); text-decoration: none; color: var(--ink); }
.menu-panel a:hover { background: var(--pill); }
@media (min-width: 880px) {
  .header-row { height: 68px; gap: var(--s-4); }
  .menu { display: none; }
  .main-nav { display: flex; gap: 30px; margin-left: auto; }
  .main-nav a { font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink-2); padding: 8px 0; }
  .main-nav a:hover { color: var(--ink); }
}

/* ---------------------------------------------------------------- buttons, small parts */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 800 17px/1 var(--font); text-decoration: none; border-radius: var(--r-l); padding: 18px 26px; min-height: 56px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 122, 0, .6); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: 0 0 0 1px var(--ink-3); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 800 14px/1 var(--font); color: var(--apricot-text); background: var(--apricot); padding: 9px 14px; border-radius: var(--r-pill); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.kicker { font: 800 13px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 14px; }
.chapter-no { display: inline-flex; align-items: center; gap: 12px; font: 800 14px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); margin-bottom: var(--s-2); }
.chapter-no span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #fff; letter-spacing: 0; font-size: 14px; }
.lead { font-size: clamp(18px, 2.4vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36ch; }
.thought { display: flex; gap: 12px; align-items: flex-start; margin-top: var(--s-3); padding: 14px 16px; border-radius: var(--r-m); background: var(--card); box-shadow: 0 0 0 1px var(--hair); font-size: 15px; line-height: 1.5; max-width: 44ch; }
.thought b { display: block; color: var(--orange-text); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.thought svg { flex: none; margin-top: 2px; color: var(--orange); }

/* ---------------------------------------------------------------- phone mockup */
.phone { position: relative; width: var(--w, 280px); aspect-ratio: 393 / 852; border-radius: calc(var(--w, 280px) * .165); padding: calc(var(--w, 280px) * .032); background: #10161D; box-shadow: var(--shadow-phone), inset 0 0 0 1.5px #2C3540; flex: none; }
.phone::after { content: ''; position: absolute; top: calc(var(--w, 280px) * .062); left: 50%; transform: translateX(-50%); width: 30%; height: calc(var(--w, 280px) * .085); border-radius: 99px; background: #05090E; z-index: 2; }
.phone > img, .phone > .cam-screen { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: calc(var(--w, 280px) * .135); }
.phone > img { padding-top: calc(var(--w, 280px) * .14); background: var(--page); }

/* ---------------------------------------------------------------- hero */
.hero { padding: clamp(28px, 6vw, 72px) 0 var(--section); }
.hero-grid { display: grid; gap: clamp(40px, 8vw, 64px); align-items: center; }
.hero-copy h1 { margin: 20px 0 18px; }
.hero-copy h1 .line { display: block; }
.hero-actions { margin-top: var(--s-4); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.availability { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.availability .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-deep); box-shadow: 0 0 0 4px var(--mint); }
.hero-stage { position: relative; display: flex; justify-content: center; padding: 28px 0 0; isolation: isolate; }
.hero-stage::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 0; transform: translateX(-50%); width: min(520px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--cream); }
.hero-stage .phone { --w: min(300px, 76vw); }
.hero-stage .phone-2 { display: none; }
.hero-note { position: absolute; z-index: 3; left: 50%; bottom: 16%; transform: translateX(-112%); display: inline-flex; align-items: center; gap: 10px; background: var(--card); color: var(--ink); font: 700 14px/1.3 var(--font); padding: 12px 14px; border-radius: var(--r-m); box-shadow: var(--shadow-card); white-space: nowrap; }
.hero-note .ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--mint-deep); flex: none; }
@media (max-width: 539px) { .hero-note { left: 0; transform: none; bottom: 9%; } }
@media (max-width: 359px) { .hero-note { font-size: 13px; padding: 10px 12px; max-width: calc(100% - 4px); white-space: normal; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-stage { min-height: 640px; align-items: center; padding: 0; }
  .hero-stage::before { width: min(560px, 100%); top: 50%; transform: translate(-50%, -50%); }
  .hero-stage .phone { --w: 290px; position: relative; z-index: 2; transform: translateX(24%); }
  .hero-stage .phone-2 { display: block; --w: 250px; position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-96%, -46%) rotate(-5deg); opacity: .97; }
  .hero-note { left: auto; right: 0; bottom: 18%; transform: none; }
}

/* ---------------------------------------------------------------- chapters */
.chapter { padding: var(--section) 0 0; }
.chapter-head { max-width: 760px; margin-bottom: clamp(32px, 6vw, 56px); }
.chapter-head .lead { margin-top: var(--s-2); max-width: 46ch; }
.chapter-intro { padding-top: 0; }
.chapter-intro .chapter-head { margin-inline: auto; text-align: center; }
.chapter-intro .lead { margin-inline: auto; }
.moments { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-l); overflow: hidden; max-width: 900px; box-shadow: 0 0 0 1px var(--line); }
.moments a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 18px 20px; background: var(--card); text-decoration: none; }
.moments a:hover { background: #FFFCF8; }
.moments .n { font: 800 13px/1 var(--font); color: var(--orange-text); letter-spacing: .06em; }
.moments .t { font: 800 17px/1.25 var(--font); color: var(--ink); }
.moments .d { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
@media (min-width: 760px) { .moments { grid-template-columns: repeat(4, 1fr); } }

/* bento: one big phone tile + detail tiles */
.bento { display: grid; gap: var(--s-2); }
.tile { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--card); }
.tile-cream { background: var(--cream); }
.tile-sky { background: var(--sky); }
.tile-mint { background: var(--mint); }
.tile-pill { background: var(--pill); }
.tile-main { display: grid; gap: var(--s-3); padding: clamp(24px, 5vw, 48px); align-items: center; }
.tile-main .phone { --w: min(270px, 70vw); justify-self: center; }
.tile-copy h3 { margin-bottom: 10px; }
.tile-copy p { font-size: 16px; }
.tile-detail { display: flex; flex-direction: column; }
.tile-detail .tile-copy { padding: 22px 22px 18px; }
.tile-detail figure { margin: 0 18px; flex: 1; display: flex; align-items: flex-end; }
.tile-detail figure img { width: 100%; border-radius: 16px 16px 0 0; box-shadow: 0 -1px 0 rgba(20, 48, 79, .04), 0 18px 40px -16px rgba(20, 48, 79, .35); }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .tile-main { grid-column: span 6; grid-template-columns: 1fr auto; padding: 48px 56px; gap: 56px; }
  .tile-main .phone { --w: 270px; }
  .tile-detail { grid-column: span 2; }
}
@media (min-width: 760px) and (max-width: 1023px) {
  .tile-detail { grid-column: span 3; }
  .tile-detail:last-child { grid-column: span 6; }
  .tile-detail:last-child figure { max-width: 420px; margin-inline: auto; }
}

/* camera – the signature section */
.camera { margin-top: var(--section); background: var(--navy); color: #C9D6E3; padding: var(--section) 0; }
.camera .chapter-no { color: #FFB066; }
.camera h2 { color: #fff; }
.camera .lead { color: #C9D6E3; }
.camera-grid { display: grid; gap: clamp(40px, 8vw, 72px); align-items: center; }
.legend { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: 14px; }
.legend li { display: flex; align-items: center; gap: 14px; font-size: 17px; }
.legend b { color: #fff; }
.frame-dot { width: 26px; height: 26px; border-radius: 8px; border: 3.5px solid; flex: none; }
.frame-dot.green { border-color: var(--found); }
.frame-dot.yellow { border-color: var(--maybe); }
.camera .fine { margin-top: var(--s-3); font-size: 14px; color: #93A9BF; max-width: 48ch; }
.camera-visual { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.camera-visual .phone { --w: min(300px, 76vw); background: #000; }
.camera-visual figcaption { font-size: 13px; color: #93A9BF; text-align: center; }
@media (min-width: 960px) { .camera-grid { grid-template-columns: 1.05fr 1fr; } .camera-visual .phone { --w: 320px; } }

/* rebuilt camera view (neutral packs, no brands) */
.cam-screen { position: relative; overflow: hidden; background: #2B2723; display: block; }
.cam-screen::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(120% 80% at 50% 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .45)), linear-gradient(180deg, rgba(255, 240, 210, .08), rgba(0, 0, 0, .1)); }
.cam-shelf { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(4, 1fr); padding: 18% 0 24%; filter: saturate(.85); }
.cam-row { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 3%; padding: 0 3% 0; border-bottom: 7px solid #8D7A64; background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .18)); }
.cam-row:nth-child(odd) { filter: blur(.6px); }
.pk { position: relative; flex: none; width: 17%; border-radius: 3px 3px 2px 2px; background: var(--c, #B9A27E); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), inset 6px 0 10px rgba(255, 255, 255, .12), inset -6px 0 10px rgba(0, 0, 0, .18); }
.pk::before { content: ''; position: absolute; left: 14%; right: 14%; top: 26%; height: 22%; border-radius: 2px; background: rgba(255, 255, 255, .78); }
.pk::after { content: ''; position: absolute; left: 22%; right: 30%; top: 56%; height: 6%; border-radius: 2px; background: rgba(255, 255, 255, .5); }
.pk.h1 { height: 74%; } .pk.h2 { height: 62%; } .pk.h3 { height: 84%; } .pk.h4 { height: 54%; }
.pk.round { border-radius: 40% 40% 4px 4px / 22% 22% 4px 4px; }
.pk.hit { outline: 3px solid var(--found); outline-offset: 3px; border-radius: 4px; z-index: 2; }
.pk.maybe { outline: 3px solid var(--maybe); outline-offset: 3px; border-radius: 4px; }
.hit-label { position: absolute; z-index: 3; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--found); color: #062A12; font: 800 10px/1 var(--font); padding: 5px 7px; border-radius: 6px; }
.cam-search { position: absolute; z-index: 4; top: 15%; left: 7%; right: 7%; display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .94); color: var(--ink); font: 700 13px/1 var(--font); padding: 11px 12px; border-radius: 12px; }
.cam-search b { font-weight: 800; }
.cam-found { position: absolute; z-index: 4; left: 50%; bottom: 8%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--found); color: #062A12; font: 800 13px/1 var(--font); padding: 11px 16px; border-radius: 99px; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .5); }

/* together */
.together { display: grid; gap: clamp(32px, 6vw, 64px); align-items: center; padding-top: var(--section); }
.duo { position: relative; display: flex; justify-content: center; gap: clamp(12px, 3vw, 28px); padding: clamp(28px, 6vw, 48px) 12px; border-radius: var(--r-xl); background: var(--sky); }
.duo .phone { --w: min(200px, 41vw); }
.duo .phone:last-child { margin-top: clamp(28px, 8vw, 56px); }
@media (min-width: 960px) { .together { grid-template-columns: 1fr 1.1fr; } .together .duo { order: 2; } .duo .phone { --w: 230px; } }

/* after the shopping trip */
.after { display: grid; gap: clamp(32px, 6vw, 64px); align-items: center; }
.after-stage { position: relative; display: flex; justify-content: center; padding: clamp(28px, 6vw, 48px) 16px; border-radius: var(--r-xl); background: var(--mint); }
.after-stage .phone { --w: min(260px, 64vw); }
.after-stage .float-detail { position: absolute; right: 4%; bottom: 7%; width: min(250px, 52%); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(20, 48, 79, .5); }
@media (max-width: 539px) { .after-stage { padding-bottom: 120px; } .after-stage .float-detail { right: 50%; transform: translateX(50%); width: 82%; bottom: 20px; } }
@media (min-width: 960px) { .after { grid-template-columns: 1.1fr 1fr; } .after-stage .phone { --w: 280px; transform: translateX(-18%); } }

/* "MarktHero hat mitgedacht" – everything is connected */
.connected { margin-top: var(--section); padding: var(--section) 0; background: var(--cream); }
.connected .chapter-head { margin-inline: auto; text-align: center; }
.connected .lead { margin-inline: auto; }
.flow { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; gap: 12px; }
.flow li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--card); border-radius: var(--r-l); padding: 18px; box-shadow: 0 0 0 1px rgba(20, 48, 79, .05); }
.flow .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--pill); color: var(--ink); }
.flow h3 { font-size: 18px; margin: 2px 0 4px; }
.flow p { font-size: 15px; line-height: 1.5; }
.soon { display: inline-block; margin-left: 6px; font: 800 11px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--apricot-text); background: var(--apricot); padding: 4px 7px; border-radius: 99px; vertical-align: 2px; }
.outlook { margin: 28px auto 0; text-align: center; font-size: 16px; max-width: 60ch; }
.outlook .soon { margin: 0 6px 0 0; }
@media (min-width: 760px) { .flow { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .flow { grid-template-columns: repeat(3, 1fr); } }

/* privacy in short */
.trust { padding: var(--section) 0 0; }
.trust-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.trust-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.trust-item svg { color: var(--ink); margin-top: 2px; }
.trust-item h3 { font-size: 18px; margin-bottom: 4px; }
.trust-item p { font-size: 15px; }
.trust-more { margin-top: var(--s-3); font-size: 15px; }
.trust-more a { font-weight: 700; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 0; } .trust-item { grid-template-columns: 1fr; border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 20px; } }

/* final call */
.final { padding: var(--section) 0; }
.final-card { position: relative; overflow: hidden; text-align: center; background: var(--navy); color: #C9D6E3; border-radius: var(--r-xl); padding: clamp(44px, 8vw, 80px) 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.final-card img { border-radius: 22px; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .55); margin-bottom: 4px; }
.final-card h2 { color: #fff; max-width: 16ch; }
.final-card p { font-size: 18px; max-width: 40ch; }
.final-card .support-link { color: #fff; font-weight: 700; font-size: 16px; }
.store-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 8px 0; }
.store-badge { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-width: 168px; min-height: 56px; padding: 10px 18px; border-radius: var(--r-m); text-decoration: none; font: 800 17px/1.1 var(--font); color: var(--ink); background: #fff; }
.store-badge small { font: 700 11px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.store-badge.is-soon { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.store-badge.is-soon small { color: #93A9BF; }
a.store-badge:hover { transform: translateY(-1px); }

/* reveal on scroll (only when JS runs; no movement for reduced motion) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 15px; }
.footer-grid { display: grid; gap: 24px; }
.footer-brand p { margin-top: 10px; max-width: 34ch; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; align-content: start; }
.footer-links a { font-weight: 700; text-decoration: none; color: var(--ink); padding: 8px 0; }
.footer-links a:hover { color: var(--orange-text); }
.footer-note { margin-top: 28px; display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; } .footer-links { display: flex; flex-wrap: wrap; gap: 6px 28px; max-width: 560px; justify-content: flex-end; } .footer-note { grid-template-columns: 1fr auto; } }

/* ---------------------------------------------------------------- simple content pages (support, legal, invite) */
.page { padding: clamp(36px, 7vw, 64px) 0 clamp(64px, 10vw, 112px); }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(34px, 8vw, 52px); margin-bottom: 18px; }
.page h2 { font-size: clamp(22px, 4.6vw, 28px); margin: 44px 0 12px; }
.page h3 { font-size: 19px; margin: 24px 0 8px; }
.page p, .page li { font-size: 17px; overflow-wrap: anywhere; }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; }
.card { background: var(--card); border-radius: var(--r-l); padding: 24px; box-shadow: var(--shadow-card); margin-top: 20px; }
.faq details { background: var(--card); border-radius: var(--r-m); box-shadow: 0 0 0 1px var(--hair); margin-top: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font: 800 17px/1.4 var(--font); color: var(--ink); padding: 18px 32px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--orange); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 18px; }
.todo { background: var(--apricot); color: var(--apricot-text); font-weight: 700; border-radius: 6px; padding: 1px 6px; }
.invite-code { font: 800 clamp(24px, 7vw, 30px)/1 var(--font); letter-spacing: .12em; color: var(--ink); background: var(--pill); border-radius: var(--r-m); padding: 18px 22px; display: inline-block; margin: 8px 0 4px; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; margin-top: 16px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #fff; font: 800 15px/32px var(--font); text-align: center; }
