@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #101216;
  --surface: #171a20;
  --surface-2: #1d2128;
  --surface-3: #242936;
  --card: rgba(25, 29, 37, 0.84);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f6fb;
  --muted: #a8afbd;
  --soft: #d0d6e0;
  --blue: #7dc9ff;
  --blue-strong: #3ba9ff;
  --blue-deep: #1d79d2;
  --gold: #ffc76c;
  --green: #5fe6b3;
  --pink: #f7a9e7;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --container: 1180px;
}

html[data-theme='light'] {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f5f7fa;
  --surface-3: #eef2f6;
  --card: rgba(255, 255, 255, 0.92);
  --border: rgba(26, 36, 52, 0.11);
  --border-strong: rgba(26, 36, 52, 0.16);
  --text: #1a2230;
  --muted: #627086;
  --soft: #3e4a5d;
  --blue: #217fd4;
  --blue-strong: #1479ce;
  --blue-deep: #0d5ca7;
  --gold: #b97812;
  --green: #168f66;
  --pink: #c652a7;
  --shadow: 0 24px 70px rgba(34, 50, 70, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: 'Manrope', Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  color: #0d1624;
  background: white;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; }

.site-shell { overflow: hidden; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section-pad { padding: 112px 0; position: relative; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color .22s ease, background .22s ease;
}
.site-header.scrolled { border-color: var(--border); background: color-mix(in srgb, var(--bg) 94%, transparent); }
.nav-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.72rem; min-width: 0; }
.brand img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 7px 16px rgba(82, 166, 255, .18);
}
.brand span { display: grid; line-height: 1.1; gap: .16rem; }
.brand strong { letter-spacing: -0.03em; font-size: 1.07rem; }
.brand small { font-size: .7rem; color: var(--muted); font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav > a:not(.button) { font-size: .83rem; font-weight: 700; color: var(--muted); transition: color .18s ease; }
.site-nav > a:not(.button):hover { color: var(--text); }
.nav-docs { padding-right: .15rem; }

.nav-toggle { display: none; border: 0; background: transparent; color: var(--text); padding: .5rem; cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display:block; height: 2px; width: 23px; background: currentColor; border-radius: 2px; margin: 4px 0; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded='true'] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] > span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .72rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 38px; padding: .55rem .9rem; }
.button-large { min-height: 52px; padding: .84rem 1.24rem; }
.button-primary { color: #08131f; background: linear-gradient(135deg, #a2dcff, #59b9ff); box-shadow: 0 12px 28px rgba(49, 163, 240, .22); }
.button-primary:hover { background: linear-gradient(135deg, #bae6ff, #66c0ff); box-shadow: 0 16px 32px rgba(49, 163, 240, .3); }
.button-secondary { color: var(--text); border-color: var(--border-strong); background: color-mix(in srgb, var(--surface) 72%, transparent); }
.button-secondary:hover { background: var(--surface-3); }
.theme-toggle { width: 36px; height: 36px; display: grid; place-items: center; color: var(--soft); background: transparent; border: 1px solid var(--border); border-radius: 50%; cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
.theme-toggle:hover { transform: rotate(18deg); border-color: var(--border-strong); }

.hero { min-height: 680px; display: flex; align-items: center; isolation: isolate; padding-top: 92px; padding-bottom: 86px; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 20%, rgba(59, 169, 255, .12), transparent 30%),
    radial-gradient(circle at 78% 14%, rgba(113, 182, 255, .10), transparent 28%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 50%, transparent), transparent 94%);
}
.hero-orb { position: absolute; z-index: -2; border-radius: 999px; filter: blur(8px); pointer-events: none; }
.hero-orb-a { width: 440px; height: 440px; left: -270px; top: 40px; background: radial-gradient(circle, rgba(63, 166, 255, .17), transparent 68%); }
.hero-orb-b { width: 520px; height: 520px; right: -260px; top: -120px; background: radial-gradient(circle, rgba(95, 230, 179, .09), transparent 68%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.hero-copy { max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.15rem; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-dot { width: .48rem; height: .48rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 18%, transparent); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.35rem; font-size: clamp(3.15rem, 6vw, 5.85rem); line-height: .98; letter-spacing: -.075em; max-width: 9.3ch; }
h1 span { color: var(--blue); }
.hero-lead { max-width: 590px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.14rem); line-height: 1.8; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .82rem; margin-top: 2rem; }
.hero-actions.centered { justify-content: center; }
.hero-notes { margin-top: 1.65rem; display: flex; gap: 1rem 1.3rem; flex-wrap: wrap; color: var(--muted); font-size: .76rem; font-weight: 700; }
.hero-notes i { color: var(--green); font-style: normal; margin-right: .25rem; }

.hero-showcase { position: relative; padding: 1.05rem; border-radius: 26px; border: 1px solid var(--border-strong); background: linear-gradient(145deg, color-mix(in srgb, var(--surface-2) 92%, transparent), color-mix(in srgb, var(--surface) 84%, transparent)); box-shadow: var(--shadow); overflow: hidden; }
.showcase-grid { position: absolute; inset: 0; pointer-events: none; opacity: .12; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 35px 35px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.showcase-head, .profile-strip, .baking-card, .showcase-bottom { position: relative; z-index: 1; }
.showcase-head { display: flex; align-items: center; justify-content: space-between; padding: .72rem .55rem 1.14rem; }
.showcase-brand { display: flex; align-items: center; gap: .58rem; }
.showcase-brand img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.18);
}
.showcase-brand div { display: grid; line-height: 1.15; gap: .14rem; }
.showcase-brand strong { font-size: .95rem; }
.showcase-brand span { color: var(--muted); font-size: .7rem; font-weight: 700; }
.live-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .43rem .62rem; border-radius: 999px; color: #c5fae5; background: rgba(36, 178, 124, .12); font-size: .66rem; font-weight: 800; }
.live-pill span { width: .42rem; height: .42rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(95,230,179,.12); }
.profile-strip { display: flex; align-items: center; padding: .75rem; gap: .68rem; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface-3) 66%, transparent); border-radius: 15px; }
.profile-avatar {
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:0 0 auto;
  width:36px;
  height:36px;
  border-radius:12px;
  background:linear-gradient(135deg,#fece85,#e98e5d);
  box-shadow:0 0 0 1px rgba(255,255,255,.14);
}
.profile-avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.profile-copy { display:grid; gap: .1rem; min-width:0; }
.profile-copy strong { font-size:.76rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.profile-copy span { color:var(--muted); font-size:.66rem; font-weight:700; }
.profile-level { margin-left:auto; display:grid; place-items:center; width:31px; height:31px; border-radius:10px; color:var(--blue); background:rgba(80, 182, 255, .12); border:1px solid rgba(110, 199, 255, .2); font-size:.72rem; font-weight:800; }
.baking-card { margin-top: .82rem; padding: 1rem; border-radius: 17px; border: 1px solid rgba(134, 199, 255, .19); background: linear-gradient(145deg, rgba(66, 137, 194, .19), rgba(33, 40, 54, .48)); }
.baking-card-top { display:flex; align-items:center; justify-content:space-between; gap:.7rem; }
.baking-card-top > div { display:grid; gap:.25rem; }
.tiny-label { color: var(--blue); font-size:.58rem; letter-spacing:.1em; font-weight:800; }
.baking-card-top strong { font-size:.9rem; }
.recipe-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:13px; font-size:1.45rem; background:rgba(255,255,255,.08); }
.ingredient-row { display:flex; gap:.48rem; flex-wrap:wrap; margin-top:.85rem; }
.ingredient-row span { display:inline-flex; align-items:center; gap:.24rem; padding:.36rem .43rem; color:var(--soft); border-radius:8px; background:rgba(5,10,17,.22); font-size:.61rem; font-weight:700; }
.ingredient-row b { font-size:.8rem; }
.ingredient-row em { color:var(--muted); font-style:normal; margin-left:.05rem; }
.bake-progress { overflow:hidden; height:6px; margin-top:.9rem; border-radius:999px; background:rgba(0,0,0,.2); }
.bake-progress span { display:block; width:74%; height:100%; border-radius:inherit; background:linear-gradient(90deg, var(--blue-strong), #a1dcff); animation: pulseWidth 3.6s ease-in-out infinite; }
@keyframes pulseWidth { 50% { width:88%; } }
.bake-result { display:flex; justify-content:space-between; margin-top:.65rem; color:var(--muted); font-size:.64rem; font-weight:700; }
.bake-result strong { color:var(--green); font-size:.68rem; }
.showcase-bottom { display:grid; grid-template-columns:repeat(3,1fr); gap:.5rem; margin-top:.82rem; }
.mini-stat { padding:.65rem .65rem .68rem; border-radius:12px; border:1px solid var(--border); background:rgba(0,0,0,.09); }
.mini-stat span { display:block; color:var(--muted); font-size:.56rem; font-weight:700; }
.mini-stat strong { display:block; margin-top:.16rem; font-size:.83rem; }
.mini-stat-accent { border-color:rgba(255, 199, 108, .18); background:rgba(255, 199, 108, .07); }
.mini-stat-accent strong { color:var(--gold); }

.stats-band { border-top:1px solid var(--border); border-bottom:1px solid var(--border); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.stat-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.stat-item { padding: 1.8rem 1.25rem; text-align:center; border-right:1px solid var(--border); }
.stat-item:last-child { border-right:0; }
.stat-item strong { display:block; color:var(--blue); font-size:1.65rem; letter-spacing:-.05em; }
.stat-item span { display:block; margin-top:.18rem; color:var(--muted); font-size:.72rem; font-weight:700; }

.section-heading { display:flex; justify-content:space-between; align-items:end; gap:3rem; margin-bottom:3.2rem; }
.section-heading > div { max-width: 640px; }
.section-heading p { max-width:430px; margin-bottom:0; color:var(--muted); font-size:.92rem; line-height:1.75; }
.section-heading.compact { align-items:center; }
h2 { margin-bottom:0; max-width: 13ch; font-size:clamp(2rem,4vw,3.38rem); line-height:1.05; letter-spacing:-.06em; }

.flow-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.flow-card { position:relative; min-height:285px; padding:1.25rem; border:1px solid var(--border); border-radius:18px; background:var(--card); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.flow-card:hover { transform:translateY(-5px); border-color:rgba(125,201,255,.35); background:var(--surface-2); }
.flow-number { position:absolute; top:1rem; right:1rem; color:var(--muted); font-family:'DM Mono', monospace; font-size:.68rem; }
.flow-icon { width:49px; height:49px; display:grid; place-items:center; margin-top:.2rem; border-radius:15px; background:var(--surface-3); font-size:1.35rem; }
.flow-card h3 { margin:1.38rem 0 .48rem; font-size:1.05rem; letter-spacing:-.03em; }
.flow-card p { color:var(--muted); font-size:.8rem; line-height:1.72; }
.flow-card code { position:absolute; left:1.25rem; bottom:1.12rem; color:var(--blue); font-family:'DM Mono',monospace; font-size:.72rem; }

.section-alt { background:linear-gradient(180deg, color-mix(in srgb, var(--surface) 83%, transparent), var(--bg)); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.feature-layout { display:grid; grid-template-columns:.77fr 1.23fr; gap:clamp(3rem, 8vw, 8rem); }
.feature-sticky { align-self:start; position:sticky; top:112px; }
.feature-sticky h2 { max-width:9.5ch; }
.feature-sticky > p:not(.eyebrow) { margin:1.4rem 0 1.45rem; max-width:380px; color:var(--muted); font-size:.92rem; line-height:1.8; }
.text-link { display:inline-flex; align-items:center; gap:.45rem; color:var(--blue); font-size:.79rem; font-weight:800; }
.text-link:hover { color:var(--text); }
.feature-stack { display:grid; gap:.82rem; }
.feature-card { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:1rem; padding:1.08rem; border:1px solid var(--border); border-radius:16px; background:var(--card); transition: border-color .2s ease, transform .2s ease; }
.feature-card:hover { transform:translateX(5px); border-color:var(--border-strong); }
.feature-card-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:13px; font-size:1rem; font-weight:800; }
.icon-blue { color:var(--blue); background:rgba(103, 196, 255, .12); }
.icon-gold { color:var(--gold); background:rgba(255, 199, 108, .11); }
.icon-pink { color:var(--pink); background:rgba(247,169,231,.11); }
.icon-green { color:var(--green); background:rgba(95,230,179,.11); }
.feature-card h3 { margin-bottom:.24rem; font-size:.93rem; letter-spacing:-.025em; }
.feature-card p { margin-bottom:0; color:var(--muted); font-size:.75rem; line-height:1.6; }
.feature-tag { padding:.34rem .5rem; border:1px solid var(--border); border-radius:999px; color:var(--soft); white-space:nowrap; font-size:.58rem; font-weight:800; }

.commands-section { background:var(--bg); }
.command-grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:.78rem; }
.command-card { width:100%; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:.9rem; min-height:76px; padding:.88rem 1rem; text-align:left; color:var(--text); border:1px solid var(--border); border-radius:15px; background:var(--card); cursor:pointer; transition:transform .2s ease, border-color .2s ease, background .2s ease; }
.command-card:hover { transform:translateY(-3px); border-color:rgba(125,201,255,.36); background:var(--surface-2); }
.command-icon { display:grid; place-items:center; width:39px; height:39px; border-radius:12px; background:var(--surface-3); font-size:1.1rem; }
.command-copy { display:grid; gap:.12rem; min-width:0; }
.command-copy code { color:var(--blue); font-family:'DM Mono',monospace; font-size:.77rem; font-weight:500; }
.command-copy small { color:var(--muted); font-size:.69rem; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.copy-hint { color:var(--muted); font-size:.61rem; font-weight:800; }
.command-card-link { display:grid; }
.copy-toast { min-height:1.25rem; margin:1rem 0 0; color:var(--green); font-size:.74rem; font-weight:800; }

.vote-section { padding-top: 40px; }
.vote-panel { display:grid; grid-template-columns:1fr .72fr; gap:4.2rem; align-items:center; padding:clamp(1.4rem,4vw,3.5rem); border:1px solid rgba(125,201,255,.2); border-radius:25px; background: radial-gradient(circle at 95% 15%, rgba(77,174,255,.15), transparent 28%), linear-gradient(135deg, color-mix(in srgb, var(--surface-2) 93%, transparent), color-mix(in srgb, var(--surface) 93%, transparent)); }
.vote-copy h2 { max-width:12ch; }
.vote-copy > p:not(.eyebrow) { max-width:620px; margin:1.15rem 0 1.4rem; color:var(--muted); font-size:.88rem; line-height:1.78; }
.vote-reward-board { padding:1rem; border:1px solid var(--border); border-radius:18px; background:rgba(8,13,20,.24); box-shadow:0 18px 34px rgba(0,0,0,.16); }
.reward-board-head { display:flex; align-items:center; justify-content:space-between; padding:.1rem .25rem .78rem; border-bottom:1px solid var(--border); }
.reward-board-head span { font-size:.76rem; font-weight:800; }
.reward-board-head b { color:var(--green); font-size:.59rem; }
.reward-row { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:.6rem; padding:.62rem .25rem; border-bottom:1px solid var(--border); }
.reward-row:last-child { border-bottom:0; }
.reward-row span { font-size:.88rem; }
.reward-row p { margin:0; color:var(--muted); font-size:.69rem; font-weight:700; }
.reward-row strong { color:var(--gold); font-family:'DM Mono',monospace; font-size:.69rem; }

.faq-section { padding-top: 96px; }
.faq-layout { display:grid; grid-template-columns:.72fr 1.28fr; gap:clamp(3rem, 9vw, 9rem); }
.faq-layout > div:first-child p:not(.eyebrow) { max-width:350px; margin:1.35rem 0; color:var(--muted); font-size:.89rem; line-height:1.75; }
.faq-list { border-top:1px solid var(--border); }
.faq-list details { border-bottom:1px solid var(--border); }
.faq-list summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.15rem .1rem; list-style:none; cursor:pointer; font-size:.86rem; font-weight:800; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary span { color:var(--blue); font-size:1.35rem; font-weight:400; transition:transform .2s ease; }
.faq-list details[open] summary span { transform:rotate(45deg); }
.faq-list details p { max-width:690px; margin:0; padding:0 .1rem 1.15rem; color:var(--muted); font-size:.79rem; line-height:1.72; }

.final-cta { padding-top:46px; padding-bottom:98px; }
.final-cta-panel { position:relative; overflow:hidden; padding:clamp(2rem, 6vw, 4.6rem) 1.25rem; text-align:center; border:1px solid rgba(125,201,255,.25); border-radius:26px; background: radial-gradient(circle at 50% -10%, rgba(69,171,255,.22), transparent 49%), linear-gradient(145deg, var(--surface-2), var(--surface)); }
.final-cta-panel::before { content:''; position:absolute; inset:0; background-image: radial-gradient(rgba(126,204,255,.18) 1px, transparent 1px); background-size:20px 20px; mask-image:linear-gradient(to bottom, black, transparent 85%); opacity:.22; pointer-events:none; }
.final-cta-panel > * { position:relative; z-index:1; }
.final-cta-panel h2 { max-width:14ch; margin:0 auto; }
.final-cta-panel > p:not(.eyebrow) { max-width:520px; margin:1.1rem auto 0; color:var(--muted); font-size:.91rem; }
.cta-cookie {
  position:absolute;
  z-index:0;
  display:block;
  object-fit:cover;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.2);
  opacity:.54;
  box-shadow:0 18px 24px rgba(0,0,0,.22);
  animation:float 5s ease-in-out infinite;
}
.cookie-float-a { width:80px; height:80px; top:1.5rem; left:9%; transform:rotate(-20deg); }
.cookie-float-b { width:58px; height:58px; right:12%; bottom:1.5rem; transform:rotate(20deg); animation-delay:-2.4s; }
@keyframes float { 50% { translate:0 -10px; } }

.site-footer { border-top:1px solid var(--border); background:color-mix(in srgb, var(--surface) 65%, transparent); }
.footer-row { min-height:100px; display:flex; align-items:center; justify-content:space-between; gap:1.5rem; }
.footer-brand img {
  width:36px;
  height:36px;
  object-fit:cover;
  border-radius:11px;
  border:1px solid rgba(255,255,255,.18);
}
.footer-links { display:flex; align-items:center; gap:1rem; }
.footer-links a, .footer-row > p { color:var(--muted); font-size:.7rem; font-weight:700; }
.footer-links a:hover { color:var(--text); }
.footer-row > p { margin:0; }

.reveal { opacity:0; transform:translateY(16px); transition:opacity .62s ease, transform .62s ease; }
.reveal.is-visible { opacity:1; transform:translateY(0); }
.reveal-delay { transition-delay:.1s; }
.reveal-delay-1 { transition-delay:.06s; }
.reveal-delay-2 { transition-delay:.12s; }
.reveal-delay-3 { transition-delay:.18s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

@media (max-width: 920px) {
  .nav-toggle { display:block; }
  .site-nav { position:absolute; top:76px; left:20px; right:20px; display:none; flex-direction:column; align-items:stretch; gap:.55rem; padding:.85rem; border:1px solid var(--border); border-radius:16px; background:var(--surface); box-shadow:var(--shadow); }
  .site-nav.open { display:flex; }
  .site-nav > a:not(.button) { padding:.64rem; }
  .site-nav .button { margin-top:.25rem; }
  .site-nav .theme-toggle { align-self:flex-start; margin:.25rem .55rem .45rem; }
  .hero { min-height:auto; padding-top:82px; }
  .hero-grid, .feature-layout, .faq-layout { grid-template-columns:1fr; }
  .hero-grid { gap:3.1rem; }
  .hero-copy { max-width:690px; }
  .hero-showcase { width:min(100%, 600px); margin:0 auto; }
  .feature-sticky { position:static; }
  .feature-sticky h2 { max-width:15ch; }
  .flow-grid { grid-template-columns:repeat(2, 1fr); }
  .section-heading { align-items:start; flex-direction:column; gap:1.1rem; }
  .section-heading p { max-width:600px; }
  .vote-panel { grid-template-columns:1fr; gap:2rem; }
}

@media (max-width: 640px) {
  .container { width:min(calc(100% - 28px), var(--container)); }
  .section-pad { padding:75px 0; }
  .nav-row { min-height:68px; }
  .site-nav { top:68px; left:14px; right:14px; }
  .brand img { width:37px; height:37px; }
  .hero { padding-top:62px; padding-bottom:68px; }
  h1 { font-size:clamp(2.7rem, 13vw, 4.1rem); }
  h2 { font-size:clamp(1.9rem, 10vw, 2.65rem); }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-actions .button { width:100%; }
  .hero-notes { gap:.45rem .8rem; }
  .stat-grid { grid-template-columns:repeat(2,1fr); }
  .stat-item { padding:1.15rem .65rem; border-bottom:1px solid var(--border); }
  .stat-item:nth-child(2) { border-right:0; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom:0; }
  .flow-grid, .command-grid { grid-template-columns:1fr; }
  .flow-card { min-height:235px; }
  .feature-card { grid-template-columns:auto 1fr; align-items:start; }
  .feature-tag { grid-column:2; justify-self:start; }
  .feature-card:hover { transform:translateY(-3px); }
  .vote-section { padding-top:20px; }
  .vote-panel { border-radius:19px; }
  .footer-row { min-height:unset; padding:1.6rem 0; flex-direction:column; align-items:flex-start; gap:1rem; }
  .footer-links { flex-wrap:wrap; }
  .cookie-float-a { left:3%; top:1rem; width:57px; height:57px; }
  .cookie-float-b { right:4%; bottom:1rem; width:45px; height:45px; }
  .final-cta-panel { border-radius:19px; }
}


/* Uses the original Cookie artwork. Rounding is done only by CSS. */
.round-logo {
  display: block;
  object-fit: cover;
  overflow: hidden;
  border-radius: 14px !important;
  clip-path: inset(0 round 14px);
}

/* Keep the decorative CTA mascots slightly angled, like the original release. */
.cta-cookie.cookie-float-a {
  transform: rotate(-12deg);
}

.cta-cookie.cookie-float-b {
  transform: rotate(12deg);
}

.brand .round-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px !important;
}

.showcase-brand .round-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px !important;
}

.profile-avatar .round-logo {
  width: 100%;
  height: 100%;
  border-radius: 12px !important;
  clip-path: inset(0 round 12px);
}

.footer-brand .round-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px !important;
}

.cta-cookie.round-logo {
  border-radius: 18px !important;
  clip-path: inset(0 round 18px);
}
