/* maybejar.com — "Warm Jar" tokens, shared with the app (app/src/theme/palette.ts). */

@font-face { font-family: Onest; font-weight: 400; font-display: swap; src: url(/assets/fonts/onest-regular.woff2) format("woff2"); }
@font-face { font-family: Onest; font-weight: 500; font-display: swap; src: url(/assets/fonts/onest-medium.woff2) format("woff2"); }
@font-face { font-family: Onest; font-weight: 600; font-display: swap; src: url(/assets/fonts/onest-semibold.woff2) format("woff2"); }
@font-face { font-family: Onest; font-weight: 700; font-display: swap; src: url(/assets/fonts/onest-bold.woff2) format("woff2"); }
@font-face { font-family: "Onest Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 105.4%; ascent-override: 92%; descent-override: 29%; line-gap-override: 0%; }

:root {
  color-scheme: light;
  --bg: #fff6ea;
  --surface: #ffffff;
  --soft: #f7eada;
  --text: #1f1711;
  --text-2: rgba(31, 23, 17, 0.7);
  --text-3: rgba(31, 23, 17, 0.5);
  --accent: #b8480f;
  --accent-bright: #e8672a;
  --honey: #f6b443;
  --accent-soft: rgba(232, 103, 42, 0.12);
  --pill: #1f1711;
  --on-pill: #fff6ea;
  --glass: rgba(255, 255, 255, 0.6);
  --glass-strong: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.95);
  --line: rgba(31, 23, 17, 0.1);
  --shadow: 0 10px 28px rgba(120, 64, 20, 0.14);
  --lift: 0 30px 60px rgba(120, 64, 20, 0.22), 0 2px 6px rgba(120, 64, 20, 0.12);
  --aurora-1: rgba(246, 180, 67, 0.5);
  --aurora-2: rgba(242, 150, 120, 0.42);
  --aurora-3: rgba(168, 214, 196, 0.5);
  --phone: #1f1711;
  /* App screen tokens (phones always follow the page theme). */
  --a-bg: #fff8ef;
  --a-card: #ffffff;
  --a-soft: #f6eadb;
  --a-ink: #1f1711;
  --a-muted: #75675b;
  --a-line: #efe1cf;
  --a-accent: #d9541e;
  --ease-out: cubic-bezier(0.2, 0.75, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #17110d;
    --surface: #241a14;
    --soft: #2c2119;
    --text: #fff4e6;
    --text-2: rgba(255, 244, 230, 0.72);
    --text-3: rgba(255, 244, 230, 0.5);
    --accent: #ffb27a;
    --accent-bright: #ff8a4c;
    --accent-soft: rgba(255, 138, 76, 0.16);
    --pill: #fff4e6;
    --on-pill: #1f1711;
    --glass: rgba(255, 255, 255, 0.07);
    --glass-strong: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.14);
    --line: rgba(255, 244, 230, 0.12);
    --shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
    --lift: 0 30px 60px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.5);
    --aurora-1: rgba(190, 110, 30, 0.4);
    --aurora-2: rgba(150, 62, 44, 0.4);
    --aurora-3: rgba(40, 96, 90, 0.38);
    --phone: #0c0806;
    --a-bg: #17110d;
    --a-card: #241a14;
    --a-soft: #2f231a;
    --a-ink: #fff4e6;
    --a-muted: #c2b3a4;
    --a-line: #3a2c21;
    --a-accent: #ff9a5c;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 Onest, "Onest Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--honey); color: #1f1711; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 8px; }

.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--pill); color: var(--on-pill); text-decoration: none; }
.skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; padding: 0; }

/* ── Ambient ──────────────────────────────────────────────────────────── */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 80vmax; height: 80vmax; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { left: -25vmax; top: -30vmax; background: radial-gradient(closest-side, var(--aurora-1), transparent); animation: drift-a 46s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { right: -30vmax; top: 10vh; background: radial-gradient(closest-side, var(--aurora-2), transparent); animation: drift-b 58s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { left: 10vw; bottom: -45vmax; background: radial-gradient(closest-side, var(--aurora-3), transparent); animation: drift-c 52s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-22vw, 18vh) scale(0.9); } }
@keyframes drift-c { to { transform: translate(14vw, -26vh) scale(1.2); } }

