/* EarthDojo coming-soon page. Same look as the app: "polished game".
   Colours from tailwind.config.js, font Nunito (OFL, self-hosted, Latin subset). */

@font-face { font-family: Nunito; font-weight: 500; font-display: swap; src: url("fonts/nunito-500.woff2") format("woff2"); }
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url("fonts/nunito-700.woff2") format("woff2"); }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url("fonts/nunito-800.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("fonts/jakarta-700.woff2") format("woff2"); }

:root {
  --gi: #f4f4f9;
  --ink: #1a1a1a;
  --muted: #64748b;
  --line: #e2e8f0;
  --ocean: #00a8e8;
  --ocean-dark: #0076a8;
  --ocean-soft: #e6f7fd;
  --earth: #3f9543;
  --earth-soft: #eef8ee;
  --tan: #b5835a;
  --sunset: #ff6b35;
  --rose: #e11d48;
  --rose-soft: #fff1f2;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--gi);
  color: var(--ink);
  font: 500 17px/1.6 Nunito, system-ui, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean-dark); }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.3px; }
.brand img { width: 34px; }
.brand .earth { color: var(--earth); }
.brand .dojo { color: var(--tan); }
.top-link { font-weight: 700; font-size: 15px; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); background: #fff; border-radius: 999px; color: var(--ink); }

