/* Humming website. Tokens: docs/BRAND.md "Design tokens". No web fonts, no third-party requests. */
:root {
  color-scheme: dark light;
  /* semantic tokens, dark (default) */
  --bg: #0f0f13; --surface: #17171d; --surface-2: #1f1f27; --line: rgba(255, 255, 255, .09);
  --fg: #f4f4f7; --muted: #a3a3b0;
  --accent: #e5486b; --accent-strong: #c93a5b; --accent-strong-hover: #b03050; --accent-ink: #f0607f;
  --ok: #7ee2a8; --no: #a3a3b0;
  --glow: rgba(229, 72, 107, .16);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-2: 0 24px 48px -16px rgba(0, 0, 0, .6), 0 8px 16px -8px rgba(0, 0, 0, .5);
  /* scale */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;
  --r-s: 8px; --r-m: 14px; --r-l: 22px; --r-pill: 999px;
  --ease-out: cubic-bezier(.16, 1, .3, 1); --dur: 220ms;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --wrap: 1160px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #fbfbfc; --surface: #ffffff; --surface-2: #f3f3f6; --line: rgba(15, 15, 19, .1);
    --fg: #121216; --muted: #5c5c68; --accent-ink: #c93a5b; --ok: #13703f; --no: #5c5c68;
    --glow: rgba(229, 72, 107, .10);
    --shadow-1: 0 1px 2px rgba(15, 15, 19, .06);
    --shadow-2: 0 24px 48px -20px rgba(15, 15, 19, .28), 0 8px 16px -10px rgba(15, 15, 19, .18);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--fg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
:lang(bn) { font-family: "Noto Sans Bengali", "Nirmala UI", "Kohinoor Bangla", "Bangla Sangam MN", "Vrinda", var(--font); }
code { font: .9em var(--mono); background: var(--surface-2); padding: .1em .35em; border-radius: 5px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 750; }
h3 { font-size: 1.125rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s5); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mt-4 { margin-top: var(--s4); } .mt-5 { margin-top: var(--s5); }
figure { margin: 0; }
.skip { position: absolute; left: -999px; top: var(--s2); background: var(--surface); padding: var(--s2) var(--s4); border-radius: var(--r-s); z-index: 10; }
.skip:focus { left: var(--s2); }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: var(--s4); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); color: var(--fg); text-decoration: none; font-weight: 750; font-size: 1.125rem; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s1); }
.nav a { color: var(--muted); text-decoration: none; padding: var(--s2) var(--s3); border-radius: var(--r-s); font-size: .9375rem; }
.nav a:hover { color: var(--fg); background: var(--surface-2); }
.nav .btn { margin-left: var(--s2); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s5);
  border-radius: var(--r-pill); font-weight: 650; font-size: 1rem; text-decoration: none; border: 1px solid transparent;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-primary:hover { background: var(--accent-strong-hover); }
.btn-ghost { color: var(--fg); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--fg) 30%, transparent); }
.btn:active { transform: translateY(1px); }
.nav .btn { min-height: 40px; padding: 0 var(--s4); font-size: .9375rem; color: #fff; }

/* hero */
.hero { position: relative; overflow: hidden; padding: var(--s8) 0 var(--s8); }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; } .hero { padding: var(--s9) 0 var(--s8); } }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.25rem); font-weight: 800; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero .lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 36rem; margin-top: var(--s5); }
.cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.facts { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: var(--s6) 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9375rem; }
.facts li { display: inline-flex; align-items: center; gap: var(--s2); }
.facts svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.wave { display: block; width: 168px; height: 28px; color: var(--accent); margin-bottom: var(--s5); }

