/* Spandana redesign: the EmbedEasy living ground (ember), glass surfaces, Inter Tight + JetBrains Mono.
   Loaded after site.css, so it re-skins by overriding the tokens and the surfaces. */
:root {
  --font-d: "Inter Tight", "Noto Sans Devanagari", "Noto Sans Telugu", "Noto Sans Kannada", system-ui, sans-serif;
  --font: "Inter Tight", "Noto Sans Devanagari", "Noto Sans Telugu", "Noto Sans Kannada", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --accent: #fb923c; --accent-hi: #fdba74; --accent-ink: #1b0e04;
  --accent-text: #fdba74; --accent-big: #fb923c;
  --glow: rgba(251, 146, 60, .16);
  --bg: #0d0907; --surface: rgba(24, 16, 11, .58); --surface-2: rgba(40, 26, 16, .62); --surface-3: rgba(255, 244, 234, .09);
  --ink: #fff4ea; --muted: #c9b9a8; --ring: rgba(255, 244, 234, .14);
  --nav-bg: rgba(22, 14, 9, .62); --field: rgba(13, 9, 7, .55);
  --header-h: 76px; --gutter: var(--m); --line: var(--ring); --ink-2: var(--muted); --ink-3: #a99a8a; --maxw: var(--max);
  --tone: #fb923c; --ease-out: cubic-bezier(.22, 1, .36, 1);
}
html[data-theme="light"] {
  --bg: #fff8f0; --surface: rgba(255, 255, 255, .6); --surface-2: rgba(255, 255, 255, .72); --surface-3: rgba(20, 10, 2, .07);
  --ink: #1b1008; --muted: #5d4a3a; --ring: rgba(27, 16, 8, .14);
  --nav-bg: rgba(255, 250, 244, .72); --field: rgba(255, 255, 255, .8);
  --accent-text: #b4470b; --ink-3: #6f5c4b; --glow: rgba(251, 146, 60, .12);
}
html { background: #0d0907; }
html[data-theme="light"] { background: #fff8f0; }
body { background: transparent; font-family: var(--font); letter-spacing: -.005em; }
#ground { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; pointer-events: none; }
html:not(.has-gl) #ground { display: none; }
html.no-gl body { background: var(--bg); }
.mono, .eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow { color: var(--ink-3); }
/* the fluid is the hero now */
.glow, #wave, .hero-grid { display: none !important; }
.progress i { background: var(--accent); }

/* type */
h1, h2, h3, .big-head { font-family: var(--font-d); letter-spacing: -.045em; }
.hero h1 { font-weight: 500; font-size: clamp(2.8rem, 1.2rem + 7.4vw, 8rem); line-height: .96; letter-spacing: -.06em; text-wrap: balance; }
h2 { font-weight: 500; letter-spacing: -.05em; }

/* nav: floating glass pill */
.nav { background: var(--nav-bg); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 0 0 1px var(--ring), 0 18px 40px -22px rgba(0, 0, 0, .6); }
.theme.snd .s-on { display: none; }
.theme.snd[aria-pressed="true"] .s-on { display: block; }
.theme.snd[aria-pressed="true"] .s-off { display: none; }
.theme.snd[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.theme.snd[data-armed] { animation: armed 1.6s ease-in-out infinite; }
@keyframes armed { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 45%, transparent); } 50% { box-shadow: 0 0 0 7px transparent; } }
.sound-hint { position: fixed; z-index: 99; right: var(--gutter); top: 72px; padding: 8px 12px; border-radius: 999px; background: var(--ink); color: var(--bg); text-transform: none; letter-spacing: 0; font-size: 12px; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.sound-hint.show { opacity: 1; transform: none; }

/* glass surfaces over the fluid */
.strip li, .build, .win, .frag, .bt, .vc, .term, .ct-card, .tline, .faq-l details, .use-tabs button, .tabs, .pill, .dest > div {
  backdrop-filter: blur(14px) saturate(1.25); -webkit-backdrop-filter: blur(14px) saturate(1.25);
}
.build { background: var(--surface); box-shadow: 0 0 0 1px var(--ring), 0 40px 90px -50px rgba(0, 0, 0, .7); }
.build textarea { background: var(--field); }
.pill { background: var(--surface); }
.marq { background: transparent; }
.btn { background: var(--accent); color: var(--accent-ink); font-weight: 600; letter-spacing: -.01em; }
.btn:hover { background: var(--accent-hi); }
.btn-w { background: var(--ink); color: var(--bg); }
.btn-w:hover { background: var(--accent-hi); color: var(--accent-ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.use-tabs button[aria-selected="true"] { box-shadow: 0 0 0 2px var(--accent); }

/* the dark parts: phone and code stay dark in both themes */
.phone-body { background: #0b0907; }

/* Dashboard gallery */
.gallery { position: relative; }
.g-stage { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.g-bg { position: absolute; inset: 0; z-index: 1; display: grid; place-items: start center; padding: calc(var(--header-h) + clamp(18px, 5.5vh, 64px)) var(--gutter) 0; pointer-events: none; }
.g-bg-title { font-size: clamp(44px, min(10.5vw, 17vh), 190px); font-weight: 500; letter-spacing: -.06em; line-height: .9; text-align: center; max-width: 16ch; color: var(--ink); text-wrap: balance; margin: 0; }
.g-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; display: block; pointer-events: none; }
.g-head { position: absolute; z-index: 3; left: var(--gutter); top: calc(var(--header-h) + 8px); color: var(--ink-3); margin: 0; }
.g-ui { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 34px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.g-cap-text { max-width: 34ch; font-size: clamp(15px, 1.4vw, 19px); line-height: 1.4; color: var(--ink); padding: 12px 16px; border-radius: 16px; background: var(--surface); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); margin: 0; }
.g-count { color: var(--ink); font-size: 14px; white-space: nowrap; flex: none; }
.g-bar { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 18px; height: 2px; background: var(--line); border-radius: 2px; }
.g-bar span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); border-radius: 2px; }
.g-src { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; list-style: none; margin: 0; padding: 0; }
.g-src .g-li-cap { display: none; }
.gallery.no-gl .g-stage { height: auto; min-height: 0; overflow: visible; padding: clamp(80px, 10vw, 140px) var(--gutter); }
.gallery.no-gl .g-canvas, .gallery.no-gl .g-ui, .gallery.no-gl .g-bar, .gallery.no-gl .g-bg { display: none; }
.gallery.no-gl .g-head { position: static; margin-bottom: 28px; }
.gallery.no-gl .g-src { position: static; width: auto; height: auto; opacity: 1; pointer-events: auto; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); max-width: var(--maxw); margin: 0 auto; }
.gallery.no-gl .g-src li { display: grid; gap: 12px; }
.gallery.no-gl .g-src img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .5); }
.gallery.no-gl .g-src .g-li-cap { display: block; }
.gallery.no-gl .g-src .g-li-cap b { display: block; font-size: 20px; letter-spacing: -.02em; font-weight: 500; }
.gallery.no-gl .g-src .g-li-cap span { color: var(--ink-2); }
@media (max-width: 720px) { .g-ui { bottom: 30px; } .g-cap-text { font-size: 14px; } }

