/* NAALAI v3: clean, friendly, professional. Shared by index.html, login.html and app.html. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../public/fonts/bricolage-grotesque-latin-variable.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("../public/fonts/nunito-sans-latin-variable.woff2") format("woff2"); }

@property --c1 { syntax: "<color>"; inherits: true; initial-value: #ffe39a; }
@property --c2 { syntax: "<color>"; inherits: true; initial-value: #cfe6ff; }
@property --c3 { syntax: "<color>"; inherits: true; initial-value: #e6dcff; }
@property --c4 { syntax: "<color>"; inherits: true; initial-value: #ffd9cc; }

:root {
  --app-bg: #fbf8f2;
  --muted-bg: #f6f3ed;
  --paper: #ffffff;
  --on-ink: #ffffff;
  --ink: #1c1a2e;
  --ink-2: #4f4d63;
  --ink-3: #7b7990;
  --bg: #fffbf5;
  --surface: #ffffff;
  --line: #ece6db;
  --line-2: #ddd5c7;
  --blue: #2857a6;
  --blue-2: #3a6cc0;
  --blue-soft: #e8f0ff;
  --sun: #ffc93c;
  --sun-soft: #fff2c7;
  --coral: #ff7f5c;
  --coral-soft: #ffe6dd;
  --mint: #2fa866;
  --mint-soft: #dcf4e6;
  --sky: #2f9be8;
  --sky-soft: #e1f2ff;
  --lilac: #7b5ce6;
  --lilac-soft: #eee8ff;
  --red: #d64545;
  --red-soft: #fdeaea;
  --font-display: "Bricolage Grotesque", "Nunito Sans", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow-1: 0 1px 2px rgba(28, 26, 46, .06), 0 4px 14px -6px rgba(28, 26, 46, .12);
  --shadow-2: 0 2px 6px rgba(28, 26, 46, .06), 0 24px 50px -20px rgba(28, 26, 46, .28);
  --c1: #ffe39a; --c2: #cfe6ff; --c3: #e6dcff; --c4: #ffd9cc;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -.03em; line-height: 1.08; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 12px; font-weight: 800; }
.skip-link:focus { top: 16px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

/* ---------- buttons & fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 16.5px; letter-spacing: -.01em; transition: transform .15s var(--ease), box-shadow .2s, background .2s, color .2s, opacity .2s; }
.btn:active { transform: translateY(2px) scale(.99); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--spring); }
.alert svg { width: 18px; height: 18px; }
.btn:hover svg.go { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--on-ink); box-shadow: 0 8px 20px -10px rgba(28, 26, 46, .7); }
.btn-primary:hover { background: #2d2a45; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(40, 87, 166, .8); }
.btn-blue:hover { background: #2f63b8; }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; cursor: not-allowed; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.field { display: grid; gap: 7px; }
.field > span, .field-label { font-weight: 800; font-size: 14px; }
.field small.hint { color: var(--ink-3); font-size: 13px; font-weight: 600; }
.input, .select, .textarea { width: 100%; padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--surface); font-size: 16px; font-weight: 600; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(40, 87, 166, .14); }
.input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(214, 69, 69, .12); }
.error-text { color: var(--red); font-size: 14px; font-weight: 700; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.alert svg { flex: none; margin-top: 2px; }
.alert-error { background: var(--red-soft); color: #8f2323; }
.alert-info { background: var(--blue-soft); color: #1d4180; }
.alert-ok { background: var(--mint-soft); color: #186b3d; }
.alert-warn { background: var(--sun-soft); color: #7a5200; }

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chip-group legend { font-weight: 800; font-size: 14px; margin-bottom: 8px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 14px; transition: background .15s, color .15s, border-color .15s; }
.chip:hover span { border-color: var(--ink-3); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.chip input:focus-visible + span { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.chip input:disabled + span { opacity: .45; }

.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; font-size: 15px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { position: relative; flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--line-2); transition: background .2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform .25s var(--spring); }
.switch input:checked + .track { background: var(--mint); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 3px solid var(--blue-2); outline-offset: 2px; }

.tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; line-height: 1.4; white-space: nowrap; }
.t-do { background: var(--coral-soft); color: #b8431f; }
.t-study { background: var(--lilac-soft); color: #5436c4; }
.t-bring { background: var(--mint-soft); color: #1b7543; }
.t-parent { background: var(--sun-soft); color: #7a5200; }
.t-attend { background: var(--sky-soft); color: #17639f; }
.t-know { background: var(--muted-bg); color: #3e4458; }
.t-urgent { background: var(--red-soft); color: #a52a2a; }

/* ---------- animated background ---------- */
.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; transition: --c1 .9s, --c2 .9s, --c3 .9s, --c4 .9s; }
.orb { position: absolute; width: 52vmax; height: 52vmax; border-radius: 50%; opacity: .7; will-change: transform; animation: orb 24s ease-in-out infinite alternate; }
.orb.o1 { background: radial-gradient(circle, var(--c1) 0%, transparent 62%); top: -24vmax; left: -14vmax; }
.orb.o2 { background: radial-gradient(circle, var(--c2) 0%, transparent 62%); top: -18vmax; right: -18vmax; animation-duration: 28s; animation-delay: -7s; }
.orb.o3 { background: radial-gradient(circle, var(--c3) 0%, transparent 62%); bottom: -30vmax; left: 18%; animation-duration: 32s; animation-delay: -3s; }
.orb.o4 { background: radial-gradient(circle, var(--c4) 0%, transparent 62%); bottom: -24vmax; right: -10vmax; animation-duration: 26s; animation-delay: -14s; }
@keyframes orb { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(7vmax, 5vmax) scale(1.12); } 100% { transform: translate(-5vmax, 8vmax) scale(.94); } }
.shape { position: absolute; left: var(--x); top: var(--y); width: var(--s, 30px); height: var(--s, 30px); opacity: .85; animation: drift var(--t, 16s) ease-in-out var(--d, 0s) infinite; }
.shape-in { display: block; width: 100%; height: 100%; transform: translate(var(--mx, 0px), var(--my, 0px)); transition: transform 1.2s var(--ease); }
@keyframes drift { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -22px; rotate: 16deg; } }