/* ── Header ───────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter); padding-top: max(14px, env(safe-area-inset-top)); transition: background-color 0.4s, box-shadow 0.4s; }
.top.scrolled, .doc .top { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; text-decoration: none; }
.brand img { border-radius: 8px; box-shadow: 0 4px 12px rgba(120, 64, 20, 0.25); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color 0.2s, background-color 0.2s; }
.nav a:hover { color: var(--text); background: var(--glass); }
.top > .btn-small { margin-left: 8px; }
@media (max-width: 900px) { .nav { display: none; } .top > .btn-small { margin-left: auto; } }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer; background: var(--pill); color: var(--on-pill); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; text-decoration: none; box-shadow: var(--shadow); transition: transform 0.35s var(--ease-spring), box-shadow 0.3s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow), 0 0 0 6px var(--accent-soft); }
.btn:active { transform: scale(0.97); transition-duration: 0.1s; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 176px; min-height: 58px; padding: 8px 22px; border-radius: 16px; text-decoration: none; background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform 0.35s var(--ease-spring), background-color 0.3s, border-color 0.3s; }
.store small { font-size: 12px; font-weight: 500; color: var(--text-2); line-height: 1.2; }
.store b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.store:hover { transform: translateY(-2px); background: var(--glass-strong); border-color: var(--accent-bright); }
.store:first-child { background: var(--pill); color: var(--on-pill); border-color: transparent; }
.store:first-child small { color: inherit; opacity: 0.72; }

/* ── Section bits ─────────────────────────────────────────────────────── */
.landing > section { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: clamp(72px, 11vw, 140px) var(--gutter) 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.section-head { max-width: 700px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head h2, .private h2, .download h2 { margin-top: 12px; font-size: clamp(36px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -0.045em; }
.sub { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); }
.glass { background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); box-shadow: var(--shadow); }
.hint { font-size: 14px; color: var(--text-3); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.landing > .hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: min(860px, calc(100svh - 70px)); padding-top: clamp(24px, 4vw, 48px); }
.hero h1 { margin-top: 18px; font-size: clamp(46px, 6.1vw, 88px); line-height: 0.98; letter-spacing: -0.055em; }
.hero h1 span { display: block; }
.grad { background: linear-gradient(100deg, #b8480f, #e8672a 55%, #d99a1c); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.08em; }
@media (prefers-color-scheme: dark) { .grad { background-image: linear-gradient(100deg, #ff9a5c, #ffc98a 60%, #f6b443); } }
.hero .lead { max-width: 520px; margin-top: 26px; font-size: clamp(18px, 1.7vw, 20px); line-height: 1.5; color: var(--text-2); }
.hero .stores { margin-top: 34px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 500; color: var(--text-2); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 10px var(--accent-bright); }
.hero-copy > .reveal:nth-child(2) { --d: 0.08s; } .hero-copy > .reveal:nth-child(3) { --d: 0.16s; }
.hero-copy > .reveal:nth-child(4) { --d: 0.24s; } .hero-copy > .reveal:nth-child(5) { --d: 0.32s; }

.orbit-wrap { position: relative; height: clamp(440px, 52vw, 640px); perspective: 1600px; }
.orbit { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform 0.5s var(--ease-out); }
.orbit-glow { position: absolute; left: 50%; top: 50%; width: 88%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(246, 180, 67, 0.5), rgba(246, 180, 67, 0.14) 50%, transparent); animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.6; scale: 0.92; } }
.hero-jar { position: absolute; left: 50%; top: 50%; width: clamp(200px, 24vw, 310px); translate: -50% -46%; filter: drop-shadow(0 30px 40px rgba(120, 64, 20, 0.35)); animation: bob 7s ease-in-out infinite; transform: translateZ(40px); }
@keyframes bob { 50% { translate: -50% -48.5%; } }
.find { position: absolute; left: var(--x); top: var(--y); width: var(--w, clamp(104px, 12vw, 158px)); padding: 6px 6px 8px; border-radius: 18px; background: var(--surface); box-shadow: var(--lift); rotate: var(--r); transform: translateZ(var(--z, 0px)); animation: find-in 1.1s var(--ease-out) both, float 7s ease-in-out infinite; animation-delay: var(--dd, 0s), calc(var(--dd, 0s) * 4 + 1.1s); }
.find img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 13px; }
.find b { display: block; margin: 7px 4px 0; font-size: 12.5px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.find small { display: flex; align-items: center; gap: 5px; margin: 3px 4px 0; font-size: 11px; font-weight: 500; color: var(--text-3); }
.find small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--accent-bright)); }
.find.note { padding: 12px 13px; background: #fdecc0; color: #3b2a12; font-size: 13px; font-weight: 500; line-height: 1.3; width: clamp(110px, 12vw, 150px); }
@keyframes find-in { from { opacity: 0; scale: 0.6; translate: var(--fx, 0) var(--fy, 40px); } }
@keyframes float { 50% { translate: 0 -10px; } }
.f1 { --x: 2%; --y: 6%; --r: -9deg; --z: 60px; --dd: 0.1s; --fx: 60px; }
.f2 { --x: 70%; --y: 2%; --r: 8deg; --z: 20px; --dd: 0.25s; --fx: -60px; }
.f3 { --x: 76%; --y: 52%; --r: -5deg; --z: 80px; --dd: 0.4s; --fx: -70px; --fy: -20px; }
.f4 { --x: 0%; --y: 58%; --r: 6deg; --z: 30px; --dd: 0.55s; --fx: 70px; --fy: -20px; }
.f5 { --x: 38%; --y: -2%; --r: 3deg; --z: 0px; --dd: 0.7s; --fy: 60px; }

@media (max-width: 900px) {
  .landing > .hero { grid-template-columns: 1fr; text-align: center; min-height: 0; gap: 0; }
  .hero .orbit-wrap { order: -1; height: clamp(360px, 96vw, 520px); }
  .hero .lead { margin-inline: auto; }
  .hero .stores, .facts { justify-content: center; }
  .hero h1 { margin-top: 10px; }
  .find { --w: clamp(92px, 26vw, 140px); }
  .hero-jar { width: clamp(170px, 46vw, 250px); }
}

/* ── Demo: drop it in the jar ─────────────────────────────────────────── */
.chips { position: relative; display: flex; justify-content: center; gap: 6px; margin: -8px auto 44px; padding: 4px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--glass-border); background: var(--glass); cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text-2); transition: background-color 0.25s, color 0.25s, transform 0.3s var(--ease-spring); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.chip:hover { color: var(--text); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--pill); color: var(--on-pill); border-color: transparent; box-shadow: var(--shadow); }
@media (max-width: 700px) {
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); padding: 4px var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