/* device frames: real captures */
.devices { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.phone { position: relative; border-radius: 38px; padding: 9px; background: #1c1c22; border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-2); }
.phone img { border-radius: 30px; }
.phone-main { width: min(300px, 58%); z-index: 2; }
.phone-back { width: min(240px, 46%); margin-left: -12%; margin-bottom: 36px; opacity: .96; }
@media (max-width: 420px) { .phone-back { display: none; } .phone-main { width: min(300px, 78%); } }

/* sections */
section { padding: var(--s8) 0; }
@media (min-width: 960px) { section { padding: var(--s9) 0; } }
.section-head { max-width: 46rem; margin-bottom: var(--s7); }
.section-head p { margin-top: var(--s4); font-size: 1.125rem; color: var(--muted); }
.section-next { margin-top: var(--s9); }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* proof line */
.proof { padding: var(--s6) 0; border-bottom: 1px solid var(--line); }
.proof dl { display: grid; gap: var(--s5); margin: 0; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.proof dt { font-weight: 700; font-size: 1.0625rem; }
.proof dd { margin: var(--s1) 0 0; color: var(--muted); font-size: .9375rem; }

/* feature rows */
.feature { display: grid; gap: var(--s6); align-items: center; padding: var(--s7) 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .feature.flip .feature-media { order: -1; }
}
.feature h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 750; letter-spacing: -.02em; }
.feature p { color: var(--muted); margin-top: var(--s4); font-size: 1.0625rem; max-width: 34rem; }
.feature ul { margin: var(--s5) 0 0; padding: 0; list-style: none; display: grid; gap: var(--s3); }
.feature li { position: relative; padding-left: var(--s5); }
.feature li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.feature-media { display: flex; justify-content: center; gap: var(--s4); }
.feature-media .phone { flex: 0 1 260px; min-width: 0; }
.shot-wide { border-radius: var(--r-m); border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden; background: var(--surface); }
.tag { display: inline-block; font-size: .8125rem; font-weight: 650; color: var(--accent-ink); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: var(--r-pill); padding: .15rem .6rem; margin-left: var(--s2); vertical-align: middle; letter-spacing: 0; }

/* privacy */
.privacy-grid { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .privacy-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
.privacy-grid h3 { margin-bottom: var(--s4); }
.list-check, .list-net { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s4); }
.list-check li, .list-net li { padding-left: var(--s6); position: relative; color: var(--muted); }
.list-check li strong, .list-net li strong { color: var(--fg); font-weight: 650; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--ok) 18%, transparent); box-shadow: inset 0 0 0 1.5px var(--ok); }
.list-net { counter-reset: n; }
.list-net li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%;
  font-size: .75rem; font-weight: 700; display: grid; place-items: center; background: var(--surface-2); color: var(--fg); border: 1px solid var(--line); }

/* comparison table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 720px; }
caption { text-align: left; padding: var(--s4) var(--s5); color: var(--muted); font-size: .875rem; caption-side: bottom; border-top: 1px solid var(--line); }
th, td { padding: var(--s3) var(--s4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { font-size: .8125rem; font-weight: 650; color: var(--muted); text-transform: none; background: var(--surface-2); position: sticky; top: 0; }
tbody th { font-weight: 600; color: var(--fg); min-width: 9rem; }
td.us, thead th.us { background: color-mix(in srgb, var(--accent) 7%, transparent); }
thead th.us { color: var(--fg); }
.yes { color: var(--ok); font-weight: 650; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.numbers { font-variant-numeric: tabular-nums; }

/* downloads */
.dl-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.dl { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5) var(--s4); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--bg); }
.dl h3 { display: flex; align-items: center; gap: var(--s3); }
.dl h3 svg { width: 22px; height: 22px; color: var(--accent-ink); flex: none; }
.dl p { color: var(--muted); font-size: .9375rem; }
.dl .btn { margin-top: auto; align-self: flex-start; white-space: nowrap; padding: 0 var(--s4); font-size: .9375rem; }
.dl .file { font: .8125rem var(--mono); color: var(--muted); word-break: break-all; }
.verify { margin-top: var(--s6); padding: var(--s5); border-radius: var(--r-m); background: var(--surface-2); font-size: .9375rem; color: var(--muted); }
.verify pre { margin: var(--s3) 0 0; overflow-x: auto; font: .8125rem/1.6 var(--mono); color: var(--fg); }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s5) var(--s7) var(--s5) 0; font-weight: 650; font-size: 1.0625rem; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: var(--s2); top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 var(--s5); color: var(--muted); max-width: 46rem; }
.faq details > div p + p { margin-top: var(--s3); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: var(--s7) 0 var(--s8); color: var(--muted); font-size: .9375rem; }
.foot .wrap { display: grid; gap: var(--s5); }
@media (min-width: 760px) { .foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-title { font-size: .875rem; font-weight: 650; color: var(--fg); margin-bottom: var(--s3); }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s2); }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--fg); }

/* prose pages (privacy, 404) */
.prose { max-width: 46rem; margin: 0 auto; padding: var(--s7) var(--s5) var(--s8); }
.prose h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: var(--s4); }
.prose h2 { font-size: 1.375rem; margin: var(--s7) 0 var(--s3); }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: var(--s4); }
.prose li { margin: var(--s2) 0; }
.prose strong { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
