@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #3B82F6;
  --accent: #EF4444;
  --bg: #0F172A;
  --surface: #1E293B;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --success: #10B981;
  --line: rgba(248, 250, 252, 0.12);
  --line-strong: rgba(59, 130, 246, 0.34);
  --shadow: 0 28px 90px rgba(2, 6, 23, 0.48);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  background:
    radial-gradient(circle at 18% 12%, rgba(59, 130, 246, 0.26), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(16, 185, 129, 0.18), transparent 24%),
    linear-gradient(135deg, #0F172A 0%, #111827 42%, #020617 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(248, 250, 252, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

h2 {
  max-width: 840px;
  font-size: clamp(2.1rem, 4.8vw, 4.35rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.24;
}

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__ball {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(248, 250, 252, 0.76);
  border-radius: 999px;
  background:
    radial-gradient(circle at 65% 30%, rgba(248, 250, 252, 0.9), transparent 7%),
    linear-gradient(135deg, var(--accent), #b91c1c);
  box-shadow: 18px 0 0 -13px rgba(59, 130, 246, 0.9), 34px 0 0 -18px rgba(16, 185, 129, 0.8);
}

.brand__ball::before,
.brand__ball::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 28px;
  border-radius: 99px;
  background: rgba(248, 250, 252, 0.7);
  transform: rotate(24deg);
}

.brand__ball::after {
  transform: rotate(-24deg);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(59, 130, 246, 0.16);
}

.nav-actions,
.hero__actions,
.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--small {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 11px;
  font-size: 0.9rem;
}

.btn--primary {
  color: #f8fafc;
  background: linear-gradient(135deg, var(--primary), #2563eb);
  box-shadow: 0 16px 38px rgba(59, 130, 246, 0.3);
}

.btn--secondary,
.btn--ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(248, 250, 252, 0.055);
}

.btn--ghost {
  background: transparent;
}

.hero,
.proof-strip,
.section,
.final-cta,
.footer {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 56px 0 78px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--success);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 680px;
  margin-top: 24px;
  color: #cbd5e1;
  font-size: 1.14rem;
}

.hero__actions {
  margin-top: 30px;
}

.microcopy {
  margin-top: 14px;
  color: var(--muted);
}

.hero__visual {
  position: relative;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 8% -5% -7% 10%;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(16, 185, 129, 0.14));
  filter: blur(42px);
}

.browser {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.04);
}

.browser__bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.browser__bar span:nth-child(2) {
  background: #f59e0b;
}

.browser__bar span:nth-child(3) {
  background: var(--success);
}

.browser__bar strong {
  margin-left: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 470px;
}

.score-panel,
.obs-panel {
  padding: 22px;
}

.score-panel {
  border-right: 1px solid var(--line);
  background: rgba(30, 41, 59, 0.58);
}

.panel-head,
.match-score,
.batters,
.over-line,
.scorebug,
.lower-third,
.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-head p {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.connected {
  padding: 5px 9px;
  border-radius: 999px;
  color: #052e16;
  background: var(--success);
  font-size: 0.72rem;
  font-weight: 900;
}

.match-score {
  display: block;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.62);
}

.match-score span,
.match-score small,
.batters span,
.over-line span,
.scorebug small,
.lower-third span,
.mini-ui span {
  color: var(--muted);
}

.match-score strong {
  display: block;
  margin: 6px 0 2px;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.batters {
  margin-top: 14px;
}

.batters div {
  flex: 1;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.045);
}

.batters strong {
  display: block;
  margin-top: 4px;
}

.ball-buttons,
.extras {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.ball-buttons button,
.extras button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: rgba(248, 250, 252, 0.06);
  font-weight: 900;
}

.ball-buttons .four,
.ball-buttons .six {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.44);
}

.extras {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.extras .wicket {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.46);
}

.over-line {
  margin-top: 16px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.62);
}

.over-line i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.22);
  font-style: normal;
  font-weight: 900;
}

.obs-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    radial-gradient(circle at 50% 38%, rgba(16, 185, 129, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.22), rgba(2, 6, 23, 0.82));
}

