/* ═══════════════════════════════════════════════════════════════
   BEYOND TATVA · "Bright Notebook" design system
   Clean premium base (white space, bold sans), warm notebook details
   (cream paper, sticky notes, hand-drawn marks, serif italics) and a
   playful layer (chunky outlines, sticker shadows, bright accents).
   ═══════════════════════════════════════════════════════════════ */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
  --bg: #FBF7EF;
  --card: #FFFFFF;
  --fg: #15130F;
  --fg-2: #4B463F;
  --muted: #8A8378;
  --line: rgba(21,19,15,.10);
  --line-2: rgba(21,19,15,.18);
  --edge: #15130F;
  --blue: #3B5BFF;
  --lime: #C6F432;
  --pink: #FF4FA3;
  --sun: #FFC93C;
  --good: #16A34A;
  --bad: #E5484D;
  /* element colours (modules) */
  --bindu: #FFC93C;
  --earth: #FF8A3D;
  --fire: #FF4F5E;
  --water: #1FBF9F;
  --air: #3FB6FF;
  --space: #8B6CFF;
  /* compatibility names used inline by pages/scripts */
  --paper: var(--fg);
  --paper-2: var(--fg-2);
  --ink: var(--bg);
  --gold: var(--sun);
  --gold-2: #A86A00;
  --sans: "Plus Jakarta Sans", "Noto Sans Kannada", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", "Noto Serif Kannada", Georgia, serif;
  --hand: "Baloo Tamma 2", "Noto Sans Kannada", system-ui, sans-serif;
  --kn: "Baloo Tamma 2", "Noto Sans Kannada", sans-serif;
  --pop: 4px 4px 0 var(--edge);
  --max: 1200px;
  --gutter: 20px;
  --r: 24px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: light; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang="kn"] body { line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--sans); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
html[lang="kn"] h1, html[lang="kn"] h2, html[lang="kn"] h3 { font-family: var(--kn); font-weight: 800; letter-spacing: 0; line-height: 1.3; }
em { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--blue); letter-spacing: -.02em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M2 13 C 60 3, 120 18, 180 9 S 270 4, 298 12' stroke='%23C6F432' stroke-width='7' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 92% / 100% .32em; padding-bottom: .06em; }
html[lang="kn"] em { font-family: var(--kn); font-style: normal; font-weight: 800; letter-spacing: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
svg.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
section[id] { scroll-margin-top: 80px; }
::selection { background: var(--lime); color: var(--fg); }

/* ── Paper atmosphere ── */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(3) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } }
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; opacity: .5; will-change: transform; }
.aurora i:nth-child(1) { background: radial-gradient(circle, rgba(59,91,255,.18), transparent 60%); top: -20vmax; right: -15vmax; animation: drift 30s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { background: radial-gradient(circle, rgba(198,244,50,.28), transparent 60%); top: 30vmax; left: -25vmax; animation: drift 36s ease-in-out infinite alternate-reverse; }
.aurora i:nth-child(3) { background: radial-gradient(circle, rgba(255,79,163,.14), transparent 60%); bottom: -30vmax; right: 0; animation: drift 42s ease-in-out infinite alternate; }
.aurora i:nth-child(4) { background: radial-gradient(circle, rgba(255,201,60,.2), transparent 60%); top: 60vmax; left: 30vmax; animation: drift 26s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(7vmax, 6vmax) scale(1.1); } }
.dots { position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(21,19,15,.13) 1px, transparent 1.3px); background-size: 26px 26px; }
#confetti { position: fixed; inset: 0; z-index: 200; pointer-events: none; width: 100%; height: 100%; }
.progress { position: fixed; left: 0; top: 0; z-index: 120; height: 4px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--pink), var(--sun), var(--lime)); }
.cursor-glow { position: fixed; left: 0; top: 0; z-index: 150; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; pointer-events: none; border: 2px solid var(--blue); background: rgba(59,91,255,.06); transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background .25s; opacity: 0; }
.cursor-glow.on { opacity: 1; }
.cursor-glow.hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(198,244,50,.35); border-color: var(--edge); }
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none; } }