/* Road to live */
.road { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 180px) var(--m); }
.road h2 { font-size: clamp(2.2rem, 1rem + 5.6vw, 6.4rem); line-height: .98; max-width: 14ch; margin: 16px 0 0; }
.road-list { position: relative; margin-top: clamp(40px, 6vw, 88px); display: grid; gap: 0; list-style: none; padding: 0; }
.road-track, .road-fill { position: absolute; left: 31px; top: 30px; bottom: 30px; width: 4px; margin-left: -2px; border-radius: 4px; }
.road-track { background: repeating-linear-gradient(to bottom, var(--line) 0 14px, transparent 14px 26px); }
.road-fill { background: var(--tone); transform-origin: top; transform: scaleY(0); }
.road-dot { position: absolute; left: 31px; top: 30px; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px color-mix(in srgb, var(--tone) 40%, transparent); z-index: 2; will-change: top; }
.station { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px 28px; padding: 0 0 clamp(36px, 6vw, 72px); }
.station:last-child { padding-bottom: 0; }
@media (min-width: 900px) { .station { grid-template-columns: 62px minmax(0, 1fr) minmax(0, 1.1fr); gap: 8px 48px; align-items: start; } }
.st-mark { grid-row: 1 / 3; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line); font-size: 22px; font-weight: 500; letter-spacing: -.03em; position: relative; z-index: 1; transition: background .5s var(--ease-out), color .5s var(--ease-out), border-color .5s var(--ease-out); }
@media (min-width: 900px) { .st-mark { grid-row: auto; } }
.station.is-on .st-mark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.st-title { font-size: clamp(26px, 3vw, 44px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; padding-top: 10px; margin: 0; }
.st-text { color: var(--ink-2); max-width: 46ch; padding-top: 6px; margin: 0; }
@media (min-width: 900px) { .st-text { padding-top: 16px; } }
.st-tag { display: inline-block; margin-top: 10px; color: var(--ink-3); }
.station .st-title, .station .st-text { opacity: .35; transition: opacity .6s var(--ease-out); }
.station.is-on .st-title, .station.is-on .st-text { opacity: 1; }
html.no-js .station .st-title, html.no-js .station .st-text { opacity: 1; }

/* contact + footer sit on the dark ground */
.contact, .foot { color: #fff4ea; --ink: #fff4ea; --muted: #c9b9a8; --ring: rgba(255, 244, 234, .14); --surface: rgba(24, 16, 11, .58); --field: rgba(13, 9, 7, .55); --ink-3: #a99a8a; }
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; } }
.gallery { padding: 0; }
/* 44px tap targets */
.brand, .pill-a, .build-chips button, .tabs-s button, .copy { min-height: 44px; }
.brand { display: inline-flex; align-items: center; }
.chk input { min-width: 24px; min-height: 24px; }

/* Contact card: a single Book a demo button */
.tally { display: flex; align-items: center; min-height: 100%; }
.tally .btn { width: auto; min-height: 48px; padding: 0 26px; }
