/* ================================================================
   MemFlix · Idea 3 · "Swipe yourself fluent"
   Design system: Golden Hour Pop. Warm cream, the logo's sunset
   colours, Bricolage Grotesque, stickers and hard-shadow buttons.
   ================================================================ */

:root {
  --cream: #fff4e8;
  --cream-2: #ffe9d4;
  --peach: #ffd9b8;
  --white: #fffdf9;
  --ink: #1d130c;
  --ink-2: #5a4638;
  --ink-3: #8a7666;
  --sun: #fdbd03;
  --tang: #fc8a02;
  --chili: #ce0b2c;
  --green: #22c55e;
  --sunset: linear-gradient(115deg, #fdbd03 0%, #fc8a02 52%, #ce0b2c 100%);
  --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--tang); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--cream); border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
main { overflow-x: clip; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; }
h1 { font-size: clamp(3.3rem, 11vw, 7.2rem); line-height: 0.9; margin: 22px 0 22px; }
h2 { font-size: clamp(2.4rem, 7vw, 4.8rem); line-height: 0.95; margin: 14px 0 18px; max-width: 14ch; text-wrap: balance; }
h3 { font-size: 1.6rem; line-height: 1.05; letter-spacing: -0.025em; }
.hl { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.04em; }
.lede { margin: 0; max-width: 32em; font-size: clamp(1.08rem, 2.4vw, 1.25rem); line-height: 1.55; color: var(--ink-2); }
.fine { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }
.kick { margin: 0; font: 700 13px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--tang); }
.swash { position: relative; display: inline-block; }
.swash svg { position: absolute; left: 2%; right: 0; bottom: -0.1em; width: 96%; height: 0.24em; color: var(--sun); z-index: -1; }
.swash svg path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 0.9s 0.9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* stickers */
.stk {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; width: max-content;
  padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink);
  font: 700 14px/1 var(--body); letter-spacing: 0; color: var(--ink); white-space: nowrap;
}
.stk svg { width: 16px; height: 16px; }
.stk-white { background: var(--white); }
.stk-yellow { background: var(--sun); }
.stk-green { background: #bff5cf; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 14px; border: 2px solid var(--ink);
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background-color 0.2s;
}
.btn svg { width: 20px; height: 20px; }
.btn-pop { background: var(--sun); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-pop:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-pop:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-white { background: var(--white); }
.btn-ink { background: var(--ink); color: var(--cream); box-shadow: 4px 4px 0 rgba(29, 19, 12, 0.35); }
.btn-ink:hover { box-shadow: 6px 6px 0 rgba(29, 19, 12, 0.35); }
.btn-lg { min-height: 58px; padding: 0 26px; font-size: 17px; border-radius: 16px; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); }
.linkish { background: none; border: 0; padding: 8px 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 18px; }
.cta-row.center { justify-content: center; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--gutter); background: rgba(255, 244, 232, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent; transition: border-color 0.3s;
}
.top.lined { border-bottom-color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: Fredoka, var(--body); font-weight: 600; font-size: 22px; }
.top-nav { display: none; gap: 28px; font-weight: 600; font-size: 15.5px; }
.top-nav a { text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.top-nav a:hover { border-bottom-color: var(--ink); }
@media (min-width: 860px) { .top-nav { display: flex; margin-left: auto; margin-right: 10px; } }

.rise { animation: rise 0.8s var(--ease) both; }
.rise.d1 { animation-delay: 0.08s; } .rise.d2 { animation-delay: 0.16s; } .rise.d3 { animation-delay: 0.24s; } .rise.d4 { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ================= HERO ================= */
.hero { position: relative; overflow: hidden; padding: 30px 0 70px; }
.hero-grid { display: grid; gap: 50px; align-items: center; }
.hero-copy h1 { position: relative; z-index: 1; }
.hero-visual { position: relative; justify-self: center; width: min(78vw, 330px); }
.sun { position: absolute; left: 50%; top: 52%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--sunset); opacity: 0.95; z-index: 0; animation: sun 9s ease-in-out infinite alternate; }
@keyframes sun { to { transform: translate(-50%, -54%) scale(1.04); } }
.phone {
  position: relative; z-index: 1; padding: 10px; border-radius: 46px; background: var(--ink);
  box-shadow: 0 0 0 2px var(--ink), 10px 12px 0 rgba(29, 19, 12, 0.9), 0 40px 80px -30px rgba(80, 30, 0, 0.6);
}
.phone-screen { border-radius: 36px; overflow: hidden; }
.hero-phone { transform: rotate(3deg); }
.float { position: absolute; z-index: 2; animation: bob 4s ease-in-out infinite; }
.f1 { right: -12%; top: 26%; transform: rotate(8deg) scale(0.6); opacity: 0; transition: opacity 0.3s, transform 0.5s var(--spring); animation: none; }
.f1.pop { opacity: 1; transform: rotate(8deg) scale(1); }
.f2 { left: -34%; top: 40%; rotate: -7deg; animation-delay: -1.5s; }
.f3 { right: -10%; bottom: 10%; rotate: -4deg; animation-delay: -3s; }
.f3 svg { animation: nudge 1.4s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -8px; } }
@keyframes nudge { 50% { transform: translateY(-3px); } }
@media (max-width: 520px) { .f1 { right: -4%; } .f2 { left: -4%; top: -3%; } .f3 { right: -4%; } .stk { font-size: 13px; padding: 7px 12px; } }
@media (min-width: 960px) {
  .hero { padding: 40px 0 110px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 30px; min-height: calc(100svh - 68px - 150px); }
  .hero-visual { width: 330px; }
}

