/* ==========================================================================
   Sandhya Tech — Global Stylesheet
   Brand: charcoal #2F3033 + signal yellow #FFF100
   ========================================================================== */

:root {
  /* Surfaces */
  --ink:        #0A0B0D;
  --ink-1:      #101216;
  --ink-2:      #16191E;
  --ink-3:      #1D2127;
  --line:       rgba(255, 255, 255, 0.09);
  --line-2:     rgba(255, 255, 255, 0.16);

  /* Brand */
  --brand:      #FFF100;
  --brand-2:    #FFC400;
  --brand-soft: rgba(255, 241, 0, 0.12);
  --brand-glow: rgba(255, 241, 0, 0.28);
  --brand-wash:    rgba(255, 241, 0, 0.10);   /* tinted background */
  --brand-edge:    rgba(255, 241, 0, 0.26);   /* accent border */
  --brand-edge-2:  rgba(255, 241, 0, 0.42);   /* stronger accent border */
  --brand-ghost:   rgba(255, 241, 0, 0.09);   /* huge faint numerals */
  --brand-ghost-2: rgba(255, 241, 0, 0.18);   /* quote marks */
  --grad-text: linear-gradient(100deg, var(--brand) 0%, var(--brand-2) 55%, #FFE066 100%);

  /* Text */
  --text:       #EEF0F3;
  --text-2:     #B9BFC7;
  --muted:      #858C96;

  /* Accent used for TEXT and icons. In light mode this shifts to a deep amber,
     because #FFF100 scores ~1.1:1 on white and is unreadable. Pure yellow stays
     reserved for filled surfaces with dark text. */
  --brand-ink:  #FFF100;
  --on-brand:   #0A0B0D;     /* text sitting on a yellow fill */

  /* Support */
  --wa:         #25D366;
  --ok:         #34D399;
  --on-ok:      #062C1E;     /* text sitting on a green fill */

  /* Translucent overlay surfaces (ghost buttons, chips, filters, inputs) */
  --chip:       rgba(255, 255, 255, 0.05);
  --chip-hover: rgba(255, 255, 255, 0.10);
  --field:      rgba(255, 255, 255, 0.04);
  --placeholder:#5C636D;
  --header-bg:  rgba(10, 11, 13, 0.72);
  --header-bg-2:rgba(10, 11, 13, 0.92);
  --veil:       rgba(22, 25, 30, 0.86);   /* floating chips, hints */
  --scroll:     #2A2F37;
  --scroll-2:   #3A414B;
  --card-top:   var(--ink-2);
  --card-bot:   var(--ink-1);
  --map-filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9);

  /* Metrics */
  --wrap:       1200px;
  --r-sm:       10px;
  --r:          16px;
  --r-lg:       24px;
  --r-pill:     999px;
  --shadow:     0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-sm:  0 8px 24px rgba(0, 0, 0, 0.35);
  --t:          220ms cubic-bezier(.4, 0, .2, 1);

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--brand); color: #000; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--scroll); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--scroll-2); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--ink-1); }

.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 32px; }
.mt-4 { margin-top: 48px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.03rem; font-weight: 700; }

p { color: var(--text-2); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--text-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.yellow { color: var(--brand-ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border: 1px solid var(--brand-edge);
  padding: 7px 15px; border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-ink); box-shadow: 0 0 0 0 var(--brand-glow);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--brand-glow); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 241, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 241, 0, 0); }
}

.sec-head { max-width: 700px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; }
.sec-head p { margin-top: 14px; }
.sec-head--split {
  max-width: none; display: flex; flex-wrap: wrap; gap: 20px 28px;
  justify-content: space-between; align-items: flex-end;
}
.sec-head--split > div { max-width: 640px; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--r-pill);
  font-weight: 700; font-size: .95rem; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #0A0B0D;
  box-shadow: 0 10px 30px rgba(255, 196, 0, 0.22);
}
.btn--primary:hover { box-shadow: 0 16px 40px rgba(255, 196, 0, 0.34); }

.btn--ghost {
  background: var(--chip);
  border-color: var(--line-2);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--chip-hover); border-color: var(--brand-ink); }

