* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--jw-font-body);
  background:
    linear-gradient(90deg, rgba(23, 34, 49, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, var(--jw-color-bg), var(--jw-color-bg-alt));
  background-size: 96px 100%, auto;
  color: var(--jw-color-text);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

button,
input {
  font: inherit;
}

.container,
.site-section,
.site-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-main {
  padding: 36px 0 72px;
}

.row {
  display: flex;
}

.center {
  align-items: center;
}

.spread {
  justify-content: space-between;
}

.gap-sm {
  gap: var(--jw-space-sm);
}

.gap-md {
  gap: var(--jw-space-md);
}

.hidden {
  display: none !important;
}

.muted {
  color: var(--jw-color-muted);
}

.error {
  color: var(--jw-color-danger);
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 241, 0.94);
  border-bottom: 1px solid var(--jw-color-border);
  backdrop-filter: blur(12px);
}

.site-header .container {
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--jw-color-navy);
  font-weight: 950;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--jw-color-red);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(217, 63, 44, 0.24);
}

.nav-links {
  align-items: center;
  gap: 20px;
  color: var(--jw-color-navy);
  font-size: 14px;
  font-weight: 850;
}

.site-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer {
  background: var(--jw-color-navy);
  color: #ffffff;
  border-top: 6px solid var(--jw-color-red);
}

.site-footer .container {
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
}

.site-footer .muted {
  color: #d5dde7;
}

.footer-links {
  flex-wrap: wrap;
}

.shell-error {
  margin: 0 auto;
  color: #6b4300;
  padding: 0 0 14px;
  font-weight: 800;
}

.free-credit-note {
  display: inline-flex;
  width: fit-content;
  margin: 18px 0 0;
  border: 1px solid rgba(249, 198, 73, 0.9);
  border-radius: 8px;
  background: #fff8d7;
  color: var(--jw-color-navy);
  padding: 10px 12px;
  font-weight: 900;
  line-height: 1.35;
}