/* marquee band */
.band { position: relative; z-index: 2; background: var(--sun); border-block: 2px solid var(--ink); transform: rotate(-1.6deg); margin: -10px -20px 0; overflow: hidden; }
.band-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 16px 0; animation: marquee 38s linear infinite; }
.band span { font: 800 clamp(1.4rem, 3.6vw, 2.2rem)/1 var(--display); letter-spacing: -0.03em; white-space: nowrap; }
.band i { width: 14px; height: 14px; border-radius: 50%; background: var(--chili); border: 2px solid var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= SECTIONS ================= */
.sec { position: relative; padding: clamp(90px, 12vw, 150px) 0; }

/* ---- swap / receipts ---- */
.receipts { margin-top: 54px; display: grid; gap: 36px; align-items: start; }
.receipt {
  --zig: radial-gradient(circle at 10px -4px, transparent 12px, var(--white) 13px);
  position: relative; margin: 0; padding: 30px 26px 26px; background: var(--white); color: var(--ink);
  font-family: "Courier New", ui-monospace, monospace; font-size: 15px; line-height: 1.4;
  filter: drop-shadow(6px 7px 0 rgba(29, 19, 12, 0.85));
  transform: rotate(-1.5deg);
}
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: var(--zig) repeat-x; background-size: 20px 12px; }
.receipt.good { transform: rotate(1.2deg); }
.r-head { margin: 0; text-align: center; font: 800 1.5rem/1.1 var(--display); letter-spacing: -0.02em; }
.r-sub { margin: 4px 0 18px; text-align: center; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12.5px; }
.r-items { list-style: none; margin: 0; padding: 16px 0; border-block: 2px dashed rgba(29, 19, 12, 0.35); display: grid; gap: 9px; }
.r-items li { display: flex; align-items: baseline; gap: 8px; }
.r-items li span { flex: 1; display: flex; gap: 8px; }
.r-items li span::after { content: ""; flex: 1; border-bottom: 2px dotted rgba(29, 19, 12, 0.3); transform: translateY(-4px); }
.r-items b { font-weight: 700; }
.good .r-items b { background: var(--sun); padding: 0 6px; border-radius: 4px; }
.r-more { color: var(--ink-3); }
.r-total, .r-kept { margin: 0; display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-weight: 700; }
.r-total b { font-size: 1.3rem; }
.r-kept { color: var(--ink-3); }
.r-kept b { color: var(--ink); }
.good .r-kept b { color: #0f7a35; }
@media (min-width: 900px) { .receipts { grid-template-columns: 1fr 1fr; gap: 60px; } .receipt { padding: 34px 34px 30px; } }

/* ---- story (scroll-driven) ---- */
.story { background: var(--ink); color: var(--cream); border-block: 2px solid var(--ink); }
.story h2 { color: var(--cream); }
.kick-dark { color: var(--sun); }
.story-grid { position: relative; display: grid; gap: 0; margin-top: 30px; }
.story-stick { position: sticky; top: 84px; z-index: 1; height: max-content; display: flex; justify-content: center; padding: 10px 0 20px; }
.story-phone { width: min(56vw, 300px); box-shadow: 0 0 0 2px #3a2a1e, 10px 12px 0 rgba(253, 189, 3, 0.85), 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.steps { list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; }
.step {
  margin: 0 0 46vh; padding: 22px 22px 24px; border-radius: 20px; background: #2a1d14; border: 2px solid #3d2c20;
  opacity: 0.45; transform: scale(0.97); transition: opacity 0.4s, transform 0.4s var(--ease), border-color 0.3s;
}
.step:last-child { margin-bottom: 20vh; }
.step.on { opacity: 1; transform: none; border-color: var(--sun); }
.step-n { margin: 0 0 8px; font: 800 14px/1 var(--display); color: var(--sun); }
.step h3 { color: var(--cream); font-size: 2rem; margin-bottom: 8px; }
.step p { margin: 0; color: #d9c9b8; }
.step i { color: var(--cream); }
@media (max-width: 899px) {
  .steps { margin-top: -10vh; }
  .step { margin: 0 0 60vh; background: rgba(42, 29, 20, 0.96); backdrop-filter: blur(8px); }
}
@media (min-width: 900px) {
  .story-grid { grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
  .story-stick { top: calc(50vh - 300px); padding: 0; }
  .story-phone { width: 300px; }
  .steps { padding-top: 22vh; }
  .step { margin-bottom: 38vh; padding: 28px 30px; }
}

/* ---- accents (swipe deck) ---- */
.accents { background: var(--cream-2); border-bottom: 2px solid var(--ink); }
.acc-grid { display: grid; gap: 40px; align-items: center; }
.deck-wrap { display: grid; justify-items: center; gap: 22px; }
.deck { position: relative; width: min(84vw, 340px); aspect-ratio: 3 / 4.4; }
.pcard {
  position: absolute; inset: 0; overflow: hidden; border-radius: 24px; background: var(--ink); border: 2px solid var(--ink);
  box-shadow: 6px 7px 0 var(--ink); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
  transition: transform 0.45s var(--ease), opacity 0.35s;
}
.pcard[data-pos="0"] { z-index: 3; }
.pcard[data-pos="1"] { z-index: 2; transform: translate(8px, 10px) rotate(3deg); }
.pcard[data-pos="2"] { z-index: 1; transform: translate(-8px, 18px) rotate(-3deg); }
.pcard:not([data-pos="0"]) .voice { visibility: hidden; }
.pcard.dragging { transition: none; cursor: grabbing; }
.pcard.gone { pointer-events: none; opacity: 0; }
.pcard img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 12, 6, 0.95) 0%, rgba(20, 12, 6, 0.6) 38%, transparent 62%); pointer-events: none; }
.pcard-info { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 18px 18px 18px; color: #fff; }
.pcard-info h3 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 1.9rem; }
.pcard-info h3 small { font: 600 14px/1 var(--body); letter-spacing: 0; color: rgba(255, 255, 255, 0.8); }
.pcard-info p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.88); }
.says b { display: inline-block; margin: 2px 2px 0 0; padding: 3px 9px; border-radius: 99px; background: var(--sun); color: var(--ink); font-size: 13.5px; }
.voice {
  margin-top: 12px; width: 100%; min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px;
  border: 2px solid rgba(255, 255, 255, 0.9); border-radius: 99px; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; text-align: left;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.v-dot { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); position: relative; }
