/* Seva Suite website. Brand: white, amber and navy (from the logo). */
:root {
  --ink: #0D1B34;
  --navy: #0A2A52;
  --muted: #5A6680;
  --amber: #F6A821;
  --amber-deep: #E08A00;
  --amber-soft: #FFF3DA;
  --cream: #FFFBF2;
  --paper: #FFFFFF;
  --line: #EEE6D3;
  --green: #18A574;
  --red: #D64545;
  --head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --gutter: max(16px, 5vw);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.2vw, 68px); font-weight: 800; }
h2 { font-size: clamp(32px, 4.6vw, 60px); font-weight: 800; }
h1 em, h2 em { font-style: normal; color: var(--amber-deep); position: relative; }
h1 em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .22em; background: var(--amber); opacity: .35; border-radius: 4px; z-index: -1; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(16px, 1.35vw, 20px); color: var(--muted); max-width: 34em; }
.kicker { font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 18px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; background: var(--navy); color: #fff;
  font: 600 16px/1 var(--body); text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; box-shadow: 0 8px 24px -10px rgba(10,42,82,.6); }
.btn:hover { transform: translateY(-2px); background: #0E376B; box-shadow: 0 14px 30px -12px rgba(10,42,82,.7); }
.btn-sm { padding: 10px 18px; font-size: 14px; background: var(--amber); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(224,138,0,.8); }
.btn-sm:hover { background: #FFB838; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: var(--amber-soft); box-shadow: inset 0 0 0 2px var(--amber); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Top bar */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 12px var(--gutter);
  background: rgba(255,255,255,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(238,230,211,.7); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 20px/1 var(--head); letter-spacing: -.01em; }
.brand img { width: 28px; height: auto; }
.nav { margin-left: auto; display: flex; gap: 24px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--ink); }

/* The day clock */
.day { position: fixed; left: var(--gutter); bottom: 20px; z-index: 15; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px;
  border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 10px 30px -12px rgba(13,27,52,.35), inset 0 0 0 1px var(--line);
  font-size: 12px; color: var(--muted); transition: background .6s, color .6s; }
.day-arc { width: 46px; color: #D8C9A6; }
.day-sun { fill: var(--amber); filter: drop-shadow(0 0 4px rgba(246,168,33,.8)); }
.day b { color: var(--ink); }
.day .day-time { display: block; font: 700 15px/1.1 var(--head); }
.day > div > span { display: block; white-space: nowrap; }

/* Scroll scenes: a tall section with a stage that stays on screen while it plays */
.scene { position: relative; height: calc(var(--len) * 1vh); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center; gap: clamp(24px, 4vw, 72px); padding: 84px var(--gutter) 40px; max-width: 1360px; margin: 0 auto; overflow: hidden; }
.copy { position: relative; z-index: 2; display: grid; align-content: center; }
.copy > .say { grid-area: 1 / 1; align-self: center; will-change: opacity, transform; }
.art { position: relative; height: 100%; max-height: 720px; display: grid; place-items: center; min-height: 0; }
.hint { position: absolute; left: 50%; top: calc(100svh - 64px); transform: translateX(-50%); margin: 0; font-size: 13px; font-weight: 600; color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.hint::after { content: ""; display: block; width: 2px; height: 22px; margin: 8px auto 0; background: linear-gradient(var(--amber), transparent); animation: drip 1.6s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 1. Morning */
.shop-wrap { position: relative; z-index: 1; width: 100%; height: 100%; max-height: 84svh; padding-top: 6svh;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(#000 90%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(#000 90%, transparent); mask-composite: intersect; }
.shop-wrap svg { width: 100%; height: 100%; overflow: visible; }
.glow { position: absolute; inset: 6% 0 0; background: radial-gradient(closest-side, rgba(246,168,33,.32), rgba(246,168,33,0)); opacity: var(--glow, .2); transform: scale(var(--glow-s, .7)); }

/* Customer chip and steps */
.chip { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 6px; border-radius: 999px; background: var(--amber-soft); color: #8A5300;
  font: 700 13px/1 var(--body); letter-spacing: .04em; margin-bottom: 18px; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-deep); box-shadow: 0 0 0 0 rgba(224,138,0,.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(224,138,0,0); } 100% { box-shadow: 0 0 0 0 rgba(224,138,0,0); } }
.steps { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: s; display: grid; gap: 4px; }
.steps li { counter-increment: s; position: relative; padding: 10px 0 10px 50px; color: var(--muted); transition: color .35s; }
.steps li::before { content: attr(data-n); position: absolute; left: 0; top: 8px; width: 34px; height: 38px; display: grid; place-items: center;
  font: 800 15px/1 var(--head); color: #B7AE99; background: #F5F0E4;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background .35s, color .35s, transform .35s; }
.steps li b { display: block; font: 700 18px/1.3 var(--head); color: #9A9483; transition: color .35s; }
.steps li span { display: block; font-size: 15px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s, opacity .35s; }
.steps li.on b { color: var(--ink); }
.steps li.on span { max-height: 4em; opacity: 1; }
.steps li.on::before { background: var(--amber); color: var(--ink); transform: scale(1.12); }
.steps li.done::before { background: var(--navy); color: #fff; content: "✓"; }
.steps li.done b { color: var(--ink); }

/* 2. Passport */
.art-pass { width: 100%; aspect-ratio: 1; max-width: min(620px, 76svh); height: auto; justify-self: center; }
.pp-card { position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 60px -24px rgba(13,27,52,.45), 0 0 0 8px #fff, 0 0 0 9px var(--line); will-change: transform, opacity; }
.pp-card svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pp-clean { clip-path: inset(0 0 calc(100% - var(--scan, 0%)) 0); }
.pp-scan { position: absolute; left: -10%; right: -10%; top: var(--scan, 0%); height: 3px; background: var(--amber); opacity: var(--scan-o, 0);
  box-shadow: 0 0 18px 6px rgba(246,168,33,.55); }
.pp-crop { position: absolute; border: 2px dashed #fff; border-radius: 4px; opacity: var(--crop-o, 0);
  box-shadow: 0 0 0 999px rgba(13,27,52,var(--dim, 0)); }
.pp-crop span { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; padding: 5px 10px; border-radius: 6px;
  background: var(--amber); color: var(--ink); font: 700 13px/1 var(--body); }
.pp-sheet { position: absolute; left: 50%; top: 50%; width: 96%; aspect-ratio: 6 / 4; translate: -50% -50%; background: #fff; border-radius: 6px; padding: 5%;
  box-shadow: 0 40px 70px -30px rgba(13,27,52,.5), 0 0 0 1px var(--line); opacity: var(--sheet-o, 0); transform: scale(var(--sheet-s, .9)) rotate(var(--sheet-r, 0deg)); }
.pp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3.5%; height: 100%; }
.pp-grid svg { width: 100%; height: 100%; border-radius: 2px; outline: 1.5px dashed transparent; outline-offset: 3px; transition: outline-color .4s; will-change: transform, opacity; }
.pp-sheet.cut .pp-grid svg { outline-color: #C9C2B0; }
.pp-tag { position: absolute; left: 50%; bottom: -54px; transform: translate(-50%, var(--tag-y, 10px)); opacity: var(--tag-o, 0); margin: 0; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; background: var(--navy); color: #fff; font: 600 14px/1 var(--body); }

/* 3. Signature */
.art-sign { width: 100%; max-width: 640px; justify-self: center; height: auto; display: grid; place-items: stretch; align-content: center; gap: 30px; perspective: 1100px; }
.sg-desk { position: relative; }
.sg-paper { position: relative; width: 100%; aspect-ratio: 260 / 150; border-radius: 6px; transform-origin: 50% 70%;
  background: linear-gradient(135deg, var(--sg-a, #D9D3C4), var(--sg-b, #EFE8D6) 45%, var(--sg-c, #C7BFAE));
  box-shadow: 0 40px 60px -30px rgba(13,27,52,.55); will-change: transform; }
.sg-paper::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: var(--shade, 1);
  background: linear-gradient(100deg, rgba(0,0,0,.22), transparent 38%), repeating-linear-gradient(0deg, transparent 0 23px, rgba(70,110,170,.18) 23px 24px); }
.sg-ink { position: absolute; inset: 10% 6% 18%; width: 88%; height: 72%; }
.sg-line { fill: none; stroke: var(--ink-c, #2F56B0); stroke-width: var(--ink-w, 3); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 1); }
.sg-crop { position: absolute; left: 9%; right: 6%; top: 12%; bottom: 14%; border: 2px dashed var(--amber-deep); border-radius: 4px; opacity: var(--crop-o, 0);
  box-shadow: 0 0 0 999px rgba(255,255,255,var(--dim, 0)); }
.sg-crop span { position: absolute; right: -2px; top: -32px; padding: 5px 10px; border-radius: 6px; background: var(--amber); color: var(--ink); font: 700 13px/1 var(--body); }
.sg-sizes { position: absolute; inset: -12% -6%; pointer-events: none; }
.sg-sizes span { position: absolute; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: 0 8px 20px -10px rgba(13,27,52,.35), inset 0 0 0 1px var(--line);
  font: 600 12px/1 var(--body); color: var(--muted); white-space: nowrap; opacity: 0; }
.sg-sizes span:nth-child(1) { left: 0; top: 0; }
.sg-sizes span:nth-child(2) { right: 4%; top: -2%; }
.sg-sizes span:nth-child(3) { right: 0; top: 46%; }
.sg-sizes span:nth-child(4) { left: 2%; bottom: 4%; }
.sg-sizes span:nth-child(5) { left: 36%; bottom: -4%; }
.sg-kb { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 20px; opacity: var(--kb-o, 0); transform: translateY(var(--kb-y, 16px)); }
.sg-kb-num b { display: block; font: 800 clamp(30px, 3.4vw, 44px)/1 var(--head); color: var(--kb-c, var(--red)); font-variant-numeric: tabular-nums; min-width: 4.2em; }
.sg-kb-num span { font-size: 13px; color: var(--muted); }
.sg-bar { position: relative; height: 14px; border-radius: 999px; background: #F2ECDD; overflow: visible; }
.sg-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--kb-w, 100%); border-radius: inherit; background: var(--kb-c, var(--red)); }
.sg-bar em { position: absolute; left: 1%; bottom: calc(100% + 6px); font: 600 12px/1 var(--body); font-style: normal; color: var(--green); white-space: nowrap; }
.sg-bar::after { content: ""; position: absolute; left: 0; width: 1.2%; min-width: 6px; top: -4px; bottom: -4px; border-radius: 3px; box-shadow: inset 0 0 0 2px var(--green); }
.sg-ok { grid-column: 1 / -1; margin: 6px 0 0; font: 700 18px/1 var(--head); color: var(--green); opacity: var(--ok, 0); transform: scale(calc(.9 + var(--ok, 0) * .1)); transform-origin: left; }


/* The app's own tile drawings (exported from the PC app) */
.tile-art { width: 100%; height: auto; overflow: visible; }
.tile-art [data-part="pencil"], .tile-art [data-part="send"] { opacity: 0; }
.tile-mini { width: 34px; height: 26px; display: grid; place-items: center; border-radius: 999px; background: #fff; padding: 2px 3px; }
.tile-mini .tile-art { width: 30px; }
/* The movements of the Home tiles, as in the app (HomeMagic) */
.play [data-part="pop"] { animation: t-pop .34s cubic-bezier(.34,1.5,.64,1) both; animation-delay: calc(var(--i) * 55ms); }
.play .art-resume [data-part="pop"] { animation-delay: .45s; }
@keyframes t-pop { from { transform: scale(.3); opacity: 0; } }
.play [data-part="grow"] { animation: t-grow .48s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 60ms); }
.play .art-resume [data-part="grow"] { animation-duration: .26s; animation-delay: calc(var(--i) * 95ms); }
.play .art-doc-cleaner [data-part="grow"] { animation: none; }
@keyframes t-grow { from { transform: scaleX(0); } }
.play [data-part="side"] { animation: t-side .45s ease-out both; }
@keyframes t-side { from { transform: scaleY(0); } }
.play [data-part="write"] path { stroke-dasharray: 1; animation: t-write 1.2s ease-in-out both; }
@keyframes t-write { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.play [data-part="chart"] { animation: t-chart 1s ease-out both; }
@keyframes t-chart { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.play [data-part="fan"] { animation: t-fan .35s ease-out forwards; }
.play [data-part="fan"][style*="--i:1;"] { animation-name: t-fan1; }
@keyframes t-fan { to { transform: translateX(-3px) rotate(-3deg); } }
@keyframes t-fan1 { to { transform: translateX(-9px) rotate(-5deg); } }
.play [data-part="lift"] { animation: t-lift .35s ease-out forwards; }
@keyframes t-lift { to { transform: translate(6px, -7px); } }
.play .art-doc-cleaner .clip { animation: t-dirt 2s both; }
@keyframes t-dirt { 0%, 15% { width: 140px; } 90%, 100% { width: 0; } }
.play [data-part="wipe"] { animation: t-wipe 2s both; }
@keyframes t-wipe { 0%, 15% { transform: translateX(65px); opacity: 1; } 86% { opacity: 1; } 90% { transform: translateX(-75px); } 92%, 100% { transform: translateX(-75px); opacity: 0; } }
.play [data-part="roll"] { animation: t-roll .95s steps(12, jump-start) both; }
@keyframes t-roll { from { transform: translateY(-126px); } to { transform: none; } }
.play [data-part="pencil"] { animation: t-pencil 2.2s both; }
@keyframes t-pencil {
  0% { transform: translate(-34px, -118px); opacity: 0; } 10% { opacity: 1; } 12% { transform: translate(-34px, -118px); } 20% { transform: translate(6px, -112px); }
  32% { transform: translate(-30px, -96px); } 44% { transform: translate(8px, -82px); } 56% { transform: translate(-30px, -62px); } 68% { transform: translate(6px, -44px); }
  80% { transform: translate(-26px, -24px); } 92% { transform: translate(6px, -4px); opacity: 1; } 100% { transform: translate(14px, 4px); opacity: 0; } }
.play [data-part="nudge"] { animation: t-nudge .25s ease-in-out 6 alternate; }
@keyframes t-nudge { to { transform: translateX(5px); } }

/* 4. PDF Desk */
.art-pdf { width: 100%; aspect-ratio: 1; max-width: min(600px, 74svh); height: auto; justify-self: center; }
.pd-page { position: absolute; left: 36%; top: 26%; width: 28%; aspect-ratio: 1 / 1.414; padding: 4%; background: #fff; border-radius: 4px;
  box-shadow: 0 16px 30px -16px rgba(13,27,52,.45), 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 7%; will-change: transform, opacity; }
.pd-page b { font: 700 clamp(8px, 1vw, 12px)/1.2 var(--body); color: var(--navy); padding-bottom: 6%; border-bottom: 2px solid var(--amber); }
.pd-page i { display: block; height: 5px; border-radius: 3px; background: #DCE1EA; }
.pd-page i:nth-child(3n) { width: 70%; }
.pd-blue b { border-color: #3A6DB5; } .pd-green b { border-color: #2D8A6A; }
.pd-photo svg { width: 70%; align-self: center; flex: 1; border-radius: 2px; }
.pd-page::after { content: attr(data-n); position: absolute; right: -10px; top: -10px; width: 24px; height: 26px; display: grid; place-items: center;
  font: 800 12px/1 var(--head); color: var(--ink); background: var(--amber); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); opacity: var(--num, 0); }
.pd-file { position: absolute; left: 18%; top: 14%; width: 64%; opacity: 0; transform-origin: 50% 100%; will-change: transform; }
.pd-name { display: block; text-align: center; font: 600 13px/1 var(--body); color: var(--muted); margin-top: 4px; }
.pd-press { position: absolute; left: 14%; right: 14%; top: 0; height: 5%; border-radius: 6px; background: var(--navy); opacity: 0; box-shadow: 0 10px 20px -8px rgba(10,42,82,.6); }
.pd-press i { position: absolute; left: 50%; bottom: 100%; width: 14px; height: 400px; margin-left: -7px; background: linear-gradient(#C8CED9, #8E97A8); }
.pd-size { position: absolute; left: 6%; right: 6%; bottom: 2%; opacity: var(--sz-o, 0); }
.pd-meter { position: relative; height: 12px; border-radius: 999px; background: #F2ECDD; }
.pd-meter i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--sz-w, 100%); border-radius: inherit; background: var(--sz-c, var(--red)); }
.pd-meter::after { content: ""; position: absolute; left: 13.7%; top: -6px; bottom: -6px; width: 2px; background: var(--ink); }
.pd-meter em { position: absolute; left: 13.7%; bottom: calc(100% + 8px); transform: translateX(-50%); font: 600 12px/1 var(--body); font-style: normal; color: var(--ink); white-space: nowrap; }
.pd-num { display: inline-block; margin-top: 12px; font: 800 clamp(26px, 3vw, 38px)/1 var(--head); color: var(--sz-c, var(--red)); font-variant-numeric: tabular-nums; }
.pd-ok { display: inline-block; margin: 0 0 0 14px; font: 700 16px/1 var(--head); color: var(--green); opacity: var(--ok, 0); }

/* 5. Card Studio */
.art-card { width: 100%; max-width: 620px; justify-self: center; height: auto; display: grid; place-items: stretch; align-content: center; gap: 28px; }
.cd-room { perspective: 1400px; padding: 4% 9%; }
.cd-card { position: relative; width: 100%; aspect-ratio: 85.6 / 54; transform-style: preserve-3d; will-change: transform; }
.cd-face { position: absolute; inset: 0; border-radius: 4.5% / 7%; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(135deg, #FDFCF8, #EEF1F5); box-shadow: 0 30px 50px -26px rgba(13,27,52,.55), inset 0 0 0 1px rgba(13,27,52,.08); }
.cd-back { transform: rotateY(180deg); }
.cd-band { position: absolute; left: 0; right: 0; top: 0; height: 15%; background: linear-gradient(90deg, #E58A2C, #F2A64A); }
.cd-band-green { top: auto; bottom: 0; background: linear-gradient(90deg, #2D8A4E, #43A866); }
.cd-face-pic { position: absolute; left: 6%; top: 24%; width: 22%; height: 52%; border-radius: 3px; }
.cd-front .cd-lines { position: absolute; left: 33%; top: 28%; width: 38%; display: grid; gap: 9px; }
.cd-back .cd-lines { position: absolute; left: 7%; top: 14%; width: 50%; display: grid; gap: 10px; }
.cd-lines i { display: block; height: 6px; border-radius: 3px; background: #C9CFDB; }
.cd-lines i:nth-child(2n) { width: 74%; }
.cd-qr { position: absolute; right: 7%; top: 28%; width: 18%; }
.cd-qr-big { width: 28%; top: 18%; }
.cd-num { position: absolute; left: 33%; bottom: 14%; font: 800 clamp(13px, 1.7vw, 20px)/1 var(--body); letter-spacing: .06em; color: #2B3550; }
.cd-shine { position: absolute; inset: 0; border-radius: 4.5% / 7%; pointer-events: none; transform: translateZ(1px);
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.75) 45%, transparent 60%) no-repeat; background-size: 250% 100%; background-position: var(--shine, 150%) 0; }
.cd-sheet { position: relative; justify-self: center; width: 64%; aspect-ratio: 210 / 140; background: #fff; border-radius: 4px; padding: 4%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 5%; box-shadow: 0 20px 40px -24px rgba(13,27,52,.5), 0 0 0 1px var(--line); opacity: var(--sh-o, 0); }
.cd-sheet span { border-radius: 3px; border: 1.5px dashed #D8D2C2; background: #fff; transition: background .3s; }
.cd-sheet span.on { border-style: solid; border-color: transparent; background: linear-gradient(#E58A2C 0 18%, #F4F1EA 18%); box-shadow: 0 2px 6px -2px rgba(13,27,52,.35); }
.cd-sheet.backs span.on { background: linear-gradient(#F4F1EA 78%, #2D8A4E 78%); }
.cd-sheet p { position: absolute; left: 0; right: 0; top: 100%; margin: 8px 0 0; text-align: center; font: 600 13px/1 var(--body); color: var(--muted); }

/* 6. Document Cleaner */
.art-clean { width: 100%; max-width: min(520px, 62svh); justify-self: center; height: auto; display: grid; place-items: stretch; align-content: center; gap: 22px; }
.cl-photo { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(13,27,52,.6); }
.cl-layer { position: absolute; inset: 0; display: grid; place-items: center; }
.cl-dirty { background: radial-gradient(120% 90% at 30% 20%, #8C6A48, #4E3724); }
.cl-dirty .cl-doc { width: 74%; transform: perspective(700px) rotateX(14deg) rotateZ(-7deg) skewX(-3deg); background: linear-gradient(160deg, #E7D9AE, #C9B581 70%, #A8945F);
  filter: saturate(1.3) contrast(.8) blur(.4px); box-shadow: 0 20px 30px -10px rgba(0,0,0,.6); }
.cl-dirty .cl-doc i, .cl-dirty .cl-doc b { opacity: .55; }
.cl-hand { position: absolute; right: -6%; bottom: 8%; width: 46%; height: 38%; border-radius: 50% 40% 40% 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); transform: rotate(-24deg); }
.cl-fresh { background: #F7F8FA; clip-path: inset(0 0 0 var(--x, 100%)); }
.cl-fresh .cl-doc { width: 86%; background: #fff; box-shadow: 0 0 0 1px #E6E9EF; }
.cl-doc { aspect-ratio: 1 / 1.3; padding: 9% 9%; display: flex; flex-direction: column; gap: 6%; position: relative; }
.cl-doc b { font: 800 clamp(14px, 2vw, 22px)/1 var(--head); color: var(--navy); text-align: center; margin-bottom: 6%; letter-spacing: .02em; }
.cl-doc i { display: block; height: 6px; border-radius: 3px; background: #4A5268; opacity: .7; }
.cl-doc i:nth-of-type(2n) { width: 82%; } .cl-doc i:nth-of-type(3n) { width: 64%; }
.cl-doc u { position: absolute; right: 12%; bottom: 10%; width: 22%; aspect-ratio: 1; border-radius: 50%; border: 3px solid #3A5FB5; opacity: .75; }
.cl-bar { position: absolute; top: -4%; bottom: -4%; left: var(--x, 100%); width: 6px; margin-left: -3px; border-radius: 3px; background: var(--amber);
  box-shadow: 0 0 24px 6px rgba(246,168,33,.6); opacity: var(--bar-o, 0); }
.cl-tag { justify-self: center; margin: 0; padding: 9px 16px; border-radius: 999px; background: var(--navy); color: #fff; font: 600 14px/1 var(--body);
  opacity: var(--tag-o, 0); transform: translateY(var(--tag-y, 10px)); }

/* 7. The internet goes down */
.scene-off { background: var(--off-bg, #fff); color: var(--off-ink, var(--ink)); }
.stage-wide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: stretch; text-align: center; padding-top: 96px; }
.copy-center { justify-items: center; }
.copy-center .lead { margin: 0 auto 1em; color: inherit; opacity: .8; }
.scene-off .kicker { color: var(--amber); }
.scene-off h2 em { color: var(--amber); }
.art-street { max-height: none; align-self: end; width: 100%; }
.street { width: 100%; height: 100%; max-height: 56svh; overflow: visible; }
.st-pole { stroke: var(--pole, #7D6A4E); stroke-width: 8; fill: none; stroke-linecap: round; }
.st-cable { stroke: var(--pole, #3A3F4E); stroke-width: 3; fill: none; }
.st-cable-a { transform-origin: 60px 80px; } .st-cable-b { transform-origin: 940px 118px; }
.st-spark path { stroke: #FFD66B; stroke-width: 3; stroke-linecap: round; }
.st-spark { opacity: 0; transform-origin: 300px 124px; }
.st-wall { fill: var(--wall, #F3E6C8); }
.st-wall-ours { fill: #F6E2B5; }
.st-sign { fill: var(--sign, #2E4A73); }
.st-sign-t { font: 800 15px/1 var(--body); fill: #FFE3A0; text-anchor: middle; letter-spacing: .08em; }
.st-win { fill: var(--win, #FFF3D1); }
.st-down rect { fill: #C0392B; } .st-down text { font: 700 14px/1 var(--body); fill: #fff; text-anchor: middle; }
.st-down { opacity: 0; }
.st-ours-t { font: 800 19px/1 var(--head); fill: #FFCF5C; text-anchor: middle; letter-spacing: .1em; }
.st-jobs-l { font: 600 10px/1 var(--body); fill: #9AA6BF; text-anchor: middle; }
.st-jobs { font: 800 22px/1 var(--head); fill: #22C38E; text-anchor: middle; }
.st-wifi path { fill: none; stroke: var(--wifi, #2D8A6A); stroke-width: 6; stroke-linecap: round; }
.st-wifi circle { fill: var(--wifi, #2D8A6A); }
.st-wifi .st-wifi-x { stroke: #E5484D; stroke-dasharray: 70; stroke-dashoffset: var(--x-off, 70); }
.st-p { fill: var(--people, #5A6680); }

/* 8. Marriage Biodata */
.art-bio { width: 100%; max-width: min(460px, 62svh); justify-self: center; height: auto; display: grid; place-items: stretch; align-content: center; gap: 16px; perspective: 1400px; }
.bd-page { --bd-a: #B3273A; --bd-b: #C99A2E; --bd-bg: #FFF6E2; --bd-ink: #4A2C0A;
  position: relative; aspect-ratio: 1 / 1.414; padding: 8% 9%; background: var(--bd-bg); color: var(--bd-ink); border-radius: 4px;
  box-shadow: 0 30px 60px -30px rgba(13,27,52,.55), inset 0 0 0 6px var(--bd-bg), inset 0 0 0 8px var(--bd-a), inset 0 0 0 12px var(--bd-bg), inset 0 0 0 13px var(--bd-b);
  display: flex; flex-direction: column; align-items: center; transition: background .4s, color .4s, box-shadow .4s; will-change: transform; transform-origin: 0 50%; }
.bd-page.t2 { --bd-a: #1F6E4E; --bd-b: #B38A2E; --bd-bg: #F3F8EE; --bd-ink: #1E3A2C; }
.bd-page.t3 { --bd-a: #0A2A52; --bd-b: #F6A821; --bd-bg: #FFFFFF; --bd-ink: #0D1B34; }
.bd-orn { width: 12%; fill: var(--bd-a); transition: fill .4s; }
.bd-title { margin: 2% 0 0; font: 700 clamp(15px, 2.1vw, 24px)/1.2 "Noto Sans Tamil", var(--body); color: var(--bd-a); transition: color .4s; }
.bd-sub { margin: 0 0 6%; font: 600 clamp(10px, 1vw, 12px)/1 var(--body); letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.bd-top { width: 100%; display: flex; gap: 6%; align-items: flex-start; }
.bd-rows { flex: 1; margin: 0; display: grid; gap: 7px; font-size: clamp(10px, 1.1vw, 13px); }
.bd-rows div { display: grid; grid-template-columns: 7.2em 1fr; gap: 6px; border-bottom: 1px dotted var(--bd-b); padding-bottom: 4px; opacity: var(--row, 0); }
.bd-rows dt { opacity: .65; } .bd-rows dd { margin: 0; font-weight: 700; }
.bd-photo { width: 26%; aspect-ratio: 3 / 4; height: auto; border-radius: 3px; box-shadow: 0 0 0 3px var(--bd-bg), 0 0 0 4px var(--bd-b); }
.bd-chart { position: relative; margin-top: 7%; width: 62%; aspect-ratio: 1; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr);
  clip-path: inset(0 0 calc(100% - var(--chart, 0%)) 0); }
.bd-chart span { border: 1px solid var(--bd-a); margin: -.5px; }
.bd-chart b { grid-area: 2 / 2 / 4 / 4; display: grid; place-items: center; font: 700 clamp(12px, 1.5vw, 17px)/1 "Noto Sans Tamil", var(--body); color: var(--bd-a); border: 1px solid var(--bd-a); margin: -.5px; }
.bd-planets { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); }
.bd-chart em { grid-column: var(--c); grid-row: var(--r); align-self: center; justify-self: center; font: 700 clamp(9px, 1.05vw, 13px)/1 "Noto Sans Tamil", var(--body); font-style: normal; color: var(--bd-ink);
  opacity: 0; transform: translateY(-14px); }
.bd-chart em.on { opacity: 1; transform: none; transition: opacity .3s, transform .4s cubic-bezier(.34,1.5,.64,1); }
.bd-fit { position: absolute; bottom: 4%; margin: 0; font: 700 13px/1 var(--head); color: var(--green); opacity: var(--fit, 0); }
.bd-themes { justify-self: center; display: flex; gap: 10px; }
.bd-themes i { width: 14px; height: 14px; border-radius: 50%; background: #B3273A; box-shadow: 0 0 0 2px #fff, 0 0 0 3px transparent; transition: box-shadow .3s; }
.bd-themes i:nth-child(2) { background: #1F6E4E; } .bd-themes i:nth-child(3) { background: #0A2A52; }
.bd-themes i.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--amber); }

/* 9. Resume Maker */
.art-cv { width: 100%; max-width: 640px; justify-self: center; height: auto; display: grid; grid-template-columns: 38% 1fr; gap: 6%; align-items: center; align-content: center; }
.cv-phone { position: relative; aspect-ratio: 9 / 17; border-radius: 26px; background: #EFE7DC; padding: 22% 7% 8%; box-shadow: 0 0 0 7px #1D2A44, 0 30px 50px -24px rgba(13,27,52,.6); }
.cv-top { position: absolute; left: 0; right: 0; top: 0; margin: 0; padding: 9% 10% 7%; border-radius: 26px 26px 0 0; background: #1F6E5A; color: #fff; font: 600 13px/1 var(--body); }
.cv-chat { display: grid; gap: 8px; }
.cv-b { justify-self: start; max-width: 92%; margin: 0; padding: 7px 10px; border-radius: 4px 12px 12px 12px; background: #fff; font-size: clamp(10px, 1.05vw, 13px); line-height: 1.3;
  box-shadow: 0 1px 1px rgba(0,0,0,.12); opacity: 0; will-change: transform, opacity; position: relative; z-index: 3; }
.cv-page { position: relative; aspect-ratio: 1 / 1.414; background: #fff; border-radius: 4px; display: grid; grid-template-columns: 30% 1fr; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(13,27,52,.55), 0 0 0 1px var(--line); }
.cv-side { background: #2E4A73; padding: 16% 12%; display: grid; align-content: start; gap: 9px; transform-origin: top; transform: scaleY(var(--side, 0)); }
.cv-pic { width: 76%; aspect-ratio: 1; height: auto; border-radius: 50%; justify-self: center; margin-bottom: 10px; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.cv-side i { display: block; height: 4px; border-radius: 2px; background: #7D96BB; }
.cv-side i:nth-child(2n) { width: 70%; }
.cv-main { padding: 14% 10%; font-size: clamp(10px, 1.05vw, 13px); }
.cv-main h4 { margin: 12% 0 4px; font: 700 clamp(9px, .9vw, 11px)/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #E79200; }
.cv-main p { margin: 0; }
.cv-name { display: block; font: 800 clamp(15px, 1.9vw, 22px)/1.1 var(--head); color: var(--ink); }
.cv-role { display: block; color: var(--muted); font-size: .9em; margin-top: 2px; opacity: var(--role, 0); }
.cv-slot { opacity: var(--o, 0); }
.cv-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.cv-chips span { padding: 2px 7px; border-radius: 999px; background: var(--amber-soft); color: #8A5300; font-weight: 600; font-size: .9em; }

/* 10. Baby Name Generator */
.art-baby { width: 100%; aspect-ratio: 1; max-width: min(600px, 74svh); height: auto; justify-self: center; }
.bb-wheel-box { position: absolute; left: 0; top: 16%; width: 70%; aspect-ratio: 1; }
.bb-wheel { width: 100%; height: 100%; will-change: transform; overflow: visible; }
.bb-ring { fill: #FFF8EC; stroke: #F0D9A8; stroke-width: 2; }
.bb-ring-in { fill: #fff; }
.bb-stars text { font: 700 11px/1 var(--body); fill: #B9A57A; text-anchor: middle; }
.bb-stars text.pick { fill: #B23A55; font-size: 14px; }
.bb-now { position: absolute; left: 50%; top: -17%; transform: translateX(-50%); margin: 0; padding: 6px 14px; border-radius: 999px; background: #B23A55; color: #fff;
  font: 700 clamp(12px, 1.4vw, 16px)/1 var(--body); white-space: nowrap; box-shadow: 0 10px 20px -10px rgba(178,58,85,.7); }
.bb-stars circle { fill: #E8C47A; }
.bb-pointer { position: absolute; left: 50%; top: -6%; width: 22px; height: 26px; margin-left: -11px; background: #B23A55; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.bb-letters { position: absolute; inset: 30%; display: grid; grid-template-columns: 1fr 1fr; place-items: center; }
.bb-letters span { font: 700 clamp(18px, 2.6vw, 30px)/1 "Noto Sans Tamil", var(--body); color: #B23A55; opacity: 0; transform: scale(.4); }
.bb-letters span.on { opacity: 1; transform: none; transition: opacity .3s, transform .45s cubic-bezier(.34,1.6,.64,1); }
.bb-names { position: absolute; right: 0; top: 2%; width: 44%; display: grid; gap: 10px; }
.bb-names p { margin: 0; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 14px 30px -18px rgba(13,27,52,.45), inset 0 0 0 1px #F3DDE2;
  opacity: 0; transform: translateX(30px); }
.bb-names p.on { opacity: 1; transform: none; transition: opacity .35s, transform .5s cubic-bezier(.2,.8,.2,1); }
.bb-names b { display: block; font: 700 clamp(15px, 1.8vw, 21px)/1.3 "Noto Sans Tamil", var(--body); color: #B23A55; }
.bb-names span { font-size: 13px; color: var(--muted); }
.bb-cert { position: absolute; right: 4%; bottom: 0; width: 42%; opacity: 0; transform: translateY(20px) rotate(4deg) scale(.9); filter: drop-shadow(0 20px 22px rgba(13,27,52,.3)); }
.bb-cert.on { opacity: 1; transform: rotate(4deg); transition: opacity .4s, transform .6s cubic-bezier(.34,1.4,.64,1); }

/* 11. File Desk */
.art-files { width: 100%; aspect-ratio: 1; max-width: min(600px, 74svh); height: auto; justify-self: center; }
.fd-mess span { position: absolute; left: 50%; top: 50%; padding: 6px 10px 6px 26px; border-radius: 8px; background: #fff; white-space: nowrap;
  font: 500 12px/1.2 var(--body); color: var(--ink); box-shadow: 0 10px 20px -12px rgba(13,27,52,.45), inset 0 0 0 1px var(--line); will-change: transform, opacity; }
.fd-mess span::before { content: ""; position: absolute; left: 8px; top: 50%; width: 11px; height: 14px; margin-top: -7px; border-radius: 2px; background: #D4362F; }
.fd-mess span:nth-child(2n)::before { background: #3A6DB5; } .fd-mess span:nth-child(3n)::before { background: #2D8A6A; }
.fd-folder { position: absolute; left: 20%; top: 26%; width: 60%; opacity: 0; will-change: transform; }
.fd-search { position: absolute; left: 12%; right: 12%; top: 6%; height: 50px; border-radius: 999px; background: #fff; display: flex; align-items: center; padding: 0 22px 0 48px;
  box-shadow: 0 16px 30px -18px rgba(13,27,52,.5), inset 0 0 0 2px var(--amber); font: 600 18px/1 var(--body); opacity: var(--s-o, 0); transform: translateY(var(--s-y, -10px)); }
.fd-search::before { content: ""; position: absolute; left: 18px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-radius: 50%; border: 3px solid #7A4E06; }
.fd-search::after { content: ""; position: absolute; left: 32px; top: calc(50% + 2px); width: 3px; height: 9px; background: #7A4E06; transform: rotate(-45deg); border-radius: 2px; }
.fd-caret { width: 2px; height: 22px; background: var(--ink); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fd-result { position: absolute; left: 14%; right: 14%; bottom: 2%; padding: 18px 20px; border-radius: 18px; background: #fff;
  box-shadow: 0 30px 50px -26px rgba(13,27,52,.55), inset 0 0 0 1px var(--line); opacity: var(--r-o, 0); transform: translateY(var(--r-y, 20px)); }
.fd-who { margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fd-who b { font: 700 18px/1 var(--head); } .fd-who span { font-size: 13px; color: var(--muted); }
.fd-result ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fd-result li { padding: 8px 10px; border-radius: 10px; background: var(--cream); font-size: 13px; font-weight: 600; }

/* 12. Evening */
.scene-eve { background: var(--eve-bg, #fff); color: var(--eve-ink, var(--ink)); }
.scene-eve .lead { color: inherit; opacity: .78; }
.scene-eve .chip { background: var(--eve-chip, var(--amber-soft)); }
.art-eve { width: 100%; max-width: 620px; justify-self: center; height: min(100%, 620px); }
.ev-books, .ev-night { position: absolute; inset: 0; display: grid; align-content: center; }
.ev-books { grid-template-columns: 46% 1fr; gap: 6%; align-items: center; }
.ev-roll { filter: drop-shadow(0 24px 24px rgba(13,27,52,.25)); }
.ev-roll .tile-art { width: 160%; margin-left: -30%; }
.ev-sum { padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -30px rgba(13,27,52,.5), inset 0 0 0 1px var(--line); color: var(--ink); }
.ev-sum p { margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--muted); }
.ev-sum b { font: 800 22px/1 var(--head); color: var(--ink); font-variant-numeric: tabular-nums; }
.ev-exp { margin: 4px 0 12px; }
.ev-earn { padding-top: 12px; border-top: 2px dashed var(--line); }
.ev-earn b { font-size: 30px; color: var(--green); }
.ev-night { opacity: 0; }
.ev-night .shop-wrap { padding-top: 4svh; -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(#000 90%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(#000 90%, transparent); mask-composite: intersect; }
.ev-night .shop-wrap svg { width: 100%; height: 100%; overflow: visible; }
.ev-stars { position: absolute; inset: -10% -20% 30%; background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #fff, transparent),
  radial-gradient(1.5px 1.5px at 40% 70%, #fff, transparent), radial-gradient(1px 1px at 85% 55%, #fff, transparent), radial-gradient(1px 1px at 10% 80%, #fff, transparent),
  radial-gradient(2px 2px at 55% 40%, #FFE9B0, transparent), radial-gradient(1px 1px at 30% 10%, #fff, transparent); opacity: var(--stars, 0); }
.night-shop { filter: brightness(var(--dim, 1)) saturate(var(--sat, 1)); }

/* Shared: a line in many Indian languages, headings that rise */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tongue { display: inline-block; margin: 0 0 14px; padding: 6px 16px; border-radius: 999px; background: var(--amber-soft); color: #8A5300;
  font: 700 clamp(15px, 1.6vw, 19px)/1.3 var(--body); min-width: 6em; text-align: center; }
.tongue.flip, .hc-say.flip { animation: flip-in .55s cubic-bezier(.2,.8,.2,1); }
@keyframes flip-in { 0% { opacity: 0; transform: translateY(10px) rotateX(70deg); } }
.rise .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.rise .w > span { display: inline-block; transform: translateY(105%); transition: transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d); }
.rise.in .w > span { transform: none; }
.chip-hi { margin-left: 2px; padding: 3px 10px; border-radius: 999px 999px 999px 4px; background: var(--navy); color: #fff; font: 600 12px/1.3 var(--body); font-style: normal;
  animation: hi-pop 3s ease-in-out infinite; }
@keyframes hi-pop { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-3px) rotate(-3deg); } 90% { transform: translateY(0) rotate(2deg); } }
.btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.btn-line:hover { background: rgba(255,255,255,.08); }

/* Live across India (real numbers, turned on in the admin panel after launch) */
.live { margin: 40px auto 0; max-width: 860px; padding: 20px 24px; border-radius: 22px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.live[hidden] { display: none; }
.live-head { margin: 0 0 14px; display: flex; align-items: center; justify-content: center; gap: 10px; font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #9FE6C8; }
.live-head i { width: 10px; height: 10px; border-radius: 50%; background: #22C38E; box-shadow: 0 0 0 0 rgba(34,195,142,.7); animation: live-ping 1.6s infinite; }
@keyframes live-ping { 70% { box-shadow: 0 0 0 12px rgba(34,195,142,0); } 100% { box-shadow: 0 0 0 0 rgba(34,195,142,0); } }
.live-nums { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.live-nums div { display: flex; flex-direction: column-reverse; gap: 6px; }
.live-nums dt { font-size: 13px; color: #C9D3E6; }
.live-nums dd { margin: 0; font: 800 clamp(28px, 3.6vw, 44px)/1 var(--head); color: #fff; font-variant-numeric: tabular-nums; }

/* Tools: the honeycomb */
.tools { padding: clamp(80px, 12vw, 150px) 0; text-align: center; background:
  radial-gradient(60% 50% at 50% 55%, rgba(246,168,33,.14), transparent 70%), linear-gradient(var(--paper), var(--cream)); overflow: hidden; }
.tools h2, .tools .lead { margin-left: auto; margin-right: auto; }
.hc-search { position: relative; display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 32px auto 8px; padding: 0 22px; height: 60px; border-radius: 999px;
  background: #fff; box-shadow: 0 20px 40px -24px rgba(13,27,52,.45), inset 0 0 0 2px var(--amber); }
.hc-search svg { width: 22px; flex: none; fill: none; stroke: #7A4E06; stroke-width: 2.6; stroke-linecap: round; }
.hc-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 18px/1 var(--body); color: var(--ink); }
.hc-search input::placeholder { color: #A39C8B; font-weight: 500; }
.hc-search:focus-within { box-shadow: 0 20px 40px -24px rgba(13,27,52,.45), inset 0 0 0 3px var(--amber-deep); }
.hc-caret { width: 2px; height: 24px; background: var(--ink); animation: blink 1s steps(1) infinite; }
.hc { --w: clamp(150px, 13vw, 190px); margin: 34px auto 0; display: flex; flex-direction: column; align-items: center; }
.hc-row { display: flex; gap: 10px; }
.hc-row + .hc-row { margin-top: calc(var(--w) * -0.2887 + 9px); }
.hex { position: relative; display: block; flex: none; width: var(--w); height: calc(var(--w) * 1.1547); border: 0; padding: 0; cursor: pointer; background: #fff; color: var(--ink);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), background .3s, opacity .3s, filter .3s; filter: drop-shadow(0 10px 14px rgba(13,27,52,.12));
  animation: hex-in .7s cubic-bezier(.2,.9,.25,1.2) both; animation-delay: calc(var(--i) * 60ms); animation-play-state: paused; }
.tools .hc .hex { animation-play-state: running; }
@keyframes hex-in { from { transform: scale(.4) rotate(-30deg); opacity: 0; } }
.hex::before { content: ""; position: absolute; inset: 4px; clip-path: inherit; background: linear-gradient(160deg, #fff, #FBF6EA); z-index: -1; }
.hex-in { position: absolute; inset: 22% 14% 14%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.hex .tile-art { width: 100%; height: auto; pointer-events: none; }
.hex b { font: 700 clamp(12px, 1.05vw, 14px)/1.15 var(--head); text-align: center; }
.hex:nth-child(odd) { background: var(--amber); }
.hex:nth-child(even) { background: var(--navy); }
.hex:hover, .hex:focus-visible, .hex.on { transform: translateY(-6px) scale(1.07); z-index: 2; filter: drop-shadow(0 18px 24px rgba(13,27,52,.28)); outline: none; }
.hex.on::before { background: linear-gradient(160deg, #FFFDF6, #FFF0CC); }
.hex.hit { transform: translateY(-6px) scale(1.1); }
.hex.dim { opacity: .35; filter: grayscale(.7); }
.hc-say { margin: 26px auto 0; max-width: 560px; min-height: 3.2em; display: flex; flex-direction: column; gap: 2px; }
.hc-say b { font: 800 22px/1.2 var(--head); }
.hc-say span { color: var(--muted); }
.pc-facts { margin: 56px auto 0; max-width: 1080px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.pc-facts p { margin: 0; padding: 18px 18px 18px 22px; border-left: 3px solid var(--amber); opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.pc-facts p:nth-child(2) { transition-delay: .1s; } .pc-facts p:nth-child(3) { transition-delay: .2s; } .pc-facts p:nth-child(4) { transition-delay: .3s; }
.pc-facts p.in { opacity: 1; transform: none; }
.pc-facts b { display: block; font: 700 17px/1.25 var(--head); margin-bottom: 4px; }
.pc-facts span { font-size: 14px; color: var(--muted); }
.cta-center { justify-content: center; margin-top: 44px; }

/* Partners: the network and the turning cards */
.partners { padding: clamp(80px, 12vw, 150px) 0; background: radial-gradient(70% 60% at 50% 30%, #11376A, var(--navy) 70%); color: #fff; position: relative; overflow: hidden; text-align: center; }
.partners h2, .partners .lead { margin-left: auto; margin-right: auto; }
.partners .lead { color: #C9D3E6; }
.partners .tongue { background: rgba(246,168,33,.16); color: var(--amber); }
.net-box { margin: 40px auto 0; max-width: 1000px; opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.net-box.in { opacity: 1; transform: none; }
.net { width: 100%; height: auto; overflow: visible; }
.net-line { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 2; stroke-dasharray: 4 6; animation: dash 1.2s linear infinite; }
.net-line-s { stroke: rgba(255,255,255,.14); }
@keyframes dash { to { stroke-dashoffset: -20; } }
.net-pulse { fill: var(--amber); filter: drop-shadow(0 0 6px rgba(246,168,33,.9)); }
.net-master use { fill: var(--amber); filter: drop-shadow(0 0 18px rgba(246,168,33,.6)); }
.net-dist use { fill: #fff; }
.net-master { animation: breathe 3s ease-in-out infinite; transform-box: fill-box; }
@keyframes breathe { 50% { opacity: .85; } }
.net-ring { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.25); }
.net-shop-b { fill: #FFF3D1; } .net-shop-a { fill: #D62839; }
.net-shop.lit .net-ring { animation: lit 1s ease-out; }
@keyframes lit { 0% { fill: rgba(34,195,142,.6); stroke: #22C38E; } 100% { fill: rgba(255,255,255,.08); } }
.net-label { fill: #C9D3E6; font: 600 14px/1 var(--body); text-anchor: middle; }
.net-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; counter-reset: n; }
.net-steps li { counter-increment: n; padding: 14px 16px 14px 52px; position: relative; border-radius: 14px; background: rgba(255,255,255,.05); }
.net-steps li::before { content: counter(n); position: absolute; left: 14px; top: 14px; width: 26px; height: 28px; display: grid; place-items: center; font: 800 13px/1 var(--head);
  color: var(--ink); background: var(--amber); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.net-steps b { display: block; font: 700 16px/1.3 var(--head); }
.net-steps span { font-size: 14px; color: #C9D3E6; }
.net-note { margin: 10px 0 0; font-size: 12px; color: #8EA0C0; }
.pt-cards { margin: 48px auto 0; max-width: 1000px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; perspective: 1400px; }
.pt-card { position: relative; min-height: 250px; border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .6s; opacity: 0; }
.pt-card.in { opacity: 1; }
.pt-card:hover:not(.flipped) { transform: rotateY(-8deg) rotateX(4deg); }
.pt-card.flipped { transform: rotateY(180deg); }
.pt-side { position: absolute; inset: 0; padding: 30px; border-radius: 24px; display: flex; flex-direction: column; gap: 10px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(150deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); overflow: hidden; }
.pt-front::after { content: ""; position: absolute; right: -40px; bottom: -50px; width: 180px; height: 200px; background: var(--amber); opacity: .12; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.pt-back { transform: rotateY(180deg); background: linear-gradient(150deg, #F6A821, #E08A00); color: var(--ink); box-shadow: none; }
.pt-hex { width: 44px; height: 48px; background: var(--amber); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); animation: spin-hex 8s linear infinite; }
.pt-master .pt-hex { background: linear-gradient(135deg, #FFD36B, var(--amber-deep)); animation-duration: 5s; }
@keyframes spin-hex { to { transform: rotate(360deg); } }
.pt-role { font: 800 28px/1.1 var(--head); }
.pt-line { color: #C9D3E6; font-size: 17px; }
.pt-turn { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--amber); }
.pt-list { display: grid; gap: 10px; }
.pt-list span { padding-left: 26px; position: relative; font-weight: 600; }
.pt-list span::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }
.pt-back .pt-role { font-size: 20px; }
.pt-soon { position: relative; margin: 20px auto 0; max-width: 1000px; padding: 18px 22px; border-radius: 16px; border: 1.5px dashed rgba(246,168,33,.6); display: flex; flex-wrap: wrap;
  justify-content: center; gap: 6px 14px; align-items: baseline; overflow: hidden; }
.pt-soon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(246,168,33,.18) 50%, transparent 70%); transform: translateX(-100%); animation: shimmer 3.2s ease-in-out infinite; }
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }
.pt-soon b { color: var(--amber); font: 700 17px/1.2 var(--head); }
.pt-soon span { color: #C9D3E6; }
.partners .btn:not(.btn-line) { background: var(--amber); color: var(--ink); }

/* Contact */
.contact { position: relative; padding: clamp(80px, 12vw, 150px) 0; background: var(--cream); text-align: center; overflow: hidden; }
.contact h2, .contact .lead { margin-left: auto; margin-right: auto; }
.contact-words { position: absolute; inset: 0; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px 40px; transform: rotate(-8deg) scale(1.25);
  pointer-events: none; opacity: .07; }
.contact-words span { font: 800 clamp(28px, 4.4vw, 60px)/1.3 var(--body); color: var(--navy); white-space: nowrap; animation: drift 14s ease-in-out infinite alternate; }
.contact-words span:nth-child(2n) { animation-direction: alternate-reverse; color: var(--amber-deep); }
@keyframes drift { to { transform: translateX(60px); } }
.contact .wrap { position: relative; }
.ct-card { margin: 36px auto 0; max-width: 760px; padding: 18px; border-radius: 26px; background: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  box-shadow: 0 40px 70px -40px rgba(13,27,52,.5), inset 0 0 0 1px var(--line); opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1); }
.ct-card.in { opacity: 1; transform: none; }
.ct-item { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--cream); text-decoration: none; text-align: left; margin: 0;
  transition: transform .3s, background .3s; }
.ct-item[hidden] { display: none; }
a.ct-item:hover { transform: translateY(-3px); background: var(--amber-soft); }
.ct-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: var(--navy); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.ct-ico svg { width: 20px; fill: #fff; }
.ct-wa .ct-ico { background: #1FA855; }
.ct-item small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ct-item b { font: 700 17px/1.3 var(--head); word-break: break-word; }
.ct-addr { grid-column: 1 / -1; }
.ct-wait { grid-column: 1 / -1; margin: 0; padding: 18px; color: var(--muted); }
.ct-wait[hidden] { display: none; }

/* Footer: a bill from the counter */
.foot { position: relative; padding: 70px 16px 110px; background: #0B1630; overflow: hidden; }
.printer { position: relative; z-index: 2; width: min(460px, 92%); height: 30px; margin: 0 auto; border-radius: 12px 12px 6px 6px; background: linear-gradient(#34425F, #1D2A44);
  box-shadow: 0 10px 20px -6px rgba(0,0,0,.5); }
.printer i { position: absolute; left: 8%; right: 8%; bottom: 6px; height: 5px; border-radius: 3px; background: #0B1220; }
.bill { position: relative; width: min(400px, 84%); margin: -6px auto 0; overflow: hidden; padding-bottom: 14px; }
.bill-paper { position: relative; padding: 30px 26px 26px; background: #FFFDF7; color: #1D2433; font: 500 14px/1.5 "Courier New", ui-monospace, monospace;
  transform: translateY(-101%); transition: transform 1.6s steps(14, end);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x; }
.foot.in .bill-paper { transform: none; }
.bill-head { margin: 0 0 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.bill-head b { font: 800 22px/1 var(--head); letter-spacing: .18em; }
.bill-head small { font-size: 11px; letter-spacing: .06em; color: #6B7385; }
.bill-no { margin: 0; display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 2px dashed #C9CFDB; font-size: 12px; }
.bill-lines { display: grid; padding: 8px 0; border-bottom: 2px dashed #C9CFDB; }
.bill-lines a { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; text-decoration: none; color: inherit; }
.bill-lines a::after { content: ""; order: 1; flex: 1; border-bottom: 2px dotted #C9CFDB; transform: translateY(-4px); }
.bill-lines em { order: 2; font-style: normal; font-weight: 700; }
.bill-lines a:hover span { color: var(--amber-deep); text-decoration: underline; }
.bill-total { margin: 10px 0 0; display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; }
.bill-note { margin: 4px 0 16px; font-size: 12px; color: #6B7385; text-align: center; }
.bill-thanks { margin: 0; text-align: center; font: 700 30px/1.4 var(--body); color: var(--amber-deep); min-height: 1.4em; }
.bill-thanks span { display: inline-block; }
.bill-thanks span.flip { animation: stamp .5s cubic-bezier(.3,1.6,.6,1); }
@keyframes stamp { 0% { transform: scale(1.8) rotate(-8deg); opacity: 0; } }
.bill-code { display: block; width: 70%; margin: 14px auto 6px; stroke: #1D2433; stroke-width: 1.4; }
.bill-copy { margin: 0; text-align: center; font-size: 11px; color: #6B7385; }

/* A policy page */
.legal-page { background: var(--paper); }
.read-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 30; height: 4px; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); }
.legal-hero { position: relative; padding: 140px 0 40px; background: linear-gradient(var(--cream), var(--paper)); overflow: hidden; }
.legal-hero h1 { font-size: clamp(36px, 6vw, 72px); }
.legal-meta { color: var(--muted); }
.paper-stack { position: absolute; right: 6%; top: 90px; width: 180px; height: 230px; }
.paper-stack i { position: absolute; inset: 0; border-radius: 6px; background: #fff; box-shadow: 0 20px 40px -20px rgba(13,27,52,.35), inset 0 0 0 1px var(--line);
  background-image: repeating-linear-gradient(#fff 0 22px, #E9E3D3 22px 24px); background-size: 70% 100%; background-position: 50% 40px; background-repeat: no-repeat;
  animation: shuffle 6s ease-in-out infinite; }
.paper-stack i:nth-child(1) { transform: rotate(-8deg); animation-delay: -2s; }
.paper-stack i:nth-child(2) { transform: rotate(4deg); animation-delay: -4s; }
@keyframes shuffle { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.legal-tabs a { padding: 9px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.legal-tabs a[aria-current] { background: var(--navy); color: #fff; box-shadow: none; }
.legal-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding-top: 30px; padding-bottom: 80px; }
.legal-toc { position: sticky; top: 90px; align-self: start; font-size: 14px; }
.legal-toc p { margin: 0 0 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; color: var(--muted); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border-left: 2px solid var(--line); }
.legal-toc a { display: block; padding: 5px 12px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); transition: color .2s, border-color .2s; }
.legal-toc a.on { color: var(--ink); border-left-color: var(--amber); font-weight: 600; }
.legal-body { max-width: 720px; font-size: 17px; line-height: 1.75; }
.legal-body.in > * { animation: rise-in .6s cubic-bezier(.2,.8,.2,1) both; }
.legal-body.in > *:nth-child(n+6) { animation: none; }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } }
.legal-body h2 { display: flex; align-items: center; gap: 12px; margin: 1.8em 0 .5em; font-size: 26px; scroll-margin-top: 90px; }
.legal-n { flex: none; width: 34px; height: 38px; display: grid; place-items: center; font: 800 14px/1 var(--head); background: var(--amber);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.legal-body ul { padding-left: 1.2em; }
.legal-body li { margin: .35em 0; }
.legal-body li::marker { color: var(--amber-deep); }
.legal-wait { display: flex; gap: 8px; padding: 40px 0; }
.legal-wait i { width: 12px; height: 12px; border-radius: 50%; background: var(--amber); animation: dots 1s ease-in-out infinite; }
.legal-wait i:nth-child(2) { animation-delay: .15s; } .legal-wait i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { transform: translateY(-10px); opacity: .4; } }
.legal-fail { color: var(--muted); }


/* Night: the clock and the bar follow the sky */
.night .day { background: rgba(16,26,48,.9); color: #9AA6BF; box-shadow: 0 10px 30px -12px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.12); }
.night .day b { color: #fff; }
.night .day-sun { fill: #F3F1E6; filter: drop-shadow(0 0 4px rgba(255,255,255,.7)); }
.night .top { background: rgba(10,18,36,.72); border-bottom-color: rgba(255,255,255,.08); }
.night .top .brand, .night .nav a { color: #E8EDF6; }
.top, .day { transition: background .5s, color .5s, border-color .5s; }

/* Opening: the shop travels across India */
.place { position: absolute; left: 50%; top: 2%; z-index: 3; transform: translateX(-50%); margin: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 12px; border-radius: 999px; background: #fff; box-shadow: 0 12px 30px -14px rgba(13,27,52,.45), inset 0 0 0 1px var(--line); white-space: nowrap;
  opacity: var(--place-o, 0); transition: opacity .4s; }
.place svg { width: 13px; fill: var(--red); }
.place b { font: 700 14px/1 var(--head); }
.place span { font: 600 15px/1.2 var(--body); color: var(--amber-deep); }
.place.swap b, .place.swap span { animation: swap .6s cubic-bezier(.2,.8,.2,1); }
@keyframes swap { 0% { opacity: 0; transform: translateY(8px); } }
#shop .b { transition: opacity .9s; }
#shop #palm, #shop #neem { transition: opacity .9s; }

/* Every state, every language */
.india { padding: clamp(70px, 10vw, 130px) 0 clamp(60px, 8vw, 110px); background: var(--navy); color: #fff; overflow: hidden; text-align: center; }
.india h2 em { color: var(--amber); }
.india .lead { color: #C9D3E6; margin: 0 auto; }
.india .kicker { color: var(--amber); }
.hello { margin-top: clamp(36px, 5vw, 60px); display: grid; gap: 14px; }
.hello-row { display: flex; gap: 14px; width: max-content; will-change: transform; }
.hello-row span { display: inline-flex; align-items: baseline; gap: 10px; padding: 14px 22px; border-radius: 999px; background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); white-space: nowrap; }
.hello-row b { font: 700 clamp(18px, 2.2vw, 26px)/1.2 var(--body); color: #fff; }
.hello-row i { font: 600 12px/1 var(--body); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.hello-row span:nth-child(3n) { background: rgba(246,168,33,.14); box-shadow: inset 0 0 0 1px rgba(246,168,33,.35); }
@media (max-width: 860px) {
  .place { top: 0; padding: 6px 12px 6px 10px; } .place b { font-size: 12px; } .place span { font-size: 13px; }
  .hello-row span { padding: 10px 16px; }
}

/* Phones and small tablets */
@media (max-width: 860px) {
  .nav { display: none; }
  .top { justify-content: space-between; }
  .stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 12px; padding-top: 76px; padding-bottom: 76px; }
  .lead { font-size: 15px; margin-bottom: .6em; }
  .kicker { margin-bottom: 10px; font-size: 11px; }
  .chip { margin-bottom: 10px; font-size: 12px; }
  h1 { font-size: clamp(28px, 8vw, 40px); }
  h2 { font-size: clamp(28px, 8.5vw, 40px); margin-bottom: .2em; }
  .steps { margin-top: 8px; }
  .steps li { display: none; padding: 4px 0 4px 44px; min-height: 42px; }
  .steps li.on { display: block; }
  .steps li::before { top: 2px; width: 30px; height: 34px; }
  .steps li b { font-size: 16px; }
  .steps li span { font-size: 14px; }
  .art { align-self: stretch; }
  .art-pass, .art-pdf, .art-baby, .art-files { align-self: center; width: min(100%, 44svh); }
  .art-sign, .art-card, .art-clean, .art-bio, .art-cv { gap: 12px; align-self: center; }
  .art-clean { width: min(100%, 34svh); }
  .art-bio { width: min(100%, 30svh); }
  .art-cv { grid-template-columns: 36% 1fr; width: min(100%, 48svh); }
  .stage-wide { padding-top: 84px; }
  .street { max-height: none; height: auto; }
  .art-street { align-self: center; }
  .bb-wheel-box { width: 58%; top: 18%; }
  .bb-names { width: 46%; }
  .bb-cert { width: 30%; right: auto; left: 8%; bottom: 0; }
  .art-eve { align-self: center; height: 44svh; width: min(100%, 52svh); }
  .ev-sum { padding: 14px; } .ev-sum b { font-size: 17px; } .ev-earn b { font-size: 22px; } .ev-sum p { font-size: 13px; margin-bottom: 6px; }
  .bb-names { gap: 6px; } .bb-names p { padding: 7px 10px; } .bb-names span { font-size: 11px; }
  .fd-search { height: 40px; font-size: 15px; }
  .fd-mess span { font-size: 10px; }
  .pd-page::after { width: 18px; height: 20px; right: -6px; top: -6px; font-size: 10px; }
  .pc-facts { grid-template-columns: 1fr 1fr; }
  .pt-cards { grid-template-columns: 1fr; }
  .net-steps { grid-template-columns: 1fr; }
  .net-label { font-size: 22px; }
  .live-nums { grid-template-columns: 1fr 1fr; }
  .hc { --w: 34vw; display: grid; grid-template-columns: repeat(2, var(--w)); width: calc(var(--w) * 2.5 + 8px); column-gap: 6px; margin-left: auto; margin-right: auto; }
  .hc-row { display: contents; }
  .hc-row + .hc-row { margin-top: 0; }
  .hex { margin-bottom: calc(var(--w) * -0.2887 + 6px); }
  .hex.sh { translate: calc(var(--w) / 2 + 3px) 0; }
  .hex b { font-size: 12px; }
  .hc-search { height: 52px; } .hc-search input { font-size: 16px; }
  .hc-say { margin-top: 48px; }
  .ct-card { grid-template-columns: 1fr; }
  .paper-stack { display: none; }
  .legal-wrap { grid-template-columns: 1fr; gap: 0; }
  .legal-toc { display: none; }
  .legal-hero { padding-top: 110px; }
  .day { padding: 6px 14px 6px 8px; left: 50%; transform: translateX(-50%); bottom: 12px; }
  .day-arc { width: 38px; }
  .scene-open .cta .btn-ghost { display: none; }
  .hint { top: calc(100svh - 120px); }
}

/* People who asked for less movement get the finished pictures */
.still .scene { height: auto; }
.still .stage { position: relative; height: auto; min-height: 0; padding-top: 96px; }
.still .hint, .still .day { display: none; }
.still .pc-facts p, .still .pt-card, .still .ct-card, .still .net-box { opacity: 1; transform: none; }
.still .bill-paper { transform: none; }
@media (prefers-reduced-motion: reduce) { .play * { animation: none !important; } }
.bd-title, .bd-chart b, .bd-chart em, .bd-rows dt, .bd-rows dd { font-family: var(--bd-font, "Noto Sans Tamil"), var(--body); }

/* WhatsApp in the corner: a pulse, and a hello in a different language each time */
.wa { position: fixed; right: max(16px, 2vw); bottom: 20px; z-index: 25; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-btn { position: relative; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: #1FA855; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(31,168,85,.8); transition: transform .3s cubic-bezier(.3,1.6,.6,1); }
.wa-btn svg { width: 32px; fill: #fff; }
.wa-btn::before, .wa-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1FA855; animation: wa-ring 2.4s ease-out infinite; }
.wa-btn::after { animation-delay: 1.2s; }
@keyframes wa-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }
.wa-btn:hover { transform: scale(1.1) rotate(-8deg); }
.wa-hi { padding: 8px 14px; border-radius: 16px 16px 4px 16px; background: #fff; color: var(--ink); font: 600 14px/1.3 var(--body); white-space: nowrap;
  box-shadow: 0 12px 30px -12px rgba(13,27,52,.45); transform-origin: 100% 100%; opacity: 0; transform: scale(.4) translateY(10px); transition: opacity .35s, transform .45s cubic-bezier(.3,1.6,.6,1); pointer-events: none; }
.wa-hi.on { opacity: 1; transform: none; }
.wa-card { width: min(300px, calc(100vw - 32px)); padding: 18px; border-radius: 20px 20px 6px 20px; background: #fff; box-shadow: 0 30px 60px -24px rgba(13,27,52,.55), inset 0 0 0 1px var(--line);
  animation: wa-open .45s cubic-bezier(.3,1.5,.6,1); transform-origin: 100% 100%; }
.wa-card[hidden] { display: none; }
@keyframes wa-open { from { opacity: 0; transform: scale(.5); } }
.wa-title { margin: 0 0 6px; font: 800 17px/1.2 var(--head); color: #1FA855; }
.wa-text { margin: 0; font-size: 14px; color: var(--muted); }
.wa-text a { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) { .wa { bottom: 76px; } .wa-btn { width: 54px; height: 54px; } .wa-hi { font-size: 13px; } }
.still .wa-btn::before, .still .wa-btn::after { animation: none; display: none; }