.btn--wa { background: var(--wa); color: #062511; box-shadow: 0 10px 30px rgba(37, 211, 102, .2); }
.btn--wa:hover { box-shadow: 0 16px 40px rgba(37, 211, 102, .32); }

.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--sm { padding: 9px 18px; font-size: .84rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 200;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.header.is-stuck { border-bottom-color: var(--line); background: var(--header-bg-2); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; line-height: 1.05; }
.brand-tag { display: block; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 15px; border-radius: var(--r-pill);
  font-size: .93rem; font-weight: 600; color: var(--text-2);
  transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--text); background: var(--chip); }
.nav-links a.active { color: var(--brand-ink); background: var(--brand-soft); }

.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--chip); border: 1px solid var(--line);
  cursor: pointer; place-items: center;
}
.burger span { display: block; width: 19px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--t); }
.burger span + span { margin-top: 5px; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 92px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 460px at 78% -8%, var(--brand-wash), transparent 62%),
    radial-gradient(700px 420px at 8% 8%, rgba(255, 196, 0, 0.07), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(760px 460px at 50% 22%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 460px at 50% 22%, #000 20%, transparent 78%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: .86rem; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--brand-ink); flex: none; }

/* Phone mockup */
.phone-stage { position: relative; display: grid; place-items: center; min-height: 600px; padding-bottom: 34px; }
.phone-glow {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 241, 0, .22), transparent 66%);
  filter: blur(34px);
}
.phone {
  position: relative; width: 262px; aspect-ratio: 9 / 19;
  background: linear-gradient(165deg, #23272E, #0E1013);
  border: 2px solid #2E333B; border-radius: 38px; padding: 9px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .05);
  animation: float 6.5s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone-screen {
  height: 100%; border-radius: 30px; overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 241, 0, .10), transparent 60%),
    linear-gradient(178deg, #171B21 0%, #0A0B0D 62%);
  display: flex; flex-direction: column; padding: 13px 15px 11px;
}
.phone-notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 5px; background: #05070A; border-radius: 4px; z-index: 2;
}

/* status bar */
.ps-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .55rem; font-weight: 700; color: var(--text-2); letter-spacing: .02em;
  padding: 0 4px 8px;
}
.ps-status-icons { display: inline-flex; gap: 4px; align-items: center; }
.ps-status-icons svg { width: 9px; height: 9px; }

/* app bar */
.ps-appbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 2px 0;
}
.ps-appname { font-size: .74rem; font-weight: 700; letter-spacing: -.01em; }
.ps-appname b { color: var(--brand-ink); }
.ps-ico { color: var(--text-2); display: grid; place-items: center; }
.ps-ico svg { width: 13px; height: 13px; }

