:root {
  --bg: #12151b;
  --bg-elev: #1a1f29;
  --ink: #f4f1ea;
  --muted: #9aa3b2;
  --line: rgba(244, 241, 234, 0.12);
  --accent: #d6ff3f;
  --accent-ink: #12151b;
  --heat: #ff5a36;
  --glow: rgba(214, 255, 63, 0.18);
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Figtree", sans-serif;
  --radius: 4px;
  --header-h: 72px;
  --max: 1120px;
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 90, 54, 0.16), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(214, 255, 63, 0.08), transparent 50%),
    linear-gradient(180deg, #0e1116 0%, var(--bg) 35%, #10141b 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input {
  font: inherit;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(14, 17, 22, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(14, 17, 22, 0.82);
}

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

.brand-mark {
  width: 14px;
  height: 14px;
  background: var(--accent);
  transform: skewX(-18deg);
  box-shadow: 0 0 0 4px var(--glow);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav {
  display: none;
  gap: 1.1rem;
  margin-left: auto;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
}

.nav-chat,
.chat-fab,
.btn {
  border: 0;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-chat {
  margin-left: auto;
  padding: 0.55rem 0.9rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .nav-chat {
    margin-left: 0;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) clamp(1rem, 4vw, 3rem) 4rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 16, 0.92) 0%, rgba(10, 12, 16, 0.55) 48%, rgba(10, 12, 16, 0.35) 100%),
    linear-gradient(180deg, rgba(10, 12, 16, 0.25) 0%, rgba(10, 12, 16, 0.85) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 600;
  max-width: 14ch;
}

.hero-lead {
  margin: 0 0 1.5rem;
  color: #d7dbe3;
  font-size: 1.05rem;
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  font-weight: 600;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.scroll-hint {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: 1.5rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-hint i {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--accent), transparent);
  display: block;
  animation: pulse-line 1.8s ease-in-out infinite;
}

@keyframes pulse-line {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.75);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem);
  max-width: calc(var(--max) + 6rem);
  margin: 0 auto;
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section h2,
.subhead,
.platform-copy h3,
.device-option-body h3,
.next-step h3,
.pricing-extra h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
}

.subhead {
  margin: 0 0 1.25rem;
  font-size: 1.45rem;
  color: var(--accent);
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.problem-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.problem-card,
.channel,
.cap-card,
.price-table,
.dedicated,
.next-step,
.video-card {
  background: rgba(26, 31, 41, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.problem-card,
.channel {
  padding: 1.25rem 1.35rem;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  will-change: transform;
}

.problem-card:hover,
.channel:hover {
  transform: translateY(-6px);
  border-color: rgba(214, 255, 63, 0.35);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.problem-card .idx {
  display: block;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.problem-card h4,
.channel h3,
.cap-card h3,
.video-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.problem-card p,
.channel p,
.cap-card p,
.platform-copy p,
.device-option-body p,
.video-card p {
  margin: 0;
  color: var(--muted);
}

.channel-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.channel-link:hover {
  text-decoration: underline;
}

.cap-rail {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cap-card {
  padding: 1.35rem;
  transform-origin: center bottom;
  will-change: transform, opacity;
}

.device-options {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .device-options {
    grid-template-columns: 1fr 1fr;
  }
}

.device-option {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 21, 27, 0.85);
}

.device-option-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0c10;
}

.device-option-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}

.device-option-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.device-option-body ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.gallery {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 800px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #0a0c10;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item figcaption {
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.platform-stack {
  display: grid;
  gap: 2rem;
}

.platform-row {
  display: grid;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 860px) {
  .platform-row {
    grid-template-columns: 1.05fr 1fr;
    gap: 2rem;
  }
  .platform-row:nth-child(even) .platform-copy {
    order: 2;
  }
}

.platform-visual {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  min-height: 240px;
}

.platform-visual img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transform-origin: center;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .spec-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.spec-cell {
  padding: 1.1rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(214, 255, 63, 0.08), transparent 55%);
  transform-origin: center;
}

.spec-label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.spec-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footnote,
.muted,
.chat-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.sports-mosaic {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1.2fr 1fr;
  grid-auto-rows: 160px;
}

@media (min-width: 800px) {
  .sports-mosaic {
    grid-auto-rows: 220px;
  }
}

.mosaic-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.mosaic-item:first-child {
  grid-row: span 2;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.video-card {
  padding: 0.85rem;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  margin-bottom: 0.85rem;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  background:
    linear-gradient(135deg, rgba(214, 255, 63, 0.08), transparent 45%),
    #0a0c10;
}

.price-table {
  overflow: hidden;
  margin-bottom: 1.75rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row.is-emphasis {
  background: rgba(214, 255, 63, 0.1);
}

.price-row strong {
  white-space: nowrap;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.pricing-extra {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .pricing-extra {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-extra ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.dedicated {
  padding: 1.25rem;
}

.dedicated-price {
  margin: 1rem 0 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.channel-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 1.5rem;
}

.next-step {
  padding: 1.5rem;
}

.next-step p {
  color: var(--muted);
  max-width: 60ch;
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 3rem) 6rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.chat-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  padding: 0.9rem 1.1rem;
  background: var(--heat);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.chat-panel {
  position: fixed;
  right: 1rem;
  bottom: 4.5rem;
  z-index: 46;
  width: min(380px, calc(100vw - 1.5rem));
}

.chat-panel[hidden] {
  display: none;
}

.chat-panel-inner {
  background: #151922;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  max-height: min(70vh, 560px);
}

.chat-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(214, 255, 63, 0.06);
}

.chat-head p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.chat-close {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.chat-log {
  flex: 1;
  overflow: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.bubble {
  max-width: 92%;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  font-size: 0.92rem;
  white-space: pre-wrap;
}

.bubble.assistant {
  align-self: flex-start;
  background: #222836;
}

.bubble.user {
  align-self: flex-end;
  background: rgba(214, 255, 63, 0.16);
}

.bubble.pending {
  opacity: 0.7;
  font-style: italic;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--line);
}

.chat-form input {
  border: 1px solid var(--line);
  background: #0f1218;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
}

.chat-form button {
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius);
  padding: 0 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.chat-form button:disabled,
.chat-form input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-note {
  margin: 0;
  padding: 0 0.85rem 0.85rem;
}

[data-reveal] {
  opacity: 0;
  visibility: hidden;
}