.table { display: grid; grid-template-columns: minmax(0, 340px) auto minmax(0, 400px); justify-content: center; align-items: center; gap: clamp(20px, 3.5vw, 56px); }
.raw { position: relative; padding: 16px; border-radius: 26px; transition: opacity 0.5s, transform 0.7s var(--ease-out), filter 0.5s; }
.raw-src { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.raw-src i { width: 22px; height: 22px; border-radius: 7px; background: var(--c, var(--accent-bright)); }
.raw img { margin-top: 12px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.raw-text { margin-top: 12px; font-size: 15px; line-height: 1.4; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.raw.note img { display: none; }
.raw.note .raw-text { font-size: 17px; color: var(--text); -webkit-line-clamp: 8; }
.raw.gone { opacity: 0; transform: translateX(40%) scale(0.3) rotate(8deg); filter: blur(3px); }

.mid { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.demo-jar { width: clamp(110px, 12vw, 150px); filter: drop-shadow(0 18px 24px rgba(120, 64, 20, 0.3)); }
.demo-jar.gulp { animation: gulp 0.8s var(--ease-spring) 0.35s; }
@keyframes gulp { 30% { scale: 1.12 0.9; } 60% { scale: 0.95 1.07; rotate: -3deg; } }

.sorted { min-height: 330px; display: flex; flex-direction: column; justify-content: center; }
.sorted-intro p:first-child { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; }
.sorted-intro p + p { margin-top: 14px; color: var(--text-2); }
.sorted.has .sorted-intro, .sorted:not(.has) .s-card { display: none; }
.s-card { padding: 22px; border-radius: 28px; }
.s-card > * { animation: rise 0.7s var(--ease-out) both; }
.s-card > :nth-child(2) { animation-delay: 0.08s; } .s-card > :nth-child(3) { animation-delay: 0.16s; } .s-card > :nth-child(4) { animation-delay: 0.24s; } .s-card > :nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } }
.s-cat { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--cs); color: var(--ct); font-size: 13px; font-weight: 600; }
.s-cat::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.s-title { margin-top: 14px; font-size: clamp(26px, 2.8vw, 32px); line-height: 1.1; letter-spacing: -0.04em; }
.s-sum { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.s-fields { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.s-fields li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.s-fields span { color: var(--text-3); }
.s-fields b { font-weight: 500; text-align: right; }
.s-foot { margin-top: 14px; font-size: 13px; color: var(--text-3); }
@media (prefers-color-scheme: dark) { .s-cat { background: color-mix(in srgb, var(--ct) 22%, transparent); color: color-mix(in srgb, var(--ct) 45%, white); } }

@media (max-width: 900px) {
  .table { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
  .raw { width: min(100%, 360px); }
  .raw.gone { transform: translateY(60%) scale(0.3); }
  .mid { flex-direction: row; }
  .demo-jar { width: 96px; }
  .sorted { min-height: 0; width: min(100%, 420px); }
  .sorted-intro { text-align: center; }
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: clamp(64px, 9vw, 110px) 0 0; padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 24px; border-top: 1px solid var(--line); }
.steps li:nth-child(2) { --d: 0.08s; } .steps li:nth-child(3) { --d: 0.16s; } .steps li:nth-child(4) { --d: 0.24s; }
.step-n { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; }
.steps b { font-size: 20px; letter-spacing: -0.03em; }
.steps span:last-child { color: var(--text-2); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; gap: 0; } }

/* ── Features + phones ────────────────────────────────────────────────── */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding: clamp(24px, 4vw, 48px) 0; }
.feature.alt .feature-copy { order: 2; justify-self: start; }
.feature-copy { max-width: 470px; justify-self: end; }
.feature h3 { margin-top: 12px; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.06; letter-spacing: -0.045em; }
.feature-copy p:last-child { margin-top: 18px; font-size: 18px; color: var(--text-2); }
.feature-phone { display: flex; justify-content: center; perspective: 1600px; }
@media (max-width: 860px) {
  .feature, .feature.alt { grid-template-columns: 1fr; text-align: center; }
  .feature-copy, .feature.alt .feature-copy { order: 0; justify-self: center; }
}

.phone { position: relative; width: min(300px, 78vw); aspect-ratio: 300 / 629; padding: 9px; border-radius: 48px; background: var(--phone); box-shadow: var(--lift), inset 0 0 0 1.5px rgba(255, 255, 255, 0.14); transform: rotateY(var(--tilt, -14deg)) rotateX(4deg); transition: transform 0.9s var(--ease-out); }
.feature.alt .phone { --tilt: 14deg; }
.phone:hover { transform: none; }
.screen { position: relative; height: 100%; overflow: hidden; border-radius: 40px; background: var(--a-bg); color: var(--a-ink); font-size: 12px; line-height: 1.3; text-align: left; display: flex; flex-direction: column; }
.screen::before { content: ""; position: absolute; left: 50%; top: 9px; width: 84px; height: 24px; translate: -50%; border-radius: 14px; background: #000; z-index: 3; }
.s-body { flex: 1; padding: 46px 14px 0; overflow: hidden; }
.s-h { display: flex; align-items: center; justify-content: space-between; }
.s-h h4 { margin: 0; font-size: 25px; font-weight: 700; letter-spacing: -0.04em; }
.s-h small { display: block; font-size: 11px; font-weight: 500; color: var(--a-muted); margin-bottom: 1px; }
.s-add { width: 32px; height: 32px; border-radius: 50%; background: var(--a-ink); color: var(--a-bg); display: grid; place-items: center; font-size: 20px; font-weight: 400; line-height: 1; }
.pills { display: flex; gap: 6px; margin-top: 12px; }
.pills span { padding: 6px 11px; border-radius: 999px; background: var(--a-soft); font-size: 11px; font-weight: 600; color: var(--a-muted); white-space: nowrap; }
.pills span.on { background: var(--a-ink); color: var(--a-bg); }
.s-label { margin: 16px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--a-muted); }
.big-card { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 11; box-shadow: 0 10px 22px rgba(80, 40, 10, 0.18); }
.big-card img { width: 100%; height: 100%; object-fit: cover; }
.big-card div { position: absolute; inset: auto 0 0; padding: 26px 12px 11px; background: linear-gradient(transparent, rgba(20, 10, 4, 0.78)); color: #fff; }
.big-card b { display: block; font-size: 15px; letter-spacing: -0.02em; }
.big-card small { font-size: 10.5px; opacity: 0.85; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--cs); color: var(--ct); font-size: 10px; font-weight: 600; }
.big-card .tag { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, 0.92); }
.row { display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 8px; border-radius: 18px; background: var(--a-card); box-shadow: 0 1px 0 var(--a-line), 0 6px 14px rgba(80, 40, 10, 0.06); }
.row img { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; flex: none; }
.row b { display: block; font-size: 13px; letter-spacing: -0.02em; margin-bottom: 4px; }
.row small { display: block; margin-top: 3px; font-size: 10.5px; color: var(--a-muted); }
.tabbar { position: relative; z-index: 2; display: flex; justify-content: space-around; margin: 0 12px 12px; padding: 7px 6px; border-radius: 26px; background: color-mix(in srgb, var(--a-card) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 20px rgba(80, 40, 10, 0.14), inset 0 0 0 1px var(--a-line); }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 9px; border-radius: 18px; font-size: 9px; font-weight: 600; color: var(--a-muted); }
.tabbar span.on { color: var(--a-accent); background: color-mix(in srgb, var(--a-accent) 13%, transparent); }
.tabbar svg { width: 18px; height: 18px; }

.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.cat { position: relative; padding: 11px; border-radius: 20px; background: var(--cs); color: var(--ct); aspect-ratio: 1.12; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.cat i { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 12px; background: rgba(255, 255, 255, 0.7); display: grid; place-items: center; font-style: normal; font-size: 18px; }
.cat b { font-size: 14px; letter-spacing: -0.02em; color: #1f1711; }
.cat small { font-size: 10.5px; font-weight: 500; opacity: 0.9; }
@media (prefers-color-scheme: dark) {
  .cat { background: color-mix(in srgb, var(--ct) 26%, #17110d); color: color-mix(in srgb, var(--ct) 40%, white); }
  .cat b { color: #fff4e6; } .cat i { background: rgba(255, 255, 255, 0.12); }
  .tag { background: color-mix(in srgb, var(--ct) 26%, #17110d); color: color-mix(in srgb, var(--ct) 40%, white); }
  .big-card .tag { background: rgba(255, 255, 255, 0.92); color: var(--ct); }
}

.map { position: relative; margin: 12px -14px 0; height: 62%; background:
  linear-gradient(115deg, transparent 47%, #fff 47% 49%, transparent 49%),
  linear-gradient(28deg, transparent 38%, #fff 38% 39.6%, transparent 39.6%),
  linear-gradient(160deg, transparent 62%, #fff 62% 63.4%, transparent 63.4%),
  radial-gradient(60% 40% at 86% 20%, #bfe0ea 98%, transparent),
  radial-gradient(34% 24% at 22% 70%, #cfe6c3 98%, transparent), #f3ead9; }
@media (prefers-color-scheme: dark) { .map { filter: invert(0.9) hue-rotate(180deg) saturate(0.7); } .map .pin { filter: invert(1) hue-rotate(180deg); } }
.pin { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; padding: 3px; border-radius: 50% 50% 50% 6px; rotate: -45deg; background: #fff; box-shadow: 0 6px 14px rgba(60, 30, 8, 0.3); }
.pin img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; rotate: 45deg; }
.pin.sel { background: var(--a-accent); scale: 1.2; z-index: 1; }
.sheet { position: relative; margin: -22px 0 0; padding: 0 0 0; }
.sheet .row { margin-top: 0; }
.go { margin-top: 8px; padding: 11px; border-radius: 999px; background: var(--a-ink); color: var(--a-bg); text-align: center; font-size: 13px; font-weight: 600; }

/* ── Categories marquee ───────────────────────────────────────────────── */
.marquee { margin: clamp(36px, 6vw, 72px) calc(50% - 50vw) 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee ul { display: flex; gap: 12px; width: max-content; margin: 0 0 12px; padding: 0; list-style: none; animation: slide 60s linear infinite; }
.marquee ul:nth-child(2) { animation-direction: reverse; animation-duration: 72s; }
.marquee li { padding: 12px 20px; border-radius: 999px; background: var(--cs); color: var(--ct); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .marquee li { background: color-mix(in srgb, var(--ct) 24%, transparent); color: color-mix(in srgb, var(--ct) 40%, white); } }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── Soon / private / download / faq ──────────────────────────────────── */
.soon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.soon-card { padding: clamp(22px, 3vw, 34px); border-radius: 32px; }
.soon-card h3 { margin-top: 10px; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.04em; line-height: 1.1; }
.soon-card p:last-child { margin-top: 12px; color: var(--text-2); }
.bubble { max-width: 86%; margin-top: 8px; padding: 10px 14px; border-radius: 18px; font-size: 15px; }
.bubble.me { margin-left: auto; background: var(--pill); color: var(--on-pill); border-bottom-right-radius: 6px; }
.bubble.it { background: var(--surface); border-bottom-left-radius: 6px; box-shadow: var(--shadow); }
.talk { margin-bottom: 22px; }
.faces { display: flex; margin-bottom: 26px; }
.faces span { width: 54px; height: 54px; margin-right: -12px; border-radius: 50%; border: 3px solid var(--bg); display: grid; place-items: center; font-weight: 700; font-size: 20px; color: #fff; }
@media (max-width: 760px) { .soon-grid { grid-template-columns: 1fr; } }

.private-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; padding: clamp(28px, 5vw, 64px); border-radius: 40px; }
.private h2 { margin-top: 12px; }
.plist { margin: 0; padding: 0; list-style: none; }
.plist li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.plist li:first-child { padding-top: 0; } .plist li:last-child { border: 0; padding-bottom: 0; }
.plist b { display: block; font-size: 18px; letter-spacing: -0.02em; }
.plist span { color: var(--text-2); font-size: 16px; }
.private a, .faq a, .doc main a { color: var(--accent); text-underline-offset: 3px; }
@media (max-width: 860px) { .private-in { grid-template-columns: 1fr; } }

.download { text-align: center; }
.download .dl-jar { width: 150px; margin: 0 auto 8px; filter: drop-shadow(0 20px 28px rgba(120, 64, 20, 0.3)); animation: float 7s ease-in-out infinite; }
.download .stores { justify-content: center; margin-top: 30px; }
.price { margin-top: 18px; }

.faq { max-width: 780px !important; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--accent); transition: rotate 0.3s var(--ease-out); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 22px; color: var(--text-2); max-width: 640px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.foot { margin-top: clamp(80px, 12vw, 150px); border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; max-width: var(--wrap); margin: 0 auto; padding: 36px var(--gutter) max(36px, env(safe-area-inset-bottom)); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; }
.foot nav a { color: var(--text-2); text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.foot-copy { flex-basis: 100%; font-size: 13px; color: var(--text-3); }

/* ── Document pages (terms, privacy, join) ────────────────────────────── */
.doc main { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter) 0; }
.doc main h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.05; letter-spacing: -0.045em; }
.doc main h2 { margin: 44px 0 10px; font-size: 24px; letter-spacing: -0.03em; }
.doc main h3 { margin: 26px 0 6px; font-size: 18px; letter-spacing: -0.02em; }
.doc main p { margin: 12px 0; }
.doc main ul { padding-left: 1.2em; } .doc main li { margin: 6px 0; }
.doc .meta { color: var(--text-3); margin: 10px 0 28px; }
.doc .lead { font-size: 20px; color: var(--text-2); }
.doc .note { margin: 22px 0; padding: 16px 20px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow); }
.doc .caps { text-transform: uppercase; font-size: 15px; }
.join-card { margin-top: 28px; padding: clamp(24px, 5vw, 44px); border-radius: 36px; text-align: center; }
.join-card img { width: 130px; margin: 0 auto 12px; }

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

/* App icon in place of the old jar illustration; real app screens inside the phones. */
.hero-jar, .demo-jar, .dl-jar { height: auto; aspect-ratio: 1; border-radius: 22.5%; filter: none; box-shadow: 0 30px 60px rgba(60, 40, 20, 0.28), 0 2px 6px rgba(60, 40, 20, 0.16); }
.demo-jar, .dl-jar { box-shadow: 0 18px 30px rgba(60, 40, 20, 0.24); }
.screen.shot { display: block; background: var(--a-bg); }
.screen.shot::before { display: none; }
.screen.shot picture, .screen.shot img { display: block; width: 100%; height: 100%; }
.screen.shot img { object-fit: cover; object-position: top center; }

/* /join/<code> */
.join-code { margin: 6px 0 18px; font: 600 clamp(28px, 7vw, 40px)/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.06em; user-select: all; word-break: break-all; }
.join-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 18px; }
.join-steps { text-align: left; max-width: 420px; margin: 18px auto 0; padding-left: 1.4em; }
.join-card [hidden] { display: none; }