/* spinning vinyl */
.ps-disc-wrap { position: relative; display: grid; place-items: center; margin: 12px 0 8px; }
.ps-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.ps-rings i {
  position: absolute; border: 1px solid rgba(255, 241, 0, .16); border-radius: 50%;
  width: 96px; height: 96px; opacity: 0;
}
.ps-disc {
  position: relative; width: 92px; height: 92px; border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.05) 0 1px, transparent 1px 4px),
    conic-gradient(from 0deg, #23272E, #12151A 25%, #23272E 50%, #12151A 75%, #23272E);
  display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.ps-disc-face {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #0A0B0D;
  box-shadow: 0 6px 16px rgba(255, 196, 0, .3);
}
.ps-disc-face svg { width: 28px; height: 28px; }
.ps-disc-hole {
  position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: #0A0B0D; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

/* playing state */
.is-playing .ps-disc { animation: spin 5.5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.is-playing .ps-rings i { animation: ripple 2.6s ease-out infinite; }
.is-playing .ps-rings i:nth-child(2) { animation-delay: .85s; }
.is-playing .ps-rings i:nth-child(3) { animation-delay: 1.7s; }
@keyframes ripple {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}

.ps-title { text-align: center; font-weight: 800; font-size: .92rem; margin-top: 2px; }
.ps-sub {
  text-align: center; font-size: .64rem; color: var(--muted); margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ps-live {
  margin: 6px auto 4px; display: inline-flex; align-items: center; gap: 5px;
  font-size: .55rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #FF5C5C; background: rgba(255, 92, 92, .12); border: 1px solid rgba(255, 92, 92, .3);
  padding: 3px 9px; border-radius: var(--r-pill);
  transition: color var(--t), background var(--t), border-color var(--t);
}
.ps-live i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.ps-live.is-on { color: var(--ok); background: rgba(52, 211, 153, .13); border-color: rgba(52, 211, 153, .35); }
.ps-live.is-err { color: #FFB020; background: rgba(255, 176, 32, .12); border-color: rgba(255, 176, 32, .32); }

/* equaliser — flat until the stream is actually playing */
.eq { display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 34px; margin: 10px 0 8px; }
.eq i {
  width: 3px; height: 12%; border-radius: 3px;
  background: linear-gradient(180deg, var(--brand), rgba(255, 196, 0, .25));
  transition: height .3s ease;
}
.is-playing .eq i { animation: eq 1s ease-in-out infinite; }
@keyframes eq { 0%, 100% { height: 14%; } 50% { height: 100%; } }

/* controls */
.ps-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 2px; }
.ps-btn {
  width: 32px; height: 32px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; background: rgba(255, 255, 255, .07);
  color: var(--text-2); cursor: pointer; transition: background var(--t), transform var(--t);
}
.ps-btn:hover { background: rgba(255, 255, 255, .13); }
.ps-btn svg { width: 14px; height: 14px; grid-area: 1 / 1; }
.ps-btn--main {
  width: 50px; height: 50px; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #0A0B0D;
  box-shadow: 0 8px 22px rgba(255, 196, 0, .32);
}
.ps-btn--main:hover { transform: scale(1.06); background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.ps-btn--main svg { width: 20px; height: 20px; }

/* play / pause / loading swap */
.ps-btn--main .i-pause,
.ps-btn--main .i-spin { display: none; }
.is-playing .ps-btn--main .i-play  { display: none; }
.is-playing .ps-btn--main .i-pause { display: block; }
.is-loading .ps-btn--main .i-play,
.is-loading .ps-btn--main .i-pause { display: none; }
.is-loading .ps-btn--main .i-spin  { display: block; }
.i-spin {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid rgba(10, 11, 13, .25); border-top-color: #0A0B0D;
  animation: spin .7s linear infinite;
}

/* volume */
.ps-vol { display: flex; align-items: center; gap: 7px; padding: 10px 6px 8px; }
.ps-vol svg { width: 12px; height: 12px; color: var(--muted); flex: none; }
.ps-vol input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14);
  cursor: pointer; padding: 0;
}
.ps-vol input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 10px; height: 10px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 241, 0, .18);
}
.ps-vol input[type="range"]::-moz-range-thumb {
  width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--brand);
}

/* bottom nav */
.ps-nav {
  margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  border-top: 1px solid rgba(255, 255, 255, .07); padding-top: 8px;
}
.ps-nav span {
  display: grid; justify-items: center; gap: 3px;
  font-size: .5rem; font-weight: 700; color: #5C636D; letter-spacing: .02em;
}
.ps-nav svg { width: 13px; height: 13px; }
.ps-nav .is-on { color: var(--brand-ink); }

/* hint under the phone */
.phone-hint {
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: .74rem; font-weight: 600; color: var(--muted);
  background: var(--veil); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: var(--r-pill); backdrop-filter: blur(8px);
}
.phone-hint svg { width: 12px; height: 12px; color: var(--brand-ink); flex: none; }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--veil); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: 14px; padding: 11px 15px;
  box-shadow: var(--shadow-sm); font-size: .8rem; font-weight: 700; white-space: nowrap;
  animation: float 7.5s ease-in-out infinite;
}
.float-chip small { display: block; font-size: .66rem; font-weight: 600; color: var(--muted); }
.float-chip .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
.float-chip .ico svg { width: 15px; height: 15px; }
.chip-a { top: 12%; left: -4%; animation-delay: .6s; }
.chip-b { bottom: 16%; right: -6%; animation-delay: 1.4s; }

/* ---------- Marquee (logos / keywords) ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink-1); padding: 20px 0; }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .92rem; color: var(--muted); white-space: nowrap;
}
.marquee-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-ink); opacity: .7; }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--card-top), var(--card-bot));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); border-color: var(--brand-edge); box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .93rem; }

.card-ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-ink); margin-bottom: 18px;
  border: 1px solid var(--brand-edge);
}
.card-ico svg { width: 24px; height: 24px; }

.card--split {
  display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center;
}
.card--split .btn { white-space: nowrap; }

.card-list { margin-top: 16px; display: grid; gap: 9px; }
.card-list li { display: flex; gap: 9px; font-size: .88rem; color: var(--text-2); }
.card-list li svg { width: 16px; height: 16px; color: var(--brand-ink); flex: none; margin-top: 4px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { background: var(--ink-1); padding: 30px 22px; text-align: center; transition: background var(--t); }
.stat:hover { background: var(--ink-2); }
.stat b { display: block; font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; color: var(--brand-ink); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: .82rem; color: var(--muted); font-weight: 600; }

/* Secondary stat line under the main stats band */
.stats-note {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: 6px 10px;
  font-size: .92rem; color: var(--muted); text-align: center;
}
.stats-note b { color: var(--brand-ink); font-size: 1.18rem; font-weight: 800; letter-spacing: -.02em; }
.stats-note i {
  width: 4px; height: 4px; border-radius: 50%; background: var(--line-2);
  display: inline-block; margin-inline: 6px;
}