.obs-panel::before {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
}

.live-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.18);
  color: #fecaca;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
}

.live-badge span,
.rec-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulse 1.4s infinite;
}

.scorebug,
.lower-third {
  position: relative;
  z-index: 1;
  padding: 14px;
  border: 1px solid rgba(248, 250, 252, 0.22);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
}

.scorebug strong {
  display: block;
  font-size: 1.4rem;
}

.lower-third {
  margin-top: 10px;
  font-size: 0.78rem;
}

.wicket-flash {
  position: absolute;
  left: 50%;
  top: 38%;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: translate(-50%, -50%) rotate(-5deg);
  box-shadow: 0 18px 38px rgba(239, 68, 68, 0.32);
}

.proof-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(30, 41, 59, 0.5);
}

.proof-strip p {
  color: #dbeafe;
  font-weight: 800;
}

.proof-strip div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.proof-strip span,
.chips span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(248, 250, 252, 0.045);
  font-size: 0.86rem;
  font-weight: 800;
}

.section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head--wide {
  max-width: 900px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card,
.compact-features article,
.steps li,
.price-card,
.faq details,
blockquote {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(30, 41, 59, 0.55);
}

.problem-card,
.compact-features article,
.steps li,
blockquote {
  padding: 24px;
}

.icon {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  margin-bottom: 18px;
  padding: 0 9px;
  border-radius: 12px;
  color: #eff6ff;
  background: rgba(59, 130, 246, 0.22);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
}

.problem-card p,
.compact-features p,
.steps p,
.price-card p,
.faq p,
blockquote p,
.final-cta p,
.footer p,
.obs-copy p,
.pricing-head p {
  margin-top: 10px;
  color: var(--muted);
}

.transition-line {
  margin-top: 24px;
  color: var(--success);
  font-size: 1.25rem;
  font-weight: 900;
}

.feature-stack {
  display: grid;
  gap: 18px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 26px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.58);
}

.feature-row--reverse {
  grid-template-columns: minmax(320px, 1.15fr) minmax(0, 0.85fr);
}

.feature-row--reverse > div:first-child {
  order: 2;
}

.feature-row p {
  margin-top: 12px;
  color: var(--muted);
}

.mini-ui {
  min-height: 260px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(30, 41, 59, 0.66);
}

.mini-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.mini-balls {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.mini-balls button {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  color: var(--text);
  background: rgba(59, 130, 246, 0.26);
  font-weight: 900;
}

.mini-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.obs-window {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 222px;
  border-radius: 16px;
  background:
    linear-gradient(rgba(16, 185, 129, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.14) 1px, transparent 1px),
    #020617;
  background-size: 34px 34px;
}

.obs-window .rec-dot {
  position: absolute;
  top: 14px;
  left: 14px;
}

.overlay-score {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.86);
  font-size: 1.4rem;
  font-weight: 900;
}

.overlay-score small {
  color: var(--success);
}

.overlay-alert {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--success);
  color: #052e16;
  font-weight: 900;
}

.points-row {
  display: grid;
  grid-template-columns: 1.4fr 0.45fr 0.45fr 0.55fr 0.7fr;
  gap: 8px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.points-row--head {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.compact-features {
  margin-top: 12px;
}

.obs-highlight {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 36px;
  align-items: center;
  padding: 52px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 24%, rgba(59, 130, 246, 0.22), transparent 34%),
    radial-gradient(circle at 38% 72%, rgba(16, 185, 129, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.9));
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0;
}

.obs-demo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #020617;
  box-shadow: var(--shadow);
}

.obs-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.obs-field {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  background:
    radial-gradient(ellipse at center, rgba(16, 185, 129, 0.2), transparent 56%),
    linear-gradient(135deg, #064e3b, #052e16);
}

.field-ring {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border: 2px solid rgba(248, 250, 252, 0.16);
  border-radius: 999px;
}

.broadcast-score {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(248, 250, 252, 0.2);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.86);
}

.broadcast-score span,
.broadcast-score small {
  color: #bfdbfe;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.broadcast-score strong {
  font-size: 2rem;
}

