/* Batch landing page, after the founder's mock: dark night bands, a light lavender band,
   Poppins with Caveat notes, pink pills. Motion is fades only. */
:root {
  --night: #17132f;
  --night-2: #1f1842;
  --footer: #120f25;
  --surface-dark: #221b46;
  --line-dark: #332a5c;
  --pink: #fd7cbc;
  --pink-deep: #f4589e;
  --pink-ink: #f59ad6;
  --lav: #c9b3f7;
  --lav-2: #b8a9e0;
  --eyebrow-dark: #d48fd4;
  --eyebrow-light: #b77cc4;
  --purple: #b85ad6;
  --light: #f4f0fa;
  --card: #fdfbff;
  --ink: #ffffff;
  --ink-2: #d9d2ef;
  --dark-h: #120b2a;
  --dark-body: #4a4166;
  --hand-dark: #3a2d63;
  --radius: 30px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', cursive;
}

* { box-sizing: border-box; }
/* `hidden` must win over any display rule (the form and buttons set their own display). */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 16px/1.6 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative; }
.hand { font-family: var(--hand); font-weight: 600; }

/* Pills */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--pink); color: #2a0f24; border: 0; border-radius: 999px;
  padding: 11px 22px; font: 600 15px var(--font); text-decoration: none; cursor: pointer;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.pill:hover { filter: brightness(1.06); }