/* ---------- Project cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.filter {
  padding: 8px 17px; border-radius: var(--r-pill); font-size: .85rem; font-weight: 700;
  background: var(--chip); border: 1px solid var(--line); color: var(--text-2); cursor: pointer;
  transition: var(--t);
}
.filter:hover { border-color: var(--line-2); color: var(--text); }
.filter.active { background: var(--brand); border-color: var(--brand); color: #0A0B0D; }

.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 20px; }

.proj {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative; overflow: hidden;
}
.proj::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-ink), transparent);
  opacity: 0; transition: opacity var(--t);
}
.proj:hover { transform: translateY(-6px); border-color: var(--brand-edge); box-shadow: var(--shadow-sm); }
.proj:hover::after { opacity: 1; }

.proj-top { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.proj-logo {
  width: 52px; height: 52px; border-radius: 15px; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; color: #0A0B0D;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 18px rgba(255, 196, 0, .18);
}
/* Real station logo — white pad so dark and light logos both read well */
.proj-logo--img {
  background: #FFFFFF;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
  overflow: hidden; padding: 5px;
}
.proj-logo--img img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.proj-name { font-weight: 800; font-size: 1rem; line-height: 1.25; letter-spacing: -.015em; }
.proj-freq { font-size: .75rem; color: var(--brand-ink); font-weight: 700; letter-spacing: .04em; }
.proj p { font-size: .87rem; margin-bottom: 16px; flex: 1; }

.proj-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
/* Feature pills on project cards.
   Green by default: every one of these is a feature that already ships in the
   app, so it should read as "included / done", not as a neutral label. */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-pill);
  color: var(--ok);
  background: rgba(52, 211, 153, .09);
  border: 1px solid rgba(52, 211, 153, .26);
}
.tag::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--ok); opacity: .85; flex: none;
}

/* "Live on Play Store" — the strongest signal on the card, so it's filled in */
.tag--live {
  color: var(--on-ok); background: var(--ok); border-color: var(--ok);
  box-shadow: 0 4px 12px rgba(52, 211, 153, .22);
}
.tag--live::before { background: var(--on-ok); opacity: 1; animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* Neutral pill — used for the "Trusted by" station list, not app features */
.tag--plain {
  color: var(--muted); background: var(--chip); border-color: var(--line);
}
.tag--plain::before { display: none; }

.proj-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-pill); font-size: .83rem; font-weight: 700;
  background: var(--chip); border: 1px solid var(--line-2); color: var(--text);
  transition: var(--t);
}
.proj-link svg { width: 15px; height: 15px; }
.proj-link:hover { background: var(--brand); border-color: var(--brand); color: #0A0B0D; }

/* ---------- Why choose us ---------- */
.why { position: relative; overflow: hidden; }
.why::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(720px 400px at 82% 12%, var(--brand-wash), transparent 62%);
}
.why > * { position: relative; z-index: 1; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  background: linear-gradient(180deg, var(--ink-3), var(--card-bot));
  border: 1px solid var(--line); border-radius: var(--r); padding: 28px;
  transition: transform var(--t), border-color var(--t), background var(--t);
  position: relative;
}
.why-card:hover { transform: translateY(-6px); border-color: var(--brand-edge-2); }
.why-num {
  position: absolute; top: 18px; right: 22px;
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: var(--brand-ghost); letter-spacing: -.04em;
}
.why-card h3 { margin-bottom: 10px; padding-right: 42px; }
.why-card p { font-size: .91rem; }