/* ---------- Kuru ---------- */
.kuru { overflow: visible; }
.kuru .k-eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.kuru .k-arm { transform-origin: 166px 118px; animation: wave 3.2s ease-in-out infinite; }
.kuru .k-body { transform-origin: 100px 190px; animation: breathe 3.2s ease-in-out infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@keyframes wave { 0%, 55%, 100% { transform: rotate(0deg); } 65% { transform: rotate(-18deg); } 75% { transform: rotate(8deg); } 85% { transform: rotate(-14deg); } }
@keyframes breathe { 50% { transform: scale(1.02, .985); } }
.kuru { width: 100%; height: auto; }
.kuru-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 24px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 450; max-width: min(440px, calc(100% - 32px)); padding: 12px 18px; border-radius: 16px; background: var(--ink); color: var(--on-ink); font-weight: 700; font-size: 15px; box-shadow: var(--shadow-2); transform: translate(-50%, 140%); opacity: 0; transition: transform .45s var(--spring), opacity .25s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast[data-kind="error"] { background: #8f2323; }
.kuru-btn.hop { animation: hop .7s var(--spring); }
@keyframes hop { 30% { transform: translateY(-26px) rotate(-6deg); } 60% { transform: translateY(0) scale(1.05, .95); } }
.bubble { position: relative; background: var(--surface); color: var(--ink); border-radius: 18px; padding: 11px 15px; font-weight: 700; font-size: 14.5px; line-height: 1.4; box-shadow: var(--shadow-2); }
.bubble.pop { animation: pop .45s var(--spring); }
@keyframes pop { from { transform: scale(.7); opacity: 0; } }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(255, 251, 245, .97); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: -.04em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 700; font-size: 15px; padding: 9px 13px; border-radius: 999px; color: var(--ink-2); transition: color .15s, background .15s; }
.nav-links a:not(.btn):hover { color: var(--ink); background: rgba(28, 26, 46, .05); }
.nav-links .btn { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(28, 26, 46, .06); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.accent { color: var(--blue); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease) var(--d, 0s), transform .55s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 30px 0 110px; margin-top: -72px; padding-top: 132px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); font-weight: 800; line-height: .98; letter-spacing: -.05em; }
.hero h1 .hl { position: relative; display: inline-block; color: var(--blue); }
.hero h1 .hl svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .26em; overflow: visible; }
.hero h1 .hl path { fill: none; stroke: var(--sun); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.1s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-lede { margin-top: 24px; font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: var(--ink-3); font-weight: 600; }
/* The hero art is one fixed 640×620 composition, scaled as a unit (see landing.js), so nothing drifts or clips. */
.hero-visual { position: relative; width: 100%; max-width: 640px; margin-inline: auto; height: calc(620px * var(--k, 1)); }
.hero-stage { position: absolute; top: 0; left: 50%; width: 640px; height: 620px; transform: translateX(-50%) scale(var(--k, 1)); transform-origin: top center; perspective: 1400px; }

.phone { position: relative; width: 290px; border-radius: 46px; padding: 10px; background: #15172a; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12), var(--shadow-2), 0 40px 80px -30px rgba(28, 26, 46, .45); }
.phone-screen { position: relative; border-radius: 37px; background: var(--bg); overflow: hidden; padding: 46px 14px 16px; min-height: 520px; }
.phone-island { position: absolute; top: 20px; left: 50%; width: 88px; height: 25px; margin-left: -44px; border-radius: 20px; background: #06070f; z-index: 3; }
.phone-status { position: absolute; top: 17px; left: 26px; right: 24px; display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 800; }
.phone-head { display: flex; justify-content: space-between; align-items: center; margin: 6px 2px 12px; gap: 10px; }
.phone-head small { display: block; font-size: 11px; font-weight: 800; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; }
.phone-head strong { font-family: var(--font-display); font-size: 21px; letter-spacing: -.03em; line-height: 1.1; }
.ring { position: relative; width: 44px; height: 44px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--line); stroke-width: 4.5; }
.ring .ring-fill { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 100.53; stroke-dashoffset: var(--off, 100.53); transition: stroke-dashoffset .6s var(--spring); }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 900; }
.tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.task { width: 100%; display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; cursor: pointer; transition: background .25s, border-color .25s, transform .2s var(--spring); }
.task:hover { transform: translateY(-1px); border-color: var(--line-2); }
.task:active { transform: scale(.98); }
.tick { width: 22px; height: 22px; margin-top: 2px; border-radius: 7px; border: 2px solid var(--line-2); display: grid; place-items: center; color: #fff; transition: background .2s, border-color .2s, transform .35s var(--spring); }
.tick svg { width: 13px; height: 13px; transform: scale(0); transition: transform .3s var(--spring); }
.task-body { display: grid; gap: 2px; }
.task-body .tag { justify-self: start; }
.task-body strong { font-size: 14px; line-height: 1.25; }
.task-body small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.task[aria-checked="true"] { background: #f3fbf6; border-color: #cdeedb; }
.task[aria-checked="true"] .tick { background: var(--mint); border-color: var(--mint); transform: scale(1.08); }
.task[aria-checked="true"] .tick svg { transform: none; }
.task[aria-checked="true"] strong { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; }
.all-done { margin-top: 10px; text-align: center; font-family: var(--font-display); font-weight: 800; color: var(--mint); animation: pop .5s var(--spring); }
.hero-phone { position: absolute; left: 192px; top: 12px; z-index: 2; transform: rotateY(var(--ry, -6deg)) rotateX(var(--rx, 3deg)) rotateZ(-2deg); transition: transform .7s var(--ease); }
.task.ping { animation: ping-task 1.2s var(--ease); }
@keyframes ping-task { 0% { box-shadow: 0 0 0 0 rgba(255, 201, 60, .9); } 100% { box-shadow: 0 0 0 14px rgba(255, 201, 60, 0); } }
@keyframes float { 50% { translate: 0 -12px; } }
.post-card { position: absolute; z-index: 3; left: 0; top: 150px; width: 184px; padding: 10px 12px 10px 10px !important; display: flex; gap: 10px; align-items: center; background: var(--surface); border-radius: 18px; padding: 11px 14px 11px 11px; box-shadow: var(--shadow-2); translate: var(--px, 0) var(--py, 0); transform: translateX(-14px) scale(.96); opacity: 0; transition: transform .7s var(--spring), opacity .4s, translate .8s var(--ease); }
.post-card.show { transform: none; opacity: 1; }
.post-card img { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.post-card small { white-space: nowrap; }
.post-card strong { display: block; font-size: 13.5px; line-height: 1.25; }
.post-card small { font-size: 12px; color: var(--ink-3); font-weight: 700; }
.hero-kuru { position: absolute; right: 0; bottom: 0; z-index: 4; width: 150px; translate: var(--px, 0) var(--py, 0); transition: translate .8s var(--ease); }
.hero-kuru .bubble { position: absolute; right: 0; bottom: 156px; width: 150px; transition: opacity .3s, transform .3s var(--ease); }
.k-pupils { transition: transform .25s ease-out; }
.hero-kuru .bubble.hide { opacity: 0; transform: translateY(6px) scale(.9); pointer-events: none; }

/* how it works (stepper, no sticky) */
.how-box { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: stretch; }
.how-tabs { display: grid; gap: 12px; align-content: start; }
.how-tab { position: relative; overflow: hidden; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; width: 100%; text-align: left; cursor: pointer; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 18px; transition: border-color .2s, box-shadow .2s, background .2s; }
.how-tab:hover { border-color: var(--line-2); }
.how-tab[aria-selected="true"] { border-color: var(--ink); box-shadow: var(--shadow-1); }
.how-num { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; background: var(--bg); border: 1.5px solid var(--line-2); transition: background .2s, color .2s, border-color .2s; }
.how-tab[aria-selected="true"] .how-num { background: var(--sun); border-color: var(--sun); }
.how-tab strong { display: block; font-family: var(--font-display); font-size: 19px; letter-spacing: -.02em; line-height: 1.2; }
.how-tab small { display: block; margin-top: 4px; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.how-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.how-tab[aria-selected="true"] .how-bar { animation: bar 6s linear forwards; }
.how-box.paused .how-bar, .how-box.static .how-bar { animation-play-state: paused; }
.how-box.static .how-tab[aria-selected="true"] .how-bar { animation: none; transform: scaleX(1); }
@keyframes bar { to { transform: scaleX(1); } }
.how-stage { position: relative; display: grid; border-radius: var(--r-lg); background: var(--sky-soft); padding: clamp(18px, 4vw, 40px); overflow: hidden; transition: background .5s; min-height: 100%; }
.how-stage[data-step="2"] { background: var(--lilac-soft); }
.how-stage[data-step="3"] { background: var(--mint-soft); }
.how-panel { grid-area: 1 / 1; display: grid; place-items: center; align-content: center; gap: 16px; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s .45s; }
.how-panel.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s; }
.mock { width: min(420px, 100%); background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-2); padding: 16px 18px 18px; display: grid; gap: 12px; }
.mock-top { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; color: var(--ink-3); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; }
.dots i:nth-child(2) { background: var(--sun); }
.dots i:nth-child(3) { background: var(--mint); }
.mock-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mock-label { width: 48px; font-size: 11.5px; font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.pill { font-size: 13px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--muted-bg); }
.pill.on-coral { background: var(--coral); color: #fff; }
.pill.on-blue { background: var(--blue); color: #fff; }
.pill.on-sun { background: var(--sun); }
.mock-field { background: var(--muted-bg); border-radius: 12px; padding: 9px 12px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.caret { width: 2px; height: 17px; background: var(--blue); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mock-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--blue-soft); color: var(--blue); border-radius: 12px; padding: 8px 8px 8px 12px; font-size: 13px; font-weight: 800; }
.fake-btn { display: inline-flex; gap: 6px; align-items: center; background: var(--blue); color: #fff; border-radius: 999px; padding: 6px 13px; }
.stage-note { font-weight: 800; font-size: 14px; background: var(--surface); border-radius: 999px; padding: 7px 14px; box-shadow: var(--shadow-1); display: inline-flex; gap: 7px; align-items: center; }
.route { width: min(440px, 100%); height: auto; overflow: visible; }
.route .ln { fill: none; stroke: #b7a8ea; stroke-width: 3; stroke-dasharray: 5 9; }
.route .ln.hot { stroke: var(--blue); stroke-width: 5; stroke-dasharray: 12 10; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -44; } }
.route .post rect { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.route text { font-family: var(--font-display); font-weight: 800; font-size: 17px; fill: var(--ink); text-anchor: middle; }
.route text.sub { font-family: var(--font-body); font-size: 12px; font-weight: 700; fill: var(--ink-3); }
.route .cls circle { fill: #fff; stroke: #b7a8ea; stroke-width: 3; }
.route .cls text { fill: #9189b3; font-size: 16px; }
.route .cls.hot circle { fill: var(--blue); stroke: var(--ink); }
.route .cls.hot text { fill: #fff; font-size: 19px; }
.route .dot { fill: var(--sun); stroke: var(--ink); stroke-width: 2.5; }
.mini-phone { width: min(290px, 100%); background: var(--bg); border: 9px solid #15172a; border-radius: 36px; padding: 18px 13px 16px; box-shadow: var(--shadow-2); display: grid; gap: 8px; }
.notif { display: flex; gap: 10px; align-items: center; background: var(--surface); border-radius: 16px; padding: 10px 12px; box-shadow: var(--shadow-1); }
.notif img { width: 30px; height: 30px; border-radius: 8px; }
.notif strong { display: block; font-size: 12px; color: var(--ink-3); }
.notif span span { font-size: 14px; font-weight: 800; }
.how-panel.is-on .notif { animation: drop .7s var(--spring) .2s both; }
@keyframes drop { from { transform: translateY(-24px); opacity: 0; } }
.mp-title { font-family: var(--font-display); font-weight: 800; font-size: 21px; margin: 4px 4px 0; }
.mp-item { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; background: var(--surface); border-radius: 14px; padding: 9px 11px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; }

/* audiences */
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-card { display: flex; flex-direction: column; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 26px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
.role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.role-art { height: 130px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 22px; }
.role-art svg { height: 112px; width: auto; }
.art-teacher { background: var(--blue-soft); }
.art-parent { background: var(--coral-soft); }
.art-student { background: var(--sun-soft); }
.role-card h3 { font-size: 24px; font-weight: 800; }
.role-card > p { color: var(--ink-2); margin-top: 8px; font-size: 16px; }
.checks { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.checks svg { width: 18px; height: 18px; margin-top: 3px; color: var(--mint); }
.role-card .btn { margin-top: auto; align-self: flex-start; }

/* bag game */
.bag-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; padding: clamp(24px, 5vw, 52px); border-radius: 36px; background: linear-gradient(160deg, #fff6d9, #ffecb0); }
.bag-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
.bag-copy > p { margin-top: 14px; color: #5f5130; }
.bag-list { list-style: none; padding: 0; margin: 22px 0 16px; display: grid; gap: 8px; }
.bag-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; background: var(--surface); border-radius: 14px; padding: 9px 13px; transition: background .3s; }
.bag-list .box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid #d5c69c; display: grid; place-items: center; color: #fff; transition: background .25s, border-color .25s; }
.bag-list .box svg { width: 13px; height: 13px; transform: scale(0); transition: transform .35s var(--spring); }
.bag-list strong { display: block; font-size: 15px; line-height: 1.2; }
.bag-list small { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.bag-list li.is-packed { background: #f1fbf4; }
.bag-list li.is-packed .box { background: var(--mint); border-color: var(--mint); }
.bag-list li.is-packed .box svg { transform: none; }
.bag-list li.is-packed strong { text-decoration: line-through; color: var(--ink-3); }
.bag-status { font-family: var(--font-display); font-weight: 800; font-size: 19px; margin-bottom: 14px; min-height: 1.5em; }
.bag-status.win { color: var(--mint); }
.bag-status.oops { color: #c2461f; }
.bag-stage { position: relative; aspect-ratio: 1 / 1; max-height: 520px; width: 100%; }
.backpack { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%); transition: transform .35s var(--spring); }
.backpack svg { width: 100%; height: auto; overflow: visible; }
.bag-flap { transform-box: fill-box; transform-origin: 50% 0; transition: transform .4s var(--spring); }
.backpack.is-open .bag-flap { transform: translateY(-30px) rotate(-7deg); }
.backpack.is-hover { transform: translate(-50%, -50%) scale(1.06); }
.backpack.bounce { animation: squash .6s var(--spring); }
.backpack.shake { animation: shake .5s ease; }
@keyframes squash { 30% { transform: translate(-50%, -50%) scale(1.08, .92); } 60% { transform: translate(-50%, -50%) scale(.96, 1.05); } }
@keyframes shake { 20%, 60% { transform: translate(calc(-50% - 10px), -50%) rotate(-3deg); } 40%, 80% { transform: translate(calc(-50% + 10px), -50%) rotate(3deg); } }
.m-happy, .m-oops { display: none; }
.backpack.happy .m-smile, .backpack.oops .m-smile { display: none; }
.backpack.happy .m-happy, .backpack.oops .m-oops { display: inline; }
.bag-eyes { transform-box: fill-box; transform-origin: center; animation: blink 4.5s infinite; }
.bag-count { position: absolute; top: 8%; right: -4%; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #fff; font-family: var(--font-display); font-weight: 800; border: 3px solid var(--ink); }
.bag-item { position: absolute; left: var(--x); top: var(--y); width: 24%; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px; border: 0; background: none; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transform: rotate(var(--r)); transition: transform .55s var(--spring), opacity .3s; border-radius: 16px; }
.bag-item svg { width: 72%; height: auto; aspect-ratio: 1; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(28, 26, 46, .16)); transition: scale .25s var(--spring); }
.bag-item:hover svg { scale: 1.08; }
.bag-item span { font-size: 12px; font-weight: 800; background: var(--surface); border-radius: 999px; padding: 2px 9px; white-space: nowrap; pointer-events: none; }
.bag-item.dragging { transition: none; cursor: grabbing; z-index: 10; }
.bag-item.flying { transition: transform .5s cubic-bezier(.5, 0, .75, 0), opacity .5s ease-in; z-index: 10; }
.bag-item.packed { visibility: hidden; }

/* try it */
.try-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; }
.composer { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-2); border: 1px solid var(--line); overflow: hidden; }
.composer-bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--muted-bg); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; color: var(--ink-3); }
.composer-body { padding: 24px; display: grid; gap: 18px; }
.audience { display: flex; gap: 8px; align-items: center; padding: 10px 13px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 14px; }
.audience.other { background: var(--lilac-soft); color: #5436c4; }
.try-phone .phone-screen { min-height: 500px; }
.feed { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.feed li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; background: var(--surface); border-radius: 14px; padding: 10px 11px; border: 1px solid var(--line); }
.feed li strong { display: block; font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
.feed li small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.feed li.new { animation: pop .6s var(--spring); box-shadow: 0 0 0 3px var(--sun); transition: box-shadow 1.5s 1.2s; }
.feed li.new.settled { box-shadow: 0 0 0 0 transparent; }
.toast-in-phone { position: absolute; top: 44px; left: 9px; right: 9px; z-index: 5; background: rgba(28, 26, 46, .95); color: #fff; border-radius: 16px; padding: 10px 12px; font-size: 13px; font-weight: 700; line-height: 1.35; transform: translateY(-150%); opacity: 0; transition: transform .55s var(--spring), opacity .3s; }
.toast-in-phone.show { transform: none; opacity: 1; }
.toast-in-phone.warn { background: rgba(84, 54, 196, .96); }
.toast-in-phone strong { display: block; font-size: 11px; opacity: .75; text-transform: uppercase; letter-spacing: .05em; }
.try-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 22px; }
.try-stats { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.link-btn { border: 0; background: none; padding: 0; cursor: pointer; color: var(--blue); font-weight: 800; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.try-phone.nope { animation: nope .45s ease; }
@keyframes nope { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.caption { text-align: center; margin-top: 12px; font-size: 14.5px; color: var(--ink-3); font-weight: 700; }
.flyer { position: fixed; z-index: 400; pointer-events: none; background: var(--surface); border-radius: 14px; padding: 9px 13px; font-weight: 800; font-size: 14px; box-shadow: var(--shadow-2); display: flex; gap: 8px; align-items: center; white-space: nowrap; }

/* pricing */
.price-panel { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center; padding: clamp(24px, 5vw, 52px); border-radius: 36px; background: linear-gradient(160deg, #f3eeff, #e6ddff); }
.price-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
.price-copy > p { margin-top: 14px; color: #4e4870; }
.trial { display: flex; gap: 14px; align-items: center; margin-top: 24px; background: var(--surface); border-radius: 18px; padding: 14px 16px; }
.trial strong { display: block; font-family: var(--font-display); font-size: 18px; }
.trial small { color: var(--ink-2); font-size: 14px; font-weight: 600; }
.cal { flex: none; width: 58px; height: 62px; border-radius: 14px; overflow: hidden; border: 2px solid var(--ink); display: grid; grid-template-rows: 16px 1fr; background: var(--paper); }
.cal i { background: var(--coral); border-bottom: 2px solid var(--ink); }
.cal b { display: grid; place-items: center; font-family: var(--font-display); font-size: 26px; }
.calc { background: var(--surface); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-2); }
.calc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--muted-bg); border-radius: 999px; padding: 4px; }
.seg label { position: relative; z-index: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; padding: 7px 18px; font-weight: 800; font-size: 14px; text-align: center; transition: color .25s; }
.seg input:checked + span { color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--blue-2); border-radius: 999px; }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: transform .4s var(--spring); }
.seg:has(input[value="annual"]:checked) .seg-thumb { transform: translateX(100%); }
.muted-label { font-size: 12px; font-weight: 800; color: var(--ink-3); letter-spacing: .05em; text-transform: uppercase; }
.kids-row { display: flex; align-items: flex-end; min-height: 62px; margin-bottom: 6px; }
.kid { width: 50px; height: 50px; margin-right: -7px; animation: kid-in .5s var(--spring) both; }
.kid.out { animation: kid-out .25s ease forwards; }
@keyframes kid-in { from { transform: translateY(18px) scale(.3); opacity: 0; } }
@keyframes kid-out { to { transform: translateY(14px) scale(.3); opacity: 0; } }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 15px; margin-bottom: 12px; }
.calc-label output { font-family: var(--font-display); color: var(--lilac); font-size: 18px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--lilac) var(--p, 0%), #ece6f7 var(--p, 0%)); cursor: pointer; margin: 0; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); box-shadow: var(--shadow-1); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); }
.ticks { display: flex; justify-content: space-between; padding: 8px 9px 0; font-size: 12px; font-weight: 800; color: #a39ebb; }
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 16px; }
.price-line del { font-size: 20px; font-weight: 800; color: #a39ebb; }
.big-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 5.6vw, 4.3rem); line-height: 1; letter-spacing: -.05em; }
.per { font-weight: 800; color: var(--ink-2); }
.per-day { margin-top: 4px; font-weight: 800; color: var(--mint); }
.breakdown { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.breakdown span { font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--muted-bg); }
.fine { margin-top: 12px; font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* faq */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details { border-bottom: 1.5px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 21px); cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue); }
.plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--muted-bg); transition: transform .35s var(--spring), background .2s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2.5px; margin: -1.25px 0 0 -6.5px; border-radius: 2px; background: var(--ink); }
.plus::after { transform: rotate(90deg); }
details[open] .plus { transform: rotate(135deg); background: var(--sun); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 4px 22px; color: var(--ink-2); max-width: 64ch; }

/* closing */
.cta-box { position: relative; overflow: hidden; border-radius: 40px; padding: clamp(36px, 7vw, 80px) clamp(22px, 5vw, 60px); text-align: center; background: var(--ink); color: var(--on-ink); --c1: #3a3570; --c2: #23407a; --c3: #4a3272; --c4: #2c4d6e; }
.cta-box .orb { opacity: .9; }
.cta-inner { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 800; max-width: 14em; margin: 0 auto; }
.cta-box p { margin: 16px auto 0; max-width: 34em; color: rgba(255, 255, 255, .78); font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.cta-box .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.cta-box .btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.cta-box .btn-light { background: #fff; color: var(--ink); }

/* footer */
.footer { padding: 56px 0 34px; color: var(--ink-2); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer p { margin-top: 10px; font-weight: 600; }
.footer nav { display: flex; gap: 48px; flex-wrap: wrap; }
.footer h2 { font-family: var(--font-body); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.footer nav a { display: block; text-decoration: none; padding: 4px 0; font-weight: 700; }
.footer nav a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: 14px; }

/* ---------- Kuru guide ---------- */
.kg { position: fixed; right: 18px; bottom: 18px; z-index: 350; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.kg > * { pointer-events: auto; }
.kg-fab { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 5px 16px 5px 6px; border-radius: 999px; border: 0; background: var(--surface); box-shadow: var(--shadow-2), 0 0 0 1px var(--line); cursor: pointer; font-family: var(--font-display); font-weight: 800; font-size: 15px; transition: transform .3s var(--spring); }
.kg-fab img { width: 46px; height: 48px; animation: kg-bob 3.2s ease-in-out infinite; }
.kg-fab, .kg-tip { transition: opacity .3s, transform .35s var(--spring); }
.kg.kg-away:not(.open) .kg-fab, .kg.kg-away:not(.open) .kg-tip { opacity: 0; transform: translateY(14px) scale(.7); pointer-events: none; visibility: hidden; }
.kg-fab:hover { transform: translateY(-3px); }
.kg.open .kg-fab { display: none; }
@keyframes kg-bob { 50% { transform: translateY(-3px) rotate(-5deg); } }
.kg-tip { max-width: 250px; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-weight: 700; font-size: 14px; line-height: 1.4; box-shadow: var(--shadow-2); cursor: pointer; animation: pop .4s var(--spring); }
.kg-panel { width: min(390px, calc(100vw - 24px)); max-height: min(640px, calc(100vh - 40px)); display: flex; flex-direction: column; background: var(--surface); border-radius: 24px; box-shadow: 0 30px 70px -20px rgba(28, 26, 46, .45), 0 0 0 1px var(--line); overflow: hidden; animation: pop .35s var(--spring); }
.kg-head { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; background: linear-gradient(135deg, #fff3cf, #efe8ff); }
.kg-head img { width: 40px; height: 42px; }
.kg-head > div { flex: 1; min-width: 0; }
.kg-head strong { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1.1; }
.kg-head small { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.kg-tourbtn { border: 0; background: var(--paper); border-radius: 999px; padding: 7px 12px; font-weight: 800; font-size: 13px; cursor: pointer; white-space: nowrap; }
.kg-x { flex: none; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .75); cursor: pointer; font-size: 15px; }
.kg-log { flex: 1; min-height: 140px; overflow-y: auto; padding: 14px; display: grid; gap: 8px; align-content: start; }
.kg-msg { max-width: 90%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; animation: pop .3s var(--spring); }
.kg-kuru { justify-self: start; background: var(--muted-bg); border-bottom-left-radius: 4px; }
.kg-user { justify-self: end; background: var(--ink); color: var(--on-ink); border-bottom-right-radius: 4px; }
.kg-link { display: inline-flex; margin: 8px 12px 0 0; font-weight: 800; color: var(--blue); text-decoration: none; font-size: 14px; }
.kg-link:hover { text-decoration: underline; }
.kg-msg .kg-chip { margin: 8px 6px 0 0; }
.kg-dots { display: inline-flex; gap: 4px; padding: 4px 2px; }
.kg-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: kg-dot 1s infinite; }
.kg-dots i:nth-child(2) { animation-delay: .15s; }
.kg-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes kg-dot { 50% { transform: translateY(-4px); opacity: .5; } }
.kg-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.kg-chip { border: 1.5px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 6px 11px; font-weight: 700; font-size: 13px; cursor: pointer; text-align: left; }
.kg-chip:hover { border-color: var(--ink-3); }
.kg-form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.kg-form input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); font-size: 15px; font-weight: 600; }
.kg-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40, 87, 166, .14); }
.kg-tourcard { margin: 12px 14px; padding: 12px 14px; border-radius: 16px; background: var(--sun-soft); }
.kg-step { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; color: #7a5200; }
.kg-steptext { font-weight: 700; margin-top: 4px; }
.kg-tournav { display: flex; gap: 6px; margin-top: 10px; justify-content: flex-end; flex-wrap: wrap; }
.kg.touring .kg-log, .kg.touring .kg-chips, .kg.touring .kg-form { display: none; }
.kuru-spot { outline: 3px solid var(--sun) !important; outline-offset: 5px; border-radius: 16px; animation: spot 1.4s ease-in-out infinite; }
@keyframes spot { 50% { outline-color: var(--coral); outline-offset: 9px; } }
@media (max-width: 700px) {
  .kg { right: 12px; bottom: 12px; }
  .kg-label { display: none; }
  .kg-fab { padding: 4px; }
  .kg-panel { max-height: calc(100vh - 24px); }
  .kg-tourbtn { padding: 6px 10px; }
}

/* confetti */
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 500; }

/* ---------- responsive (landing) ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 18px; }
  .how-box { grid-template-columns: 1fr; }
  .how-tabs { grid-template-columns: repeat(3, 1fr); }
  .how-tab { grid-template-columns: 1fr; gap: 8px; padding: 14px; }
  .how-tab small { display: none; }
  .how-stage { min-height: 0; }
  .roles-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .bag-panel, .price-panel { grid-template-columns: 1fr; }
  .bag-stage { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav-links { position: absolute; top: 68px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-2); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .3s var(--ease); }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 13px 14px; font-size: 16.5px; }
  .nav-links .btn { margin: 8px 0 0; }
  .try-grid { grid-template-columns: 1fr; justify-items: center; }
  .composer { width: 100%; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding-top: 110px; padding-bottom: 70px; }
  .hero-actions .btn { width: 100%; }
  .hero .shape { display: none; }
  .try-phone { width: 272px; }
  .how-tab strong { font-size: 15px; }
  .how-num { width: 36px; height: 36px; font-size: 17px; border-radius: 11px; }
  .composer-body { padding: 18px; }
  .footer nav { gap: 28px; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .hero { padding-top: 100px; }
  .route { max-height: 62vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}