.v-dot::before { content: ""; position: absolute; left: 13px; top: 10px; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.voice.playing .v-dot::before { left: 11px; top: 11px; width: 12px; height: 12px; border: 0; background: var(--ink); border-radius: 2px; }
.v-wave { display: flex; align-items: center; gap: 3px; height: 24px; }
.v-wave i { width: 3px; height: 30%; border-radius: 2px; background: rgba(255, 255, 255, 0.85); }
.v-wave i:nth-child(2n) { height: 70%; } .v-wave i:nth-child(3n) { height: 50%; }
.voice.playing .v-wave i { animation: wave 0.7s ease-in-out infinite alternate; }
.voice.playing .v-wave i:nth-child(2n) { animation-delay: -0.3s; } .voice.playing .v-wave i:nth-child(3n) { animation-delay: -0.5s; }
@keyframes wave { from { height: 20%; } to { height: 100%; } }
.v-txt { flex: 1; font-weight: 700; font-size: 14.5px; }
.stamp-like, .stamp-nope {
  position: absolute; z-index: 3; top: 24px; padding: 6px 14px; border: 4px solid; border-radius: 10px; font: 800 1.8rem/1 var(--display);
  text-transform: uppercase; letter-spacing: 0.02em; opacity: 0; pointer-events: none;
}
.stamp-like { left: 18px; color: var(--green); border-color: var(--green); transform: rotate(-14deg); }
.stamp-nope { right: 18px; color: #ff4d4d; border-color: #ff4d4d; transform: rotate(14deg); }
.deck-btns { display: flex; gap: 26px; margin-top: 30px; }
.round {
  width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink); transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.round svg { width: 28px; height: 28px; }
.round:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.round:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.nope { color: #e23a3a; }
.like { color: var(--chili); background: #ffe0e5; }
.round:disabled { opacity: 0.4; pointer-events: none; }
.deck-status { margin: 0; min-height: 1.5em; font-size: 14.5px; color: var(--ink-2); text-align: center; }
.match {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  padding: 26px; border-radius: 24px; border: 2px solid var(--ink); background: var(--white); box-shadow: 6px 7px 0 var(--ink);
  animation: match-in 0.5s var(--spring);
}
.match[hidden] { display: none; }
.match h3 { font-size: 2rem; }
.match p { margin: 0; color: var(--ink-2); }
@keyframes match-in { from { transform: scale(0.85) rotate(-3deg); opacity: 0; } }
@media (min-width: 900px) { .acc-grid { grid-template-columns: 1fr 1fr; gap: 60px; } }

/* ---- stories ---- */
.bubbles { list-style: none; margin: 46px 0 0; padding: 4px 4px 14px; display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; }
.bubbles::-webkit-scrollbar { display: none; }
.bubble { display: grid; justify-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; font: 700 15px/1.2 var(--body); }
.ring { display: block; width: 96px; height: 96px; padding: 4px; border-radius: 50%; background: var(--sunset); transition: transform 0.25s var(--spring); }
.ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid var(--cream); }
.bubble:hover .ring { transform: scale(1.06) rotate(-3deg); }
.bubble.seen .ring { background: #d8c6b4; }
@media (min-width: 900px) { .bubbles { gap: 34px; } .ring { width: 120px; height: 120px; } }

.sv {
  width: min(100vw, 430px); height: min(100dvh, 860px); max-width: 100vw; max-height: 100dvh; margin: auto; padding: 0; border: 0; border-radius: 22px;
  background: #000; color: #fff; overflow: hidden;
}
.sv::backdrop { background: rgba(20, 12, 6, 0.85); }
@media (max-width: 520px) { .sv { border-radius: 0; width: 100vw; height: 100dvh; } }
.sv-bars { position: absolute; z-index: 4; left: 12px; right: 12px; top: 12px; display: flex; gap: 4px; }
.sv-bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.sv-bars span i { display: block; height: 100%; width: 0; background: #fff; }
.sv-bars span.done i { width: 100%; }
.sv-media { position: absolute; inset: 0; }
.sv-media img { width: 100%; height: 100%; object-fit: cover; animation: sv-kb 7s ease-out forwards; }
@keyframes sv-kb { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.sv-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 8%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.45)); }
.sv-body { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 44px; pointer-events: none; }
.sv-kind { margin: 0 0 10px; display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--sun); color: var(--ink); font: 700 13px/1 var(--body); }
.sv-word { margin: 0; font-size: clamp(3rem, 14vw, 4.4rem); line-height: 0.95; color: #fff; }
.sv-mean { margin: 8px 0 14px; font: 700 1.35rem/1.25 var(--display); color: var(--sun); }
.sv-why { margin: 0; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.92); }
.sv-why i { color: #fff; }
.sv-nav { position: absolute; z-index: 2; top: 0; bottom: 0; width: 38%; border: 0; background: transparent; cursor: pointer; }
.sv-nav.prev { left: 0; } .sv-nav.next { right: 0; width: 62%; }
.sv-nav:focus-visible { outline-offset: -6px; border-radius: 16px; }
.sv-x { position: absolute; z-index: 5; right: 10px; top: 24px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.35); color: #fff; cursor: pointer; }
.sv-x svg { width: 22px; height: 22px; }

/* ---- proof + features ---- */
.feats { background: var(--white); border-block: 2px solid var(--ink); }
.comment {
  margin: 0 0 90px; display: flex; gap: 14px; max-width: 640px; padding: 20px 22px; border: 2px solid var(--ink); border-radius: 20px; background: var(--cream);
  box-shadow: 5px 6px 0 var(--ink); transform: rotate(-1deg);
}
.c-avatar { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sunset); border: 2px solid var(--ink); font: 800 20px/1 var(--display); }
.comment figcaption { font-size: 15px; }
.comment figcaption span { color: var(--ink-3); }
.comment blockquote { margin: 4px 0 0; }
.comment p { margin: 0; font-size: 1.12rem; line-height: 1.5; }
.bento { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; }
.bento li { display: grid; gap: 6px; align-content: start; padding: 24px 22px; border: 2px solid var(--ink); border-radius: 22px; background: var(--cream); }
.bento b { font: 800 1.7rem/1.05 var(--display); letter-spacing: -0.03em; }
.bento span { color: var(--ink-2); }
.b-big b { font-size: clamp(2.8rem, 8vw, 4.2rem); }
.b-sun { background: var(--sunset) !important; }
.b-sun span { color: var(--ink); }
.b-ink { background: var(--ink) !important; color: var(--cream); }
.b-ink span { color: #d9c9b8; }
.science { margin: 30px 0 0; max-width: 52em; font-size: 14.5px; color: var(--ink-3); }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(3, 1fr); } .b-big { grid-row: span 2; align-content: end; } .b-ink { grid-column: 1 / -1; } }

/* ---- drafts ---- */
.drafts { background: var(--cream-2); }
.draft-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.draft-grid li { display: grid; gap: 8px; align-content: start; padding: 20px 18px; border: 2px dashed var(--ink-2); border-radius: 20px; background: rgba(255, 253, 249, 0.6); }
.draft-grid .stk { font-size: 12px; padding: 5px 10px; box-shadow: 2px 2px 0 var(--ink); margin-bottom: 6px; }
.draft-grid b { font: 800 1.35rem/1.1 var(--display); letter-spacing: -0.02em; }
.draft-grid span:last-child { color: var(--ink-2); font-size: 15.5px; }
@media (min-width: 900px) { .draft-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- maker (chat) ---- */
.chat-wrap { display: flex; justify-content: center; }
.chat { width: min(100%, 520px); display: grid; gap: 10px; }
.chat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.chat-head small { display: block; color: var(--ink-3); font-size: 13.5px; }
.c-avatar.g { background: var(--sun); }
.msg { justify-self: start; max-width: 88%; margin: 0; padding: 12px 16px; border-radius: 20px 20px 20px 6px; background: var(--white); border: 2px solid var(--ink); font-size: 1.08rem; line-height: 1.45; }
.reply {
  justify-self: end; margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px; border-radius: 20px 20px 6px 20px;
  background: #5865f2; color: #fff; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-weight: 700; text-decoration: none;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.reply svg { width: 22px; height: 22px; }
.reply:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

/* ---- final ---- */
.final { position: relative; padding: clamp(100px, 14vw, 170px) 0; text-align: center; background: var(--sunset); border-top: 2px solid var(--ink); overflow: hidden; }
.final h2 { margin: 0 auto; max-width: 12ch; font-size: clamp(3rem, 10vw, 6.4rem); color: var(--ink); }
.final .fine { color: rgba(29, 19, 12, 0.8); max-width: 34em; margin: 0 auto; }

/* ---- footer ---- */
.foot { background: var(--ink); color: #cdbcab; padding: 32px 0; font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; }
.foot p { margin: 0; }
.foot .brand { color: var(--cream); font-size: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--sun); }

/* ---- waitlist theme ---- */
.wl {
  --wl-bg: var(--white); --wl-fg: var(--ink); --wl-muted: var(--ink-2); --wl-line: rgba(29, 19, 12, 0.25); --wl-accent: var(--sun); --wl-accent-fg: var(--ink);
  --wl-radius: 22px; --wl-display: var(--display); --wl-body: var(--body);
  color-scheme: light; border: 2px solid var(--ink); box-shadow: 8px 9px 0 var(--ink);
}
.wl .wl-title { font-weight: 800; letter-spacing: -0.03em; font-size: 2.1rem; }
.wl .wl-kicker { color: var(--tang); }
.wl .wl-submit { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .sun, .float, .band-track, .f3 svg, .swash svg path, .sv-media img { animation: none !important; }
  .swash svg path { stroke-dashoffset: 0; }
  .step { transition: none; }
}

/* ---- cookie consent (shown by analytics.js where it's required) ---- */
.consent { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 0 16px 16px; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-card {
  pointer-events: auto; width: min(100%, 440px); margin: 0 auto; padding: 20px;
  background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 22px;
  box-shadow: 6px 7px 0 var(--ink); animation: consent-in 0.5s var(--spring) both;
}
.consent-head { display: flex; align-items: center; gap: 12px; }
.consent-icon {
  flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: var(--sun); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); transform: rotate(-10deg);
}
.consent-icon svg { width: 22px; height: 22px; }
.consent .consent-title { margin: 0; max-width: none; font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.03em; }
.consent-text { margin: 12px 0 16px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent-btns .btn { min-height: 48px; padding: 0 14px; }
@keyframes consent-in { from { opacity: 0; transform: translateY(28px) rotate(-1.5deg); } }
@media (min-width: 760px) { .consent { padding: 0 28px 28px; } .consent-card { margin: 0 0 0 auto; } }
@media (prefers-reduced-motion: reduce) { .consent-card { animation: none; } }