/* Highlight card */
.why-card--hero {
  grid-column: span 3;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center;
  background: linear-gradient(120deg, var(--brand-wash), var(--card-bot) 52%);
  border-color: var(--brand-edge); padding: 40px;
}
.why-card--hero:hover { transform: none; }
.why-points { display: grid; gap: 13px; }
.why-points li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--text-2); }
.why-points b { color: var(--text); display: block; font-size: .95rem; }
.why-points .tick {
  width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: 2px;
  display: grid; place-items: center; background: var(--brand); color: #0A0B0D;
}
.why-points .tick svg { width: 13px; height: 13px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding-top: 34px; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .92rem;
  background: var(--brand); color: #0A0B0D;
}
.step::after {
  content: ""; position: absolute; top: 19px; left: 46px; right: -20px; height: 1px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}
.step:last-child::after { display: none; }
.step h4 { margin: 14px 0 7px; }
.step p { font-size: .88rem; }

/* ---------- Packages ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px;
  transition: transform var(--t), border-color var(--t);
}
.plan:hover { transform: translateY(-5px); border-color: var(--line-2); }
.plan--best {
  border-color: var(--brand-edge-2);
  background: linear-gradient(180deg, var(--brand-wash), var(--ink-1) 40%);
  box-shadow: 0 24px 60px rgba(255, 196, 0, .1);
}
.plan-badge {
  align-self: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: var(--brand); color: #0A0B0D; padding: 4px 12px; border-radius: var(--r-pill); margin-bottom: 14px;
}
.plan h3 { font-size: 1.3rem; }
.plan .plan-for { font-size: .87rem; color: var(--muted); margin: 6px 0 20px; }
.plan ul { display: grid; gap: 11px; margin-bottom: 26px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .89rem; color: var(--text-2); }
.plan li svg { width: 16px; height: 16px; color: var(--brand-ink); flex: none; margin-top: 4px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--r); padding: 28px;
  position: relative; transition: var(--t);
}
.quote:hover { border-color: var(--line-2); transform: translateY(-4px); }
.quote-mark { font-size: 3rem; line-height: 1; color: var(--brand-ghost-2); font-weight: 800; }
.quote p { font-size: .93rem; margin: -8px 0 20px; }
.quote-by { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 800; font-size: .88rem; color: #0A0B0D;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.quote-by b { display: block; font-size: .9rem; }
.quote-by span { font-size: .78rem; color: var(--muted); }
.stars { color: var(--brand-ink); font-size: .85rem; letter-spacing: 2px; margin-bottom: 12px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 18px 22px; transition: border-color var(--t), background var(--t);
}
.faq details[open] { border-color: var(--brand-edge); background: var(--card-top); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: .97rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--brand-ink); flex: none; line-height: 1;
  transition: transform var(--t);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 12px; font-size: .91rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--brand-wash), var(--ink-1) 58%);
  border: 1px solid var(--brand-edge);
  border-radius: var(--r-lg); padding: 52px;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px;
  border-radius: 50%; background: radial-gradient(circle, var(--brand-wash), transparent 68%);
  filter: blur(24px);
}
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: 12px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 72px 0 54px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(760px 380px at 24% -18%, var(--brand-wash), transparent 64%);
}
.crumb { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.crumb a:hover { color: var(--brand-ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: start; }

.info-card {
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--line); border-radius: var(--r); padding: 28px;
}
.info-row { display: flex; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row:last-of-type { border-bottom: 0; padding-bottom: 4px; }
.info-row .ico {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-ink); border: 1px solid var(--brand-edge);
}
.info-row .ico svg { width: 19px; height: 19px; }
.info-row b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 3px; font-weight: 700; }
.info-row p, .info-row a { font-size: .95rem; color: var(--text); }
.info-row a:hover { color: var(--brand-ink); }

.form { background: linear-gradient(180deg, var(--card-top), var(--card-bot)); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: .83rem; font-weight: 700; margin-bottom: 7px; color: var(--text-2); }
.field label span { color: var(--brand-ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border-radius: var(--r-sm);
  background: var(--field); border: 1px solid var(--line-2); color: var(--text);
  font-size: .94rem; transition: border-color var(--t), background var(--t);
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-ink); background: var(--brand-wash);
}
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field select option { background: var(--ink-2); color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; text-align: center; }

.map-embed { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); height: 300px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: var(--map-filter); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-1); border-top: 1px solid var(--line); padding: 60px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 38px; margin-bottom: 42px; }
.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); margin-bottom: 18px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { font-size: .92rem; color: var(--text-2); transition: color var(--t); }
.footer-links a:hover { color: var(--brand-ink); }
.footer-about p { font-size: .9rem; margin: 16px 0; max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .85rem; color: var(--muted);
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--chip); border: 1px solid var(--line); color: var(--text-2); transition: var(--t);
}
.socials a svg { width: 17px; height: 17px; }
.socials a:hover { background: var(--brand); color: #0A0B0D; border-color: var(--brand); transform: translateY(-2px); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 300;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .35);
  transition: transform var(--t);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Reveal on scroll ----------
   Scoped to .js so that if JavaScript is disabled or fails to load,
   nothing is left stuck at opacity: 0. The .js class is added by a tiny
   inline script in each page's <head>. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .section { padding: 76px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .phone-stage { min-height: 590px; }
  .chip-a { left: 2%; } .chip-b { right: 2%; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card--hero { grid-column: span 2; grid-template-columns: 1fr; gap: 26px; padding: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .step:nth-child(2)::after { display: none; }
  .plans { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cta-band { grid-template-columns: 1fr; padding: 38px; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--header-bg-2); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); padding: 14px 22px 22px;
    transform: translateY(-130%); transition: transform 300ms cubic-bezier(.4, 0, .2, 1);
    max-height: calc(100dvh - 74px); overflow-y: auto;
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a { padding: 13px 15px; font-size: 1rem; border-radius: 12px; }
  .burger { display: grid; }
  .nav-cta .btn--desktop { display: none; }

  .section { padding: 60px 0; }
  .hero { padding: 56px 0 68px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-card--hero { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .projects { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .card--split { grid-template-columns: 1fr; }
  .card--split .btn { width: 100%; }
  .sec-head--split { flex-direction: column; align-items: stretch; }
  .card, .plan, .why-card, .quote { padding: 24px; }
  .why-card--hero { padding: 26px; }
  .card[style*="padding:38px"] { padding: 24px !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-band { padding: 30px 24px; }
  .phone { width: 232px; }
  .float-chip { display: none; }
  .phone-stage { min-height: 550px; }
  .phone-hint { font-size: .7rem; padding: 5px 12px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

/* ==========================================================================
   LIGHT THEME
   --------------------------------------------------------------------------
   Applied via <html data-theme="light">, set by the inline script in each
   page's <head> (stored choice first, otherwise the OS setting).

   Key rule: #FFF100 scores ~1.1:1 against white, so it is NEVER used as text
   here. --brand-ink becomes a deep amber (~4.9:1 on white) for text and icons,
   while pure yellow stays for filled surfaces that carry near-black text.
   ========================================================================== */