/* ── Intro: ink drawing on paper ── */
.intro { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; overflow: hidden; }
.intro-half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg); background-image: radial-gradient(rgba(21,19,15,.12) 1px, transparent 1.3px); background-size: 26px 26px; transition: transform 1s cubic-bezier(.7,0,.2,1); }
.intro-half.top { top: 0; } .intro-half.bottom { bottom: 0; }
.intro.open .intro-half.top { transform: translateY(-101%); border-bottom: 2.5px solid var(--edge); }
.intro.open .intro-half.bottom { transform: translateY(101%); border-top: 2.5px solid var(--edge); }
.intro-stage { position: relative; z-index: 2; display: grid; place-items: center; text-align: center; transition: opacity .5s, transform 1s var(--ease); }
.intro.open .intro-stage { opacity: 0; transform: scale(1.12); }
.intro-bindu { width: 18px; height: 18px; border-radius: 50%; background: var(--sun); border: 2.5px solid var(--edge); animation: bindu-in .9s var(--spring) both; }
@keyframes bindu-in { from { transform: scale(0); } }
.intro-orbit { position: absolute; left: 50%; top: 9px; width: 0; height: 0; animation: spin 2.6s linear infinite; }
.intro-orbit i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 2px solid var(--edge); transform: rotate(var(--a)) translateX(0); animation: orbit-out 1.3s var(--ease) .5s forwards; opacity: 0; }
@keyframes orbit-out { to { transform: rotate(var(--a)) translateX(150px); opacity: 1; } }
.intro-word { width: min(520px, 78vw); height: auto; margin-top: -6px; overflow: visible; }
.intro-word text { font-family: "Baloo Tamma 2", "Noto Sans Kannada", sans-serif; font-weight: 800; font-size: 180px; fill: transparent; stroke: var(--edge); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1500; stroke-dashoffset: 1500; animation: draw 1.8s ease .9s forwards, fill-in .7s ease 2.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill-in { to { fill: var(--blue); } }
.intro-brand { font-family: var(--sans); font-weight: 800; letter-spacing: .5em; font-size: 14px; color: var(--fg); opacity: 0; animation: up .8s var(--ease) 2.5s forwards; margin-top: -10px; padding-left: .5em; }
.intro-tag { font-family: var(--hand); font-weight: 700; font-size: 22px; color: var(--pink); opacity: 0; animation: up .8s var(--ease) 2.8s forwards; margin-top: 6px; rotate: -2deg; }
@keyframes up { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
.intro-skip { position: absolute; z-index: 3; right: 20px; bottom: 20px; background: var(--card); border: 2px solid var(--edge); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 800; cursor: pointer; box-shadow: 3px 3px 0 var(--edge); }
.intro.open .intro-skip { opacity: 0; }

/* ── Buttons (chunky, sticker shadow) ── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 13px 26px; border-radius: 999px; border: 2.5px solid var(--edge); font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s; box-shadow: var(--pop); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--edge); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--edge); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.btn-gold { background: var(--lime); color: var(--fg); }
.btn-gold s { opacity: .55; font-weight: 600; }
.btn-ghost { background: var(--card); color: var(--fg); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 14px; box-shadow: 3px 3px 0 var(--edge); }
.btn-block { width: 100%; }
.btn .wa { color: #1FAF54; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--edge); background: var(--card); cursor: pointer; transition: transform .2s var(--spring); }
.icon-btn:hover { transform: rotate(-8deg) scale(1.06); }
.icon-btn[aria-pressed="true"] { background: var(--sun); }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 100; transition: background .3s, border-color .3s; border-bottom: 2px solid transparent; }
.nav.solid { background: rgba(251,247,239,.86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--edge); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 72px; }
.brand { position: relative; display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--sans); font-weight: 800; font-size: 21px; letter-spacing: -.02em; white-space: nowrap; cursor: pointer; }
.brand img { width: 36px; height: 36px; transition: transform .7s var(--spring); }
.brand:hover img { transform: rotate(200deg); }
.brand-tip { position: absolute; left: 0; top: calc(100% + 8px); padding: 8px 12px; border-radius: 12px; background: var(--sun); border: 2px solid var(--edge); box-shadow: 3px 3px 0 var(--edge); font-family: var(--hand); font-size: 15px; font-weight: 700; opacity: 0; transform: translateY(-4px) rotate(-2deg); pointer-events: none; transition: opacity .2s, transform .2s; white-space: nowrap; }
.brand:hover .brand-tip { opacity: 1; transform: rotate(-2deg); }
.nav-links { display: none; gap: 26px; font-size: 15px; font-weight: 700; color: var(--fg-2); }
.nav-links a { text-decoration: none; position: relative; z-index: 0; }
.nav-links a::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: -1px; height: 9px; background: var(--lime); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); border-radius: 4px; }
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.xp { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--edge); background: var(--fg); color: var(--lime); font-weight: 800; font-size: 14px; cursor: pointer; transition: transform .2s; }
.xp svg { width: 16px; height: 16px; fill: var(--lime); stroke: none; }
.xp.bump { animation: bump .5s var(--spring); }
@keyframes bump { 40% { transform: scale(1.22) rotate(-4deg); } }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--card); border: 2px solid var(--edge); }
.lang button { border: 0; background: transparent; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--fg-2); cursor: pointer; line-height: 1.2; transition: background .25s, color .25s; }
.lang button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.nav .enroll-nav { display: none; }
@media (min-width: 640px) { .nav .enroll-nav { display: inline-flex; } }
@media (max-width: 460px) { .brand span { display: none; } #soundBtn { display: none; } }
@media (min-width: 1060px) { .nav-links { display: flex; } }

/* ── Hero ── */
.hero { position: relative; min-height: calc(100svh - 72px); padding: 34px 0 70px; overflow: hidden; overflow: clip; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art .slot { position: absolute; inset: 0; background: transparent !important; }
.hero-art .slot > img.ok { opacity: .16; }
.hero-kn { position: absolute; right: -3vw; top: 52%; transform: translateY(-50%); font-family: var(--kn); font-weight: 800; font-size: clamp(220px, 40vw, 600px); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(59,91,255,.12); pointer-events: none; user-select: none; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--hand); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--blue); rotate: -1.5deg; }
.eyebrow::before { content: "✏️"; font-size: 16px; }
.hero h1 { font-size: clamp(44px, 8.4vw, 72px); line-height: .98; margin: 18px 0 20px; }
html[lang="kn"] .hero h1 { font-size: clamp(36px, 7.4vw, 66px); line-height: 1.25; }
.hero-sub { font-size: clamp(17px, 2.1vw, 19.5px); color: var(--fg-2); max-width: 560px; }
.gift-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 18px 10px 10px; border-radius: 18px; background: var(--sun); border: 2.5px solid var(--edge); box-shadow: var(--pop); font-size: 15px; rotate: -1.2deg; transition: rotate .25s var(--spring), scale .25s var(--spring); }
.gift-pill:hover { rotate: 0deg; scale: 1.02; }
.gift-pill .gi { width: 34px; height: 34px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--card); border: 2px solid var(--edge); animation: wiggle 3s ease-in-out infinite; }
.gift-pill .gi svg { width: 18px; height: 18px; }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } 95% { transform: rotate(-6deg); } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-cta .btn { flex: 1 1 210px; }
@media (min-width: 560px) { .hero-cta .btn { flex: 0 0 auto; } }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 22px 0 0; font-size: 14px; font-weight: 700; color: var(--fg-2); }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--blue); }
.hand-note { display: block; width: max-content; max-width: 100%; font-family: var(--hand); font-weight: 700; font-size: 19px; color: var(--pink); rotate: -3deg; margin: 0 auto 18px; }
.scroll-cue { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 6px; font-family: var(--hand); font-weight: 700; font-size: 15px; color: var(--muted); }
.scroll-cue i { width: 2px; height: 34px; background: var(--edge); border-radius: 2px; animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 1000px) { .hero { padding: 54px 0 90px; } .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 60px; } .scroll-cue { display: flex; } }

/* Word-by-word reveals */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); opacity: 0; transition: transform .8s var(--spring), opacity .6s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.in .w > span { transform: none; opacity: 1; }
html:not(.js) .split .w > span { transform: none; opacity: 1; }

