/* Voko — pastel maskot dünyası (theme-spec token'ları) */
:root {
  --sky-top: #a9dff6;
  --sky-bottom: #d9f2fc;
  --card: rgba(255, 255, 255, 0.92);
  --tile: #f6efe4;
  --ink: #2b2b33;
  --ink-soft: #7a7a8c;
  --coral: #ff8a5c;
  --coral-deep: #ff7a4d;
  --sun: #ffb238;
  --green: #58c96b;
  --gold: #ffc83d;
  --danger: #ff5a5f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Nunito", -apple-system, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 55%, #f3fbff 100%);
  background-attachment: fixed;
  line-height: 1.6;
  font-weight: 600;
}

h1, h2, h3, .display { font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 800; line-height: 1.15; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }

/* header */
header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { width: 40px; height: 40px; border-radius: 11px; }
.logo span { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 24px; letter-spacing: 1px; color: var(--coral); }
nav.site a { color: var(--ink-soft); text-decoration: none; font-size: 14.5px; margin-left: 20px; font-weight: 700; }
nav.site a:hover { color: var(--coral); }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; padding: 44px 0 30px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 54px); }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero p.lead { font-size: 18px; color: var(--ink-soft); margin: 16px 0 26px; max-width: 34em; }
.hero-art { position: relative; text-align: center; }
.hero-art img.mascot { width: min(78%, 330px); filter: drop-shadow(0 14px 26px rgba(43,43,51,0.18)); }

.badges { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.appstore-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--sun); color: var(--ink);
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 18px;
  padding: 14px 30px; border-radius: 999px; text-decoration: none;
  border: 2.5px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.appstore-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.subnote { font-size: 12.5px; color: var(--ink-soft); }

/* cards & sections */
section { padding: 34px 0; }
.section-label {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--coral); font-weight: 800; margin-bottom: 8px;
}
h2 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 10px; }
.section-sub { color: var(--ink-soft); max-width: 44em; margin-bottom: 26px; }

.card {
  background: var(--card); border-radius: 24px; padding: 26px;
  box-shadow: 0 10px 28px rgba(43, 43, 51, 0.09);
}
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature h3 { font-size: 19px; margin: 10px 0 6px; }
.feature p { font-size: 14.5px; color: var(--ink-soft); }
.feature .emoji-tile {
  width: 52px; height: 52px; border-radius: 16px; background: var(--tile);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}

/* screenshots */
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 10px 4px 22px; scroll-snap-type: x mandatory; }
.shots img {
  width: 232px; border-radius: 26px; flex-shrink: 0; scroll-snap-align: start;
  box-shadow: 0 14px 30px rgba(43, 43, 51, 0.16);
  border: 3px solid rgba(255, 255, 255, 0.8);
}

/* how it works */
.steps { counter-reset: step; }
.step { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; }
.step .n {
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 20px;
  background: var(--coral); color: #fff; width: 40px; height: 40px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 2.5px solid #fff; box-shadow: 0 3px 8px rgba(43,43,51,0.16);
}
.step h3 { font-size: 18px; }
.step p { color: var(--ink-soft); font-size: 14.5px; }

/* FAQ */
details {
  background: var(--card); border-radius: 18px; padding: 16px 20px; margin-bottom: 10px;
  box-shadow: 0 6px 16px rgba(43, 43, 51, 0.07);
}
details summary { font-weight: 800; cursor: pointer; font-size: 15.5px; }
details p { margin-top: 8px; color: var(--ink-soft); font-size: 14.5px; }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 30px 0 60px; }
.legal .card { padding: 34px; }
.legal h1 { font-size: 32px; margin-bottom: 6px; }
.legal .updated { color: var(--ink-soft); font-size: 13px; margin-bottom: 22px; }
.legal h2 { font-size: 20px; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 14.8px; color: #4a4a55; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal a { color: var(--coral-deep); }

/* footer */
footer.site {
  padding: 34px 0 44px; text-align: center; color: var(--ink-soft); font-size: 13.5px;
}
footer.site a { color: var(--ink-soft); margin: 0 10px; }
footer.site a:hover { color: var(--coral); }

/* ===================== landing: animated + interactive (2026-07 refresh) ===================== */
/* no-JS / reduced-motion safety: nothing hidden depends on JS */
html.no-js .reveal, html.no-js .h-load { opacity: 1; transform: none; }

/* scroll progress bar */
#progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--coral), var(--sun)); transform: scaleX(0); transform-origin: left; will-change: transform; }

/* ambient world behind everything */
.world { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sun-glow { position: absolute; top: -170px; right: -120px; width: 540px; height: 540px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,61,0.5) 0%, rgba(255,178,56,0.16) 42%, transparent 70%); }
.cloud { position: absolute; width: 120px; height: 40px; border-radius: 999px; background: rgba(255,255,255,0.75); filter: blur(1px);
  box-shadow: 42px 2px 0 6px rgba(255,255,255,0.6), -44px 5px 0 0 rgba(255,255,255,0.5); }