:root[data-theme="light"] {
  color-scheme: light;

  /* Surfaces */
  --ink:        #FFFFFF;
  --ink-1:      #F4F6F9;
  --ink-2:      #FFFFFF;
  --ink-3:      #EDF0F5;
  --line:       rgba(15, 23, 42, 0.10);
  --line-2:     rgba(15, 23, 42, 0.17);

  /* Brand — yellow kept for fills, amber introduced for text */
  --brand-ink:     #8A6D00;
  --brand-soft:    rgba(255, 196, 0, 0.17);
  --brand-glow:    rgba(190, 150, 0, 0.30);
  --brand-wash:    rgba(255, 196, 0, 0.17);
  --brand-edge:    rgba(150, 118, 0, 0.30);
  --brand-edge-2:  rgba(150, 118, 0, 0.55);
  --brand-ghost:   rgba(150, 118, 0, 0.14);
  --brand-ghost-2: rgba(150, 118, 0, 0.22);
  --grad-text: linear-gradient(100deg, #8A6D00 0%, #B58900 52%, #7A5F00 100%);

  /* Text */
  --text:       #10151B;
  --text-2:     #454E5A;
  --muted:      #626B78;   /* 4.5:1 even on the grey alt-section background */

  /* Support — darker green so small uppercase pills stay legible (5.5:1) */
  --ok:         #047857;
  --on-ok:      #FFFFFF;

  /* Overlays */
  --chip:        rgba(15, 23, 42, 0.045);
  --chip-hover:  rgba(15, 23, 42, 0.09);
  --field:       #FFFFFF;
  --placeholder: #98A1AE;
  --header-bg:   rgba(255, 255, 255, 0.78);
  --header-bg-2: rgba(255, 255, 255, 0.95);
  --veil:        rgba(255, 255, 255, 0.92);
  --scroll:      #C8CED7;
  --scroll-2:    #AAB2BE;
  --card-top:    #FFFFFF;
  --card-bot:    #FAFBFD;
  --map-filter:  grayscale(.12) contrast(1.02);

  --shadow:     0 24px 60px rgba(15, 23, 42, 0.10);
  --shadow-sm:  0 10px 26px rgba(15, 23, 42, 0.08);
}

/* Softer button glows on a white page */
:root[data-theme="light"] .btn--primary { box-shadow: 0 10px 26px rgba(190, 150, 0, 0.26); }
:root[data-theme="light"] .btn--primary:hover { box-shadow: 0 16px 36px rgba(190, 150, 0, 0.34); }
:root[data-theme="light"] .btn--wa { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.28); }
:root[data-theme="light"] .tag--live { box-shadow: 0 4px 12px rgba(4, 120, 87, 0.22); }

