/* Der Anda Panda — standalone pitch site. Two looks, switched via html[data-look]. */
@font-face { font-family: "Inter"; src: url("fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/SourceSerif4.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root, html[data-look="a"] {
  --canvas: #FBF5EA; --surface: #FFFDF8; --ink: #2A231D; --graphite: #6B6157;
  --rule: #EADFCF; --wash: #F5ECDD; --accent: #B94732; --accent-deep: #9A3A28;
  --accent-wash: #F9E6DF; --tile-1: #FBE0D2; --tile-2: #DCEBD9; --tile-3: #D9E7F2; --tile-4: #F8EBC4;
  --band: var(--wash); --band-ink: var(--ink); --band-muted: var(--graphite); --band-num: var(--accent);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", Helvetica, Arial, sans-serif;
  --anda-ink: #2F2A27; --night: #2F4150; --moon: #F3E6B3;
}
html[data-look="b"] {
  --canvas: #FAF7F0; --surface: #FFFFFF; --ink: #1F1D1B; --graphite: #5F5B55;
  --rule: #E4DFD4; --wash: #F1EEE6; --accent: #3A7444; --accent-deep: #2B5A34;
  --accent-wash: #E3EFDF; --tile-1: #DCEBD9; --tile-2: #E9F1D8; --tile-3: #D9E7F2; --tile-4: #F8EBC4;
  --band: #1F1D1B; --band-ink: #FFFFFF; --band-muted: #CFCAC0; --band-num: #8CC08F;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--canvas); scroll-behavior: smooth; }
body { background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--accent-deep); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
section { scroll-margin-top: 80px; }

/* Wordmark + badge */
.wm { font-family: var(--serif); font-weight: 700; line-height: .95; letter-spacing: -.015em; color: var(--ink); text-decoration: none; }
.wm small { display: block; font-family: var(--sans); font-weight: 600; font-size: .32em; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: .15em; }
.wm b { color: var(--accent); }
.badge { position: relative; overflow: hidden; border-radius: 50%; background: var(--tile-1); flex: none; }
.badge img { position: absolute; width: 112%; max-width: none; left: -6%; top: 4%; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #FFFFFF; font: 600 15px/1 var(--sans); padding: 13px 22px; border-radius: 99px; border: 2px solid var(--accent); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn.ghost { background: transparent; color: var(--accent-deep); }
.btn.ghost:hover { background: var(--accent-wash); }
.btn:focus-visible, .look-switch button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--canvas) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .badge { width: 42px; height: 42px; }
.brand .wm { font-size: 24px; }
.links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.links a { color: var(--graphite); text-decoration: none; }
.links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
h1 { font-family: var(--serif); font-weight: 650; font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; letter-spacing: -.018em; margin: 14px 0 20px; }
h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--accent-wash) 62%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: 19px; color: var(--graphite); max-width: 540px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: relative; aspect-ratio: 1 / .95; max-width: 460px; justify-self: center; width: 100%; }
.hero-art .blob { position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: var(--tile-1); right: 2%; top: 0; }
.hero-art .anda { position: absolute; width: 80%; right: 6%; top: 3%; }
.story-card { position: absolute; left: 0; bottom: 4%; display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 12px 14px 12px 12px; box-shadow: 0 6px 24px rgba(42,35,29,.12); }
.story-card .cov { width: 52px; height: 52px; border-radius: 10px; background: var(--night); flex: none; }
.story-card .cov svg { width: 100%; height: 100%; }
.story-card strong { display: block; font-family: var(--serif); font-size: 17px; font-weight: 650; line-height: 1.2; }
.story-card span { font-size: 12.5px; color: var(--graphite); }
.play { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin-left: 6px; flex: none; }
.play::after { content: ""; border-left: 11px solid #FFFFFF; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* Section heads */
.sec { padding: 56px 0; }
.sec-head { max-width: 640px; margin-bottom: 32px; }
h2 { font-family: var(--serif); font-weight: 650; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -.012em; margin-top: 8px; }
.sec-head p { color: var(--graphite); margin-top: 12px; }

/* Steps band */
.steps { background: var(--band); border-radius: 24px; padding: 36px 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { display: flex; gap: 14px; }
.step .n { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--band-num); color: var(--band-num); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.step h3 { font-family: var(--serif); font-weight: 650; font-size: 20px; line-height: 1.2; color: var(--band-ink); }
.step p { font-size: 15px; color: var(--band-muted); margin-top: 6px; }

/* Cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 22px; padding: 28px 30px 30px; }
.card header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card header .badge { width: 48px; height: 48px; }
.card h3 { font-family: var(--serif); font-weight: 650; font-size: 26px; }
.card ul { list-style: none; display: grid; gap: 10px; }
.card li { font-size: 15.5px; line-height: 1.5; padding-left: 26px; position: relative; }
.card li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.card li b { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-size: 13px; font-weight: 500; background: var(--accent-wash); color: var(--accent-deep); padding: 6px 12px; border-radius: 99px; }

/* Comics: every size inside a panel is relative to the panel (cqw) */
.strip + .strip { margin-top: 36px; }
.strip-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 14px; }
.strip-head h3 { font-family: var(--serif); font-weight: 700; font-size: 24px; }
.strip-head span { font-size: 14px; color: var(--graphite); }
.panels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.panel { container-type: inline-size; position: relative; aspect-ratio: 21.6 / 23.5; border: 3px solid var(--anda-ink); border-radius: 14px; overflow: hidden; }
.panel > img, .panel > svg { position: absolute; }
.caption { position: absolute; left: 3.2cqw; top: 3.2cqw; z-index: 3; background: #F8EBC4; border: .7cqw solid var(--anda-ink); font-family: var(--serif); font-style: italic; font-size: 4.3cqw; padding: 1.4cqw 2.8cqw; border-radius: 1.4cqw; line-height: 1.3; }
.bubble { position: absolute; z-index: 2; background: #FFFFFF; border: .8cqw solid var(--anda-ink); border-radius: 6cqw; padding: 2.3cqw 3.7cqw; font-weight: 600; font-size: 4.5cqw; line-height: 1.25; color: var(--anda-ink); }
.bubble::after { content: ""; position: absolute; width: 4.2cqw; height: 4.2cqw; background: inherit; border-right: .8cqw solid var(--anda-ink); border-bottom: .8cqw solid var(--anda-ink); left: var(--tx, 30%); bottom: -2.5cqw; transform: rotate(45deg); }
.bubble.up::after { bottom: auto; top: -2.5cqw; transform: rotate(225deg); }
.bubble.kids { background: #FFF6D6; font-size: 4.2cqw; }
.bubble.moon { background: #FFF9E3; }
.thought { position: absolute; z-index: 2; background: #FFFFFF; border: .8cqw solid var(--anda-ink); border-radius: 9cqw; padding: 2.8cqw 4.2cqw; font-weight: 600; font-size: 4.5cqw; line-height: 1.25; color: var(--anda-ink); }
.thought i { position: absolute; border-radius: 50%; background: #FFFFFF; border: .8cqw solid var(--anda-ink); }

/* Stickers */
.stickers { display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; }
.sticker { text-align: center; }
.die { aspect-ratio: 1; border-radius: 50%; background: #FFFFFF; padding: 6%; box-shadow: 0 4px 14px rgba(42,35,29,.16); outline: 1.5px dashed #C9BCA8; outline-offset: 5px; transition: transform .2s ease; }
.sticker:hover .die { transform: rotate(-4deg) scale(1.04); }
.face { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; position: relative; }
.face img { position: absolute; width: 96%; max-width: none; left: 2%; top: 4%; }
.sticker p { font-family: var(--serif); font-weight: 650; font-size: 17px; margin-top: 16px; line-height: 1.2; }
.sticker span { display: block; font-size: 12.5px; color: var(--graphite); }

/* FAQ */
.faq { max-width: 760px; }
details { border-bottom: 1px solid var(--rule); padding: 18px 0; }
summary { cursor: pointer; font-family: var(--serif); font-weight: 650; font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); color: var(--accent); font-weight: 400; font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--graphite); margin-top: 10px; font-size: 16px; }

/* Waitlist */
.wait { background: var(--accent-wash); border-radius: 28px; padding: 48px; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
.wait img { width: 180px; }
.wait p { color: var(--graphite); margin: 10px 0 22px; max-width: 520px; }
.wait-note { font-size: 15px; font-weight: 600; color: var(--accent-deep); margin-top: 14px; min-height: 1.5em; }

/* Footer */
.foot { border-top: 1px solid var(--rule); margin-top: 56px; padding: 32px 0 96px; font-size: 14px; color: var(--graphite); }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; }
.foot a { color: var(--graphite); }

/* Look switch */
.look-switch { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: flex; gap: 4px; padding: 5px; background: var(--surface); border: 1px solid var(--rule); border-radius: 99px; box-shadow: 0 6px 24px rgba(42,35,29,.16); }
.look-switch button { border: 0; background: transparent; font: 600 13px/1 var(--sans); color: var(--graphite); padding: 9px 14px; border-radius: 99px; cursor: pointer; display: flex; align-items: center; gap: 7px; }
.look-switch button i { width: 12px; height: 12px; border-radius: 50%; }
.look-switch button[aria-pressed="true"] { background: var(--ink); color: var(--canvas); }

/* Legal pages */
.legal { max-width: 760px; padding: 56px 20px 40px; margin: 0 auto; }
.legal h1 { font-size: clamp(34px, 4.4vw, 46px); }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal p, .legal li { color: var(--graphite); margin-top: 8px; }
.legal ul { padding-left: 20px; }
.todo { background: #FFF1B8; color: #5A4300; padding: 0 4px; border-radius: 3px; }

/* Responsive */
@media (max-width: 960px) {
  .links { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .panels { grid-template-columns: repeat(2, 1fr); }
  .stickers { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .top .btn { display: none; }
  .hero { padding-top: 36px; }
  .hero-art { max-width: 320px; }
  .steps { grid-template-columns: 1fr; padding: 28px 24px; gap: 22px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 24px 22px; }
  .stickers { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .wait { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; }
  .wait img { width: 130px; margin: 0 auto; }
  .wait p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .panels { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .die { transition: none; }
}