.pill:disabled { opacity: 0.65; cursor: default; }
.pill.big { padding: 15px 30px; font-size: 16.5px; }
.pill.wide { width: 100%; }
.ghost { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.3); color: #fff; background: transparent; font: 600 14px var(--font); text-decoration: none; cursor: pointer; }
.ghost:hover { border-color: var(--pink); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px max(24px, calc(50% - 536px)); background: rgba(23, 19, 47, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brand img { height: 38px; width: auto; }
.links { display: flex; gap: 34px; }
.links a { text-decoration: none; font: 500 15px var(--font); color: #efeaff; }
.links a:hover { color: var(--pink); }

/* Hero */
.hero { position: relative; min-height: 600px; padding: 48px max(24px, calc(50% - 536px)) 56px; overflow: hidden; background: radial-gradient(60% 70% at 78% 40%, #2b1d5a 0%, rgba(23, 19, 47, 0) 70%), var(--night); }
.hero-art { position: absolute; right: max(0px, calc(50% - 600px)); bottom: 0; height: 100%; width: auto; max-width: 60%; object-fit: contain; object-position: right bottom; pointer-events: none; }
.hero-copy { position: relative; max-width: 480px; }
.eyebrow { margin: 0 0 12px; font: 500 13.5px var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--eyebrow-dark); }
h1 { margin: 0 0 20px; font: 800 clamp(40px, 6vw, 62px)/1.05 var(--font); letter-spacing: -0.03em; }
.grad { background: linear-gradient(90deg, #c985dc 0%, #ec72d8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: 0 0 28px; font-size: 17px; color: var(--ink-2); max-width: 30em; }
.small { margin: 16px 0 0; font-size: 13.5px; color: var(--lav-2); }
.hero-features { list-style: none; margin: 40px 0 0; padding: 0; display: flex; gap: 38px; flex-wrap: wrap; }
.hero-features li { display: grid; justify-items: center; text-align: center; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.hero-features strong { font-weight: 500; color: #fff; }
.ico { width: 36px; height: 36px; margin-bottom: 10px; }

/* Bands */
.band { position: relative; border-radius: var(--radius) var(--radius) 0 0; margin-top: calc(-1 * var(--radius)); padding: 60px 0 90px; }
.band.light { background: var(--light); color: var(--dark-h); }
.band.dark { background: var(--night); }
h2 { margin: 0 0 12px; font: 800 clamp(30px, 4.2vw, 42px)/1.08 var(--font); letter-spacing: -0.025em; }
.band.light .eyebrow { color: var(--eyebrow-light); }
.purple { color: var(--purple); }
.sub { margin: 0; color: var(--dark-body); font-size: 16.5px; }

/* How it works */
.how-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.note-how { max-width: 210px; margin: 0 20px 0 0; font-size: 25px; line-height: 1.15; color: var(--hand-dark); transform: rotate(-4deg); position: relative; }
.note-how .arrow { width: 26px; height: 40px; margin: 4px 0 0 150px; color: var(--hand-dark); display: block; }
.weeks { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 38px; }
.week { position: relative; background: var(--card); border-radius: 20px; padding: 20px 20px 24px; box-shadow: 0 10px 30px rgba(92, 64, 160, 0.08); }
.week:not(:last-child)::after {
  content: ''; position: absolute; top: 44px; right: -40px; width: 42px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 24'%3E%3Cpath d='M2 16C10 4 18 20 26 10S36 4 40 8' fill='none' stroke='%23f58ac6' stroke-width='2' stroke-dasharray='4 4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.week-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.wk { display: inline-grid; justify-items: center; line-height: 1; padding: 6px 8px; border-radius: 10px; background: #eee8fb; color: var(--dark-h); font: 700 9.5px var(--font); letter-spacing: 0.04em; }
.wk b { font-size: 19px; font-weight: 800; margin-top: 3px; }
.wicon { width: 44px; height: 44px; filter: drop-shadow(0 6px 10px rgba(122, 77, 240, 0.25)); }
.week h3 { margin: 0 0 4px; font: 700 18px var(--font); letter-spacing: -0.01em; }
.week p { margin: 0; font-size: 14.5px; color: var(--dark-body); line-height: 1.5; }

/* Why Batch */
.band.dark h2 { color: #fff; }
.note-why { position: absolute; right: 24px; top: -10px; margin: 0; font-size: 28px; line-height: 1.1; color: var(--pink-ink); transform: rotate(-8deg); text-align: center; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin-top: 34px; }
.why .ico { width: 40px; height: 40px; }
.why h3 { margin: 0 0 6px; font: 600 16.5px var(--font); color: #fff; }
.why p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.safety { margin-top: 44px; padding: 22px 24px; background: var(--surface-dark); border: 1px solid var(--line-dark); border-radius: 20px; }
.safety h3 { margin: 0 0 12px; font: 700 18px var(--font); }
.safety ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.safety li { position: relative; padding-left: 30px; font-size: 14.5px; color: var(--ink-2); }
.safety li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.3 2.6 2.5L13 6.5' fill='none' stroke='%232a0f24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.stickers { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 40px; }
.stickers img { width: 118px; height: auto; }
.stickers img:nth-child(odd) { transform: rotate(-6deg); }
.stickers img:nth-child(even) { transform: rotate(5deg) translateY(6px); }

/* Real conversations */
.talk-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.55fr; gap: 28px; align-items: center; }
.talk-grid h2 { font-size: clamp(28px, 3.1vw, 38px); }
.dark-h { color: var(--dark-h); }
.talk-card { position: relative; background: #fff; border-radius: 22px; padding: 22px 24px; box-shadow: 0 14px 34px rgba(92, 64, 160, 0.12); color: var(--dark-h); }
.talk-card::after { content: ''; position: absolute; right: -12px; top: 50%; border: 12px solid transparent; border-left-color: #fff; border-right: 0; transform: translateY(-50%); }
.talk-card .q { margin: 0 0 14px; font-size: 15px; line-height: 1.55; }
.talk-card .q::before { content: '\201C'; display: block; font: 800 44px/0.6 var(--font); color: #f6a45e; margin-bottom: 6px; }
.talk-card .by { margin: 0; font-size: 13px; color: var(--dark-body); }
.talk-card .label { margin: 0 0 8px; font: 600 12px var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--eyebrow-light); }
.talk-card .card-q { margin: 0 0 14px; font: 700 20px/1.3 var(--font); }
.flags { display: flex; gap: 8px; flex-wrap: wrap; }
.flag { padding: 7px 14px; border-radius: 999px; font: 600 13.5px var(--font); }
.flag.red { background: #ffe1e8; color: #c92a4f; }
.flag.green { background: #dcf7ec; color: #11845f; }
.flag.beige { background: #f6ecdc; color: #8a6a36; }
.talk-card .foot-note { margin: 12px 0 0; font-size: 13px; color: var(--dark-body); }
.kopi { width: 100%; max-width: 244px; justify-self: center; }

/* Waitlist */
/* The scene is pinned to the top at a fixed size, so it never shifts under the text when the form
   opens its second step; below it the bay's water colour carries on. */
.join { position: relative; border-radius: var(--radius) var(--radius) 0 0; margin-top: calc(-1 * var(--radius)); padding: 70px 0 90px; overflow: hidden; background:
    linear-gradient(90deg, rgba(23, 19, 47, 0.78) 0%, rgba(23, 19, 47, 0.5) 36%, rgba(23, 19, 47, 0) 58%),
    linear-gradient(180deg, rgba(43, 53, 107, 0) 0, rgba(43, 53, 107, 0) 470px, #2b356b 560px),
    url('img/join-scene.webp') right top / max(100%, 1400px) auto no-repeat,
    #2b356b; }
.join-inner { min-height: 330px; }
.note-join { position: absolute; left: 520px; top: -6px; margin: 0; font-size: 27px; line-height: 1.12; color: #fff; transform: rotate(-4deg); text-shadow: 0 2px 12px rgba(40, 20, 80, 0.35); }
.note-join .arrow { width: 22px; height: 34px; margin: 2px 0 0 150px; display: block; }
.join-copy { max-width: 440px; }
.light-eyebrow { color: #f0b3e6 !important; }
.join h2 { color: #fff; }
.sub-light { margin: 0 0 22px; color: #efe8ff; font-size: 16px; }
form { display: grid; gap: 14px; }
.email-field { display: flex; align-items: center; gap: 10px; padding: 0 16px; background: rgba(40, 28, 70, 0.72); border: 1.5px solid rgba(255, 255, 255, 0.14); border-radius: 16px; transition: border-color 0.2s ease; }
.email-field:focus-within { border-color: var(--pink); }
.email-field svg { width: 20px; height: 20px; color: #e8dcff; flex: none; }
.email-field input { flex: 1; border: 0; background: transparent; color: #fff; font: 500 16px var(--font); padding: 16px 0; outline: none; }
.email-field input::placeholder { color: #c9bde6; }
.more { display: grid; gap: 14px; padding: 18px; background: rgba(23, 19, 47, 0.82); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade 0.35s ease both; }
.more-title { margin: 0; font: 600 15px var(--font); color: #fff; }
.more label { display: grid; gap: 6px; font: 500 13.5px var(--font); color: var(--ink-2); }
.more input:not([type=radio]):not([type=checkbox]), .more select { font: 500 15.5px var(--font); color: #fff; background: rgba(255, 255, 255, 0.06); border: 1.5px solid rgba(255, 255, 255, 0.16); border-radius: 12px; padding: 11px 13px; width: 100%; outline: none; transition: border-color 0.2s ease; }
.more input:focus, .more select:focus { border-color: var(--pink); }
.more select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #c9bde6 50%), linear-gradient(135deg, #c9bde6 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.more select option { color: #120b2a; }
.two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font: 500 13.5px var(--font); color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { padding: 8px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.22); color: #fff; font: 500 14.5px var(--font); transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.chip input:checked + span { background: var(--pink); border-color: var(--pink); color: #2a0f24; }
.chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; font: 400 13px/1.5 var(--font) !important; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--pink); }
.consent a { color: var(--pink-ink); }
.field-error { border-color: #ff8fa8 !important; }
.form-error { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(23, 19, 47, 0.85); color: #ffb3c4; font-weight: 500; font-size: 14.5px; }
.turnstile:empty { display: none; }
.done { padding: 22px; background: rgba(23, 19, 47, 0.82); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 20px; animation: fade 0.4s ease both; }
.done .done-hand { margin: 0; font-size: 34px; color: var(--pink-ink); transform: rotate(-3deg); display: inline-block; }
.done h3 { margin: 4px 0 6px; font: 700 22px var(--font); }
.done p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.share { display: flex; gap: 8px; margin-bottom: 12px; }
.share input { flex: 1; min-width: 0; font: 500 14px var(--font); color: #fff; background: rgba(255, 255, 255, 0.06); border: 1.5px solid rgba(255, 255, 255, 0.16); border-radius: 12px; padding: 10px 12px; }
.share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* FAQ */
.faq details { background: var(--card); border-radius: 16px; padding: 4px 20px; margin-bottom: 10px; max-width: 780px; box-shadow: 0 6px 20px rgba(92, 64, 160, 0.06); }
.faq summary { cursor: pointer; font: 600 16px var(--font); padding: 13px 0; list-style: none; color: var(--dark-h); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--pink-deep); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 14px; color: var(--dark-body); }
.faq h2 { margin-bottom: 22px; }

/* Footer */
.foot { background: var(--footer); border-radius: var(--radius) var(--radius) 0 0; margin-top: calc(-1 * var(--radius)); position: relative; padding: 34px 0 40px; }
.foot-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot-inner > img { height: 31px; width: auto; }
.foot-links { display: flex; gap: 24px; flex: 1; justify-content: center; flex-wrap: wrap; }
.foot-links a { text-decoration: none; font-size: 13.5px; color: #e4ddf7; }
.foot-links a:hover { color: var(--pink); }
.socials { display: flex; gap: 16px; }
.socials a { color: #fff; display: inline-flex; }
.socials svg { width: 20px; height: 20px; }
.foot-hand { margin: 0; font-size: 20px; line-height: 1.1; color: var(--pink-ink); transform: rotate(-6deg); text-align: center; }

/* Privacy page */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); }
.doc h2 { font-size: 21px; margin-top: 32px; }
.doc p, .doc li { color: var(--ink-2); }
.doc a { color: var(--pink-ink); }

/* Tablet */
@media (max-width: 980px) {
  .links { display: none; }
  .weeks { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .week::after { display: none; }
  .why { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .talk-grid { grid-template-columns: 1fr 1fr; }
  .talk-grid > div:first-child { grid-column: 1 / -1; }
  .talk-card::after { display: none; }
  .hero-art { max-width: 52%; height: auto; width: 52%; }
  .note-join { display: none; }
}

/* Phone */
@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .nav { padding: 12px 18px; }
  .brand img { height: 30px; }
  .pill { padding: 9px 16px; font-size: 14px; }
  .pill.big { padding: 14px 24px; font-size: 16px; }
  .hero { display: flex; flex-direction: column; padding: 34px 18px 0; min-height: 0; }
  .hero-copy { order: 1; }
  .hero-art { order: 2; position: static; width: 100%; max-width: 440px; height: auto; margin: 26px auto 0; align-self: center; }
  .hero-features { gap: 22px; justify-content: space-between; }
  .band { padding: 48px 0 72px; }
  .how-head { flex-direction: column; }
  .note-how { font-size: 22px; max-width: none; margin: 6px 0 0; transform: rotate(-2deg); }
  .note-how .arrow { display: none; }
  .weeks { grid-template-columns: 1fr; }
  .note-why { position: static; transform: rotate(-3deg); text-align: left; font-size: 24px; margin-bottom: 16px; }
  .note-why br { display: none; }
  .why { grid-template-columns: 1fr; gap: 20px; }
  .safety ul { grid-template-columns: 1fr; }
  .stickers img { width: 92px; }
  .talk-grid { grid-template-columns: 1fr; }
  .kopi { max-width: 200px; }
  .join { padding: 56px 0 72px; background:
      linear-gradient(180deg, rgba(23, 19, 47, 0.6) 0, rgba(23, 19, 47, 0.35) 300px, rgba(23, 19, 47, 0.15) 440px),
      linear-gradient(180deg, rgba(43, 53, 107, 0) 0, rgba(43, 53, 107, 0) 380px, #2b356b 470px),
      url('img/join-scene.webp') 70% top / auto 480px no-repeat,
      #2b356b; }
  .two { grid-template-columns: 1fr; }
  .share { flex-direction: column; }
  .foot-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .foot-links { justify-content: flex-start; }
}
