:root {
  --teal: #0d9488;
  --teal-2: #14b8a6;
  --navy: #0f2e35;
  --amber: #f59e0b;
  --ink: #0f2a2e;
  --muted: #52706f;
  --bg: #ffffff;
  --bg-soft: #f2faf8;
  --card: #ffffff;
  --border: #e0efec;
  --shadow: 0 20px 50px -24px rgba(13, 90, 82, .35);
  --radius: 18px;
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eafaf6;
    --muted: #93b7b2;
    --bg: #08171a;
    --bg-soft: #0d2126;
    --card: #102a2f;
    --border: #1c3d42;
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: var(--teal); }
@media (prefers-color-scheme: dark) { a { color: var(--teal-2); } }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
  border-radius: 999px; padding: 12px 22px; border: 1.5px solid transparent;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: #fff; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 10px 24px -12px rgba(13, 148, 136, .7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(13, 148, 136, .8); }
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); box-shadow: none; }
.btn-ghost:hover { border-color: var(--teal-2); color: var(--teal); }
.btn-invert { background: #fff; color: var(--teal); box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
.btn-invert:hover { background: #ecfdf8; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 750; }
.brand-mark { color: var(--teal); display: inline-flex; }
.brand-name { font-size: 1.08rem; letter-spacing: -.01em; }
.brand-sub { color: var(--muted); font-weight: 550; font-size: .82em; }
.hubbub-logo { height: 18px; width: auto; display: inline-block; margin-left: -2px; }
.hubbub-logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .hubbub-logo-light { display: none; }
  .hubbub-logo-dark { display: inline-block; }
}
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 550; }
.site-nav a:hover { color: var(--ink); }
.site-nav .btn { color: #fff; }
@media (max-width: 640px) { .site-nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 12% 0%, rgba(20, 184, 166, .18), transparent 60%),
    radial-gradient(50% 50% at 100% 15%, rgba(245, 158, 11, .14), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--teal); margin: 0 0 14px; }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--teal-2); } }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 20px; }
.lede { font-size: 1.16rem; color: var(--muted); margin: 0 0 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.reassure { font-size: .92rem; color: var(--muted); margin: 0; }

/* Hero art: call panel */
.hero-art { position: relative; display: flex; justify-content: center; }
.callpanel {
  width: 100%; max-width: 400px; background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 18px; box-shadow: var(--shadow);
}
.call-top { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.16); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(239,68,68,0); } }
.timer { margin-left: auto; font-variant-numeric: tabular-nums; }
.bubble { border-radius: 14px; padding: 11px 14px; margin-bottom: 10px; font-size: .95rem; position: relative; }
.bubble .who { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 3px; opacity: .75; }
.bubble-them { background: var(--bg-soft); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.bubble-you { background: linear-gradient(135deg, var(--teal), var(--teal-2)); color: #fff; border-bottom-right-radius: 4px; }
.bubble-you .who { opacity: .85; }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 44px; margin: 6px 0 8px; }
.wave span {
  width: 4px; border-radius: 4px; background: var(--teal-2);
  animation: wave 1.1s ease-in-out infinite;
}
.wave span:nth-child(odd) { background: var(--teal); }
.wave span:nth-child(1){height:14px;animation-delay:0s}.wave span:nth-child(2){height:26px;animation-delay:.08s}
.wave span:nth-child(3){height:38px;animation-delay:.16s}.wave span:nth-child(4){height:20px;animation-delay:.24s}
.wave span:nth-child(5){height:32px;animation-delay:.32s}.wave span:nth-child(6){height:12px;animation-delay:.40s}
.wave span:nth-child(7){height:30px;animation-delay:.48s}.wave span:nth-child(8){height:40px;animation-delay:.56s}
.wave span:nth-child(9){height:18px;animation-delay:.64s}.wave span:nth-child(10){height:28px;animation-delay:.72s}
.wave span:nth-child(11){height:16px;animation-delay:.80s}.wave span:nth-child(12){height:22px;animation-delay:.88s}
@keyframes wave { 0%,100% { transform: scaleY(.4); opacity:.6 } 50% { transform: scaleY(1); opacity:1 } }
@media (prefers-reduced-motion: reduce) { .wave span, .live-dot { animation: none; } }
.mic-row { display: flex; align-items: center; gap: 9px; font-size: .85rem; color: var(--muted); }
.mic { width: 14px; height: 14px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(13,148,136,.16); }
.score-card {
  position: absolute; right: -10px; bottom: -18px; background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); width: 220px;
}
.score-head { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.score-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .86rem; }
.score-card li { display: flex; align-items: center; gap: 8px; }
.tick { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(16,185,129,.16); color: #10b981; font-size: .72rem; font-weight: 800; }
.warn { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(245,158,11,.18); color: var(--amber); font-size: .78rem; font-weight: 800; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-art { order: -1; }
  .score-card { right: 0; }
}

/* Strip */
.strip { background: var(--teal); color: #fff; text-align: center; padding: 22px 0; }
.strip p { margin: 0; font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }

/* Sections */
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -.02em; text-align: center; margin: 0 0 14px; }
.section-lede { text-align: center; color: var(--muted); font-size: 1.1rem; max-width: 56ch; margin: 0 auto 44px; }

.why { padding: 84px 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-2); }
.card-ic { width: 50px; height: 50px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; color: var(--teal); background: linear-gradient(135deg, rgba(20,184,166,.16), rgba(245,158,11,.14)); margin-bottom: 16px; }
@media (prefers-color-scheme: dark) { .card-ic { color: var(--teal-2); } }
.card h3 { margin: 0 0 8px; font-size: 1.16rem; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* How */
.how { padding: 84px 0; background: var(--bg-soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px 26px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-2)); color: #fff; font-weight: 750; font-size: 1.15rem; margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; font-size: 1.2rem; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); }

/* Closing */
.closing { padding: 88px 0; text-align: center; }
.closing-inner { background: linear-gradient(135deg, #0d9488, #14b8a6 60%, #0f766e); border-radius: 26px; padding: 60px 30px; color: #fff; box-shadow: var(--shadow); }
.closing h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -.02em; margin: 0 0 12px; }
.closing p { font-size: 1.15rem; margin: 0 auto 28px; max-width: 48ch; opacity: .95; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 30px 0; background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.foot-brand .brand-mark { color: var(--teal); }
.foot-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .92rem; margin: 0; flex-wrap: wrap; }
.foot-meta a { color: var(--muted); }
.foot-meta a:hover { color: var(--ink); }