/* ── Chat (Bindu) ── */
.chat { position: relative; width: 100%; max-width: 480px; margin: 0 auto; border-radius: 28px; background: var(--card); border: 2.5px solid var(--edge); box-shadow: 10px 10px 0 var(--blue); display: flex; flex-direction: column; }
.chat::before { content: ""; position: absolute; top: -16px; left: 50%; width: 120px; height: 30px; transform: translateX(-50%) rotate(-3deg); background: rgba(255,201,60,.8); z-index: 2; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; border-bottom: 2px dashed var(--line-2); }
.chat-head b { display: block; font-size: 16px; }
.chat-head small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.chat-head .who { flex: 1; min-width: 0; }
.const { width: 128px; height: 30px; flex: none; }
.const line { stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 2 3; transition: stroke .5s; }
.const line.lit { stroke: var(--blue); stroke-dasharray: none; }
.const circle { fill: var(--card); stroke: var(--line-2); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.const circle.lit { fill: var(--sun); stroke: var(--edge); }
/* Bindu mascot */
.bot { position: relative; width: 48px; height: 48px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF4C9, var(--sun) 55%, #FF9A3C); border: 2.5px solid var(--edge); animation: float 4s ease-in-out infinite; }
.bot.big { width: 88px; height: 88px; border-width: 3px; }
.bot .eye { position: absolute; top: 34%; width: 12%; height: 22%; border-radius: 50%; background: var(--edge); animation: blink 4.6s infinite; transition: transform .3s; }
.bot .eye.l { left: 30%; } .bot .eye.r { right: 30%; }
.bot.happy .eye { height: 10%; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: transparent; border-bottom: 2.5px solid var(--edge); top: 40%; animation: none; }
.bot.think .eye { transform: translate(2px, -2px); }
.bot::after { content: ""; position: absolute; left: 50%; top: 62%; width: 22%; height: 9%; transform: translateX(-50%); border-radius: 0 0 99px 99px; background: var(--edge); }
.bot::before { content: ""; position: absolute; top: 54%; left: 14%; width: 14%; height: 9%; border-radius: 50%; background: rgba(255,79,163,.5); box-shadow: 0 0 0 0 transparent; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes float { 50% { transform: translateY(-4px) rotate(-3deg); } }
.chat-body { flex: none; height: min(52svh, 430px); overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.chat-body > * { flex-shrink: 0; }
.msg { max-width: 88%; padding: 11px 15px; border-radius: 20px; font-size: 15.5px; line-height: 1.5; animation: msg .45s var(--spring) both; }
@keyframes msg { from { opacity: 0; transform: translateY(10px) scale(.94); } }
.msg.bot-m { align-self: flex-start; background: #F4EFE4; border: 1.5px solid var(--line); border-top-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--blue); color: #fff; font-weight: 700; border: 2px solid var(--edge); border-top-right-radius: 6px; box-shadow: 3px 3px 0 var(--edge); }
.msg b { color: var(--blue); }
.msg.me b { color: inherit; }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 14px 16px; border-radius: 20px; border-top-left-radius: 6px; background: #F4EFE4; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--fg-2); animation: tdot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-foot { padding: 12px 14px 16px; border-top: 2px dashed var(--line-2); min-height: 76px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--edge); background: var(--card); font-weight: 800; font-size: 14.5px; cursor: pointer; box-shadow: 3px 3px 0 var(--edge); transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s; animation: msg .4s var(--spring) both; animation-delay: calc(var(--i) * 55ms); }
.opt:hover { transform: translate(-1px, -2px); box-shadow: 4px 5px 0 var(--edge); background: #F7FFE0; }
.opt[aria-pressed="true"] { background: var(--lime); }
.opt .em { font-size: 18px; line-height: 1; }
.opt:disabled { opacity: .4; cursor: default; transform: none; box-shadow: 3px 3px 0 var(--edge); }
.foot-row { display: flex; gap: 8px; margin-top: 10px; }
.field { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--fg); background: var(--card); border: 2px solid var(--edge); border-radius: 14px; padding: 11px 14px; min-height: 50px; }
.field::placeholder { color: #A8A196; }
.field:focus { outline: none; box-shadow: 0 0 0 4px rgba(59,91,255,.22); border-color: var(--blue); }
.send { width: 50px; height: 50px; flex: none; border-radius: 14px; border: 2px solid var(--edge); background: var(--lime); color: var(--fg); display: grid; place-items: center; cursor: pointer; box-shadow: 3px 3px 0 var(--edge); }
.send:disabled { opacity: .4; cursor: default; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: 12.5px; color: var(--fg-2); line-height: 1.45; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--blue); }
.chat-note { margin-top: 8px; font-size: 12px; color: var(--muted); }
.chat-err { margin-top: 8px; font-size: 13px; color: var(--bad); font-weight: 800; }
.restart { background: none; border: 0; color: var(--muted); font-size: 12.5px; text-decoration: underline; cursor: pointer; padding: 6px 0 0; }
/* XP coin */
.coin { position: fixed; z-index: 260; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: var(--sun); border: 2.5px solid var(--edge); display: grid; place-items: center; font-size: 12px; font-weight: 900; color: var(--edge); pointer-events: none; }
.plus { position: fixed; z-index: 260; font-weight: 900; color: var(--blue); pointer-events: none; font-size: 16px; font-family: var(--hand); }
/* Scratch card */
.scratch { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; margin: 6px 0 4px; border: 2.5px solid var(--edge); box-shadow: 5px 5px 0 var(--edge); animation: msg .5s var(--spring) both; }
.scratch-prize { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 6px; padding: 16px; background: radial-gradient(circle at 50% 30%, rgba(198,244,50,.55), transparent 60%), #FFFDF6; }
.scratch-prize .bot { width: 56px; height: 56px; }
.scratch-prize b { font-family: var(--sans); font-weight: 800; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
html[lang="kn"] .scratch-prize b { font-family: var(--kn); font-size: 22px; }
.scratch-prize small { color: var(--blue); font-weight: 900; letter-spacing: .14em; font-size: 12px; }
.scratch canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; transition: opacity .6s; }
.scratch.done canvas { opacity: 0; pointer-events: none; }
.plan { margin-top: 4px; padding: 16px; border-radius: 20px; background: #FFFDF6; border: 2px solid var(--edge); align-self: stretch; animation: msg .5s var(--spring) both; }
.plan h4 { margin: 0 0 10px; font-family: var(--hand); font-weight: 800; font-size: 22px; line-height: 1.3; }
.plan ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 600; }
.plan li i { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 900; color: var(--edge); background: var(--c, var(--sun)); border: 2px solid var(--edge); }
.plan li small { color: var(--muted); }
.plan .btns { display: grid; gap: 10px; margin-top: 14px; }

/* ── Kinetic marquee (lime tape) ── */
.kinetic { padding: 22px 0; border-top: 2.5px solid var(--edge); border-bottom: 2.5px solid var(--edge); background: var(--lime); overflow: hidden; rotate: -1.2deg; margin: 10px -24px; }
.k-row { display: flex; width: max-content; gap: 44px; animation: marquee 50s linear infinite; }
.k-row.rev { animation-direction: reverse; margin-top: 2px; animation-duration: 60s; }
.k-row span { display: inline-flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.k-row b { font-family: var(--kn); font-weight: 800; font-size: clamp(38px, 5.6vw, 70px); line-height: 1.25; color: var(--fg); transition: color .3s; }
.k-row span:hover b { color: var(--blue); }
.k-row small { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 22px; color: var(--fg-2); }
.k-row.rev b { color: transparent; -webkit-text-stroke: 1.6px var(--fg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections ── */
.sec { position: relative; padding: 90px 0; }
.sec-head { max-width: 820px; margin: 0 auto 50px; text-align: center; }
.sec-head .eyebrow { justify-content: center; color: var(--blue); font-size: 18px; margin-top: 0; }
.sec-head h2 { font-size: clamp(36px, 6.4vw, 70px); margin-top: 14px; }
html[lang="kn"] .sec-head h2 { font-size: clamp(28px, 5.2vw, 50px); }
.sec-head p { margin-top: 18px; font-size: 18px; color: var(--fg-2); }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .9s var(--spring); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (min-width: 1000px) { .sec { padding: 120px 0; } .sec-head { margin-bottom: 64px; } }

.card { position: relative; border-radius: var(--r); background: var(--card); border: 2px solid var(--edge); box-shadow: 6px 6px 0 var(--edge); overflow: hidden; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, -40%), rgba(198,244,50,.35), transparent 55%); opacity: 0; transition: opacity .3s; }
.card:hover::before { opacity: 1; }

/* ── Pancha Tatva wheel ── */
.tatva-grid { display: grid; gap: 34px; align-items: center; }
.wheel { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; container-type: inline-size; }
.wheel svg.star { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wheel svg.star path, .wheel svg.star circle { fill: none; stroke: var(--line-2); stroke-width: .4; stroke-dasharray: 1.4 1.4; }
.wheel svg.star .draw { stroke: var(--blue); stroke-width: .6; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2.6s ease; }
.wheel.in svg.star .draw { stroke-dashoffset: 0; }
.wheel .ring-spin { position: absolute; inset: 6%; border-radius: 50%; border: 2px dashed var(--line-2); animation: spin 90s linear infinite; }
.node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 25cqw; aspect-ratio: 1; border-radius: 50%; border: 2.5px solid var(--edge); background: var(--card); box-shadow: 4px 4px 0 var(--edge); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; transition: transform .35s var(--spring), box-shadow .3s, background .3s; padding: 0; }
.node:hover { transform: translate(-50%, -50%) scale(1.07) rotate(-4deg); }
.node svg { width: 6.6cqw; height: 6.6cqw; color: var(--c); stroke-width: 2.4; }
.node b { font-family: var(--kn); font-weight: 800; font-size: 4.4cqw; line-height: 1.2; }
.node small { font-size: 2.6cqw; color: var(--muted); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.node[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 30%, white); box-shadow: 6px 6px 0 var(--edge); }
.node .seen { position: absolute; top: 4%; right: 6%; width: 19%; height: 19%; border-radius: 50%; background: var(--lime); border: 2px solid var(--edge); display: none; place-items: center; font-size: 2.6cqw; font-weight: 900; }
.node.seen .seen { display: grid; }
.node .rec { position: absolute; bottom: -10%; left: 50%; transform: translateX(-50%) rotate(-3deg); white-space: nowrap; font-size: 2.6cqw; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: var(--pink); color: #fff; border: 2px solid var(--edge); }
.node.center { width: 28cqw; background: var(--sun); }
.node.center[aria-pressed="true"] { background: #FFE08A; }
.node.center .free { position: absolute; top: -9%; font-size: 2.7cqw; font-weight: 900; letter-spacing: .08em; padding: 3px 10px; border-radius: 99px; background: var(--lime); border: 2px solid var(--edge); rotate: 4deg; }
.panel { padding: 0; min-height: 420px; display: flex; flex-direction: column; }
.panel-art { position: relative; height: 170px; overflow: hidden; background: color-mix(in srgb, var(--c) 22%, white); border-bottom: 2px solid var(--edge); }
.panel-art .kn-big { position: absolute; right: 14px; bottom: -22px; font-family: var(--kn); font-weight: 800; font-size: 104px; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--edge); opacity: .18; }
.panel-art .mnum { position: absolute; left: 18px; top: 16px; font-size: 12.5px; font-weight: 900; letter-spacing: .12em; padding: 6px 12px; border-radius: 99px; background: var(--card); border: 2px solid var(--edge); text-transform: uppercase; box-shadow: 2px 2px 0 var(--edge); }
html[lang="kn"] .panel-art .mnum { letter-spacing: .02em; }
.panel-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.panel-body h3 { font-size: clamp(30px, 3.6vw, 42px); }
html[lang="kn"] .panel-body h3 { font-size: clamp(24px, 3vw, 32px); }
.panel-body .tagline { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 21px; color: var(--fg-2); }
html[lang="kn"] .panel-body .tagline { font-family: var(--kn); font-style: normal; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 12px; background: color-mix(in srgb, var(--c) 14%, white); border: 1.5px solid var(--edge); font-size: 14.5px; font-weight: 700; animation: msg .5s var(--spring) both; animation-delay: calc(var(--i) * 70ms); }
.chip svg { width: 18px; height: 18px; color: var(--edge); }
.makes { margin-top: auto; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #FFFBD6; border: 2px dashed var(--edge); font-size: 15px; rotate: -.6deg; }
.makes svg { color: var(--fg); }
.tatva-count { text-align: center; margin-top: 22px; font-family: var(--hand); font-size: 18px; color: var(--fg-2); font-weight: 700; }
.tatva-count b { color: var(--blue); }
@media (min-width: 980px) { .tatva-grid { grid-template-columns: 1fr 1fr; gap: 60px; } }
/* element art */
.fx { position: absolute; inset: 0; }
.fx i { position: absolute; display: block; }
.fx-fire i { bottom: -10px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: var(--c); border: 1.5px solid var(--edge); animation: rise var(--t) linear infinite; animation-delay: var(--dl); opacity: 0; }
@keyframes rise { 0% { transform: translateY(0) scale(1); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-190px) translateX(var(--dx)) scale(.2); opacity: 0; } }
.fx-water i { left: 50%; top: 60%; width: 30px; height: 30px; margin: -15px; border-radius: 50%; border: 2px solid var(--c); animation: ripple 3.6s ease-out infinite; animation-delay: var(--dl); opacity: 0; }
@keyframes ripple { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(12); opacity: 0; } }
.fx-air svg, .fx-earth svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-air path { fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 60 140; animation: wind 3s linear infinite; }
.fx-air path:nth-child(2) { animation-duration: 4s; opacity: .6; } .fx-air path:nth-child(3) { animation-duration: 5s; opacity: .4; }
@keyframes wind { to { stroke-dashoffset: -400; } }
.fx-earth path { fill: var(--c); stroke: var(--edge); stroke-width: 1.5; }
.fx-earth path:nth-child(1) { opacity: .35; animation: breathe 6s ease-in-out infinite; } .fx-earth path:nth-child(2) { opacity: .6; animation: breathe 5s ease-in-out infinite reverse; } .fx-earth path:nth-child(3) { opacity: .95; }
@keyframes breathe { 50% { transform: translateY(-6px); } }
.fx-space i { left: var(--x); top: var(--y); width: calc(var(--s) * 1.6); height: calc(var(--s) * 1.6); border-radius: 50%; background: var(--c); animation: twinkle var(--t) ease-in-out infinite; animation-delay: var(--dl); }
@keyframes twinkle { 50% { opacity: .15; transform: scale(.5); } }
.fx-space .orb { left: 50%; top: 50%; width: 0 !important; height: 0 !important; background: none !important; animation: spin 8s linear infinite; }
.fx-space .orb::after { content: ""; position: absolute; left: 70px; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); border: 2px solid var(--edge); }
.fx-bindu i { left: 50%; top: 55%; width: 20px; height: 20px; margin: -10px; border-radius: 50%; background: var(--c); border: 2.5px solid var(--edge); }
.fx-bindu i + i { background: none; border: 2px solid var(--edge); animation: ripple 3s ease-out infinite; animation-delay: var(--dl); opacity: 0; }

/* ── Demo (notebook) ── */
.subjects { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.subj { display: inline-flex; gap: 8px; align-items: center; border: 2px solid var(--edge); background: var(--card); padding: 9px 18px; border-radius: 999px; font-weight: 800; font-size: 15px; cursor: pointer; box-shadow: 3px 3px 0 var(--edge); transition: all .2s var(--ease); }
.subj:hover { transform: translate(-1px, -2px); }
.subj[aria-pressed="true"] { background: var(--blue); color: #fff; }
.notebook { max-width: 1060px; margin: 0 auto; display: grid; border-radius: 26px; overflow: hidden; border: 2.5px solid var(--edge); box-shadow: 10px 10px 0 var(--edge); background: var(--card); }
.nb-left { position: relative; padding: 26px; background: #FFFDF6; color: var(--fg); display: flex; flex-direction: column; gap: 14px; background-image: repeating-linear-gradient(transparent 0 31px, rgba(59,91,255,.16) 31px 32px); }
.nb-left::before { content: ""; position: absolute; top: 0; bottom: 0; left: 18px; width: 2px; background: rgba(255,79,94,.5); }
.nb-chapter { padding-left: 14px; }
.nb-chapter small { font-family: var(--hand); font-weight: 700; font-size: 16px; color: var(--pink); }
.nb-chapter b { display: block; font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; font-size: 24px; line-height: 1.2; margin-top: 2px; }
html[lang="kn"] .nb-chapter b { font-family: var(--kn); font-size: 20px; line-height: 1.5; letter-spacing: 0; }
.nb-prompt { margin-left: 14px; padding: 14px 16px; border-radius: 18px 18px 18px 6px; background: var(--card); border: 2px solid var(--edge); font-size: 14.5px; min-height: 100px; }
.nb-prompt .lbl { display: block; font-size: 11.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
html[lang="kn"] .nb-prompt .lbl { letter-spacing: .02em; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--blue); vertical-align: -2px; margin-left: 1px; animation: blinkc 1s steps(1) infinite; }
@keyframes blinkc { 50% { opacity: 0; } }
.nb-left .btn { margin-left: 14px; width: calc(100% - 14px); background: var(--lime); }
.nb-left .btn[disabled] { opacity: .65; }
.nb-right { padding: 22px 24px 26px; background: var(--card); min-height: 380px; display: flex; flex-direction: column; min-width: 0; border-top: 2.5px solid var(--edge); }
.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 14px; background: #F4EFE4; border: 2px solid var(--edge); align-self: flex-start; margin-bottom: 16px; }
.tabs button { border: 0; background: transparent; padding: 7px 14px; border-radius: 10px; font-weight: 800; font-size: 14px; color: var(--fg-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--lime); }
.tabs button:disabled { opacity: .45; cursor: default; }
.dpanel { flex: 1; min-width: 0; }
.empty { min-height: 260px; display: grid; place-items: center; text-align: center; color: var(--muted); font-weight: 700; border: 2px dashed var(--line-2); border-radius: 20px; padding: 20px; }
.sk { height: 14px; border-radius: 7px; margin: 16px 0; background: linear-gradient(90deg, #EFEAE0, #FFF2B8, #EFEAE0); background-size: 200% 100%; animation: sk 1.1s linear infinite; }
.sk:nth-child(2) { width: 86%; } .sk:nth-child(3) { width: 93%; } .sk:nth-child(4) { width: 70%; }
@keyframes sk { to { background-position: -200% 0; } }
.nlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.nlist li { display: flex; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #FFFDF6; border: 1.5px solid var(--line-2); font-size: 15px; animation: msg .5s var(--spring) both; animation-delay: var(--dl); }
.nlist li b { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12.5px; background: var(--lime); border: 2px solid var(--edge); }
.fcards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 6px 10px 2px; }
.fc { scroll-snap-align: start; position: relative; height: 200px; perspective: 900px; border: 0; padding: 0; background: none; cursor: pointer; text-align: left; animation: msg .5s var(--spring) both; animation-delay: var(--dl); }
.fc .inner { position: absolute; inset: 0; transition: transform .7s var(--spring); transform-style: preserve-3d; }
.fc[aria-pressed="true"] .inner { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 8px; font-weight: 700; font-size: 15.5px; line-height: 1.45; border: 2px solid var(--edge); }
.face small { font-size: 11.5px; letter-spacing: .14em; font-weight: 900; opacity: .65; }
.face.front { background: #E9EDFF; }
.face.back { transform: rotateY(180deg); background: #E2FBF4; }
.hint { margin-top: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.qq { font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.qopts { display: grid; gap: 10px; }
.qopt { text-align: left; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--edge); background: var(--card); font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 3px 3px 0 var(--edge); animation: msg .45s var(--spring) both; animation-delay: var(--dl); transition: transform .15s; }
.qopt:hover:not(:disabled) { transform: translate(-1px, -2px); }
.qopt.right { background: var(--lime); }
.qopt.wrong { background: #FFD9DC; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.qopt:disabled { cursor: default; }
.qfb { margin-top: 12px; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; background: #FFFDF6; border: 1.5px dashed var(--edge); }
.qfb b.ok { color: var(--good); } .qfb b.no { color: var(--bad); }
.demo-note { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
@media (min-width: 860px) { .notebook { grid-template-columns: .9fr 1.1fr; } .nb-right { border-top: 0; border-left: 2.5px solid var(--edge); } .fcards { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }

/* ── Before/after drag ── */
.ba { position: relative; max-width: 1000px; margin: 0 auto; border-radius: 26px; overflow: hidden; border: 2.5px solid var(--edge); box-shadow: 8px 8px 0 var(--edge); user-select: none; touch-action: pan-y; --p: 88%; }
.ba-side { padding: 26px 22px 32px; display: grid; gap: 12px; }
.ba-side h3 { font-size: 30px; margin-bottom: 6px; }
html[lang="kn"] .ba-side h3 { font-size: 24px; }
.ba-side .row { display: flex; gap: 14px; align-items: center; padding: 13px 16px; border-radius: 16px; font-size: 15.5px; font-weight: 700; }
.ba-side .row .em { font-size: 26px; width: 36px; text-align: center; flex: none; }
.ba-before { background: repeating-linear-gradient(-45deg, #EEEAE2 0 14px, #E7E2D8 14px 28px); color: #7A7469; }
.ba-before .em { filter: grayscale(1); opacity: .7; }
.ba-before .row { background: rgba(255,255,255,.55); border: 2px dashed rgba(21,19,15,.25); text-decoration: line-through; text-decoration-color: var(--bad); text-decoration-thickness: 2px; }
.ba-after { position: absolute; inset: 0; background: radial-gradient(circle at 85% 0%, rgba(198,244,50,.6), transparent 50%), radial-gradient(circle at 0% 100%, rgba(59,91,255,.22), transparent 55%), #FFFDF6; clip-path: inset(0 0 0 var(--p)); }
.ba-after .row { background: var(--card); border: 2px solid var(--edge); color: var(--fg); box-shadow: 3px 3px 0 var(--edge); }
.ba-after h3 { color: var(--blue); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: var(--edge); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: var(--sun); border: 2.5px solid var(--edge); box-shadow: 3px 3px 0 var(--edge); display: grid; place-items: center; font-weight: 900; font-size: 20px; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 60%, 100% { transform: translate(-50%, -50%); } 30% { transform: translate(-110%, -50%); } }
.ba.touched .ba-handle span { animation: none; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-labels { display: flex; justify-content: space-between; gap: 10px; max-width: 1000px; margin: 18px auto 0; font-family: var(--hand); font-size: 17px; color: var(--fg-2); font-weight: 700; }

/* ── Myths (sticky notes) ── */
.myths { display: grid; gap: 22px; }
.myth { height: 250px; perspective: 1100px; border: 0; padding: 0; background: none; cursor: pointer; text-align: left; transition: rotate .3s var(--spring), scale .3s var(--spring); }
.myth:nth-child(odd) { rotate: -1.5deg; } .myth:nth-child(even) { rotate: 1.2deg; }
.myth:hover { rotate: 0deg; scale: 1.02; }
.myth .inner { position: relative; display: block; width: 100%; height: 100%; transition: transform .8s var(--spring); transform-style: preserve-3d; }
.myth[aria-pressed="true"] .inner { transform: rotateY(180deg); }
.myth .face { padding: 24px; border-radius: 6px 6px 22px 6px; justify-content: space-between; box-shadow: 5px 6px 0 var(--edge); }
.myth .front { background: #FFD3E6; }
.myth .back { background: #DFF7C7; }
.myth .tag { align-self: flex-start; font-size: 11.5px; font-weight: 900; letter-spacing: .16em; padding: 4px 11px; border-radius: 99px; border: 2px solid var(--edge); }
html[lang="kn"] .myth .tag { letter-spacing: .02em; font-size: 13px; }
.myth .front .tag { background: var(--pink); color: #fff; }
.myth .back .tag { background: var(--lime); }
.myth .front p { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 27px; line-height: 1.15; }
html[lang="kn"] .myth .front p { font-family: var(--kn); font-style: normal; font-weight: 800; font-size: 21px; line-height: 1.45; }
.myth .back p { font-size: 15.5px; font-weight: 600; }
.myth .flip { font-size: 13px; color: var(--fg-2); font-weight: 800; display: flex; align-items: center; gap: 6px; }
@media (min-width: 700px) { .myths { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .myths { grid-template-columns: repeat(4, 1fr); } }

/* ── Moodboard (polaroids) ── */
.mood { columns: 2 160px; column-gap: 16px; }
@media (min-width: 900px) { .mood { columns: 3; column-gap: 26px; } }
.pin { break-inside: avoid; margin: 0 0 22px; padding: 10px 10px 0; background: var(--card); border: 2px solid var(--edge); box-shadow: 5px 5px 0 var(--edge); border-radius: 6px; transform-style: preserve-3d; transition: transform .5s var(--spring); }
.pin:nth-child(3n+1) { rotate: -1.5deg; } .pin:nth-child(3n+2) { rotate: 1.2deg; } .pin:nth-child(3n) { rotate: -.6deg; }
.pin .slot { border-radius: 3px; aspect-ratio: var(--ar, 4 / 5); border: 1.5px solid var(--edge); }
.pin figcaption { display: flex; align-items: center; gap: 8px; padding: 10px 4px 12px; font-family: var(--hand); font-weight: 700; font-size: 17px; line-height: 1.3; }
.pin figcaption .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 2px solid var(--edge); flex: none; }
/* image slots: art underneath, photo on top once provided */
.slot { position: relative; overflow: hidden; background: #EEE9DF; }
.slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.slot > img.ok { opacity: 1; }
.art { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; }
.art-poster { background: linear-gradient(170deg, #FFB070, #FF7A45 55%, #FF4F5E); }
.art-poster .p-in { width: 76%; height: 84%; border-radius: 4px; background: #FFF6EA; color: var(--fg); padding: 12% 10%; display: flex; flex-direction: column; gap: 6%; border: 2px solid var(--edge); box-shadow: 4px 4px 0 var(--edge); transform: rotate(-3deg); }
.art-poster .p-in b { font-family: var(--sans); font-weight: 800; letter-spacing: -.03em; font-size: clamp(22px, 5vw, 34px); line-height: .95; }
.art-poster .p-in i { display: block; height: 7px; border-radius: 4px; background: rgba(21,19,15,.15); }
.art-poster .p-in i:nth-of-type(2) { width: 70%; } .art-poster .p-in .sun { width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--fire); border: 2px solid var(--edge); margin-top: auto; align-self: flex-end; }
.art-video { background: radial-gradient(circle at 30% 30%, #8FF0DA, #1FBF9F 60%, #128A73); }
.art-video .play { width: 66px; height: 66px; border-radius: 50%; background: #fff; border: 2.5px solid var(--edge); display: grid; place-items: center; box-shadow: 3px 3px 0 var(--edge); animation: pulse 2.4s ease-in-out infinite; }
.art-video .play::after { content: ""; margin-left: 5px; border-left: 18px solid var(--edge); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.art-video .tl { position: absolute; left: 14px; right: 14px; bottom: 16px; display: flex; gap: 4px; height: 18px; }
.art-video .tl i { flex: var(--f); border-radius: 5px; background: rgba(255,255,255,.75); border: 1.5px solid var(--edge); }
@keyframes pulse { 50% { transform: scale(1.08); } }
.art-site { background: linear-gradient(160deg, #C9BCFF, #8B6CFF); }
.art-site .bw { width: 86%; border-radius: 10px; background: #FBF8FF; overflow: hidden; border: 2px solid var(--edge); box-shadow: 4px 4px 0 var(--edge); transform: rotate(2deg); }
.art-site .bw .bar { height: 18px; background: #E9E3FF; display: flex; gap: 4px; align-items: center; padding: 0 8px; border-bottom: 1.5px solid var(--edge); }
.art-site .bw .bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--edge); }
.art-site .bw .pg { padding: 14px; color: var(--fg); }
.art-site .bw .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--sun), var(--pink)); border: 2px solid var(--edge); margin-bottom: 8px; }
.art-site .bw b { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; font-size: 20px; display: block; }
.art-site .bw span { display: block; height: 6px; border-radius: 3px; background: #DCD4FF; margin-top: 6px; }
.art-cards { background: linear-gradient(160deg, #FFE38A, #FFC93C); }
.art-cards .c { position: absolute; width: 62%; aspect-ratio: 3 / 2; border-radius: 10px; background: #fff; color: var(--fg); display: grid; place-items: center; text-align: center; padding: 10px; font-weight: 800; font-size: 14px; border: 2px solid var(--edge); box-shadow: 3px 3px 0 var(--edge); }
.art-cards .c:nth-child(1) { transform: rotate(-10deg) translate(-8%, -16%); }
.art-cards .c:nth-child(2) { transform: rotate(6deg) translate(6%, -2%); }
.art-cards .c:nth-child(3) { transform: rotate(-2deg) translate(0, 16%); }
.art-week { background: linear-gradient(160deg, #B9E6FF, #3FB6FF); }
.art-week .g { width: 84%; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.art-week .g b { font-size: 10px; text-align: center; color: var(--edge); }
.art-week .g i { height: 22px; border-radius: 6px; background: rgba(255,255,255,.4); border: 1.5px solid rgba(21,19,15,.25); }
.art-week .g i.a { background: #fff; border-color: var(--edge); } .art-week .g i.b { background: var(--sun); border-color: var(--edge); } .art-week .g i.c { background: var(--pink); border-color: var(--edge); }
.art-cert { background: radial-gradient(circle at 50% 30%, #FFF6D6, #FFE08A); }
.art-cert .ce { width: 82%; aspect-ratio: 1.4; border-radius: 8px; background: #fff; border: 2px solid var(--edge); outline: 4px double #C9A04A; outline-offset: -9px; color: var(--fg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; position: relative; box-shadow: 4px 4px 0 var(--edge); }
.art-cert .ce small { font-size: 9px; letter-spacing: .25em; font-weight: 800; }
.art-cert .ce b { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 20px; }
.art-cert .ce .seal { position: absolute; right: 9%; bottom: 12%; width: 20%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--sun), #FFE9A6, var(--sun)); border: 2px solid var(--edge); }
.art-cert .ce .qr { position: absolute; left: 9%; bottom: 12%; width: 15%; aspect-ratio: 1; background: repeating-conic-gradient(var(--edge) 0 25%, transparent 0 50%) 0 0 / 25% 25%; }
.art-mentor { background: radial-gradient(circle at 50% 35%, #FFE7A0, var(--sun) 55%, #FF9A3C); }
.art-mentor b { font-family: var(--sans); font-weight: 800; letter-spacing: -.04em; font-size: 72px; color: var(--edge); }
.art-class { background: radial-gradient(circle at 70% 20%, rgba(255,201,60,.6), transparent 50%), linear-gradient(160deg, #E9EDFF, #C9D2FF); }
.art-class .chairs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; width: 70%; }
.art-class .chairs i { aspect-ratio: 1; border-radius: 50%; background: #fff; border: 2px solid var(--edge); }
.art-class .chairs i:nth-child(3n) { background: var(--sun); } .art-class .chairs i:nth-child(5n) { background: var(--pink); } .art-class .chairs i:nth-child(7n) { background: var(--lime); }

/* ── Prompts (sticky notes with tape) ── */
.prompts { display: grid; gap: 30px; padding-top: 10px; }
.pc { padding: 28px 22px 22px; display: flex; flex-direction: column; gap: 14px; overflow: visible; background: color-mix(in srgb, var(--c) 16%, #FFFEF5); border-radius: 4px 4px 18px 4px; }
.pc:nth-child(odd) { rotate: -1deg; } .pc:nth-child(even) { rotate: .8deg; }
.pc::after { content: ""; position: absolute; top: -14px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(255,255,255,.8); border: 1px dashed rgba(21,19,15,.25); }
.pc-top { display: flex; align-items: center; gap: 12px; }
.pc-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--card); border: 2px solid var(--edge); color: var(--fg); }
.pc-top b { font-family: var(--kn); font-weight: 800; font-size: 21px; line-height: 1.2; }
.pc-top small { display: block; font-size: 12px; color: var(--fg-2); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pc-text { font-size: 15px; line-height: 1.7; color: var(--fg); flex: 1; }
.pc-text mark { background: var(--lime); color: var(--fg); border-radius: 6px; padding: 0 4px; border: 1.5px solid var(--edge); }
.copy { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--edge); background: var(--card); font-weight: 800; font-size: 14px; cursor: pointer; box-shadow: 3px 3px 0 var(--edge); transition: transform .15s, background .2s; text-decoration: none; }
.copy:hover { transform: translate(-1px, -2px); }
.copy.done { background: var(--lime); }
@media (min-width: 760px) { .prompts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .prompts { grid-template-columns: repeat(3, 1fr); } }

/* ── Offer / ticket ── */
.offer-grid { display: grid; gap: 40px; align-items: center; max-width: 1080px; margin: 0 auto; }
.ticket { position: relative; }
.ticket-in { --pad: 24px; position: relative; border-radius: 26px; background: var(--card); padding: 34px var(--pad) 26px; border: 2.5px solid var(--edge); box-shadow: 10px 10px 0 var(--blue); }
.perf { position: relative; border-top: 2.5px dashed var(--edge); margin: 22px -6px; }
.perf::before, .perf::after { content: ""; position: absolute; top: -17px; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); border: 2.5px solid var(--edge); }
.perf::before { left: calc(-1 * var(--pad) - 11px); clip-path: inset(0 0 0 50%); } .perf::after { right: calc(-1 * var(--pad) - 11px); clip-path: inset(0 50% 0 0); }
.ribbon { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--sun); border: 2px solid var(--edge); rotate: -2deg; }
.ribbon svg { width: 14px; height: 14px; fill: var(--edge); }
html[lang="kn"] .ribbon { letter-spacing: .03em; font-size: 13px; }
.ticket h3 { font-size: 34px; margin-top: 14px; }
html[lang="kn"] .ticket h3 { font-size: 26px; }
.price { display: flex; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.price s { font-size: 24px; color: var(--muted); font-weight: 700; text-decoration-color: var(--bad); text-decoration-thickness: 3px; }
.reel { display: inline-flex; align-items: center; font-family: var(--sans); font-weight: 800; letter-spacing: -.04em; font-size: 80px; line-height: 1; color: var(--fg); }
.reel .rup { font-size: 42px; color: var(--blue); margin-right: 4px; }
.reel .dg { display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.reel .dg span { display: block; transition: transform 1.6s cubic-bezier(.15,.85,.25,1); }
.reel .dg .col b { display: block; height: 1em; line-height: 1; font-weight: 800; }
.reveal-btn { margin-top: 12px; }
.save { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--lime); border: 2px solid var(--edge); font-weight: 900; font-size: 13px; opacity: 0; transform: scale(.4) rotate(-20deg); transition: all .6s var(--spring) 1.4s; }
.revealed .save { opacity: 1; transform: rotate(-6deg); }
.incl { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.incl li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 700; }
.incl li .ic { width: 36px; height: 36px; flex: none; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 30%, white); border: 2px solid var(--edge); color: var(--edge); }
.incl li .ic svg { width: 18px; height: 18px; }
.incl li small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.seats { margin: 18px 0 0; }
.seats-top { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 800; margin-bottom: 6px; }
.seats-top span:last-child { color: var(--blue); }
.sbar { height: 12px; border-radius: 12px; background: #EFEAE0; border: 2px solid var(--edge); overflow: hidden; }
.sbar i { display: block; height: 100%; width: 0; background: var(--lime); transition: width 1.4s var(--ease); }
.deadline { margin-top: 12px; font-weight: 800; color: var(--blue); font-size: 14px; }
.ticket .btn-gold { margin-top: 22px; }
.pay { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.pay span { display: inline-flex; align-items: center; gap: 5px; }
.pay svg { width: 14px; height: 14px; }
.side-stack { display: grid; gap: 22px; }
.seal { position: relative; width: 200px; height: 200px; margin: 0 auto; }
.seal svg.ring { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal svg.ring text { font-family: var(--sans); font-weight: 800; font-size: 10.6px; letter-spacing: .2em; fill: var(--fg); }
html[lang="kn"] .seal svg.ring text { font-family: "Noto Sans Kannada", var(--sans); letter-spacing: .05em; font-size: 10px; }
.seal .core { position: absolute; inset: 25%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--lime); border: 2.5px solid var(--edge); box-shadow: 3px 3px 0 var(--edge); }
.seal .core b { font-family: var(--sans); font-size: 44px; font-weight: 800; line-height: 1; }
.seal .core small { display: block; font-size: 11px; font-weight: 800; }
.side-card { padding: 24px; text-align: center; background: #FFF6CC; }
.side-card h4 { margin: 0; font-family: var(--hand); font-weight: 800; font-size: 26px; line-height: 1.2; }
.side-card p { margin-top: 8px; color: var(--fg-2); font-size: 15px; }
.side-card .btn { margin-top: 16px; }
@media (min-width: 920px) { .offer-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } .ticket-in { --pad: 38px; padding: 40px var(--pad) 30px; } }

/* ── Mentor ── */
.mentor { display: grid; gap: 34px; align-items: center; max-width: 1040px; margin: 0 auto; }
.mentor .slot { width: min(320px, 70%); aspect-ratio: 4 / 5; margin: 0 auto; border-radius: 200px 200px 24px 24px; border: 2.5px solid var(--edge); box-shadow: 8px 8px 0 var(--pink); }
.mentor blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.2; letter-spacing: -.02em; }
html[lang="kn"] .mentor blockquote { font-family: var(--kn); font-style: normal; font-weight: 700; font-size: clamp(19px, 2.6vw, 26px); line-height: 1.6; letter-spacing: 0; }
.mentor .by { margin-top: 20px; display: flex; flex-direction: column; gap: 2px; }
.mentor .by b { font-size: 18px; }
.mentor .by small { color: var(--muted); font-size: 14px; }
.mentor ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mentor li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 2px solid var(--edge); background: var(--card); font-size: 13.5px; font-weight: 700; }
.mentor li svg { width: 16px; height: 16px; color: var(--blue); }
@media (min-width: 860px) { .mentor { grid-template-columns: .8fr 1.2fr; gap: 64px; } }

/* ── Schools ── */
.schools-grid { display: grid; gap: 34px; align-items: start; }
.schools .slot { aspect-ratio: 16 / 10; border-radius: var(--r); border: 2.5px solid var(--edge); box-shadow: 6px 6px 0 var(--edge); margin-bottom: 26px; }
.agenda { display: grid; gap: 14px; }
.agenda > div { display: flex; gap: 14px; align-items: flex-start; }
.agenda .ic { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--sun); border: 2px solid var(--edge); color: var(--edge); }
.agenda b { display: block; font-size: 16.5px; }
.agenda small { color: var(--fg-2); font-size: 14px; }
.agenda .t { font-size: 11.5px; font-weight: 900; letter-spacing: .12em; color: var(--blue); }
.form-card { padding: 28px 22px; }
.form-card h3 { font-size: 32px; }
html[lang="kn"] .form-card h3 { font-size: 24px; }
.form-card > p { color: var(--fg-2); margin-top: 4px; font-size: 14.5px; }
.form { display: grid; gap: 12px; margin-top: 18px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; color: var(--fg-2); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: var(--card); border: 2px solid var(--edge); border-radius: 14px; padding: 11px 14px; min-height: 50px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,91,255,.2); }
.form .full { grid-column: 1 / -1; }
.form-msg { padding: 12px 14px; border-radius: 14px; font-weight: 700; font-size: 14.5px; border: 2px solid var(--edge); }
.form-msg.ok { background: #E6FBD0; }
.form-msg.err { background: #FFE1E3; }
@media (min-width: 640px) { .form.cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .schools-grid { grid-template-columns: 1fr 1fr; gap: 60px; } }

/* ── FAQ ── */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { border-radius: 20px; padding: 0 22px; box-shadow: 4px 4px 0 var(--edge); }
.faq details[open] { background: #FFFDF6; }
.faq summary { list-style: none; cursor: pointer; padding: 19px 44px 19px 0; font-weight: 800; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); border: 2px solid var(--edge); font-size: 20px; font-weight: 800; transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.faq details p { padding: 0 0 20px; color: var(--fg-2); font-size: 15.5px; }

/* ── Finale ── */
.finale { position: relative; text-align: center; padding: 110px 0 130px; overflow: hidden; }
.kolam { width: min(420px, 80vw); height: auto; margin: 0 auto 10px; display: block; overflow: visible; }
.kolam path, .kolam circle.r { fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; }
.kolam path:nth-of-type(odd) { stroke: var(--pink); }
.kolam circle.d { fill: var(--edge); }
.finale h2 { font-family: var(--kn); font-weight: 800; font-size: clamp(42px, 8vw, 100px); line-height: 1.25; letter-spacing: 0; }
.finale h2 + p { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(24px, 3.4vw, 40px); color: var(--blue); margin-top: 4px; }
.finale .hero-cta { justify-content: center; }

/* ── Footer ── */
footer { border-top: 2.5px solid var(--edge); background: var(--card); padding: 50px 0 130px; font-size: 14.5px; color: var(--fg-2); }
.foot { display: grid; gap: 28px; }
.foot h4 { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--blue); }
.copy-row { margin-top: 34px; padding-top: 18px; border-top: 1.5px dashed var(--line-2); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.copy-row span:last-child { font-family: var(--hand); font-size: 15px; font-weight: 700; color: var(--pink); }
@media (min-width: 820px) { .foot { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { footer { padding-bottom: 50px; } }

/* ── Floating: buy bar, WhatsApp, toasts, drawer ── */
.buybar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 110; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 22px; background: var(--card); border: 2.5px solid var(--edge); box-shadow: 5px 5px 0 var(--edge); transform: translateY(160%); transition: transform .45s var(--spring); }
.buybar.show { transform: none; }
.buybar .p { line-height: 1.15; }
.buybar .p b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.buybar .p s { color: var(--muted); font-size: 13px; margin-left: 4px; }
.buybar .p small { display: block; font-size: 11.5px; color: var(--blue); font-weight: 800; }
.buybar .btn { flex: 1; min-height: 46px; padding: 8px 14px; box-shadow: 3px 3px 0 var(--edge); }
@media (min-width: 1000px) { .buybar { display: none; } }
.wa-float { position: fixed; right: 16px; bottom: 92px; z-index: 105; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; border: 2.5px solid var(--edge); box-shadow: 3px 3px 0 var(--edge); text-decoration: none; }
.wa-float svg { width: 28px; height: 28px; }
@media (min-width: 1000px) { .wa-float { bottom: 24px; } }
.toasts { position: fixed; left: 14px; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 220; display: grid; gap: 10px; pointer-events: none; }
@media (min-width: 1000px) { .toasts { bottom: 24px; } }
.toast { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--card); border: 2.5px solid var(--edge); box-shadow: 5px 5px 0 var(--edge); max-width: min(340px, calc(100vw - 28px)); animation: toast-in .6s var(--spring) both; }
.toast.out { animation: toast-out .4s ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(-40px) rotate(-6deg) scale(.85); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(-30px); } }
.toast .bd { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--sun); border: 2px solid var(--edge); }
.toast b { display: block; font-size: 14.5px; line-height: 1.3; }
.toast small { color: var(--blue); font-weight: 900; font-size: 12.5px; }
.drawer { position: fixed; inset: 0; z-index: 230; display: grid; place-items: center; padding: 20px; background: rgba(21,19,15,.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-in { width: min(560px, 100%); max-height: 84svh; overflow-y: auto; padding: 26px 22px; border-radius: 28px; background: var(--bg); border: 2.5px solid var(--edge); box-shadow: 10px 10px 0 var(--edge); transform: translateY(24px) scale(.95); transition: transform .45s var(--spring); }
.drawer.open .drawer-in { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer-head h3 { font-size: 32px; }
html[lang="kn"] .drawer-head h3 { font-size: 24px; }
.drawer-sub { color: var(--fg-2); font-size: 14px; margin: 6px 0 18px; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.badge { padding: 14px; border-radius: 18px; border: 2px dashed var(--line-2); background: rgba(255,255,255,.5); text-align: center; }
.badge .bd { font-size: 30px; filter: grayscale(1) opacity(.35); }
.badge b { display: block; font-size: 13.5px; margin-top: 6px; color: var(--muted); }
.badge small { display: block; font-size: 12px; color: var(--muted); }
.badge.got { border: 2px solid var(--edge); background: var(--card); box-shadow: 3px 3px 0 var(--edge); }
.badge.got .bd { filter: none; }
.badge.got b { color: var(--fg); }

@keyframes spin { to { transform: rotate(360deg); } }

html.intro-on .intro[hidden] { display: grid !important; }
html.intro-on body { overflow: hidden; }

@media (max-width: 480px) {
  .eyebrow { font-size: 16px; }
  .kinetic { margin: 6px -12px; }
  .chat { box-shadow: 6px 6px 0 var(--blue); }
  .notebook { box-shadow: 6px 6px 0 var(--edge); }
  .ticket-in { box-shadow: 6px 6px 0 var(--blue); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .grain, .k-row, .aurora i, .seal svg.ring, .ring-spin { animation: none !important; }
}