.broadcast-live {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--accent);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #eff6ff;
  background: var(--primary);
  font-weight: 900;
}

.pricing-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.billing-toggle {
  display: inline-flex;
  min-width: max-content;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.05);
}

.billing-toggle button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.billing-toggle button.is-active {
  color: #eff6ff;
  background: var(--primary);
}

.billing-toggle span {
  margin-left: 3px;
  font-size: 0.76rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.price-card--featured {
  border-color: rgba(59, 130, 246, 0.6);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.18), rgba(30, 41, 59, 0.62));
  box-shadow: 0 24px 70px rgba(59, 130, 246, 0.18);
  transform: translateY(-10px);
}

.badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 999px;
  color: #bfdbfe;
  font-size: 0.76rem;
  font-weight: 900;
}

.badge--hot {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.price-card h3 {
  margin-top: 18px;
}

.price {
  margin-top: 12px;
  color: var(--text) !important;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.price small {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0;
}

.price-card .btn {
  width: 100%;
  margin-top: 20px;
}

.price-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 20px;
  color: #cbd5e1;
  font-size: 0.94rem;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
}

.pricing-note {
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
}

blockquote {
  margin: 0;
}

blockquote p {
  color: #dbeafe;
  font-size: 1.02rem;
}

blockquote cite {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq summary {
  padding: 18px 20px;
  font-weight: 900;
  cursor: pointer;
}

.faq summary::marker {
  color: var(--primary);
}

.faq p {
  padding: 0 20px 20px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 76px 42px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 20%, rgba(16, 185, 129, 0.2), transparent 28%),
    linear-gradient(135deg, #0F172A, #1d4ed8);
  text-align: center;
}

.final-cta h2,
.final-cta p {
  margin-right: auto;
  margin-left: auto;
}

.final-cta p:not(.eyebrow) {
  max-width: 680px;
}

.final-cta .hero__actions {
  justify-content: center;
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(140px, 0.6fr));
  gap: 28px;
  padding: 52px 0 34px;
}

.footer__brand {
  max-width: 360px;
}

.footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer nav strong {
  margin-bottom: 4px;
}

.footer nav a,
.footer nav button,
.footer p a {
  color: var(--muted);
}

.footer nav button {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 18;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--text);
  background: var(--primary);
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.35);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.floating-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 22px;
}

.modal.is-open {
  display: grid;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(12px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal__panel h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(248, 250, 252, 0.05);
  font-size: 0.82rem;
  font-weight: 900;
}

.modal__actions {
  margin-top: 24px;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .browser,
  .feature-row,
  .price-card,
  .obs-demo {
    animation: lift-in 620ms ease both;
  }

  .feature-row:nth-child(2) {
    animation-delay: 90ms;
  }

  .feature-row:nth-child(3) {
    animation-delay: 160ms;
  }
}

@keyframes lift-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1060px) {
  .nav-shell {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero,
  .feature-row,
  .feature-row--reverse,
  .obs-highlight,
  .pricing-head,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-row--reverse > div:first-child {
    order: 0;
  }

  .card-grid--3,
  .steps,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card--featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .nav-shell,
  .hero,
  .proof-strip,
  .section,
  .final-cta,
  .footer {
    width: min(100% - 28px, 1200px);
  }

  .nav-actions,
  .nav-shell > .brand {
    width: 100%;
  }

  .nav-actions .btn {
    flex: 1;
  }

  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .product-grid,
  .proof-strip,
  .card-grid--3,
  .steps,
  .pricing-grid,
  .broadcast-score {
    grid-template-columns: 1fr;
  }

  .score-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div {
    justify-content: flex-start;
  }

  .section {
    padding: 68px 0;
  }

  .obs-highlight,
  .final-cta {
    padding: 34px 20px;
  }

  .mini-balls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero__actions,
  .modal__actions {
    display: grid;
  }

  .hero__actions .btn,
  .modal__actions .btn {
    width: 100%;
  }

  .footer__bottom {
    display: grid;
  }
}
