:root {
  /* Berry Pop */
  --bg: #FBF9FF;
  --card: #FFFFFF;
  --line: rgba(30, 24, 56, 0.08);
  --text: #1E1838;
  --muted: #625C7C;
  --soft: #8E88A8;
  --accent: #5B3FD9;
  --accent-2: #FF4F8B;
  --gold: #FFD23F;
  --lilac: #B9A3F0;
  --t-lemon: #FFF3C4;
  --t-pink: #FFE1EC;
  --t-violet: #E6DEFF;
  --t-lilac: #F1EBFF;
  --radius: 26px;
  --display: 'Fredoka', 'DM Sans', ui-rounded, system-ui, sans-serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow-soft: 0 14px 34px rgba(91, 63, 217, 0.10);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg) radial-gradient(rgba(91, 63, 217, 0.07) 1.2px, transparent 1.4px) 0 0 / 24px 24px;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-2); }
a:hover { color: var(--accent); }
img { max-width: 100%; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 60; }

/* Header: floating pill */
header.site { position: sticky; top: 12px; z-index: 30; padding: 0 12px; }
header.site .wrap {
  display: flex; align-items: center; gap: 18px; height: 66px; padding: 0 10px 0 16px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 2px solid #fff; border-radius: 999px; box-shadow: 0 10px 30px rgba(91, 63, 217, 0.12);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.brand-mark { display: block; height: 46px; margin-top: -6px; }
.brand-mark img { height: 100%; width: auto; transform-origin: 50% 100%; transition: transform .3s var(--pop); }
.brand:hover .brand-mark img { animation: wiggle .7s ease-in-out; }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 1.55rem; color: var(--accent); letter-spacing: -0.01em; }
.brand-word b { color: var(--accent-2); }
header.site nav { display: flex; gap: 4px; font-size: 0.95rem; }
header.site nav a { color: var(--text); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; transition: background .2s, color .2s; }
header.site nav a:hover { background: var(--t-violet); color: var(--accent); }
.hdr-cta { padding: 10px 18px; font-size: 0.95rem; }
.menu-btn { display: none; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--t-violet); cursor: pointer; padding: 0; place-content: center; gap: 4px; }
.menu-btn span { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: var(--accent); transition: transform .25s var(--pop), opacity .2s; }
header.site.open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
header.site.open .menu-btn span:nth-child(2) { opacity: 0; }
header.site.open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.08; margin: 0 0 12px; color: var(--text); }
h1 { font-size: clamp(2.7rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 14px; color: var(--muted); }
.eyebrow { display: inline-block; color: var(--accent-2); background: var(--t-pink); font-family: var(--display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* Buttons: chunky and squishy */
.btn {
  --b: var(--accent); --edge: #3E27A8; --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  padding: 12px 22px; border: 0; border-radius: 999px; background: var(--b); color: var(--fg);
  font-family: var(--display); font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  box-shadow: 0 5px 0 var(--edge); transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 7px 0 var(--edge); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--edge); }
.btn-pink { --b: var(--accent-2); --edge: #CC2F65; }
.btn-ghost { --b: #fff; --edge: #DCD2FA; --fg: var(--accent); outline: 2px solid #E6DEFF; outline-offset: -2px; }

/* Hero */
.hero { position: relative; padding: 72px 0 72px; overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(10px); z-index: -1; }
.hero::before { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(closest-side, rgba(255, 79, 139, 0.16), transparent); }
.hero::after { width: 460px; height: 460px; left: -160px; bottom: -200px; background: radial-gradient(closest-side, rgba(91, 63, 217, 0.14), transparent); }
.hero .wrap { display: block; position: relative; }
.hero h1 em { font-style: normal; color: var(--accent-2); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ''; position: absolute; left: 2%; right: 2%; bottom: -0.08em; height: 0.28em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c12-6 22 4 34-1s22-6 34 0 22 4 34-1 12-3 14-2' fill='none' stroke='%23FFD23F' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; z-index: -1; }
.pill { display: inline-block; background: var(--t-lemon); color: var(--text); font-weight: 600; padding: 7px 16px; border-radius: 999px; font-size: 0.92rem; margin-bottom: 20px; box-shadow: 0 4px 0 #F1DC8A; }

.stores { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px; border-radius: 18px; background: #fff; color: var(--text); text-decoration: none; font-weight: 700; font-family: var(--display); box-shadow: 0 5px 0 #DCD2FA; outline: 2px solid #E6DEFF; outline-offset: -2px; transition: transform .15s, box-shadow .15s; }
.store svg { width: 22px; height: 22px; color: var(--accent); }
.store.alt { background: var(--text); color: #fff; outline: 0; box-shadow: 0 5px 0 #000; }
.store.alt svg { color: #fff; }
.store.alt small { color: rgba(255, 255, 255, 0.8); }
.store:hover { transform: translateY(-2px); color: inherit; }
.store.alt:hover { color: #fff; }
.store small { display: block; font-weight: 500; font-size: 0.72rem; opacity: 0.85; line-height: 1; font-family: var(--sans); }
.store span { line-height: 1.15; }
.note { font-size: 0.85rem; color: var(--soft); }

.enrolment { margin-top: 22px; scroll-margin-top: 110px; }
.enrolment .card { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 16px 18px; }
.enrol-text { flex: 1 1 200px; color: var(--muted); line-height: 1.35; }
.enrol-text strong { color: var(--text); font-family: var(--display); font-size: 1.2rem; }
.enrol-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; margin-left: -12px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; box-shadow: 0 4px 10px rgba(30, 24, 56, 0.1); }
.avatars span:first-child { margin-left: 0; }
.avatars img { height: 38px; width: auto; max-width: none; flex: none; }

/* Cards & sections */
section.block { padding: 88px 0; position: relative; }
.tint { background: linear-gradient(180deg, #F4EFFF, #FBF9FF); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 28px; }
.card { background: var(--card); border: 2px solid #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft); }
.card p { margin: 0; }
.usp { position: relative; padding-top: 22px; transition: transform .25s var(--pop); }
.usp:hover { transform: translateY(-4px) rotate(-0.6deg); }
.usp-stk { height: 76px; width: auto; display: block; margin-bottom: 10px; transform-origin: 50% 100%; }
.usp:hover .usp-stk { animation: hop .6s var(--pop); }

ol.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); counter-reset: step; }
ol.steps li { counter-increment: step; position: relative; background: #fff; border-radius: var(--radius); padding: 70px 20px 22px; box-shadow: var(--shadow-soft); text-align: center; }
ol.steps li:nth-child(5n+1) { background: var(--t-violet); }
ol.steps li:nth-child(5n+2) { background: var(--t-lemon); }
ol.steps li:nth-child(5n+3) { background: var(--t-pink); }
ol.steps li:nth-child(5n+4) { background: var(--t-lilac); }
ol.steps li:nth-child(5n) { background: #fff; }
ol.steps li::before { content: counter(step); position: absolute; top: 12px; left: 14px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: #fff; font-family: var(--display); font-weight: 600; }
.step-stk { position: absolute; left: 50%; top: -52px; height: 112px; width: auto; transform: translateX(-50%); transform-origin: 50% 100%; filter: drop-shadow(0 8px 8px rgba(30, 24, 56, 0.15)); }
ol.steps li:hover .step-stk { animation: hopx .6s var(--pop); }
ol.steps p { margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 16px 0 0; list-style: none; }
.chips li, .chips a { background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 0.95rem; color: var(--text); text-decoration: none; font-weight: 500; box-shadow: 0 3px 0 #E6DEFF; }
.chips a:hover { background: var(--t-violet); color: var(--accent); }
.chips a.hot { background: var(--t-pink); color: var(--accent-2); }

.plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.plan { background: var(--card); border-radius: var(--radius); padding: 20px; }
.plan.featured { outline: 2px solid var(--accent); }
.plan .price { font-family: var(--display); font-size: 1.7rem; color: var(--text); margin: 4px 0 6px; }
.plan p { margin: 0; font-size: 0.95rem; }

ul.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
ul.ticks li { padding: 12px 16px 12px 52px; position: relative; color: var(--text); background: #fff; border-radius: 18px; box-shadow: 0 3px 0 #EEE8FF; }
ul.ticks li::before { content: ''; position: absolute; left: 14px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--accent-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }

details { background: #fff; border-radius: 20px; padding: 16px 22px; margin-bottom: 12px; box-shadow: 0 4px 0 #EEE8FF; transition: box-shadow .2s; }
details[open] { box-shadow: 0 4px 0 #FFD0E0; }
details summary { cursor: pointer; font-weight: 600; font-family: var(--display); font-size: 1.05rem; color: var(--text); list-style: none; position: relative; padding-right: 32px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; position: absolute; right: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--t-violet); color: var(--accent); font-size: 1.1rem; transition: transform .25s var(--pop); }
details[open] summary::after { transform: rotate(45deg); background: var(--t-pink); color: var(--accent-2); }
details p { margin: 10px 0 0; }

.division { margin-bottom: 28px; }
.division h3 a { color: var(--text); text-decoration: none; }

.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }

.hi { font-family: 'Noto Sans Devanagari', var(--sans); }

section.cta { text-align: center; }
section.cta .stores { justify-content: center; }

/* Footer: dark berry with the crew peeking over the edge */
footer.site { position: relative; margin-top: 120px; padding: 56px 0 36px; background: var(--text); color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; border-radius: 40px 40px 0 0; }
footer.site .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer.site a { color: #fff; }
footer.site .brand-word { color: #fff; }
footer.site .note { color: rgba(255, 255, 255, 0.5); }
.footer-crew { --h: clamp(34px, 6.6vw, 76px); position: absolute; left: 0; right: 0; top: calc(var(--h) * -1 + 4px); height: var(--h); display: flex; justify-content: center; align-items: flex-end; gap: calc(var(--h) * 0.32); pointer-events: none; }
.fc-word { display: flex; align-items: flex-end; gap: calc(var(--h) * 0.04); height: 100%; }
.fc-word > span { display: block; height: 100%; transform-origin: 50% 100%; animation: wave 4.2s ease-in-out calc(var(--i) * 0.12s) infinite; }
.footer-crew img { height: 100%; width: auto; display: block; }
@keyframes wave { 0%, 12%, 100% { transform: translateY(0) scale(1); } 5% { transform: translateY(-18%) scale(.96, 1.05); } 9% { transform: translateY(0) scale(1.05, .95); } }
.roller { position: absolute; left: 0; right: 0; bottom: 0; height: 66px; pointer-events: none; overflow: hidden; border-radius: 0 0 0 0; }
footer.site { padding-bottom: 96px; }
.roller img { position: absolute; bottom: 0; height: 56px; width: auto; }
.roll-o { left: -80px; animation: roll 16s linear infinite; }
.roll-z { left: -80px; height: 64px !important; animation: ride 16s linear 8s infinite; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--text); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-weight: 600; box-shadow: 0 12px 30px rgba(30, 24, 56, 0.2);
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 70; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Hero scene */
.hero .wrap.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; align-items: center; }
.hero-split h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
.enrolment .card { flex-wrap: wrap; }

.kscene { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #E9E1FA; box-shadow: 0 24px 60px rgba(91,63,217,0.18); isolation: isolate; }
.kscene-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.kchar {
  --s: 1; --d: 0ms; --step: .56s;
  position: absolute; left: 50%; top: 90%; height: 34%; aspect-ratio: var(--ar, 0.62);
  transform: translate(-50%, -100%) scale(var(--s)); transform-origin: 50% 100%;
  transition-property: left, top, transform, opacity; transition-duration: var(--d), var(--d), var(--d), .45s;
  transition-timing-function: linear; opacity: 0;
}
.kchar::after { content: ''; position: absolute; left: 22%; right: 22%; bottom: -3%; height: 8%; border-radius: 50%; background: rgba(30,24,56,0.24); filter: blur(3px); z-index: -1; }
.kchar.walking::after { animation: kshadow calc(var(--step) / 2) ease-in-out infinite alternate; }
@keyframes kshadow { from { transform: scaleX(1); opacity: 1; } to { transform: scaleX(.8); opacity: .7; } }
.kchar::before { content: ''; position: absolute; left: 50%; top: 45%; width: 120%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--accent-2); transform: translate(-50%, -50%) scale(0.2); opacity: 0; }

.kflip, .klean { height: 100%; display: flex; justify-content: center; align-items: flex-end; }
.kchar.left .kflip { transform: scaleX(-1); }
.klean { transform-origin: 50% 100%; transition: transform .3s ease; }
.kchar.walking .klean { transform: rotate(5deg); }

.krig { position: relative; height: 100%; aspect-ratio: var(--ar); flex: none; transform-origin: 50% 100%; animation: kbreathe 2.6s ease-in-out infinite; }
.krig img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.kbody { clip-path: inset(0 0 calc(100% - var(--hip)) 0); }
.kleg.l { clip-path: inset(calc(var(--hip) - 5%) calc(100% - var(--split)) 0 0); transform-origin: var(--lx) var(--hip); }
.kleg.r { clip-path: inset(calc(var(--hip) - 5%) 0 0 var(--split)); transform-origin: var(--rx) var(--hip); }
.kchar.walking .krig { animation: kbob var(--step) ease-in-out infinite; }
.kchar.walking .kleg { animation: kstep var(--step) ease-in-out infinite; }
.kchar.walking .kleg.r { animation-delay: calc(var(--step) / -2); }
@keyframes kstep { 0%, 100% { transform: rotate(-18deg); } 50% { transform: rotate(18deg); } }
@keyframes kbob {
  0%, 50%, 100% { transform: translateY(0) scale(1.03, .97) rotate(0); }
  25% { transform: translateY(-5%) scale(.98, 1.03) rotate(-2deg); }
  75% { transform: translateY(-5%) scale(.98, 1.03) rotate(2deg); }
}
@keyframes kbreathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.015, .985); } }

/* Faces: blink, happy squint (gather), heart eyes + blush (notice) */
.kface { position: absolute; inset: 0; pointer-events: none; }
.kface i { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.klid { width: var(--ew); height: var(--eh); border-radius: 50%; background: var(--skin); transform: translate(-50%, -50%) scaleY(0); transform-origin: 50% 0; transition: transform .09s ease-in; }
.klid::after { content: ''; position: absolute; left: 12%; right: 12%; top: 38%; height: 34%; border-bottom: 2.5px solid #1E1838; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.kchar.blink .klid, .kscene[data-phase="gather"] .klid { transform: translate(-50%, -50%) scaleY(1); }
.kscene[data-phase="gather"] .klid::after { top: 30%; border-bottom: 0; border-top: 2.5px solid #1E1838; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.kheye { width: calc(var(--ew) * 1.15); aspect-ratio: 1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.5-9.2C1.1 8.4 3.2 5 6.6 5c2.1 0 3.5 1.2 4.4 2.6h2C13.9 6.2 15.3 5 17.4 5c3.4 0 5.5 3.4 4.1 6.8C19.5 16.4 12 21 12 21z' fill='%23F0285F' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; transform: translate(-50%, -50%) scale(0); transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.kscene[data-phase="notice"] .kheye { transform: translate(-50%, -50%) scale(1); animation: kthump .6s ease-in-out .3s infinite; }
@keyframes kthump { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.18); } }
.kblush { width: 12%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,70,130,.85), rgba(255,70,130,0)); opacity: 0; transition: opacity .4s ease; }
.kscene[data-phase="notice"] .kblush, .kscene[data-phase="gather"] .kblush { opacity: 1; }

.kbubble { position: absolute; left: 50%; top: -30%; width: 46%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 6px 14px rgba(30,24,56,0.16); transform: translateX(-50%) scale(0); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.kbubble svg { width: 58%; fill: var(--accent-2); }

.klinks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .4s ease; z-index: 50; }
.klinks line { stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 8; vector-effect: non-scaling-stroke; animation: kdash .8s linear infinite; }
@keyframes kdash { to { stroke-dashoffset: -20; } }

.kgroup { position: absolute; left: 50%; top: 97%; height: 74%; width: auto; max-width: none; transform: translate(-50%, -100%); transform-origin: 50% 100%; z-index: 120; filter: drop-shadow(0 10px 12px rgba(30,24,56,0.22)); transition: opacity .45s ease, transform .6s cubic-bezier(.34,1.56,.64,1); }
.kgroup.kso { height: 52%; }
.ksticker { height: 42%; }
.ksticker .kfull { clip-path: none; object-fit: contain; }

.khearts { position: absolute; inset: 0; pointer-events: none; z-index: 130; }
.khearts i { position: absolute; bottom: 40%; width: 4%; aspect-ratio: 1; background: var(--accent-2); transform: rotate(45deg); opacity: 0; border-radius: 0 0 2px 0; }
.khearts i::before, .khearts i::after { content: ''; position: absolute; inset: 0; background: inherit; border-radius: 50%; }
.khearts i::before { left: -50%; }
.khearts i::after { top: -50%; }
.khearts i:nth-child(1) { left: 30%; }
.khearts i:nth-child(2) { left: 40%; background: var(--accent); animation-delay: .25s !important; }
.khearts i:nth-child(3) { left: 62%; animation-delay: .1s !important; }
.khearts i:nth-child(4) { left: 70%; background: var(--gold); animation-delay: .4s !important; }
.khearts i:nth-child(5) { left: 50%; animation-delay: .55s !important; }
@keyframes kheart { 0% { opacity: 0; transform: translateY(0) rotate(45deg) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-260%) rotate(45deg) scale(1); } }

.kcaption { position: absolute; left: 50%; top: 5%; transform: translateX(-50%); margin: 0; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,0.9); color: var(--text); font-weight: 700; font-size: clamp(0.75rem, 1.6vw, 0.95rem); white-space: nowrap; box-shadow: 0 6px 16px rgba(30,24,56,0.12); z-index: 140; transition: opacity .3s ease; }
.kcaption:empty { opacity: 0; }

.kscene.is-live .kchar { opacity: 1; }
.kscene.is-live .kgroup { opacity: 0; transform: translate(-50%, -100%) scale(.55); }
.kscene[data-phase="notice"] .kbubble { transform: translateX(-50%) scale(1); }
.kscene[data-phase="notice"] .kchar::before { animation: kping 1.1s ease-out infinite; }
.kscene[data-phase="notice"] .klinks { opacity: 1; }
@keyframes kping { from { opacity: .9; transform: translate(-50%, -50%) scale(.2); } to { opacity: 0; transform: translate(-50%, -50%) scale(1); } }
.kscene.is-live[data-phase="connected"] .kchar, .kscene.is-live[data-phase="reset"] .kchar { opacity: 0; }
.kscene.is-live[data-phase="connected"] .kgroup { opacity: 1; transform: translate(-50%, -100%) scale(1); }
.kscene[data-phase="connected"] .khearts i { animation: kheart 1.8s ease-out 2; }

.kseat { position: absolute; width: auto; max-width: none; transform: translate(-50%, -100%); transform-origin: 50% 100%; filter: drop-shadow(0 6px 6px rgba(30,24,56,0.18)); animation: kseat 3.2s ease-in-out calc(var(--i) * -0.45s) infinite; }
@keyframes kseat { 0%, 100% { transform: translate(-50%, -100%) scale(1, 1); } 50% { transform: translate(-50%, -100%) scale(1.02, .98); } }
.kscene[data-phase="connected"] .kseat { animation: kcheer .5s ease-out calc(var(--i) * .08s + .3s) 3; }
@keyframes kcheer { 0%, 100% { transform: translate(-50%, -100%); } 40% { transform: translate(-50%, -106%) scale(.97, 1.04); } 70% { transform: translate(-50%, -100%) scale(1.04, .96); } }

/* Crew cards */
.tone-lemon { --tone: var(--t-lemon); --tone-edge: #F1DC8A; }
.tone-pink { --tone: var(--t-pink); --tone-edge: #FFC0D6; }
.tone-violet { --tone: var(--t-violet); --tone-edge: #CFC2FA; }
.tone-lilac { --tone: var(--t-lilac); --tone-edge: #DCD0FA; }
.avatars .tone-lemon, .avatars .tone-pink, .avatars .tone-violet, .avatars .tone-lilac { background: var(--tone); }

.crew-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 28px; padding: 18px 20px 20px; box-shadow: 0 6px 0 var(--tone-edge), var(--shadow-soft); scroll-margin-top: 110px; transition: transform .25s var(--pop); }
.crew-card:hover { transform: translateY(-6px) rotate(-1deg); }
.crew-dp { height: 168px; margin: 0 0 14px; border-radius: 22px; background: var(--tone) radial-gradient(rgba(255, 255, 255, 0.7) 2px, transparent 2.5px) 0 0 / 18px 18px; display: grid; place-items: end center; padding-top: 14px; overflow: hidden; }
.crew-dp img { height: 150px; width: auto; transform-origin: 50% 100%; filter: drop-shadow(0 6px 6px rgba(30, 24, 56, 0.15)); }
.crew-card:hover .crew-dp img { animation: hop .7s var(--pop); }
.crew-card h3 { margin: 0; font-size: 1.35rem; }
.crew-role { margin: 0 0 8px; color: var(--accent); font-weight: 700; font-size: 0.92rem; }
.crew-line { flex: 1; margin: 0 0 14px; color: var(--text); font-size: 0.97rem; }
.crew-tag { align-self: flex-start; background: var(--tone); color: var(--text); font-size: 0.8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }

.crew-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 270px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 20px 30px; margin: 0 -20px; scrollbar-width: thin; }
.crew-rail .crew-card { scroll-snap-align: start; }
.crew-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 28px; }

.crew-hero h1 em { white-space: normal; }
.crew-hero-row { display: flex; align-items: flex-end; gap: clamp(4px, 2vw, 18px); margin-top: 34px; height: 130px; }
.crew-hero-row span { height: 100%; transform-origin: 50% 100%; animation: bob 2.4s ease-in-out calc(var(--i) * -0.3s) infinite; }
.crew-hero-row span:nth-child(2) { margin-left: clamp(-22px, -2vw, -6px); }
.crew-hero-row img { height: 100%; width: auto; filter: drop-shadow(0 8px 8px rgba(30, 24, 56, 0.15)); }

/* Find your DP */
.dp-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.dp-input { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 22px; box-shadow: 0 5px 0 #E6DEFF; max-width: 440px; margin: 18px 0 20px; }
.dp-input span { font-family: var(--display); font-weight: 600; color: var(--muted); white-space: nowrap; }
.dp-input input { flex: 1; min-width: 0; border: 0; outline: 0; font: 600 1.1rem var(--display); color: var(--text); background: var(--t-lilac); border-radius: 999px; padding: 12px 18px; }
.dp-input input:focus { background: var(--t-pink); }
.dp-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.dp-picker button { width: 50px; height: 56px; padding: 4px 0 0; border: 0; border-radius: 16px; background: #fff; cursor: pointer; display: grid; place-items: end center; overflow: hidden; box-shadow: 0 3px 0 #E6DEFF; transition: transform .2s var(--pop), background .2s; }
.dp-picker button img { height: 48px; width: auto; max-width: none; }
.dp-picker button:hover { transform: translateY(-3px); background: var(--t-violet); }
.dp-picker button[aria-pressed="true"] { background: var(--t-pink); box-shadow: 0 3px 0 #FFC0D6, 0 0 0 3px var(--accent-2); }
.dp-card { margin: 0; text-align: center; background: #fff; border-radius: 32px; padding: 28px 24px 26px; box-shadow: 0 8px 0 var(--tone-edge), var(--shadow-soft); transition: box-shadow .3s; }
.dp-circle { width: min(260px, 70vw); aspect-ratio: 1; margin: 0 auto 18px; border-radius: 50%; background: var(--tone) radial-gradient(rgba(255, 255, 255, 0.75) 2.5px, transparent 3px) 0 0 / 20px 20px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border: 6px solid #fff; box-shadow: 0 0 0 4px var(--tone-edge); transition: background-color .3s; }
.dp-circle img { height: 84%; width: auto; max-width: 92%; object-fit: contain; transform-origin: 50% 100%; }
.dp-circle img.swap { animation: hop .6s var(--pop); }
.dp-card strong { display: block; font-family: var(--display); font-size: 1.8rem; line-height: 1.1; color: var(--text); word-break: break-word; }
.dp-card figcaption span { display: block; color: var(--accent); font-weight: 700; margin: 4px 0 8px; }
.dp-card figcaption p { color: var(--text); font-size: 0.97rem; margin: 0 0 18px; }

/* Hero buddies on inner pages */
.hero.has-buddy .wrap { padding-right: min(320px, 30%); }
.hero-buddy { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); margin: 0; width: 260px; text-align: center; }
.hero-buddy img { height: 240px; width: auto; transform-origin: 50% 100%; animation: bob 2.6s ease-in-out infinite; filter: drop-shadow(0 10px 10px rgba(30, 24, 56, 0.16)); }
.hero-buddy figcaption { position: absolute; top: -28px; left: -40px; background: #fff; border-radius: 20px; padding: 10px 14px; font-family: var(--display); font-weight: 600; color: var(--text); box-shadow: var(--shadow-soft); line-height: 1.2; animation: popin .5s var(--pop) .4s both; }
.hero-buddy figcaption::after { content: ''; position: absolute; right: 40px; bottom: -8px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.hero-buddy small { display: block; font-family: var(--sans); color: var(--accent); font-weight: 600; font-size: 0.8rem; }

/* Safety */
.safety-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 48px; align-items: center; }
.safety-buddy { margin: 0; text-align: center; }
.safety-buddy img { height: 280px; width: auto; animation: bob 3.4s ease-in-out infinite; filter: drop-shadow(0 12px 12px rgba(30, 24, 56, 0.15)); }
.safety-buddy figcaption { font-family: var(--display); font-weight: 600; color: var(--text); background: var(--t-lilac); border-radius: 20px; padding: 12px 18px; margin-top: 10px; }

/* Launch band with crew parade */
section.launch { background: linear-gradient(135deg, var(--accent), #8B4FE0 55%, var(--accent-2)); color: #fff; padding-bottom: 0; overflow: hidden; border-radius: 40px; margin: 0 12px; }
section.launch h2, section.launch p { color: #fff; }
section.launch p { opacity: 0.88; }
.parade { margin-top: 36px; overflow: hidden; height: 132px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.parade-track { display: flex; align-items: flex-end; gap: 18px; width: max-content; height: 100%; animation: marquee 60s linear infinite; }
.parade-track span { height: 112px; transform-origin: 50% 100%; animation: hopy 1.4s ease-in-out calc(var(--i) * 0.2s) infinite; }
.parade-track img { height: 100%; width: auto; filter: drop-shadow(0 8px 6px rgba(30, 24, 56, 0.25)); }
.parade:hover .parade-track { animation-play-state: paused; }

/* Floating buddy */
.buddy { position: fixed; right: 14px; bottom: 10px; z-index: 50; display: flex; align-items: flex-end; gap: 4px; pointer-events: none; }
.buddy[hidden] { display: none; }
.buddy > * { pointer-events: auto; }
.buddy-me { border: 0; background: none; padding: 0; cursor: pointer; height: 110px; transform-origin: 50% 100%; animation: popin .5s var(--pop) both; }
.buddy-me img { height: 100%; width: auto; filter: drop-shadow(0 8px 8px rgba(30, 24, 56, 0.25)); transform-origin: 50% 100%; animation: bob 2.4s ease-in-out infinite; }
.buddy-me:hover img { animation: wiggle .6s ease-in-out; }
.buddy-say { margin: 0 0 70px; max-width: 230px; background: #fff; color: var(--text); font-size: 0.9rem; line-height: 1.35; padding: 10px 14px; border-radius: 18px 18px 4px 18px; box-shadow: 0 10px 26px rgba(30, 24, 56, 0.16); animation: popin .45s var(--pop) .15s both; }
.buddy-say b { font-family: var(--display); color: var(--accent); }
.buddy-close { position: absolute; top: -6px; right: 0; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--text); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; z-index: 1; }

/* Scroll pop-in (only when JS is on) */
.js .pop { opacity: 0; transform: translateY(26px) scale(.96); transition: opacity .5s ease, transform .6s var(--pop); }
.js .pop.in { opacity: 1; transform: none; }
.js .crew-card.pop.in:hover { transform: translateY(-6px) rotate(-1deg); }

@keyframes wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-9deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(3deg); } }
@keyframes hop { 0%, 100% { transform: translateY(0) scale(1); } 30% { transform: translateY(-14%) scale(.96, 1.05); } 60% { transform: translateY(0) scale(1.06, .94); } }
@keyframes hopx { 0%, 100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-12%); } }
@keyframes hopy { 0%, 60%, 100% { transform: translateY(0) scale(1); } 25% { transform: translateY(-16%) scale(.96, 1.04); } 45% { transform: translateY(0) scale(1.05, .95); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5%) rotate(1.5deg); } }
@keyframes popin { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes roll { from { transform: translateX(0) rotate(0); } 50%, to { transform: translateX(calc(100vw + 160px)) rotate(1080deg); } }
@keyframes ride { from { transform: translateX(0); } 50%, to { transform: translateX(calc(100vw + 160px)); } }

/* Modal */
.modal { position: fixed; inset: 0; display: grid; place-items: center; z-index: 80; }
.modal[style*="block"] { display: grid !important; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(30, 24, 56, 0.4); backdrop-filter: blur(6px); }
.modal-card { position: relative; width: min(520px, calc(100% - 40px)); z-index: 81; padding: 30px 28px 26px; border-radius: 32px; animation: popin .4s var(--pop); }
.modal-card .small { color: var(--muted); }
.modal-card label { display: block; font-weight: 600; color: var(--text); margin-top: 10px; }
.modal-card input[type="email"], .modal-card input[type="tel"], .modal-card select { display: block; width: 100%; margin-top: 6px; padding: 12px 16px; border: 2px solid #E6DEFF; border-radius: 16px; font: inherit; outline: 0; background: #fff; }
.modal-card input:focus, .modal-card select:focus { border-color: var(--accent-2); }

/* Cities: live list and waitlist progress */
.city-live { margin: 18px 0 10px; font-size: 18px; }
.city-progress { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.city-progress li { display: grid; gap: 6px; padding: 14px 16px; border-radius: 20px; background: #fff; }
.city-progress small { color: var(--muted); }
.city-bar { display: block; height: 10px; border-radius: 5px; background: #EEE8FF; overflow: hidden; }
.city-bar i { display: block; height: 100%; border-radius: 5px; background: var(--accent-2); }

/* Invite landing */
.invite-code { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 20px 0; padding: 18px 22px; }
.invite-code small { flex-basis: 100%; color: var(--muted); }
.invite-code strong { font-size: 30px; letter-spacing: 3px; font-family: 'Fredoka', sans-serif; }
.modal-stk { position: absolute; right: 18px; top: -70px; height: 100px; width: auto; animation: bob 2.4s ease-in-out infinite; }

@media (max-width: 980px) {
  header.site .wrap { position: relative; }
  .menu-btn { display: grid; }
  header.site nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 10px); flex-direction: column; gap: 4px; padding: 12px; background: #fff; border-radius: 28px; box-shadow: 0 18px 40px rgba(91, 63, 217, 0.18); }
  header.site.open nav { display: flex; animation: popin .3s var(--pop); transform-origin: 90% 0; }
  header.site nav a { padding: 14px 18px; font-size: 1.05rem; border-radius: 18px; }
  .hero .wrap.hero-split, .dp-wrap, .safety-split { grid-template-columns: 1fr; gap: 36px; }
  .hero.has-buddy .wrap { padding-right: 20px; }
  .hero-buddy { position: relative; right: auto; top: auto; transform: none; margin: 40px auto 0; }
  .hero-buddy figcaption { left: 50%; transform: translateX(-90%); }
  .safety-buddy img { height: 200px; }
}
@media (max-width: 600px) {
  header.site .wrap { height: 58px; gap: 10px; }
  .brand-word { font-size: 1.3rem; }
  .brand-mark { height: 40px; }
  .hdr-cta { padding: 8px 14px; font-size: 0.85rem; }
  .hero { padding: 44px 0 52px; }
  section.block { padding: 60px 0; }
  .buddy-say { display: none; }
  .buddy-me { height: 78px; }
  .crew-hero-row { height: 84px; }
  .dp-input span { display: none; }
  .enrol-actions, .enrol-actions .btn { width: 100%; }
  .enrol-actions .btn { flex: 1; }
  .kcaption { top: 3%; }
}
@media (max-width: 400px) {
  .hdr-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .pop { opacity: 1; transform: none; }
  .roller { display: none; }
}

/* Legal and support pages */
.hero.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin-bottom: 8px; }
.legal-sec { margin: 32px 0 0; }
.legal-sec h2 { font-size: 1.3rem; margin: 0 0 8px; }
.legal-sec p, .legal-sec li { color: var(--text); line-height: 1.65; }
.legal-sec p + p { margin-top: 12px; }
.legal-sec ol { padding-left: 22px; margin: 8px 0 0; }
.legal-op { margin-top: 40px; }