.terms-consent {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--jw-color-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.terms-consent a,
.terms-link,
.legal-note a {
  color: var(--jw-color-navy);
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.terms-consent--header {
  max-width: 190px;
  margin: 0;
  font-size: 11px;
  line-height: 1.25;
}

.terms-consent--checkout {
  margin: 10px 0 16px;
}

.button {
  min-height: 42px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 9px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.button-primary {
  background: var(--jw-color-primary);
  color: var(--jw-color-primary-contrast);
  box-shadow: 0 14px 30px rgba(217, 63, 44, 0.22);
}

.button-secondary {
  background: var(--jw-color-surface);
  color: var(--jw-color-navy);
  border-color: var(--jw-color-border);
}

.button-dark {
  background: var(--jw-color-navy);
  color: #ffffff;
}

.button-google {
  border-color: #dadce0;
  background: #ffffff;
  color: #3c4043;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12);
  font-family: Roboto, var(--jw-font-body);
}

.button-google:hover,
.button-google:focus-visible {
  background: #f8fbff;
  border-color: #d2e3fc;
  color: #202124;
  box-shadow:
    0 1px 2px rgba(60, 64, 67, 0.2),
    0 1px 3px rgba(60, 64, 67, 0.12);
}

.google-mark {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.page-kicker,
.live-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--jw-color-red);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.live-badge::before,
.page-kicker::before {
  content: "LIVE";
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--jw-color-red);
  color: #ffffff;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.62) 2px, transparent 2px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 88px, rgba(0, 0, 0, 0.05) 88px 176px),
    linear-gradient(180deg, #15854a, var(--jw-color-field-dark));
  background-size: 10% 100%, auto, auto;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 247, 241, 0.95) 0%, rgba(245, 247, 241, 0.82) 48%, rgba(245, 247, 241, 0.18) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(390px, 1fr);
  align-items: start;
  gap: clamp(52px, 6vw, 80px);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 72px;
}

.hero-copy {
  max-width: 520px;
}

.hero-copy h1,
.page-title h1 {
  margin: 22px 0 0;
  color: var(--jw-color-navy);
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p,
.page-title p,
.section-head p,
.panel p,
.card p,
.play-card p,
.faq-card p,
.legal-note p {
  color: var(--jw-color-muted);
  line-height: 1.58;
}

.hero-copy p {
  max-width: 480px;
  font-size: 20px;
}

.hero-copy p.free-credit-note,
.page-title p.free-credit-note {
  color: var(--jw-color-navy);
  font-size: 16px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.broadcast-rig {
  width: 100%;
  min-width: 0;
  margin-top: 20px;
  justify-self: end;
  transform: rotate(2deg);
  box-shadow: var(--jw-shadow-broadcast);
}

.hero-demo-shell {
  width: 100%;
  min-width: 0;
  margin-top: 0;
  justify-self: end;
}

.hero-demo-frame {
  display: block;
  width: 100%;
  min-height: 584px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.scoreboard {
  overflow: hidden;
  border: 3px solid #0b1017;
  border-radius: 8px 8px 0 0;
  background: var(--jw-color-navy);
  color: #ffffff;
}

.scoreboard-strip {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr 0.8fr;
  min-height: 74px;
  border-bottom: 5px solid var(--jw-color-red);
}

.scoreboard-strip > div {
  padding: 15px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.scoreboard-strip > div:last-child {
  border-right: 0;
}

.scoreboard strong {
  display: block;
  color: var(--jw-color-yellow);
  font-size: 24px;
  line-height: 1;
}

.scoreboard span {
  display: block;
  margin-top: 7px;
  color: #c8d3df;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lower-third {
  border: 3px solid var(--jw-color-navy);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #ffffff;
  padding: 20px;
}

.lower-third h2 {
  margin: 0;
  color: var(--jw-color-navy);
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-band {
  padding: 70px 0;
}

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

.section-head h2,
.panel h2,
.card h2,
.page-title h2 {
  margin: 0;
  color: var(--jw-color-navy);
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-head p {
  max-width: 530px;
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--jw-space-md);
}

.play-grid,
.faq-grid,
.stat-grid {
  display: grid;
  gap: var(--jw-space-md);
}

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

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

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

.card,
.panel,
.play-card,
.faq-card,
.plan-card,
.stat-card,
.legal-note {
  border: 1px solid var(--jw-color-border);
  border-radius: 8px;
  background: var(--jw-color-surface);
  box-shadow: var(--jw-shadow-panel);
}

.card,
.panel,
.play-card,
.faq-card,
.plan-card,
.legal-note {
  padding: 22px;
  margin-bottom: var(--jw-space-md);
}

.play-card {
  min-height: 190px;
  position: relative;
  overflow: hidden;
}

.play-card::before,
.plan-card::before,
.card.has-red-cap::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--jw-color-red);
}

.play-card,
.plan-card,
.card.has-red-cap {
  position: relative;
  overflow: hidden;
}

.play-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin: 12px 0 34px;
  border-radius: 8px;
  background: var(--jw-color-navy);
  color: #ffffff;
  font-weight: 950;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h3 {
  margin: 0 0 10px;
  color: var(--jw-color-navy);
  font-size: 20px;
  line-height: 1.22;
}

.live-demo {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
}

.field-panel {
  min-height: 390px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 2px, transparent 2px),
    linear-gradient(0deg, rgba(0, 0, 0, 0.08), transparent),
    var(--jw-color-field);
  background-size: 20% 100%, auto, auto;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
}

.field-panel::before {
  content: attr(data-label);
  position: absolute;
  top: 24px;
  left: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 38px;
  font-weight: 950;
}

.field-route {
  position: absolute;
  right: 76px;
  top: 132px;
  width: 210px;
  height: 132px;
  border: 4px solid var(--jw-color-yellow);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 8px 0 0;
}

.field-route::after {
  content: "";
  position: absolute;
  right: -10px;
  top: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--jw-color-yellow);
}

.recommendation-panel {
  display: grid;
  align-content: start;
  gap: 16px;
}

.recommendation-headline,
.scoreboard-panel {
  border-radius: 8px;
  background: var(--jw-color-navy);
  color: #ffffff;
  padding: 18px;
  border-bottom: 6px solid var(--jw-color-red);
}

.recommendation-headline span,
.scoreboard-panel span {
  display: block;
  color: var(--jw-color-yellow);
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.recommendation-headline strong,
.scoreboard-panel strong,
.score-value {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.scoreboard-panel .error {
  color: var(--jw-color-yellow);
}

.stat-card {
  padding: 14px;
  background: var(--jw-color-surface-alt);
}

.stat-card strong {
  display: block;
  color: var(--jw-color-field-dark);
  font-size: 24px;
  line-height: 1.1;
}

.stat-card span {
  display: block;
  margin-top: 5px;
  color: var(--jw-color-muted);
  font-size: 13px;
  font-weight: 800;
}

.support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 8px;
  background: var(--jw-color-red);
  color: #ffffff;
  padding: 28px;
}

.support-band h2 {
  margin: 0;
  color: #ffffff;
}

.support-band p {
  max-width: 720px;
  margin: 8px 0 0;
  color: #fff4f0;
  line-height: 1.55;
}

.page-title {
  padding: 42px 0 20px;
}

.page-title h1 {
  font-size: 58px;
}

.page-title p {
  max-width: 760px;
  font-size: 18px;
}

.scoreboard-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
}

.quota-score {
  min-height: 250px;
}

.quota-score .score-value {
  color: var(--jw-color-yellow);
  font-size: 58px;
  font-weight: 950;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--jw-color-border);
  border-radius: 8px;
  background: #ffffff;
}

.table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.table th,
.table td {
  border-bottom: 1px solid var(--jw-color-border);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.table th {
  background: var(--jw-color-navy);
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.table tr:last-child td {
  border-bottom: 0;
}

.input {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--jw-color-border);
  background: #ffffff;
  color: var(--jw-color-text);
  padding: 8px 10px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
}

.filter-row label {
  display: grid;
  gap: 6px;
  color: var(--jw-color-navy);
  font-weight: 850;
}

.feedback-card {
  max-width: 760px;
}

.feedback-form {
  display: grid;
  gap: 16px;
}

.feedback-form label {
  display: grid;
  gap: 6px;
  color: var(--jw-color-navy);
  font-weight: 850;
}

.feedback-form select.input,
.feedback-textarea {
  width: 100%;
}

.feedback-textarea {
  min-height: 150px;
  resize: vertical;
}

.feedback-checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
}

.feedback-checkbox input {
  width: 18px;
  height: 18px;
}

.feedback-form-status {
  margin: 0;
  font-weight: 900;
}

.feedback-form-status[data-status="success"] {
  color: var(--jw-color-field);
}

.feedback-form-status[data-status="error"] {
  color: var(--jw-color-danger);
}

.paging-row {
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.plan-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 270px;
}

.plan-terms {
  font-size: 13px;
}

.terms-link {
  width: fit-content;
  font-size: 13px;
}

.plan-card.featured {
  background: var(--jw-color-navy);
  color: #ffffff;
  border-color: var(--jw-color-navy);
}

.plan-card.featured h3,
.plan-card.featured p {
  color: #ffffff;
}

.plan-meta {
  display: inline-flex;
  width: fit-content;
  border-radius: 8px;
  padding: 7px 10px;
  background: var(--jw-color-yellow);
  color: var(--jw-color-navy);
  font-weight: 950;
}

.checkout-banner {
  border-left: 6px solid var(--jw-color-yellow);
}

.legal-note {
  background: #fffdf4;
}

.oauth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.62) 2px, transparent 2px),
    linear-gradient(180deg, #15854a, var(--jw-color-field-dark));
  background-size: 12% 100%, auto;
}