/* Cards sit on white, so they need a visible edge rather than a glow */
:root[data-theme="light"] .card,
:root[data-theme="light"] .proj,
:root[data-theme="light"] .plan,
:root[data-theme="light"] .quote,
:root[data-theme="light"] .info-card,
:root[data-theme="light"] .form,
:root[data-theme="light"] .why-card { border-color: rgba(15, 23, 42, 0.11); }

/* White logo pad needs an outline once the card behind it is also white */
:root[data-theme="light"] .proj-logo--img {
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07);
}
:root[data-theme="light"] .proj-logo { box-shadow: 0 6px 14px rgba(190, 150, 0, 0.22); }

/* The hero grid pattern is far too loud at light-mode line contrast */
:root[data-theme="light"] .hero::after { opacity: .35; }

/* Phone frame keeps its dark bezel against a white page */
:root[data-theme="light"] .phone { border-color: #3A414B; }
:root[data-theme="light"] .phone-glow { opacity: .55; }

/* ==========================================================================
   The demo phone is a DARK app screen in both themes — a radio app mockup
   shouldn't flip with the site. Re-declaring the tokens locally keeps every
   nested rule working without duplicating a single declaration.
   ========================================================================== */
.phone {
  --text:       #EEF0F3;
  --text-2:     #B9BFC7;
  --muted:      #858C96;
  --brand-ink:  #FFF100;
  --line:       rgba(255, 255, 255, 0.09);
  --line-2:     rgba(255, 255, 255, 0.16);
  --chip:       rgba(255, 255, 255, 0.07);
  --chip-hover: rgba(255, 255, 255, 0.13);
  --ok:         #34D399;
  color: var(--text);
}

/* ---------- Mini player ----------
   Appears only while the hero demo stream is playing AND the phone has
   scrolled out of view, so there is always a way to stop the audio. */
.mini-player {
  position: fixed; left: 20px; bottom: 20px; z-index: 300;
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px 9px 14px; border-radius: var(--r-pill);
  background: var(--veil); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm); backdrop-filter: blur(12px);
  font-size: .82rem; font-weight: 700; white-space: nowrap;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.mini-player.is-shown { opacity: 1; visibility: visible; transform: none; }
.mini-text small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); }
.mini-player button {
  width: 34px; height: 34px; border-radius: 50%; border: 0; flex: none;
  display: grid; place-items: center; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--on-brand);
  transition: transform var(--t);
}
.mini-player button:hover { transform: scale(1.08); }
.mini-player button svg { width: 15px; height: 15px; }

.mini-eq { display: flex; align-items: flex-end; gap: 2px; height: 16px; flex: none; }
.mini-eq i {
  width: 3px; border-radius: 2px; background: var(--brand-ink);
  animation: eq .9s ease-in-out infinite;
}
.mini-eq i:nth-child(2) { animation-delay: .18s; animation-duration: 1.1s; }
.mini-eq i:nth-child(3) { animation-delay: .36s; animation-duration: .78s; }
.mini-eq i:nth-child(4) { animation-delay: .12s; animation-duration: 1.25s; }

@media (max-width: 760px) {
  .mini-player { left: 12px; right: 84px; bottom: 16px; font-size: .76rem; padding: 8px 8px 8px 12px; }
  .mini-text { overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- Theme toggle ---------- */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center; cursor: pointer;
  background: var(--chip); border: 1px solid var(--line); color: var(--text-2);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.theme-toggle:hover { background: var(--chip-hover); color: var(--brand-ink); border-color: var(--brand-edge); }
.theme-toggle svg { width: 17px; height: 17px; grid-area: 1 / 1; }
.theme-toggle .i-sun  { display: block; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun  { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }
