/* Gujarati સ્કેન: Liquid Glass UI. Blurred living wallpaper, translucent glass panels, springy motion. */

@font-face { font-family: 'SG Gujarati'; src: url(../fonts/noto-gu-400.woff2) format('woff2'); font-weight: 100 500; font-display: swap; unicode-range: U+0A80-0AFF, U+200C-200D, U+25CC; }
@font-face { font-family: 'SG Gujarati'; src: url(../fonts/noto-gu-700.woff2) format('woff2'); font-weight: 600 900; font-display: swap; unicode-range: U+0A80-0AFF, U+200C-200D, U+25CC; }
@font-face { font-family: 'GopikaBB'; src: url(../fonts/GopikaTwo-BhashaBharti.ttf) format('truetype'); font-display: block; }
@font-face { font-family: 'GopikaAR'; src: url(../fonts/GopikaTwo-Arpita.ttf) format('truetype'); font-display: block; }

:root {
  --font: 'SG Gujarati', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI Variable Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --display: 'SG Gujarati', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI Variable Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --doc-font: 'Shruti', 'SG Gujarati', 'Gujarati Sangam MN', sans-serif;
  --gopika: 'GopikaBB';
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --soft: cubic-bezier(.2, .8, .2, 1);

  --bg: #eceef7;
  --ink: #0c0d12;
  --ink-2: rgba(12, 13, 18, .62);
  --ink-3: rgba(12, 13, 18, .42);
  --on-ink: #ffffff;
  --glass-bg: rgba(255, 255, 255, .36);
  --glass-strong: rgba(255, 255, 255, .7);
  --glass-edge: rgba(255, 255, 255, .85);
  --glass-edge-2: rgba(255, 255, 255, .32);
  --sheen: .75;
  --paper: rgba(255, 255, 255, .86);
  --hairline: rgba(12, 13, 18, .08);
  --field-bg: rgba(255, 255, 255, .62);
  --field-line: rgba(12, 13, 18, .1);
  --fill: rgba(120, 120, 140, .12);
  --fade: rgba(236, 238, 247, .94);
  --shadow: 0 1px 2px rgba(20, 20, 50, .05), 0 22px 50px -24px rgba(35, 25, 90, .45);
  --green: #34c759;
  --green-ink: #168a42;
  --violet: #6e52f2;
  --red: #ff3b30;
  --blob-a: .78;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08090f;
    --ink: #f5f5f7;
    --ink-2: rgba(245, 245, 247, .68);
    --ink-3: rgba(245, 245, 247, .44);
    --on-ink: #0c0d12;
    --glass-bg: rgba(30, 32, 44, .42);
    --glass-strong: rgba(24, 26, 36, .78);
    --glass-edge: rgba(255, 255, 255, .2);
    --glass-edge-2: rgba(255, 255, 255, .07);
    --sheen: .22;
    --paper: rgba(22, 24, 32, .86);
    --hairline: rgba(255, 255, 255, .09);
    --field-bg: rgba(255, 255, 255, .07);
    --field-line: rgba(255, 255, 255, .13);
    --fill: rgba(150, 150, 170, .14);
    --fade: rgba(8, 9, 15, .94);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 54px -24px rgba(0, 0, 0, .85);
    --green-ink: #5fe08f;
    --blob-a: .5;
    color-scheme: dark;
  }
}
:root[data-gopika="arpita"] { --gopika: 'GopikaAR'; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid #2f7bff; outline-offset: 3px; }
[hidden] { display: none !important; }
svg[aria-hidden="true"] { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.i-dots { stroke-width: 3.4 !important; }
.muted { color: var(--ink-2); }

/* ---------- living wallpaper ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; opacity: var(--blob-a); will-change: transform; }
.b1 { width: 75vmax; height: 75vmax; left: -28vmax; top: -30vmax; background: radial-gradient(circle, #ff9f0a 0%, rgba(255, 159, 10, 0) 64%); animation: drift1 28s ease-in-out infinite alternate; }
.b2 { width: 70vmax; height: 70vmax; right: -30vmax; top: -22vmax; background: radial-gradient(circle, #ff375f 0%, rgba(255, 55, 95, 0) 64%); animation: drift2 32s ease-in-out infinite alternate; }
.b3 { width: 80vmax; height: 80vmax; left: -30vmax; bottom: -40vmax; background: radial-gradient(circle, #30d158 0%, rgba(48, 209, 88, 0) 64%); animation: drift3 30s ease-in-out infinite alternate; }
.b4 { width: 70vmax; height: 70vmax; right: -28vmax; bottom: -32vmax; background: radial-gradient(circle, #40c8ff 0%, rgba(64, 200, 255, 0) 64%); animation: drift1 36s ease-in-out infinite alternate-reverse; }
.b5 { width: 55vmax; height: 55vmax; left: 25%; top: 25%; background: radial-gradient(circle, #a259ff 0%, rgba(162, 89, 255, 0) 64%); animation: drift2 40s ease-in-out infinite alternate-reverse; opacity: calc(var(--blob-a) * .7); }
@keyframes drift1 { to { transform: translate(14vmax, 10vmax) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-12vmax, 14vmax) scale(.9); } }
@keyframes drift3 { to { transform: translate(10vmax, -12vmax) scale(1.08); } }
.grain {
  position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- glass ---------- */
.glass, .glass-strong {
  position: relative;
  isolation: isolate;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
  backdrop-filter: blur(28px) saturate(185%);
  border-radius: var(--r, 28px);
  box-shadow: inset 0 1px 0 var(--glass-edge), inset 0 0 0 1px var(--glass-edge-2), var(--shadow);
}
.glass-strong { background: var(--glass-strong); }
.glass::before, .glass-strong::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background:
    linear-gradient(158deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(338deg, rgba(255, 255, 255, .25) 0%, rgba(255, 255, 255, 0) 28%);
  opacity: var(--sheen);
}
.glass-paper {
  position: relative;
  background: var(--paper);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 var(--glass-edge), inset 0 0 0 1px var(--glass-edge-2), var(--shadow);
}

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  font: 650 16.5px/1 var(--font); letter-spacing: -.01em; white-space: nowrap; text-decoration: none;
  transition: transform .45s var(--spring), box-shadow .25s, background .25s, opacity .2s;
  user-select: none; -webkit-user-select: none;
}
.btn svg { width: 21px; height: 21px; stroke-width: 2.1; }
.btn:active:not(:disabled) { transform: scale(.94); }
.btn:disabled { opacity: .38; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: var(--on-ink); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .55); }
.btn-green { background: linear-gradient(180deg, #4fdc6e, #25b34a); color: #fff; box-shadow: 0 14px 30px -12px rgba(37, 179, 74, .8), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-danger { background: var(--red); color: #fff; }
.btn-glass {
  background: var(--glass-bg); color: var(--ink);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 var(--glass-edge), inset 0 0 0 1px var(--glass-edge-2), 0 10px 26px -16px rgba(30, 20, 80, .5);
}
.btn.loading { color: transparent !important; pointer-events: none; position: relative; }
.btn.loading::after {
  content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid var(--on-ink); border-right-color: transparent; animation: spin .7s linear infinite;
}
.btn-round { width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; --r: 50%; color: var(--ink); transition: transform .45s var(--spring); }
.btn-round:active { transform: scale(.9); }
.btn-round svg { width: 24px; height: 24px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; --r: 50%; color: var(--ink); transition: transform .45s var(--spring); }
.icon-btn:active { transform: scale(.9); }
.icon-btn svg { width: 22px; height: 22px; }
.chip-btn { height: 40px; padding: 0 14px; border: 0; border-radius: 999px; --r: 999px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: 650 14px/1 var(--font); color: var(--ink); transition: transform .45s var(--spring); }
.chip-btn:active { transform: scale(.94); }
.chip-btn svg { width: 18px; height: 18px; }
.link { background: none; border: 0; padding: 6px 2px; cursor: pointer; font: 650 15px/1.2 var(--font); color: #1a8f47; display: inline-flex; align-items: center; gap: 6px; }
.link:disabled { color: var(--ink-3); cursor: default; }
.link svg { width: 18px; height: 18px; }
@media (prefers-color-scheme: dark) { .link { color: #5fe08f; } }

.field, .glass-field {
  width: 100%; height: 56px; border-radius: 18px; border: 0;
  background: var(--field-bg); box-shadow: inset 0 0 0 1px var(--field-line);
  font-size: 18px; padding: 0 16px; color: var(--ink); outline: none;
  transition: box-shadow .2s;
}
.field:focus, .glass-field:focus-within { box-shadow: inset 0 0 0 1px rgba(52, 199, 89, .7), 0 0 0 4px rgba(52, 199, 89, .22); }
.lbl { display: block; font: 650 13px/1.3 var(--font); color: var(--ink-2); margin: 0 0 8px 4px; letter-spacing: .01em; }

.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 999px; background: var(--fill); }
.seg button { position: relative; z-index: 1; border: 0; background: none; border-radius: 999px; padding: 7px 14px; font: 650 14px/1.2 var(--font); color: var(--ink-2); cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.seg:not(.big) button.on { background: var(--glass-strong); color: var(--ink); box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .2); }
.seg.small button { padding: 6px 12px; font-size: 13.5px; }
.seg.big { width: min(300px, 100%); height: 46px; }
.seg.big button { font-size: 15.5px; }
.seg.big button.on { color: var(--ink); }
.seg-thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--glass-strong); box-shadow: 0 3px 10px -3px rgba(0, 0, 0, .25), inset 0 1px 0 var(--glass-edge); transition: transform .5s var(--spring); }
.seg[data-i="1"] .seg-thumb { transform: translateX(100%); }

.switch { appearance: none; -webkit-appearance: none; width: 51px; height: 31px; border-radius: 999px; background: rgba(120, 120, 128, .3); position: relative; cursor: pointer; transition: background .25s; flex: none; margin: 0; }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .2); transition: transform .4s var(--spring); }
.switch:checked { background: var(--green); }
.switch:checked::after { transform: translateX(20px); }

/* ---------- version + logo ---------- */
.version-pill {
  position: fixed; z-index: 1000;
  top: max(12px, env(safe-area-inset-top)); left: max(12px, env(safe-area-inset-left));
  --r: 999px; padding: 6px 11px; font: 750 11.5px/1 ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  letter-spacing: .06em; color: var(--ink);
}
.logo { display: inline-flex; align-items: baseline; gap: .3em; font: 800 22px/1.1 var(--display); letter-spacing: -.035em; color: var(--ink); white-space: nowrap; }
.logo-gu {
  position: relative; padding: .02em .14em .06em; letter-spacing: 0;
  background: linear-gradient(120deg, #18c25a 0%, #0fb3a2 55%, #2f7bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-gu::before {
  --c: #22c35e; --t: max(2px, .07em); --l: .3em;
  content: ''; position: absolute; inset: -.04em -.04em -.02em; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) top left / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--t) var(--l) no-repeat,
    linear-gradient(#2f7bff, #2f7bff) bottom left / var(--l) var(--t) no-repeat,
    linear-gradient(#2f7bff, #2f7bff) bottom left / var(--t) var(--l) no-repeat,
    linear-gradient(#2f7bff, #2f7bff) bottom right / var(--l) var(--t) no-repeat,
    linear-gradient(#2f7bff, #2f7bff) bottom right / var(--t) var(--l) no-repeat;
}
.logo.lg { font-size: 32px; }
.logo.xl { font-size: clamp(40px, 12vw, 58px); }

/* ---------- gate ---------- */
.gate { min-height: 100svh; display: grid; place-items: center; padding: 70px 16px 34px; }
.gate-card { width: min(470px, 100%); padding: 36px 24px 24px; --r: 38px; text-align: center; animation: rise .9s var(--spring) both; }
.gate-card.leaving { animation: sink .38s ease-in forwards; }
.gate-tag { margin: 14px 0 26px; font-size: 16.5px; color: var(--ink-2); line-height: 1.45; }
.gate-tag .gu { display: block; font-size: 15.5px; }
.gate-ask { margin: 0 0 12px; font: 700 12.5px/1.4 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.gate-ask .gu-inline { text-transform: none; letter-spacing: 0; font-size: 13.5px; }
.sep { opacity: .5; }
.lang-btns { display: grid; gap: 12px; }
.lang-btn { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; --r: 24px; border: 0; cursor: pointer; text-align: left; color: var(--ink); transition: transform .5s var(--spring), background .25s; }
.lang-btn:hover { background: var(--glass-strong); }
.lang-btn:active { transform: scale(.97); }
.lang-btn.picked { background: rgba(52, 199, 89, .28); }
.lang-btn > svg { color: var(--ink-3); width: 22px; height: 22px; }
.lang-glyph { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font: 750 25px/1 var(--display); color: #fff; background: linear-gradient(150deg, #5b8cff, #6e52f2); box-shadow: 0 10px 22px -10px rgba(91, 100, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .4); }
.lang-btn[data-l="gu"] .lang-glyph { background: linear-gradient(150deg, #4fdc6e, #0fb3a2); box-shadow: 0 10px 22px -10px rgba(15, 179, 120, .8), inset 0 1px 0 rgba(255, 255, 255, .4); }
.lang-t b { display: block; font-size: 19px; line-height: 1.25; }
.lang-t small { color: var(--ink-2); font-size: 13.5px; }
.private-box { display: flex; gap: 12px; margin-top: 20px; padding: 14px; border-radius: 20px; text-align: left; background: rgba(52, 199, 89, .13); box-shadow: inset 0 0 0 1px rgba(52, 199, 89, .3); }
.pb-ic { color: var(--green-ink); }
.pb-ic svg { width: 28px; height: 28px; }
.pb-t b { font-size: 14.5px; }
.pb-t p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.gate-float { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.gate-float span { position: absolute; font: 700 26vmin/1 'SG Gujarati', sans-serif; color: rgba(255, 255, 255, .5); filter: blur(10px); animation: floaty 14s ease-in-out infinite alternate; }
@media (prefers-color-scheme: dark) { .gate-float span { color: rgba(255, 255, 255, .08); } }
.gate-float span:nth-child(1) { left: 4%; top: 6%; }
.gate-float span:nth-child(2) { right: 6%; top: 14%; animation-delay: -4s; }
.gate-float span:nth-child(3) { left: 10%; bottom: 8%; animation-delay: -8s; }
.gate-float span:nth-child(4) { right: 12%; bottom: 4%; animation-delay: -2s; }
.gate-float span:nth-child(5) { left: 44%; top: -4%; animation-delay: -6s; font-size: 18vmin; }
.gate-float span:nth-child(6) { left: 40%; bottom: -6%; animation-delay: -10s; font-size: 20vmin; }

/* ---------- demo ---------- */
.demo { position: relative; height: 100svh; max-width: 1040px; margin: 0 auto; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: max(12px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); }
.demo-top { position: relative; display: flex; justify-content: center; align-items: center; height: 44px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(120, 120, 140, .35); transition: width .5s var(--spring), background .3s; }
.dots i.on { width: 28px; background: var(--ink); }
.dots i.past { background: var(--green); }
.skip { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.demo-track { position: relative; overflow: hidden; overflow: clip; }
.slide { position: absolute; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 16px; opacity: 0; pointer-events: none; transform: translateX(50px) scale(.98); transition: opacity .45s ease, transform .7s var(--spring); }
.slide.on { opacity: 1; transform: none; pointer-events: auto; }
.slide.from-right { transform: translateX(70px) scale(.98); transition: none; }
.slide.from-left { transform: translateX(-70px) scale(.98); transition: none; }
.slide.out-left { opacity: 0; transform: translateX(-70px) scale(.98); }
.slide.out-right { opacity: 0; transform: translateX(70px) scale(.98); }
.slide-copy { text-align: center; padding: 6px 6px 0; }
.slide-copy h2 { margin: 0; font: 800 clamp(26px, 7vw, 40px)/1.12 var(--display); letter-spacing: -.03em; }
.slide-copy p { margin: 10px auto 0; max-width: 36ch; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.slide-stage { display: grid; grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); place-items: center; min-height: 0; padding: 4px 0 8px; }
.demo-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; }
.demo-nav .next { min-width: 160px; }
@media (min-width: 900px) {
  .slide { grid-template-columns: 1fr 1.1fr; grid-template-rows: minmax(0, 1fr); align-items: center; gap: 40px; }
  .slide-copy { text-align: left; padding-left: 20px; }
  .slide-copy p { margin-left: 0; font-size: 18px; }
  .slide-copy h2 { font-size: 46px; }
}

/* phone mockup */
.device { position: relative; height: min(100%, 560px); aspect-ratio: 9 / 18.6; border-radius: 44px; padding: 10px; background: linear-gradient(150deg, #2c2f3d, #0f1118); box-shadow: 0 34px 70px -28px rgba(25, 15, 70, .7), inset 0 0 0 1.5px rgba(255, 255, 255, .18), inset 0 0 0 4px rgba(0, 0, 0, .4); }
.device-island { position: absolute; z-index: 5; top: 19px; left: 50%; width: 28%; height: 22px; transform: translateX(-50%); background: #000; border-radius: 999px; }
.device-screen { position: relative; height: 100%; overflow: hidden; border-radius: 35px; padding: 48px 14px 14px; background: linear-gradient(165deg, #f7f8fc, #e6ebf6); color: #0c0d12; font-size: 13px; }

/* welcome mockup */
.w-view { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 30%, #3a3f55, #11131b); transition: transform .6s var(--soft), filter .6s, opacity .6s; }
.w-paper { position: absolute; left: 15%; right: 15%; top: 21%; height: 44%; background: #fff; border-radius: 6px; padding: 16px 12px; display: grid; gap: 8px; align-content: start; transform: rotate(-4deg); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .6); }
.w-paper b { text-align: center; font: 700 13px/1.2 'SG Gujarati', sans-serif; margin-bottom: 4px; }
.w-paper i { height: 5px; border-radius: 3px; background: #d2d8e6; }
.w-paper i.s { width: 62%; }
.w-corners { position: absolute; left: 10%; right: 10%; top: 17%; height: 52%; animation: breathe 2.4s ease-in-out infinite; }
.w-corners span { position: absolute; width: 26px; height: 26px; border: 3px solid #4dff95; filter: drop-shadow(0 0 6px rgba(77, 255, 149, .8)); }
.w-corners span:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.w-corners span:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.w-corners span:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.w-corners span:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.w-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.snap .w-flash { animation: flash .5s ease-out; }
.w-shutter { position: absolute; left: 50%; bottom: 7%; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(0, 0, 0, .5), 0 0 0 7px #fff; transition: transform .2s; }
.snap .w-shutter { transform: scale(.86); }
.w-doc { position: absolute; left: 10px; right: 10px; top: 28%; padding: 16px; --r: 24px; opacity: 0; transform: translateY(40px) scale(.9); transition: opacity .5s, transform .7s var(--spring); display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; color: #0c0d12; background: rgba(255, 255, 255, .72); }
.doc .w-view { transform: scale(.86); filter: blur(8px); opacity: .55; }
.doc .w-doc { opacity: 1; transform: none; }
.w-doc-ic { width: 48px; height: 56px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #5b8cff, #2f5bff); }
.w-doc-ic svg { width: 26px; height: 26px; }
.w-doc-t b { display: block; font-size: 13px; line-height: 1.3; word-break: break-word; }
.w-doc-t span { font-size: 11.5px; color: rgba(12, 13, 18, .55); }
.w-badges { grid-column: 1 / -1; display: flex; gap: 8px; }
.badge { padding: 6px 12px; border-radius: 999px; font: 750 12px/1 var(--font); color: #fff; opacity: 0; transform: translateY(8px) scale(.8); transition: opacity .3s, transform .5s var(--spring); }
.b-gopika { background: linear-gradient(180deg, #8b6dff, #6a4bf0); }
.b-shruti { background: linear-gradient(180deg, #4fdc6e, #25b34a); }
.doc .badge { opacity: 1; transform: none; }
.doc .b-gopika { transition-delay: .35s; }
.doc .b-shruti { transition-delay: .5s; }

/* login card */
.login-card { width: min(430px, 100%); padding: 24px 22px; --r: 32px; align-self: start; }
.slide-stage .login-card { margin-top: 4px; }
.login-card.solo { text-align: center; }
.login-card.solo h2 { margin: 18px 0 6px; font: 800 26px/1.2 var(--display); letter-spacing: -.02em; }
.login-card.solo .muted { margin: 0 0 18px; }
.login-card.solo .login-form { text-align: left; }
.login-card.solo .private-chip { margin-top: 16px; }
.phone-field { display: flex; align-items: center; padding: 0; overflow: hidden; }
.cc { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 12px 0 16px; font: 650 18px/1 var(--font); border-right: 1px solid var(--field-line); }
.flag { font-size: 20px; }
.phone-field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; padding: 0 14px; font: 650 21px/1 var(--font); letter-spacing: .04em; color: var(--ink); }
.phone-field input::placeholder { color: var(--ink-3); }
.field-err { min-height: 20px; margin: 6px 4px 6px; font-size: 13px; color: var(--red); }
.sent-to { margin: -2px 4px 12px; font-size: 14px; color: var(--ink-2); }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp-box { width: 100%; height: 60px; border: 0; border-radius: 16px; text-align: center; font: 750 25px/1 var(--font); background: var(--field-bg); box-shadow: inset 0 0 0 1px var(--field-line); color: var(--ink); caret-color: var(--green); outline: none; transition: box-shadow .2s, transform .3s var(--spring); }
.otp-box:focus { box-shadow: inset 0 0 0 1.5px var(--green), 0 0 0 4px rgba(52, 199, 89, .2); transform: translateY(-2px); }
.login-links { display: flex; justify-content: space-between; margin-top: 12px; }
.login-ok { text-align: center; padding: 18px 0 6px; }
.login-ok p { margin: 12px 0 0; font: 750 19px/1.2 var(--font); }
.login-ok .sent-to { margin: 6px 0 0; font-weight: 500; font-size: 15px; }
.ok-ring { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: #fff; background: linear-gradient(180deg, #4fdc6e, #25b34a); box-shadow: 0 16px 34px -12px rgba(37, 179, 74, .85), inset 0 1px 0 rgba(255, 255, 255, .45); animation: pop .7s var(--spring) both; }
.ok-ring svg { width: 38px; height: 38px; stroke-width: 2.6; }
.ok-ring.big { width: 88px; height: 88px; }
.ok-ring.big svg { width: 46px; height: 46px; }
.shake { animation: shake .45s; }

.sms-banner {
  position: fixed; z-index: 1200; top: max(10px, env(safe-area-inset-top)); left: 50%;
  width: min(420px, calc(100% - 20px)); transform: translate(-50%, -150%);
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; --r: 26px; border: 0; cursor: pointer; text-align: left; color: var(--ink);
  transition: transform .6s var(--spring);
}
.sms-banner.show { transform: translate(-50%, 0); }
.sms-app { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(180deg, #5ef36f, #1fbf43); }
.sms-app svg { width: 24px; height: 24px; fill: #fff; }
.sms-body { flex: 1; min-width: 0; }
.sms-top { display: flex; justify-content: space-between; font: 650 12px/1.3 var(--font); color: var(--ink-3); letter-spacing: .03em; }
.sms-text { display: block; font-size: 14.5px; line-height: 1.35; margin-top: 2px; }

/* scene card in demo */
.scene-card { width: min(600px, 100%); padding: 14px; --r: 32px; align-self: center; }

/* edit mockup */
.mini-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 10px; }
.mini-title { font: 800 18px/1 var(--display); letter-spacing: -.02em; }
.mini-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; font: 700 10.5px/1.1 var(--font); background: rgba(52, 199, 89, .16); color: #168a42; transition: background .3s, color .3s; }
.mini-chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mini-chip.warn { background: rgba(255, 204, 0, .25); color: #8a6a00; }
.mini-doc { background: #fff; border-radius: 18px; padding: 14px 12px; box-shadow: 0 8px 22px -14px rgba(0, 0, 0, .35); font-family: 'SG Gujarati', sans-serif; }
.mini-h { margin: 0 0 6px; font-weight: 700; font-size: 14px; text-align: center; }
.mini-p { margin: 0; font-size: 13px; line-height: 1.8; }
.w { border-radius: 4px; transition: background .4s, box-shadow .4s; }
.w.lc { background: rgba(255, 214, 10, .5); box-shadow: inset 0 -2px 0 #ffcc00; animation: glow 1.8s ease-in-out infinite; }
.caret, .caret2 { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -.2em; background: #2f7bff; opacity: 0; }
.typing .caret { opacity: 1; animation: blink 1s steps(2) infinite; }
.listen .caret2 { opacity: 1; animation: blink 1s steps(2) infinite; }
.device-edit .device-screen::after { content: ''; position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(47, 123, 255, .3); left: 39%; top: 47%; transform: scale(0); opacity: 0; }
.device-edit .tap::after { animation: tap .6s ease-out; }
.mini-bubble { position: absolute; right: 14px; bottom: 76px; display: flex; gap: 7px; align-items: center; padding: 8px 12px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .4); font-size: 12px; opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .3s, transform .5s var(--spring); max-width: 75%; }
.listen .mini-bubble { opacity: 1; transform: none; }
.mini-bubble .rec, .mic-bubble .rec { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blink 1s infinite; }
.mini-mic { position: absolute; right: 14px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #ff5a52, #e5342a); box-shadow: 0 10px 22px -8px rgba(229, 52, 42, .7); }
.mini-mic svg { width: 24px; height: 24px; }
.listen .mini-mic { animation: ring 1.3s infinite; }

/* proof mockup */
.mini-seg { width: 100%; height: 36px; margin-bottom: 10px; }
.mini-seg button { font-size: 12.5px; padding: 4px; }
.device-proof .mini-seg button:first-of-type { color: #0c0d12; }
.device-proof .shruti .mini-seg .seg-thumb { transform: translateX(100%); }
.device-proof .seg-thumb { background: #fff; }
.proof-doc.mini-doc { position: relative; min-height: 120px; }
.pv { transition: opacity .35s; }
.pv-s { position: absolute; inset: 14px 12px; opacity: 0; }
.shruti .pv-s { opacity: 1; }
.shruti .pv-g { opacity: 0; }
.gopika-text { font-family: var(--gopika) !important; font-size: 16px; line-height: 1.6; }
.mini-h.gopika-text { font-size: 18px; }
.mini-checks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.mini-checks li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, .7); }
.tick { width: 20px; height: 20px; border-radius: 7px; display: grid; place-items: center; color: transparent; box-shadow: inset 0 0 0 1.5px rgba(12, 13, 18, .25); transition: background .3s, color .3s, box-shadow .3s; }
.tick svg { width: 14px; height: 14px; stroke-width: 2.8; }
.mini-checks li.on .tick { background: var(--green); color: #fff; box-shadow: none; animation: pop .45s var(--spring); }

/* save mockup */
.sv { position: absolute; left: 12px; right: 12px; top: 26%; padding: 18px 14px; --r: 24px; text-align: center; color: #0c0d12; background: rgba(255, 255, 255, .78); display: grid; gap: 10px; justify-items: center; opacity: 0; transform: translateY(30px) scale(.94); pointer-events: none; transition: opacity .22s, transform .5s var(--spring); }
.sv b { font-size: 14.5px; line-height: 1.3; }
[data-step="1"] .sv1, [data-step="2"] .sv2, [data-step="3"] .sv3, [data-step="4"] .sv4 { opacity: 1; transform: none; transition-delay: .22s; }
.sv-btn { padding: 10px 18px; border-radius: 999px; background: #0c0d12; color: #fff; font: 700 12.5px/1 var(--font); }
.sv-ck { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border-radius: 12px; background: rgba(12, 13, 18, .05); font-size: 12px; font-weight: 600; }
.sv-ck i { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; color: transparent; box-shadow: inset 0 0 0 1.5px rgba(12, 13, 18, .25); }
.sv-ck i svg { width: 12px; height: 12px; stroke-width: 3; }
.sv-ck.on i { background: var(--green); color: #fff; box-shadow: none; }
.hold { position: relative; width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; background: #0c0d12; color: #fff; }
.hold svg[viewBox="0 0 44 44"] { position: absolute; inset: -6px; width: 90px; height: 90px; transform: rotate(-90deg); }
.hold circle { fill: none; stroke: var(--green); stroke-width: 3; stroke-dasharray: 120; stroke-dashoffset: 120; stroke-linecap: round; }
.holding .hold circle { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s linear; }
.holding .hold { transform: scale(.94); transition: transform .3s; }
.hold > svg[aria-hidden] { width: 30px; height: 30px; stroke-width: 2.6; }
.sv-sub { font-size: 12px; color: rgba(12, 13, 18, .55); }
.sv4 { background: none; box-shadow: none; top: 18%; }
.sv4::before { display: none; }
.fly { width: 44px; height: 54px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #5b8cff, #2f5bff); }
.fly svg, .lib svg { width: 26px; height: 26px; }
[data-step="4"] .fly { animation: flyin 1s var(--soft) forwards; }
.lib { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #4fdc6e, #0fb3a2); margin-top: -18px; }
[data-step="4"] .lib { animation: gulp .5s .8s var(--spring) both; }
.dl-row { display: flex; gap: 6px; }
.dl-chip { display: inline-flex; align-items: center; gap: 4px; padding: 7px 10px; border-radius: 999px; font: 700 11px/1 var(--font); color: #fff; background: linear-gradient(180deg, #8b6dff, #6a4bf0); opacity: 0; transform: scale(.7); }
.dl-chip + .dl-chip { background: linear-gradient(180deg, #4fdc6e, #25b34a); }
.dl-chip i svg { width: 13px; height: 13px; stroke-width: 2.4; }
[data-step="4"] .dl-chip { animation: pop .5s 1.3s var(--spring) both; }
[data-step="4"] .dl-chip + .dl-chip { animation-delay: 1.45s; }
.dev-row { display: flex; gap: 12px; color: rgba(12, 13, 18, .45); opacity: 0; }
.dev-row svg { width: 22px; height: 22px; }
[data-step="4"] .dev-row { animation: fadein .4s 1.7s both; }
.finger { position: absolute; width: 40px; height: 40px; border-radius: 50%; background: rgba(47, 123, 255, .28); box-shadow: 0 0 0 2px rgba(47, 123, 255, .4); left: 50%; top: 43%; margin-left: -20px; opacity: 0; transform: scale(.4); pointer-events: none; }
.press .finger { animation: tap .4s ease-out; }
[data-step="2"] .finger { top: 61%; }

/* ---------- scan stage (anime) ---------- */
.scan-stage { position: relative; display: grid; gap: 12px; }
.scene-wrap { position: relative; border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 14px 34px -20px rgba(0, 0, 0, .5); }
.scene { display: block; width: 100%; height: auto; transition: transform .7s var(--spring), filter .6s; }
.done .scene { transform: scale(.97); filter: saturate(1.25) brightness(1.06); }
.layer-green { filter: drop-shadow(0 0 2.5px rgba(80, 255, 150, .55)); }
.scene-fx { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 3; }
.glyph { position: absolute; left: 0; top: 0; font: 700 19px/1 'SG Gujarati', sans-serif; color: #2fe07a; text-shadow: 0 0 10px rgba(60, 255, 140, .9); will-change: transform, opacity; }
.glyph.star { color: #ffd60a; text-shadow: 0 0 10px rgba(255, 214, 10, .9); font-size: 22px; }
.scan-bar { position: relative; height: 16px; border-radius: 999px; overflow: hidden; background: rgba(120, 120, 140, .2); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .15); }
.scan-fill { position: relative; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #1fbf5f, #63f7a0); box-shadow: 0 0 20px rgba(60, 240, 130, .85); }
.scan-fill i { position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .38) 0 9px, rgba(255, 255, 255, 0) 9px 20px); animation: barber .8s linear infinite; }
.scan-fill::after { content: ''; position: absolute; right: -2px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(140, 255, 190, .9) 35%, rgba(140, 255, 190, 0) 70%); }
.scan-meta { display: flex; justify-content: space-between; gap: 10px; font: 650 14.5px/1.3 var(--font); color: var(--ink-2); padding: 0 4px; }
.scan-pct { font-variant-numeric: tabular-nums; color: var(--green-ink); }
.check-badge { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; transform: translate(-50%, -50%) scale(0); transition: transform .7s var(--spring); filter: drop-shadow(0 12px 24px rgba(20, 140, 60, .55)); }
.check-badge svg { width: 100%; height: 100%; }
.check-badge circle { fill: #34c759; stroke: #fff; stroke-width: 2.5; }
.check-badge path { fill: none; stroke: #fff; stroke-width: 4.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .5s .25s; }
.done .check-badge { transform: translate(-50%, -50%) scale(1); }
.done .check-badge path { stroke-dashoffset: 0; }

/* scene character animation */
.sg-eyes { transform-box: fill-box; transform-origin: center; animation: blinkEye 4.2s infinite; }
.sg-head { animation: bob 2.4s ease-in-out infinite alternate; }
.sg-arm { animation: armSweep 2.6s ease-in-out infinite alternate; }
.sg-scanline { animation: scanY 1.3s ease-in-out infinite alternate; }
.sg-beam { animation: beam 1.3s ease-in-out infinite alternate; }
.sg-cloud { animation: cloud 9s ease-in-out infinite alternate; }
.sg-min { animation: spin 2.2s linear infinite; }
.sg-hour { animation: spin 26s linear infinite; }
.sg-steam { animation: steam 2.6s ease-in-out infinite; }
.sg-steam2 { animation-delay: 1.3s; }
.sg-leaf { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 3.2s ease-in-out infinite alternate; }
.sg-ahoge { animation: ahoge 1.1s ease-in-out infinite alternate; }
.sg-spark { animation: twinkle 1.9s ease-in-out infinite; transform-box: fill-box; }
.sg-bang { animation: bang 7s ease-out infinite; }
.sg-happy, .sg-mouth-open { display: none; }
.sg-sweat { opacity: 0; transition: opacity .4s; }
.sg-speed { opacity: 0; transition: opacity .5s; }
.scene.mid .sg-sweat { opacity: 1; animation: drip 1.6s ease-in infinite; }
.scene.excited .sg-speed { opacity: .5; animation: flicker .16s steps(2) infinite; }
.scene.excited .sg-mouth-calm, .scene.happy .sg-mouth-calm { display: none; }
.scene.excited .sg-mouth-open, .scene.happy .sg-mouth-open { display: inline; }
.scene.happy .sg-eyes { display: none; }
.scene.happy .sg-happy { display: inline; }
.scene.happy .sg-arm { animation: cheer .5s var(--spring) both; }
.scene.happy .sg-head { animation: hop .45s ease-out 2; }

/* ---------- app shell ---------- */
.screen-app { min-height: 100svh; }
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 10px; max-width: 1180px; margin: 0 auto; padding: max(10px, env(safe-area-inset-top)) 14px 10px 72px; }
.tb-logo { text-decoration: none; }
.tb-right { display: flex; gap: 8px; }
.lang-toggle { min-width: 46px; justify-content: center; font-size: 15px; }
.view { max-width: 1100px; margin: 0 auto; padding: 6px 16px 130px; }
.tabbar { position: fixed; z-index: 60; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(330px, calc(100% - 32px)); display: grid; grid-template-columns: 1fr 1fr; padding: 6px; --r: 999px; transition: transform .55s var(--spring), opacity .3s; }
.tabbar a { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; border-radius: 999px; text-decoration: none; font: 650 12px/1.1 var(--font); color: var(--ink-2); transition: color .3s; }
.tabbar a svg { width: 25px; height: 25px; }
.tabbar a.on { color: var(--ink); }
.tab-pill { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--glass-strong); box-shadow: inset 0 1px 0 var(--glass-edge), 0 6px 16px -8px rgba(0, 0, 0, .3); transition: transform .55s var(--spring); }
.tabbar[data-on="1"] .tab-pill { transform: translateX(100%); }
.shell.focus .tabbar { transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }

/* ---------- upload ---------- */
.hero { margin-top: 4px; padding: 38px 22px 26px; --r: 38px; text-align: center; animation: rise .8s var(--spring) both; transition: padding .4s; }
.orb { position: relative; width: 120px; height: 120px; margin: 0 auto 16px; transition: width .4s, height .4s; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(52, 199, 89, .55); animation: ripple 3.2s ease-out infinite; }
.r2 { animation-delay: 1.07s; }
.r3 { animation-delay: 2.14s; }
.orb-core { position: absolute; inset: 14px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #57e07a, #1fae55 55%, #0fa3a0); box-shadow: 0 20px 40px -14px rgba(31, 174, 85, .85), inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -6px 16px rgba(0, 80, 60, .25); animation: breathe 3.2s ease-in-out infinite; }
.orb-core svg { width: 42%; height: 42%; stroke-width: 2.2; }
.hero h1 { margin: 0; font: 800 clamp(36px, 10vw, 52px)/1 var(--display); letter-spacing: -.035em; }
.hero .sub { margin: 10px 0 22px; font-size: 16.5px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; width: 100%; }
.hint { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
@media (hover: none) { .hint { display: none; } }
.hero.compact { padding: 18px 18px 20px; }
.hero.compact .orb { width: 70px; height: 70px; margin-bottom: 8px; }
.hero.compact h1 { font-size: 26px; }
.hero.compact .sub, .hero.compact .hint { display: none; }
.hero.compact .hero-actions { margin-top: 12px; }
body.dragging .hero { box-shadow: inset 0 0 0 2.5px var(--green), var(--shadow); transform: scale(1.01); }
.pages-card { margin-top: 14px; padding: 16px; --r: 30px; animation: rise .6s var(--spring) both; }
.pc-head { display: flex; justify-content: space-between; align-items: center; margin: 0 2px 12px; font-size: 16px; }
.add-more { position: relative; }
.add-more input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; font-size: 0; }
.thumbs { list-style: none; margin: 0; padding: 4px 2px 12px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.thumb { position: relative; flex: none; width: 98px; height: 130px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .45); animation: pop .55s var(--spring) both; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--spring); }
.tnum { position: absolute; left: 6px; bottom: 6px; padding: 3px 7px; border-radius: 99px; background: rgba(0, 0, 0, .62); color: #fff; font: 750 11px/1 var(--font); }
.tacts { position: absolute; top: 6px; right: 6px; display: flex; flex-direction: column; gap: 6px; }
.mini { width: 30px; height: 30px; border: 0; border-radius: 50%; --r: 50%; display: grid; place-items: center; cursor: pointer; color: #0c0d12; background: rgba(255, 255, 255, .72); }
.mini svg { width: 16px; height: 16px; stroke-width: 2.2; }
.opts { margin: 4px 0 14px; padding: 0 14px; border-radius: 20px; background: var(--fill); }
.opts summary { padding: 13px 0; cursor: pointer; list-style: none; font: 650 14.5px/1.2 var(--font); color: var(--ink-2); }
.opts summary::-webkit-details-marker { display: none; }
.opts summary::after { content: '›'; float: right; transition: transform .3s; font-size: 18px; line-height: 1; }
.opts[open] summary::after { transform: rotate(90deg); }
.switch-row, .seg-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--hairline); font-size: 15px; }
.seg-row { flex-wrap: wrap; }
.draft-card { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 12px 16px 12px 12px; --r: 26px; border: 0; cursor: pointer; text-align: left; color: var(--ink); animation: rise .7s .1s var(--spring) both; }
.dc-ic { flex: none; width: 48px; height: 62px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #fff; color: #2f5bff; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .4); }
.dc-ic img { width: 100%; height: 100%; object-fit: cover; }
.dc-t { flex: 1; min-width: 0; }
.dc-t b { display: block; font-size: 16px; }
.dc-t small { display: block; color: var(--ink-2); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.draft-card > svg { color: var(--ink-3); }
.up-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 22px; }
.private-chip { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 8px 13px; border-radius: 999px; background: rgba(52, 199, 89, .15); color: var(--green-ink); font: 650 13px/1.2 var(--font); }
.private-chip svg { width: 16px; height: 16px; }

/* ---------- flow (scan / edit / proof) ---------- */
.flow-head { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 10px; margin: 2px 0 16px; }
.v-edit .flow-head { grid-template-columns: 44px 1fr auto; }
.v-scan .flow-head { grid-template-columns: 1fr; }
.fh-gap { width: 44px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: 6px; }
.steps li { display: flex; align-items: center; gap: 6px; font: 650 12.5px/1 var(--font); color: var(--ink-3); }
.steps li + li::before { content: ''; width: 14px; height: 2px; border-radius: 2px; background: rgba(120, 120, 140, .3); }
.steps i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 750 11.5px/1 var(--font); font-style: normal; background: var(--fill); }
.steps i svg { width: 14px; height: 14px; stroke-width: 2.8; }
.steps li.on { color: var(--ink); }
.steps li.on i { background: var(--ink); color: var(--on-ink); box-shadow: 0 0 0 4px rgba(120, 120, 140, .15); }
.steps li.past i { background: var(--green); color: #fff; }
@media (max-width: 520px) { .steps li:not(.on) span { display: none; } }
.flow-foot { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 10px; padding: 18px 16px max(14px, env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--fade) 45%, rgba(0, 0, 0, 0)); }
.flow-foot .btn { width: min(480px, 100%); }
.flow-foot.two .btn { flex: 1; max-width: 240px; }

.v-scan .scan-card { max-width: 760px; margin: 0 auto; padding: 16px; --r: 34px; animation: rise .7s var(--spring) both; }
.cancel-btn { display: flex; margin: 18px auto 0; }

/* edit */
.edit-grid { display: grid; gap: 14px; }
.v-edit.split .edit-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
.src-pane { position: sticky; top: 76px; max-height: calc(100svh - 200px); overflow: auto; padding: 10px; --r: 26px; display: grid; gap: 10px; }
.src-pane img, .src-sheet img { width: 100%; border-radius: 14px; background: #fff; display: block; }
.src-sheet { display: grid; gap: 12px; }
.sheet.tall { max-height: 88svh; }
.paper { overflow: hidden; }
.tb.ql-toolbar.ql-snow { display: flex; flex-wrap: nowrap; overflow-x: auto; align-items: center; gap: 2px; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--hairline); font-family: var(--font); scrollbar-width: none; }
.ql-snow.ql-toolbar .ql-formats { display: inline-flex; align-items: center; margin-right: 8px; flex: none; }
.ql-snow.ql-toolbar button { width: 36px; height: 36px; padding: 7px; border-radius: 10px; }
.ql-snow.ql-toolbar button svg[aria-hidden] { width: 20px; height: 20px; }
.ql-snow.ql-toolbar button:hover, .ql-snow.ql-toolbar button.ql-active { background: var(--fill); }
.ql-snow .ql-stroke { stroke: var(--ink-2); }
.ql-snow .ql-fill { fill: var(--ink-2); }
.ql-snow.ql-toolbar button.ql-active .ql-stroke, .ql-snow.ql-toolbar button:hover .ql-stroke { stroke: var(--ink); }
.ql-snow.ql-toolbar button.ql-active .ql-fill { fill: var(--ink); }
.ql-snow .ql-picker { color: var(--ink-2); height: 36px; }
.ql-snow .ql-picker-label { display: flex; align-items: center; border-radius: 10px; }
.ql-snow .ql-picker.ql-header { width: 104px; }
.ql-snow .ql-picker-options { background: var(--glass-strong); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 14px; border: 0 !important; box-shadow: var(--shadow); padding: 6px 10px; }
.ql-snow .ql-picker-item { color: var(--ink); }
.ql-container.ql-snow { border: 0; font-family: var(--doc-font); }
.ql-editor { min-height: 56svh; padding: 18px 22px 140px; font: 19px/1.85 var(--doc-font); color: var(--ink); }
.ql-editor.ql-blank::before { left: 22px; right: 22px; font-style: normal; font-family: var(--font); font-size: 16px; color: var(--ink-3); }
.ql-editor h1 { font-size: 1.6em; line-height: 1.45; }
.ql-editor h2 { font-size: 1.35em; line-height: 1.5; }
.ql-editor p, .ql-editor li { margin: 0 0 .35em; }
.ql-editor .lc-y { background: rgba(255, 214, 10, .42); box-shadow: inset 0 -2px 0 #ffcc00; border-radius: 4px; animation: glow 2.6s ease-in-out infinite; }
.ql-editor .pb, .proof-doc .pb { position: relative; height: 26px; margin: 16px 0; border-top: 1.5px dashed var(--ink-3); user-select: none; }
.ql-editor .pb::after, .proof-doc .pb::after { content: '— PAGE —'; position: absolute; left: 50%; top: -10px; transform: translateX(-50%); padding: 0 10px; background: var(--paper); font: 750 10.5px/18px var(--font); letter-spacing: .18em; color: var(--ink-3); }
.editor-loading { min-height: 56svh; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%) 0 0 / 200% 100%; animation: shimmer 1.2s linear infinite; }
.check-chip { display: inline-flex; align-items: center; gap: 7px; margin: 12px 0 0 16px; padding: 7px 13px; border: 0; border-radius: 999px; cursor: pointer; font: 700 13px/1.2 var(--font); background: rgba(255, 204, 0, .22); color: #8a6a00; transition: transform .4s var(--spring); }
.check-chip:active { transform: scale(.95); }
.check-chip i { width: 8px; height: 8px; border-radius: 50%; background: #ffcc00; box-shadow: 0 0 8px #ffcc00; animation: blink 1.4s infinite; }
.check-chip.ok { background: rgba(52, 199, 89, .15); color: var(--green-ink); }
.check-chip.ok i { background: var(--green); box-shadow: none; animation: none; }
@media (prefers-color-scheme: dark) { .check-chip { color: #ffd84d; } }
.mic-wrap { position: fixed; z-index: 45; right: 16px; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 80px); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.mic-fab { display: flex; align-items: center; gap: 8px; height: 58px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; cursor: pointer; color: #fff; font: 750 16px/1 var(--font); background: linear-gradient(180deg, #ff5f57, #e2342a); box-shadow: 0 16px 32px -12px rgba(226, 52, 42, .75), inset 0 1px 0 rgba(255, 255, 255, .45); transition: transform .45s var(--spring); }
.mic-fab:active { transform: scale(.93); }
.mic-fab svg { width: 24px; height: 24px; stroke-width: 2.1; }
.mic-fab.on { animation: ring 1.4s infinite; }
.mic-bubble { display: flex; align-items: center; gap: 9px; max-width: min(340px, calc(100vw - 32px)); padding: 11px 15px; --r: 20px; font: 16px/1.4 var(--doc-font); }

/* proof */
.proof-top { display: grid; justify-items: center; gap: 8px; margin-bottom: 14px; }
.proof-hint { margin: 0; font-size: 13.5px; color: var(--ink-2); text-align: center; }
.proof-doc { min-height: 54svh; padding: 26px 24px 120px; font-size: 20px; line-height: 1.8; overflow-wrap: anywhere; }
.proof-doc.gopika .g { font-family: var(--gopika); font-size: 1.12em; }
.proof-doc.gopika .l { font-family: Arial, Helvetica, sans-serif; font-size: .85em; }
.proof-doc.shruti { font-family: var(--doc-font); }
.proof-doc p, .proof-doc li { margin: 0 0 .35em; }
.proof-doc h1 { font-size: 1.6em; margin: 0 0 .3em; }
.proof-doc h2 { font-size: 1.35em; margin: 0 0 .3em; }
.proof-doc h3 { font-size: 1.15em; margin: 0 0 .3em; }

/* ---------- sheets ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 900; display: flex; align-items: flex-end; justify-content: center; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(8, 8, 20, .3); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.sheet-wrap.open .sheet-scrim { opacity: 1; }
.sheet { width: min(520px, 100%); max-height: 92svh; overflow: auto; --r: 34px; border-radius: 34px 34px 0 0; padding: 10px 20px max(22px, env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .5s var(--spring); }
.sheet-wrap.open .sheet { transform: none; }
.sheet-grab { width: 40px; height: 5px; margin: 0 auto 14px; border-radius: 99px; background: rgba(120, 120, 140, .4); }
@media (min-width: 700px) {
  .sheet-wrap { align-items: center; }
  .sheet { border-radius: 34px; opacity: 0; transform: translateY(30px) scale(.95); transition: transform .5s var(--spring), opacity .25s; padding-bottom: 24px; }
  .sheet-wrap.open .sheet { opacity: 1; transform: none; }
  .sheet-grab { display: none; }
}
.dlg { padding-top: 4px; }
.dlg h3 { margin: 4px 0 8px; font: 750 21px/1.25 var(--display); letter-spacing: -.02em; }
.dlg p { margin: 0 0 14px; color: var(--ink-2); }
.dlg-actions { display: flex; gap: 10px; margin-top: 18px; }
.dlg-actions .btn { flex: 1; }
.dlg-actions.single { justify-content: center; }
.dlg-actions.single .btn { flex: 0 0 auto; min-width: 140px; }

/* save flow */
.save-flow { text-align: center; position: relative; }
.save-flow .sf { display: none; }
.save-flow[data-step="1"] .sf1, .save-flow[data-step="2"] .sf2, .save-flow[data-step="3"] .sf3, .save-flow[data-step="4"] .sf4 { display: block; animation: sfIn .55s var(--spring) both; }
.sf h3 { margin: 6px 0 6px; font: 750 22px/1.25 var(--display); letter-spacing: -.02em; }
.sf p { margin: 0 0 16px; color: var(--ink-2); }
.sf .lbl, .sf .field { text-align: left; }
.sf-dots { display: flex; justify-content: center; gap: 6px; margin: 2px 0 16px; }
.sf-dots i { width: 30px; height: 5px; border-radius: 99px; background: rgba(120, 120, 140, .25); transition: background .4s; }
.save-flow[data-step="1"] .sf-dots i:nth-child(1), .save-flow[data-step="2"] .sf-dots i:nth-child(-n+2), .save-flow[data-step="3"] .sf-dots i { background: var(--green); }
.save-flow[data-step="4"] .sf-dots { visibility: hidden; }
.sf-ic { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 8px; border-radius: 19px; background: rgba(52, 199, 89, .15); color: var(--green-ink); }
.sf-ic svg { width: 28px; height: 28px; }
.ck-list { display: grid; gap: 10px; text-align: left; }
.ck { display: flex; align-items: center; gap: 12px; padding: 15px 14px; border-radius: 18px; background: var(--fill); cursor: pointer; font: 650 16px/1.3 var(--font); transition: background .25s; }
.ck input { position: absolute; opacity: 0; pointer-events: none; }
.ck-box { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: transparent; box-shadow: inset 0 0 0 2px rgba(120, 120, 140, .5); transition: background .25s, box-shadow .25s, color .25s; }
.ck-box svg { width: 18px; height: 18px; stroke-width: 2.8; }
.ck input:checked + .ck-box { background: var(--green); color: #fff; box-shadow: none; animation: pop .45s var(--spring); }
.ck:has(input:checked) { background: rgba(52, 199, 89, .12); }
.ck input:focus-visible + .ck-box { outline: 2.5px solid #2f7bff; outline-offset: 2px; }
.hold-btn { position: relative; display: block; width: 140px; height: 140px; margin: 8px auto 6px; padding: 0; border: 0; background: none; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.hold-btn svg:not([aria-hidden]) { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hb-track { fill: none; stroke: rgba(120, 120, 140, .22); stroke-width: 8; }
.hb-ring { fill: none; stroke: var(--green); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset .3s ease-out; filter: drop-shadow(0 0 6px rgba(52, 199, 89, .6)); }
.hold-btn.holding .hb-ring { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s linear; }
.hold-btn.held .hb-ring { stroke-dashoffset: 0; }
.hb-core { position: absolute; inset: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); transition: transform .4s var(--spring), background .3s, color .3s; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }
.hb-core svg { width: 44px; height: 44px; stroke-width: 2.4; }
.hold-btn.holding .hb-core { transform: scale(.9); }
.hold-btn.held .hb-core { background: var(--green); color: #fff; transform: scale(1.06); }
.hb-label { display: block; font: 650 14.5px/1.3 var(--font); color: var(--ink-2); }
.sf4 { position: relative; padding-top: 6px; }
.sf4 .ok-ring { margin-bottom: 6px; }
.confetti { position: absolute; left: 50%; top: 40px; width: 0; height: 0; pointer-events: none; }
.confetti i { position: absolute; width: 8px; height: 14px; border-radius: 2px; background: hsl(calc(var(--i) * 37) 90% 60%); animation: confetti 1.3s cubic-bezier(.15, .7, .3, 1) forwards; --a: calc(var(--i) * 20deg); }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 4px; }
.dl-btn { display: grid; justify-items: center; gap: 3px; padding: 16px 10px 14px; --r: 24px; border: 0; cursor: pointer; color: var(--ink); transition: transform .45s var(--spring), opacity .2s; }
.dl-btn:active { transform: scale(.95); }
.dl-btn.busy { opacity: .55; pointer-events: none; }
.dl-ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #8b6dff, #6a4bf0); margin-bottom: 4px; }
.dl-btn[data-dl="shruti"] .dl-ic { background: linear-gradient(180deg, #4fdc6e, #25b34a); }
.dl-ic svg { width: 24px; height: 24px; stroke-width: 2.2; }
.dl-btn b { font-size: 16px; }
.dl-btn small { color: var(--ink-2); font-size: 12.5px; }

/* ---------- library ---------- */
.lib-head h1 { margin: 6px 0 4px; font: 800 clamp(32px, 9vw, 44px)/1.05 var(--display); letter-spacing: -.035em; }
.lib-sub { display: flex; align-items: center; gap: 6px; margin: 0 0 16px; font-size: 14px; color: var(--ink-2); }
.lib-sub svg { width: 16px; height: 16px; color: var(--green-ink); }
.search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; --r: 999px; margin-bottom: 16px; color: var(--ink-2); }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 16.5px; color: var(--ink); }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
.doc { display: grid; gap: 12px; padding: 12px; --r: 26px; animation: rise .6s var(--spring) both; animation-delay: var(--d); }
.doc-open { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }
.doc-thumb { flex: none; width: 58px; height: 74px; border-radius: 13px; overflow: hidden; background: #fff; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .45); }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.doc-letter { display: grid; place-items: center; height: 100%; font: 700 28px/1 'SG Gujarati', sans-serif; color: #fff; background: linear-gradient(150deg, #57e07a, #0fa3a0); }
.doc-t { min-width: 0; }
.doc-t b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16.5px; line-height: 1.3; }
.doc-t small { color: var(--ink-2); font-size: 13px; }
.doc-acts { display: flex; align-items: center; gap: 8px; }
.dl-pill { flex: 1; height: 42px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font: 700 14px/1 var(--font); color: #fff; background: linear-gradient(180deg, #8b6dff, #6a4bf0); box-shadow: 0 10px 20px -12px rgba(106, 75, 240, .9); transition: transform .45s var(--spring), opacity .2s; }
.dl-pill[data-dl="shruti"] { background: linear-gradient(180deg, #4fdc6e, #25b34a); box-shadow: 0 10px 20px -12px rgba(37, 179, 74, .9); }
.dl-pill:active { transform: scale(.95); }
.dl-pill.busy { opacity: .55; pointer-events: none; }
.dl-pill svg { width: 18px; height: 18px; stroke-width: 2.3; }
.icon-btn.small { width: 42px; height: 42px; background: var(--fill); }
.empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 8px; padding: 36px 20px 30px; --r: 30px; text-align: center; }
.empty-ic { width: 66px; height: 66px; border-radius: 22px; display: grid; place-items: center; background: var(--fill); color: var(--ink-2); }
.empty-ic svg { width: 32px; height: 32px; }
.empty b { font-size: 19px; }
.empty p { margin: 0 0 10px; color: var(--ink-2); }
.menu-title { margin: 2px 0 12px; text-align: center; font: 750 17px/1.3 var(--font); }
.menu button { display: flex; align-items: center; gap: 12px; width: 100%; height: 56px; margin-bottom: 8px; padding: 0 16px; border: 0; border-radius: 18px; background: var(--fill); cursor: pointer; font: 650 16px/1 var(--font); color: var(--ink); }
.menu button.danger { color: var(--red); }

/* ---------- account ---------- */
.acct-head { display: flex; align-items: center; gap: 12px; margin: 2px 0 16px; }
.avatar { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; background: linear-gradient(150deg, #57e07a, #0fa3a0); }
.avatar svg { width: 26px; height: 26px; }
.acct-head b { display: block; font-size: 18px; }
.acct-head small { color: var(--ink-2); }
.acct-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; border-top: 1px solid var(--hairline); }
.acct-row > span { display: flex; align-items: center; gap: 8px; font: 650 15px/1.2 var(--font); }
.acct-btn { display: flex; align-items: center; gap: 10px; width: 100%; height: 54px; margin-top: 10px; padding: 0 14px; border: 0; border-radius: 18px; background: var(--fill); cursor: pointer; font: 650 15.5px/1 var(--font); color: var(--ink); }
.acct-btn span { flex: 1; text-align: left; }
.acct-btn.danger { color: var(--red); }
.acct-foot { display: flex; gap: 8px; margin: 18px 0 4px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.acct-foot svg { color: var(--green-ink); }
.acct-ver { margin: 10px 0 0; text-align: center; font: 650 12px/1 var(--font); color: var(--ink-3); }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 1100; top: max(12px, env(safe-area-inset-top)); left: 50%; transform: translate(-50%, -160%); display: flex; align-items: center; gap: 10px; max-width: calc(100% - 24px); padding: 12px 18px; --r: 999px; font: 650 14.5px/1.35 var(--font); transition: transform .55s var(--spring); }
.toast.show { transform: translate(-50%, 0); }
.toast-ic { display: grid; color: var(--green-ink); }

/* ---------- keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes sink { to { opacity: 0; transform: translateY(-20px) scale(.96); filter: blur(6px); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@keyframes ripple { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes breathe { 50% { transform: scale(1.05); } }
@keyframes floaty { to { transform: translate(3vmin, -4vmin) rotate(6deg); } }
@keyframes flash { 0% { opacity: .95; } 100% { opacity: 0; } }
@keyframes glow { 50% { box-shadow: inset 0 -2px 0 #ffcc00, 0 0 12px rgba(255, 204, 0, .65); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes tap { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, .55), 0 16px 32px -12px rgba(226, 52, 42, .75); } 100% { box-shadow: 0 0 0 18px rgba(255, 59, 48, 0), 0 16px 32px -12px rgba(226, 52, 42, .75); } }
@keyframes barber { to { background-position: 44px 0; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes sfIn { from { opacity: 0; transform: translateX(30px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes confetti { 0% { transform: rotate(var(--a)) translateY(0) scale(.5); opacity: 1; } 100% { transform: rotate(var(--a)) translateY(-150px) rotate(240deg) scale(1); opacity: 0; } }
@keyframes flyin { 0% { transform: translateY(0) scale(1); opacity: 1; } 70% { transform: translateY(46px) scale(.5); opacity: 1; } 100% { transform: translateY(58px) scale(.2); opacity: 0; } }
@keyframes gulp { 0% { transform: scale(1); } 50% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes blinkEye { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@keyframes bob { to { transform: translateY(1.6px); } }
@keyframes armSweep { from { transform: rotate(-5deg); } to { transform: rotate(6deg); } }
@keyframes scanY { from { transform: translateY(0); } to { transform: translateY(12px); } }
@keyframes beam { from { opacity: .55; } to { opacity: 1; } }
@keyframes cloud { from { transform: translateX(-14px); } to { transform: translateX(22px); } }
@keyframes steam { 0% { transform: translateY(4px); opacity: 0; } 40% { opacity: .55; } 100% { transform: translateY(-8px); opacity: 0; } }
@keyframes sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes ahoge { from { transform: rotate(-9deg); } to { transform: rotate(7deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(0); opacity: 0; } 40%, 60% { transform: scale(1); opacity: 1; } }
@keyframes bang { 0% { transform: scale(0); opacity: 0; } 4% { transform: scale(1.15); opacity: 1; } 7% { transform: scale(1); } 22% { opacity: 1; } 28%, 100% { opacity: 0; transform: scale(.9); } }
@keyframes drip { 0% { transform: translateY(0); } 100% { transform: translateY(5px); } }
@keyframes flicker { 50% { opacity: .2; } }
@keyframes cheer { to { transform: rotate(-24deg) translate(-4px, -6px); } }
@keyframes hop { 50% { transform: translateY(-5px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .blob { animation: none; }
}
.device-welcome .device-screen { background: #11131b; }
.tb-acct { width: 44px; height: 44px; }
.lang-toggle { height: 44px; }
