:root {
  --blue: #0056d2;
  --blue-600: #0047b0;
  --blue-50: #eef4fd;
  --orange: #ff4500;
  --red: #e5002b;

  --ink: #0b0e12;
  --ink-2: #3a4450;
  --ink-3: #6b7684;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-tint: #f5f7fa;

  /* studio surfaces, matching the receiver app */
  --s-base: #0b0e12;
  --s-surface: #12161c;
  --s-surface-2: #1a2027;
  --s-line: #232a33;
  --s-text: #f2f5f8;
  --s-text-2: #9aa6b2;
  --t-live: #ef4444;
  --t-deck: #fbbf24;
  --t-ready: #38bdf8;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 14, 18, .06), 0 8px 24px rgba(11, 14, 18, .06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.mono { font-family: var(--mono); font-size: .92em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Wordmark */
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: -0.03em; position: relative; padding-right: 9px; }
.wm-q { color: var(--blue); }
.wm-l { color: var(--orange); }
.wm-dot { position: absolute; top: 3px; right: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font);
  padding: 14px 22px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
  text-decoration: none !important;
}
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(0, 86, 210, .25); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.btn--ghost:hover { border-color: var(--ink-3); }
.btn--outline { color: var(--blue); border-color: rgba(0, 86, 210, .35); background: #fff; }
.btn--outline:hover { background: var(--blue-50); border-color: var(--blue); }
.btn--disabled { color: var(--ink-3); background: var(--bg-tint); border-color: var(--line); cursor: default; }
.btn:focus-visible, .tab:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(0, 86, 210, .4); outline-offset: 2px;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav__links a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 16px;
}
.eyebrow--light { color: #8fb6f0; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(229, 0, 43, .5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(229, 0, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 0, 43, 0); } }

.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(255, 69, 0, .08), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(0, 86, 210, .09), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.035em; }
.grad { background: linear-gradient(90deg, var(--blue), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 34em; margin: 22px 0 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__platforms { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--ink-3); font-size: 14px; font-weight: 500; }
.hero__platforms li::before { content: "\2713"; color: var(--blue); font-weight: 700; margin-right: 6px; }

/* Hero mock */
.hero__visual { position: relative; padding: 0 128px 64px 0; }
.console {
  background: var(--s-base); color: var(--s-text);
  border-radius: 16px; border: 1px solid var(--s-line);
  box-shadow: 0 30px 60px rgba(11, 14, 18, .28);
  overflow: hidden;
}
.console__bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--s-surface); border-bottom: 1px solid var(--s-line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--s-line); }
.console__title { font-size: 12.5px; color: var(--s-text-2); font-weight: 500; }
.console__body { padding: 14px; display: grid; gap: 10px; }
.slot {
  display: grid; grid-template-columns: 78px 1fr 64px; align-items: center; gap: 12px;
  padding: 12px; border-radius: 10px; background: var(--s-surface); border: 1px solid var(--s-line);
}
.slot__who b { display: block; font-size: 14px; }
.slot__who small { color: var(--s-text-2); font-size: 12px; }
.tally { font: 700 10.5px/1 var(--mono); letter-spacing: .06em; text-align: center; padding: 6px 0; border-radius: 6px; }
.slot--live { border-color: rgba(239, 68, 68, .55); background: linear-gradient(90deg, rgba(239, 68, 68, .14), var(--s-surface) 60%); }
.slot--live .tally { background: var(--t-live); color: #fff; }
.slot--deck .tally { background: rgba(251, 191, 36, .16); color: var(--t-deck); }
.slot--ready .tally { background: rgba(56, 189, 248, .14); color: var(--t-ready); }
.meter { display: grid; gap: 4px; }
.meter span { height: 6px; border-radius: 3px; background: var(--s-surface-2); position: relative; overflow: hidden; }
.meter span::after {
  content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--l));
  background: linear-gradient(90deg, #22c55e 0 65%, #facc15 80%, var(--t-live));
  animation: level 1.1s ease-in-out infinite alternate;
}
.meter span:nth-child(2)::after { animation-duration: .9s; }
@keyframes level { from { transform: scaleX(calc(var(--l) * .62)); } to { transform: scaleX(var(--l)); } }
.console__foot { display: flex; justify-content: space-between; align-items: center; padding: 4px 2px 0; color: var(--s-text-2); font-size: 12px; }
.take { background: var(--orange); color: #fff; font: 700 12px/1 var(--font); letter-spacing: .08em; padding: 9px 16px; border-radius: 8px; }

.phone {
  position: absolute; right: 0; bottom: 0; width: 150px; height: 268px;
  background: #0f1216; border-radius: 28px; padding: 8px;
  box-shadow: 0 24px 50px rgba(11, 14, 18, .35), inset 0 0 0 2px #2a313a;
}
.phone__notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 46px; height: 12px; border-radius: 8px; background: #000; z-index: 1; }
.phone__screen {
  height: 100%; border-radius: 21px; color: #fff;
  background: linear-gradient(180deg, #7fa6d8 -40%, var(--blue) 55%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
}
.phone__state { font-size: 11px; font-weight: 800; letter-spacing: .1em; background: var(--red); padding: 5px 9px; border-radius: 6px; }
.phone__timer { font-size: 22px; }
.phone__btn { width: 62px; height: 62px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px rgba(255, 255, 255, .18), 0 0 0 14px rgba(255, 255, 255, .08); }
.phone__screen small { font-size: 10.5px; opacity: .85; margin-top: 6px; }

/* Strip */
.strip { border-block: 1px solid var(--line); background: var(--bg-tint); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__inner > div { padding: 22px 20px; display: grid; gap: 2px; }
.strip__inner > div + div { border-left: 1px solid var(--line); }
.strip b { font-size: 15px; }
.strip span { font-size: 14px; color: var(--ink-3); line-height: 1.45; }

/* Sections */
.section { padding: 96px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.section__sub { color: var(--ink-2); font-size: 17px; margin: 14px 0 0; }

/* Flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 48px 1fr 48px 1fr; align-items: start; }
.flow__step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); height: 100%; }
.flow__step img, .flow__console { border-radius: 14px; margin-bottom: 18px; }
.flow__step h3 { font-size: 19px; margin-bottom: 8px; }
.flow__step p { margin: 0; color: var(--ink-2); }
.flow__arrow { align-self: center; height: 2px; margin: 0 8px; background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 11px); position: relative; }
.flow__arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 8px solid var(--orange); }
.flow__console { width: 56px; height: 56px; background: var(--ink); display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding: 10px 9px; }
.flow__console i { width: 5px; border-radius: 2px; background: #3a4450; height: 100%; position: relative; }
.flow__console i::after { content: ""; position: absolute; left: -3px; right: -3px; height: 5px; border-radius: 2px; background: var(--orange); }
.flow__console i:nth-child(1)::after { top: 40%; } .flow__console i:nth-child(2)::after { top: 15%; }
.flow__console i:nth-child(3)::after { top: 60%; } .flow__console i:nth-child(4)::after { top: 30%; }
.flow__console i:nth-child(5)::after { top: 50%; }

/* Apps */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.app { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.app::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; }
.app--tx::before { background: var(--blue); }
.app--rx::before { background: var(--orange); }
.app__logo { width: 260px; height: auto; margin: -14px 0 6px -22px; }
.app__lede { color: var(--ink-2); font-size: 17px; margin: 0 0 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230056D2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.app--rx .ticks li::before {
  background-color: #fff1eb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4500' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}

/* Downloads */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 12px; background: var(--bg-tint); border: 1px solid var(--line); margin-bottom: 20px; }
.tab {
  display: inline-flex; align-items: center; gap: 9px;
  font: 600 15px/1 var(--font); color: var(--ink-2);
  padding: 10px 16px; border: 0; border-radius: 9px; background: transparent; cursor: pointer;
}
.tab img { border-radius: 6px; }
.tab small { font-weight: 500; color: var(--ink-3); font-size: 12.5px; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11, 14, 18, .1); }
.dl__tagline { color: var(--ink-2); margin: 0 0 22px; font-size: 17px; }
.dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dl__card {
  position: relative; display: flex; flex-direction: column;
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.dl__card:hover { box-shadow: var(--shadow); }
.dl__card.is-mine { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 86, 210, .12); }
[data-app="receiver"] .dl__card.is-mine { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 69, 0, .12); }
[data-app="receiver"] .dl__icon { color: var(--orange); }
[data-app="receiver"] .dl__badge { background: var(--orange); }
.dl__badge { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--blue); padding: 4px 8px; border-radius: 999px; }
.dl__icon { width: 34px; height: 34px; color: var(--blue); margin-bottom: 16px; }
.dl__card h3 { font-size: 18px; }
.dl__kind { margin: 4px 0 0; color: var(--ink-3); font-size: 14px; }
.dl__note { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.dl__card .btn { margin-top: auto; }
.dl__card > :nth-last-child(2) { margin-bottom: 20px; }
.dl__meta { margin: 20px 0 0; font-size: 14px; color: var(--ink-3); }

/* Contact */
.section--dark { background: var(--s-base); color: var(--s-text); }
.section--dark a { color: #8fb6f0; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__copy h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.contact__copy > p { color: var(--s-text-2); font-size: 17px; margin: 16px 0 28px; max-width: 30em; }
.contact__list { margin: 0; display: grid; gap: 14px; }
.contact__list div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--s-line); }
.contact__list dt { color: var(--s-text-2); font-size: 14px; }
.contact__list dd { margin: 0; font-weight: 500; }
.form { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 18px; padding: 28px; display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--s-text-2); }
.form input, .form select, .form textarea {
  font: 15px/1.4 var(--font); color: var(--s-text);
  background: var(--s-base); border: 1px solid var(--s-line); border-radius: 9px; padding: 11px 12px;
  width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(0, 86, 210, .35); }
.form__hint { margin: 0; font-size: 13px; color: var(--s-text-2); text-align: center; }

/* Footer */
.foot { background: var(--s-base); color: var(--s-text-2); border-top: 1px solid var(--s-line); }
.foot__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; flex-wrap: wrap; }
.foot__brand { display: flex; align-items: center; gap: 16px; }
.foot__brand small { font-size: 13.5px; }
.foot__links { display: flex; gap: 22px; font-size: 14px; }
.foot__links a { color: var(--s-text-2); }
.foot__links a:hover { color: var(--s-text); }

/* Responsive */
@media (max-width: 1000px) {
  .hero__grid, .contact { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 560px; }
  .dl { grid-template-columns: repeat(2, 1fr); }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .strip__inner > div:nth-child(3) { border-left: 0; }
  .strip__inner > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 780px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 72px 0; }
  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow__arrow { width: 2px; height: 28px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--orange) 0 6px, transparent 6px 11px); }
  .flow__arrow::after { right: auto; left: -5px; top: auto; bottom: -6px; border: 6px solid transparent; border-top: 8px solid var(--orange); }
  .apps { grid-template-columns: 1fr; }
  .app { padding: 26px 22px; }
}
@media (max-width: 560px) {
  .dl, .strip__inner, .form__row { grid-template-columns: 1fr; }
  .strip__inner > div { border-left: 0 !important; }
  .strip__inner > div + div { border-top: 1px solid var(--line); }
  .hero__visual { padding: 0; }
  .phone { display: none; }
  .slot { grid-template-columns: 66px 1fr 44px; gap: 10px; }
  .tabs { display: flex; }
  .tab { flex: 1; justify-content: center; }
  .tab small { display: none; }
  .lede { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