.oauth-card {
  width: min(560px, 100%);
  border: 3px solid var(--jw-color-navy);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--jw-shadow-broadcast);
  overflow: hidden;
}

.oauth-card header {
  padding: 18px;
  background: var(--jw-color-navy);
  color: #ffffff;
  border-bottom: 6px solid var(--jw-color-red);
}

.oauth-card strong {
  color: var(--jw-color-yellow);
}

.oauth-card main {
  padding: 22px;
}

@media (max-width: 1120px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.75fr);
    gap: 48px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy p {
    max-width: 440px;
  }

  .broadcast-rig {
    margin-top: 28px;
  }

  .hero-demo-frame {
    min-height: 560px;
  }

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

@media (max-width: 880px) {
  .container,
  .site-section,
  .site-main,
  .hero-inner {
    width: min(100% - 32px, 1180px);
  }

  .site-header .container,
  .site-footer .container,
  .section-head,
  .support-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-copy h1,
  .page-title h1 {
    font-size: 44px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .broadcast-rig {
    display: none;
  }

  .hero-demo-shell {
    display: none;
  }

  .page-hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 0;
  }

  .play-grid,
  .faq-grid,
  .stat-grid,
  .live-demo,
  .scoreboard-layout {
    grid-template-columns: 1fr;
  }
}