.cloud.c1 { top: 11%; left: 7%; animation: drift 28s ease-in-out infinite; }
.cloud.c2 { top: 27%; right: 9%; width: 92px; animation: drift 36s ease-in-out infinite reverse; }
.cloud.c3 { top: 62%; left: 14%; width: 150px; opacity: 0.65; animation: drift 44s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translateX(-26px); } 50% { transform: translateX(26px); } }

/* sticky glass header */
header.site { position: sticky; top: 0; z-index: 50; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(217,242,252,0.82), rgba(217,242,252,0)); }

/* hero load choreography */
.h-load { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
body.loaded .h-load { opacity: 1; transform: none; }
body.loaded .hero-copy .h-load:nth-child(1) { transition-delay: .05s; }
body.loaded .hero-copy .h-load:nth-child(2) { transition-delay: .12s; }
body.loaded .hero-copy .h-load:nth-child(3) { transition-delay: .19s; }
body.loaded .hero-copy .h-load:nth-child(4) { transition-delay: .26s; }
body.loaded .hero-art.h-load { transition-delay: .22s; }

/* mascot flipbook via CSS sprite + steps() */
.flip { width: 210px; height: 210px; margin: 0 auto; background-repeat: no-repeat; background-size: 2400% 100%; background-position: 0 0;
  filter: drop-shadow(0 14px 24px rgba(43,43,51,0.18)); animation: float 5s ease-in-out infinite; }
.flip-idle { background-image: url(img/sprites/idle.webp); }
.flip-cheer { background-image: url(img/sprites/cheering.webp); width: 156px; height: 156px; }
.flip.playing { animation: flipplay 2s steps(24) infinite, float 5s ease-in-out infinite; }
@keyframes flipplay { to { background-position: 100% 0; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* hero ColorWave */
.wave { display: flex; align-items: flex-end; gap: 4px; height: 46px; margin: 2px 0 22px; max-width: 380px; }
.wave i { flex: 1; height: var(--h, 40%); border-radius: 999px; transform-origin: bottom; animation: wavepulse 1.4s ease-in-out infinite; }
@keyframes wavepulse { 0%,100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.grid3 .feature:nth-child(2).in { transition-delay: .06s; } .grid3 .feature:nth-child(3).in { transition-delay: .12s; }
.grid3 .feature:nth-child(4).in { transition-delay: .06s; } .grid3 .feature:nth-child(5).in { transition-delay: .12s; }
.grid3 .feature:nth-child(6).in { transition-delay: .18s; }

/* eyebrow labels carry a sticker */
.section-label { display: inline-flex; align-items: center; gap: 7px; }
.section-label img { display: block; }

/* feature cards: sticker tiles + hover life */
.card.feature { border: 1.5px solid rgba(58,43,37,0.10); transition: transform .18s ease, box-shadow .18s ease; }
.card.feature:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(43,43,51,0.14); }
.feature .tile { width: 60px; height: 60px; border-radius: 18px; background: var(--tile);
  display: flex; align-items: center; justify-content: center; box-shadow: inset 0 -2px 0 rgba(58,43,37,0.06); }
.feature .tile img { width: 46px; height: 46px; transition: transform .25s ease; }
.card.feature:hover .tile img { transform: rotate(-7deg) scale(1.08); }

/* interactive scored section */
.scored { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.scorecard { background: var(--card); border-radius: 28px; padding: 22px 26px 26px; max-width: 420px;
  border: 1.5px solid rgba(58,43,37,0.10); box-shadow: 0 16px 40px rgba(43,43,51,0.13); }
.sc-head { text-align: center; font-size: 11px; letter-spacing: 2.4px; font-weight: 800; color: var(--coral); }
#scorecard .ring-wrap { width: 150px; margin: 6px auto 10px; }
#scorecard .ring-score { font-size: 46px; }
#scorecard .ring-grade { font-size: 18px; color: var(--sun); }
#ringArc { transition: stroke-dashoffset 1.2s cubic-bezier(.2,.7,.2,1); }
#scorecard .dim-fill { width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }

/* peeking mascot between sections */
.peek { position: absolute; width: 120px; opacity: .92; pointer-events: none; filter: drop-shadow(0 10px 18px rgba(43,43,51,0.16)); }
.peek-left { left: -8px; margin-top: -34px; }

/* how it works: step rows with real screenshots */
.steps-grid { display: flex; flex-direction: column; gap: 22px; }
.step-row { display: grid; grid-template-columns: 1fr 240px; gap: 28px; align-items: center; background: var(--card);
  border-radius: 26px; padding: 24px 26px; border: 1.5px solid rgba(58,43,37,0.10); box-shadow: 0 12px 30px rgba(43,43,51,0.10); }
.step-row.reverse { grid-template-columns: 240px 1fr; }
.step-row.reverse .step-body { order: 2; }
.step-body { display: flex; gap: 16px; align-items: flex-start; }
.step-body .n { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 20px; background: var(--coral); color: #fff;
  width: 42px; height: 42px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 2.5px solid #fff; box-shadow: 0 3px 8px rgba(43,43,51,0.16); }
.step-body h3 { font-size: 19px; margin-bottom: 4px; }
.step-body p { color: var(--ink-soft); font-size: 14.5px; }
.step-shot { width: 100%; border-radius: 22px; border: 3px solid rgba(255,255,255,0.85); box-shadow: 0 14px 30px rgba(43,43,51,0.16); }

/* stats strip */
.stats { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; text-align: center; }
.stat { background: var(--card); border-radius: 20px; padding: 16px 26px; min-width: 132px; border: 1.5px solid rgba(58,43,37,0.10);
  box-shadow: 0 8px 20px rgba(43,43,51,0.08); }
.stat b { display: block; font-family: "Baloo 2", sans-serif; font-size: 34px; color: var(--ink); }
.stat span { font-size: 12.5px; color: var(--ink-soft); }

/* FAQ +/- marker */
details[open] { background: #fff; }
details summary { list-style: none; } details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--coral); font-weight: 800; }
details[open] summary::after { content: "\2013"; }

/* final CTA */
.cta { text-align: center; padding-bottom: 54px; }
.cta .flip { margin-bottom: 4px; }

/* App Store button idle bob to pull the eye */
.hero .appstore-btn { animation: bob 3.4s ease-in-out infinite; }
.hero .appstore-btn:hover { animation: none; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* responsive */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 20px; }
  .hero-copy .wave, .hero p.lead { margin-left: auto; margin-right: auto; }
  .badges { justify-content: center; }
  .hero-art { order: -1; }
  .flip { width: 168px; height: 168px; }
  .scored { grid-template-columns: 1fr; }
  .scorecard { margin: 0 auto; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .step-row, .step-row.reverse { grid-template-columns: 1fr; }
  .step-row.reverse .step-body { order: 0; }
  .step-shot { max-width: 230px; margin: 0 auto; }
  .peek { display: none; }
}
@media (max-width: 520px) { .grid3 { grid-template-columns: 1fr; } }

/* reduced motion: hold still */
@media (prefers-reduced-motion: reduce) {
  .h-load, .reveal { opacity: 1 !important; transform: none !important; }
  .flip, .flip.playing, .wave i, .cloud, .hero .appstore-btn { animation: none !important; }
  .flip { background-position: 0 0 !important; }
  #ringArc, #scorecard .dim-fill { transition: none !important; }
}

/* share page (/r): app design family, pastel sky, white 24px cards, Baloo numbers */
.share-hero { max-width: 430px; margin: 22px auto 56px; }
.share-card { text-align: center; padding: 28px 22px 30px; }
.share-card + .share-card { margin-top: 16px; }
.share-card h3 { font-size: 20px; }
.share-mascot { width: 76px; margin-bottom: 2px; }
.share-label { font-size: 11px; letter-spacing: 2.4px; font-weight: 800; color: var(--coral); }
.share-name { color: var(--ink-soft); font-size: 13.5px; margin-top: 5px; }
.share-sub { color: var(--ink-soft); font-size: 14px; margin-top: 6px; }

/* score ring */
.ring-wrap { position: relative; width: 188px; margin: 16px auto 4px; }
.ring-wrap svg { display: block; width: 100%; height: auto; }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-score { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 56px; line-height: 1; color: var(--ink); }
.ring-grade { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 22px; line-height: 1.15; }

/* big standalone number (profile, duel, glow) */
.big-num {
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 92px; line-height: 1;
  color: var(--ink);
  text-shadow: -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 3px 3px 0 #fff, 0 6px 14px rgba(43,43,51,0.18);
}

.badge-gold {
  display: inline-block; background: var(--gold); color: var(--ink);
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 1px;
  padding: 5px 16px; border-radius: 999px; margin-top: 12px;
  border: 2px solid var(--ink); box-shadow: 0 2px 0 var(--ink);
}

.chip-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip {
  background: var(--tile); border-radius: 999px; padding: 6px 14px;
  font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--ink);
}

/* dimension / skill bars */
.dims { margin-top: 20px; text-align: left; }
.dim-row { display: flex; align-items: center; gap: 10px; margin: 9px 0; }
.dim-name { width: 104px; font-size: 11px; letter-spacing: 1.4px; font-weight: 800; color: var(--ink-soft); }
.dim-bar { flex: 1; height: 10px; background: rgba(43,43,51,0.08); border-radius: 999px; overflow: hidden; }
.dim-fill { height: 100%; border-radius: 999px; }
.dim-val { width: 36px; text-align: right; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 15px; }

.share-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; margin-top: 18px; color: var(--ink-soft); font-size: 11px; letter-spacing: 1px; font-weight: 800; }
.share-meta b { font-family: "Baloo 2", sans-serif; font-size: 19px; color: var(--ink); display: block; text-align: center; letter-spacing: 0; }

.quote-box { background: rgba(255, 200, 61, 0.28); border-radius: 16px; padding: 13px 16px; margin-top: 18px; font-size: 14px; text-align: left; }
.quote-box b { font-size: 11px; letter-spacing: 1.6px; }

/* coach summary — one-paragraph verdict, matches the in-app summary card */
.summary-box { background: var(--tile); border-radius: 16px; padding: 14px 16px; margin-top: 18px; font-size: 14.5px; line-height: 1.5; text-align: left; color: var(--ink); }

/* went-well / to-improve lists */
.coach-block { margin-top: 18px; text-align: left; }
.coach-label { font-size: 11px; letter-spacing: 1.8px; font-weight: 800; margin-bottom: 8px; }
.coach-label.good { color: var(--green); }
.coach-label.warn { color: var(--coral-deep); }
.coach-item { display: flex; align-items: flex-start; gap: 9px; margin: 7px 0; font-size: 14px; line-height: 1.45; }
.coach-mark { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; color: #fff; }
.coach-mark.good { background: var(--green); }
.coach-mark.warn { background: var(--coral); }
.coach-q { display: block; color: var(--ink-soft); font-style: italic; font-size: 13px; margin-top: 2px; }

/* notebook — lined paper with rainbow-pen teacher corrections (mirrors NotebookTranscriptView) */
.nb-block { margin-top: 20px; }
.nb-paper {
  position: relative; margin-top: 8px; text-align: left; color: var(--ink);
  background: #fffdf6;
  background-image: repeating-linear-gradient(#fffdf6 0 33px, rgba(169,223,246,0.5) 33px 34px);
  border-radius: 16px; padding: 8px 16px 14px 34px;
  font-size: 16px; line-height: 34px; overflow: hidden;
}
.nb-paper::before { content: ""; position: absolute; left: 24px; top: 0; bottom: 0; width: 1.5px; background: rgba(255,90,95,0.35); }
.nb-remove { text-decoration: line-through; text-decoration-thickness: 2px; }
.nb-good { font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.nb-replace { color: var(--ink-soft); text-decoration: line-through; text-decoration-thickness: 2px; }
.nb-corr { font-size: 11px; font-weight: 800; vertical-align: super; margin-left: 2px; line-height: 0; }
.nb-notes { margin-top: 12px; text-align: left; }
.nb-note { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0; font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.nb-dot { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; margin-top: 6px; }

/* battle result — comparative score bars + grouped skill chart (mirrors BattleResultBoard) */
.bt-winner { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 24px; line-height: 1.2; margin-top: 14px; }
.bt-scores { margin-top: 18px; text-align: left; }
.bt-row { display: flex; align-items: center; gap: 10px; margin: 9px 0; }
.bt-rank { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 18px; width: 20px; text-align: center; }
.bt-name { width: 66px; font-weight: 800; font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-track { flex: 1; height: 16px; background: rgba(43,43,51,0.06); border-radius: 999px; overflow: hidden; }
.bt-fill { height: 100%; border-radius: 999px; }
.bt-score { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 18px; width: 32px; text-align: right; }
.bt-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin-top: 18px; }
.bt-leg { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; letter-spacing: 0.5px; color: var(--ink-soft); }
.bt-dot { width: 8px; height: 8px; border-radius: 50%; }
.bt-chart { display: flex; gap: 6px; margin-top: 14px; }
.bt-group { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bt-bars { display: flex; align-items: flex-end; gap: 3px; height: 64px; }
.bt-dbar { width: 8px; border-radius: 3px 3px 0 0; }
.bt-dname { font-size: 8px; letter-spacing: 0.5px; font-weight: 800; color: var(--ink-soft); }

.csc-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 2px dashed rgba(43,43,51,0.12); }
.csc-row span { font-size: 11px; letter-spacing: 2px; font-weight: 800; color: var(--ink-soft); }
.csc-row b { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 26px; color: var(--coral); }

/* glow-up */
.glow-row { display: flex; align-items: flex-start; justify-content: center; gap: 14px; margin-top: 18px; }
.glow-col { min-width: 96px; }
.glow-tag { font-size: 10.5px; letter-spacing: 2px; font-weight: 800; color: var(--ink-soft); margin-bottom: 4px; }
.glow-num { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 58px; line-height: 1; color: var(--ink); }
.glow-num.after { color: var(--coral); }
.glow-date { color: var(--ink-soft); font-size: 12px; margin-top: 5px; }
.glow-arrow { flex-shrink: 0; margin-top: 36px; }
.delta-chip {
  display: inline-block; margin-top: 16px; background: var(--green); color: #fff;
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 14px;
  border-radius: 999px; padding: 4px 16px;
}
.delta-chip.down { background: var(--danger); }

/* milestone */
.ms-badge { width: 62px; height: 62px; margin: 8px auto 4px; border-radius: 50%; background: var(--green, #16A34A); color: #fff; font-size: 34px; font-weight: 800; line-height: 62px; box-shadow: 0 6px 16px rgba(22,163,74,0.35); }
.ms-who { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }

/* duel */
.duel-title { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 26px; line-height: 1.2; margin-top: 10px; }
.prompt-box { background: var(--tile); border-radius: 16px; padding: 14px 16px; margin-top: 16px; text-align: left; }
.prompt-box .p-label { font-size: 10.5px; letter-spacing: 2px; font-weight: 800; color: var(--ink-soft); }
.prompt-box .p-title { font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 17px; line-height: 1.35; margin-top: 2px; }
.beat-label { font-size: 11px; letter-spacing: 2px; font-weight: 800; color: var(--ink-soft); margin-top: 20px; margin-bottom: 6px; }
.code-box {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11.5px; line-height: 1.55;
  word-break: break-all; text-align: left; color: var(--ink);
  background: rgba(43,43,51,0.06); border-radius: 14px; padding: 12px 14px; margin-top: 14px;
  max-height: 132px; overflow-y: auto;
}

/* buttons */
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--ink);
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 15px;
  padding: 9px 24px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 2.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-ghost:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.cta-block { margin-top: 26px; }
.cta-block .appstore-btn { font-size: 17px; padding: 13px 26px; }
.cta-block .subnote { margin-top: 10px; }
.cta-secondary { margin-top: 12px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .badges { justify-content: center; }
  .grid3, .grid2 { grid-template-columns: 1fr; }
  nav.site a { margin-left: 12px; font-size: 13px; }
}