/* hero */
.hero { display: grid; gap: 24px; align-items: center; padding-block: 24px 40px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--ocean-dark); background: var(--ocean-soft); border-radius: 999px; padding: 4px 12px; }
h1 { font-size: clamp(34px, 7vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -0.8px; margin: 14px 0 12px; }
h1 .belt { color: var(--earth); }
.lead { font-size: 19px; color: #334155; margin: 0 0 22px; max-width: 34em; }
.hero-art { justify-self: center; width: min(78vw, 340px); }
.hero-art img { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* waitlist form */
.join { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; max-width: 520px; }
.join label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row input[type="email"] {
  flex: 1 1 220px; min-width: 0; font: 600 17px Nunito, system-ui, sans-serif; color: var(--ink);
  padding: 13px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff;
}
.row input[type="email"]:focus { border-color: var(--ocean); outline: none; }
.btn {
  flex: 0 0 auto; font: 800 17px Nunito, system-ui, sans-serif; color: #fff; cursor: pointer;
  background: var(--ocean); border: 2px solid var(--ocean); border-bottom: 4px solid var(--ocean-dark);
  border-radius: 12px; padding: 11px 20px;
}
.btn:active { border-bottom-width: 2px; transform: translateY(2px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin-top: 12px; min-height: 0; }
.fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.msg { font-weight: 700; font-size: 15px; margin: 10px 0 0; }
.msg.error { color: var(--rose); }
.done { display: flex; align-items: center; gap: 14px; }
.done img { width: 76px; }
.done p { margin: 0; }
.done strong { display: block; font-size: 19px; font-weight: 800; color: var(--earth); }

/* sections */
section { padding: 36px 0; }
h2 { font-size: clamp(26px, 5vw, 34px); font-weight: 800; letter-spacing: -0.4px; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 22px; }
.cards { display: grid; gap: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card h3 { margin: 10px 0 4px; font-size: 19px; font-weight: 800; }
.card p { margin: 0; color: #475569; font-size: 16px; }
.icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.icon.ocean { background: var(--ocean-soft); color: var(--ocean-dark); }
.icon.earth { background: var(--earth-soft); color: var(--earth); }
.icon.sunset { background: #fff1eb; color: #c2461b; }

/* try-a-question */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; max-width: 620px; }
.quiz .label { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0; }
.quiz .q { font-size: 20px; font-weight: 700; margin: 6px 0 14px; line-height: 1.4; }
.options { display: grid; gap: 10px; }
.opt {
  text-align: left; font: 700 16px Nunito, system-ui, sans-serif; color: var(--ink); cursor: pointer;
  background: #fff; border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 12px; padding: 12px 14px;
}
.opt:active { border-bottom-width: 2px; transform: translateY(2px); }
.opt.right { border-color: #4caf50; background: var(--earth-soft); }
.opt.wrong { border-color: var(--rose); background: var(--rose-soft); }
.opt[disabled] { cursor: default; }
.why { margin-top: 14px; border-radius: 12px; padding: 12px 14px; font-size: 16px; }
.why.right { background: var(--earth-soft); color: #214d24; }
.why.wrong { background: var(--rose-soft); color: #9f1239; }
.why b { font-weight: 800; }

/* belts */
.belts { display: flex; flex-wrap: wrap; gap: 8px; }
.belt-chip { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 700; }
.belt-chip i { width: 26px; height: 10px; border-radius: 3px; border: 1px solid #cbd5e1; display: block; }

.b-white { background: #fff; } .b-yellow { background: #facc15; } .b-orange { background: #fb923c; } .b-green { background: #22c55e; }
.b-blue { background: #3b82f6; } .b-purple { background: #a855f7; } .b-brown { background: #92400e; } .b-black { background: #1a1a1a; }
.cta { margin-top: 28px; }
.cta .btn { display: inline-block; text-decoration: none; }

/* footer */
footer { border-top: 1px solid var(--line); margin-top: 24px; padding: 22px 0 36px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }

/* privacy page */
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; max-width: 720px; margin: 12px auto 0; }
.doc h1 { font-size: 32px; }
.doc h2 { font-size: 21px; margin-top: 22px; }
.doc p, .doc li { color: #334155; }

@media (min-width: 820px) {
  .hero { grid-template-columns: 1.25fr 1fr; padding-block: 48px 56px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art img { animation: none; }
  .btn:active, .opt:active { transform: none; }
}


/* ---------- v2: sections, phones, nav (2026-10-20) ---------- */

.site-head { position: sticky; top: 0; z-index: 10; background: rgba(244, 244, 249, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .top { padding: 12px 20px; }
.nav { display: none; gap: 22px; }
.nav a { color: #334155; font-weight: 700; font-size: 15px; text-decoration: none; }
.nav a:hover { color: var(--ocean-dark); }
.btn { display: inline-block; text-decoration: none; }
.btn-small { font-size: 15px; padding: 8px 14px; border-bottom-width: 3px; }

.hero-band { padding: 8px 0 12px; }
.hero { padding-top: 28px; }
.hero h1 { margin-top: 14px; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; font-weight: 700; color: #334155; }
.ticks li::before { content: "✓"; color: var(--earth); margin-right: 6px; }

.phone { border-radius: 34px; border: 9px solid #1a1a1a; background: #1a1a1a; overflow: hidden; box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16); max-width: 300px; margin: 0 auto; }
.phone img { width: 100%; border-radius: 26px; animation: none; }
.hero-phones { position: relative; justify-self: center; width: min(78vw, 300px); }
.hero-phones .hero-mascot { position: absolute; width: 132px; left: -84px; bottom: 26px; animation: bob 2.4s ease-in-out infinite; }

.sources { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.sources p { margin: 0; text-align: center; font-size: 15px; color: #334155; }
.muted { color: var(--muted); }

section { padding: 56px 0; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ocean-dark); }
.narrow { max-width: 720px; }

.steps { display: grid; gap: 34px; margin-top: 8px; }
.step { text-align: center; }
.step .phone { max-width: 240px; }
.step .num { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-top: 18px; border-radius: 50%; background: var(--ocean); color: #fff; font-weight: 800; }
.step h3 { margin: 8px 0 4px; font-size: 21px; font-weight: 800; }
.step p { margin: 0 auto; max-width: 30em; color: #475569; }

.units { display: grid; gap: 14px; }
.unit { background: var(--gi); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.unit h3 { margin: 12px 0 6px; font-size: 20px; font-weight: 800; }
.unit .terms { margin: 0; color: #475569; font-size: 15px; }
.unit-next { background: #fff; border-style: dashed; }
.unit .belt-chip { display: inline-flex; }
.belts { margin-top: 22px; }

.split { display: grid; gap: 36px; align-items: center; }
.reasons { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.reasons li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: #334155; }
.reasons b { color: var(--ink); }
.phone-tilt { max-width: 250px; }

details { background: var(--gi); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-top: 10px; }
summary { cursor: pointer; font-weight: 800; font-size: 17px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--ocean-dark); font-weight: 800; }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: #475569; }

.join-band { background: var(--ocean); color: #fff; }
.join-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 32px; text-align: center; }
.join-inner img { width: 150px; }
.join-inner h2 { color: #fff; margin: 0 0 6px; }
.join-inner p { margin: 0 0 16px; color: #e6f7fd; }
.join-band .btn { background: #fff; color: var(--ocean-dark); border-color: #fff; border-bottom-color: #c2ecfa; }

footer { margin-top: 0; background: #fff; }
.foot { display: grid; gap: 18px; padding-top: 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot nav a { color: #334155; text-decoration: none; font-weight: 700; font-size: 14px; }
.foot p { margin: 8px 0 0; }
.copy { font-size: 13px; }

@media (min-width: 820px) {
  .nav { display: flex; }
  .hero { grid-template-columns: 1.1fr 1fr; gap: 40px; padding-block: 48px 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .units { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1.2fr 1fr; }
  .join-inner { text-align: left; flex-wrap: nowrap; }
  .foot { grid-template-columns: 1fr auto; align-items: start; }
}

@media (max-width: 819px) {
  .hero-phones { width: min(70vw, 260px); margin-top: 8px; }
  .hero-phones .hero-mascot { width: 96px; left: -54px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-phones .hero-mascot { animation: none; }
}


/* ---------- v3: calm type, zero-to-hero sections (2026-10-21) ---------- */
/* Headings and the wordmark in Plus Jakarta Sans: playful mascot, serious type. */
h1, h2, h3, .wordmark, .quiz .q { font-family: "Plus Jakarta Sans", Nunito, system-ui, sans-serif; font-weight: 700; }
h1 { letter-spacing: -1.2px; }
h2 { letter-spacing: -0.6px; }
h1 .accent { color: var(--ocean-dark); }
.wordmark { font-size: 21px; letter-spacing: -0.4px; color: var(--ink); }
.wordmark span { color: var(--ocean-dark); }
.brand { gap: 9px; }
.brand img { width: 32px; }
.eyebrow { background: #fff; border: 1px solid var(--line); color: #334155; }

.phone-side { max-width: 260px; }
.paths { display: grid; gap: 12px; margin-top: 18px; }
.path-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.path-card h3 { margin: 0 0 4px; font-size: 18px; }
.path-card p { margin: 0; color: #475569; }

.journey { list-style: none; margin: 8px 0 0; padding: 0 0 0 22px; border-left: 3px solid var(--line); display: grid; gap: 14px; }
.journey li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.journey li::before { content: ""; position: absolute; left: -32px; top: 22px; width: 15px; height: 15px; border-radius: 50%; background: var(--ocean); border: 3px solid var(--gi); }
.journey li.later { background: transparent; border-style: dashed; }
.journey li.later::before { background: #cbd5e1; }
.journey h3 { margin: 10px 0 4px; font-size: 19px; }
.journey p { margin: 0; color: #475569; font-size: 15px; }
.journey .belt-chip { display: inline-flex; }

@media (min-width: 820px) {
  .paths { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: 1fr 1fr; border-left: 0; padding-left: 0; }
  .journey li::before { display: none; }
}

@media (max-width: 819px) {
  .step .phone, .phone-side { max-width: 210px; }
  .hero-phones { width: min(64vw, 240px); }
}
