:root {
  --night: #191b2b;
  --gold: #ffc700;
  --indigo: #2d2f45;
  --snow: #ffffff;
  --fog: rgba(255, 255, 255, 0.74);
  --edge: rgba(255, 199, 0, 0.28);
  --card: #23253a;
  --lift: 0 18px 40px rgba(0, 0, 0, 0.35);
  --font: "Trebuchet MS", "Segoe UI", sans-serif;
  --mono: "Consolas", "Courier New", monospace;
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--snow);
  background:
    linear-gradient(180deg, #121322 0%, var(--night) 35%, #151728 100%);
  line-height: 1.6;
}

body.lock-scroll {
  overflow: hidden;
}

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

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

.wrap {
  width: min(100% - 1.5rem, var(--wrap));
  margin-inline: auto;
}

.nova-mast {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(25, 27, 43, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: 0.25s ease;
}

.nova-mast.is-compact {
  background: rgba(25, 27, 43, 0.94);
  border-color: var(--edge);
  box-shadow: var(--lift);
}

.mast-row {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link img {
  width: min(150px, 40vw);
}

.desk-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.desk-nav a {
  color: var(--fog);
  font-size: 0.92rem;
}

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

.gold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border-radius: 12px;
  background: var(--gold);
  color: #1a1200;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(255, 199, 0, 0.25);
}

.gold-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 199, 0, 0.35);
}

.line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--edge);
  color: var(--snow);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
}

.line-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.nova-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--edge);
  background: var(--indigo);
  cursor: pointer;
}

.nova-burger i,
.nova-burger i::before,
.nova-burger i::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--snow);
}

.nova-panel {
  display: none;
}

.pitch-hero {
  padding: 2.8rem 0 2rem;
}

.app-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}

.phone-card {
  background: linear-gradient(165deg, #2a2d48, #1d1f33 60%, #161828);
  border: 1px solid var(--edge);
  border-radius: 28px;
  padding: 1.4rem 1.3rem 1.6rem;
  box-shadow: var(--lift);
  position: relative;
  overflow: hidden;
}

.phone-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 199, 0, 0.22), transparent 70%);
}

.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.pitch-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  max-width: 16ch;
}

.pitch-hero .intro {
  color: var(--fog);
  margin: 0 0 1.2rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.side-stack {
  display: grid;
  gap: 0.9rem;
}

.side-stack article {
  background: var(--indigo);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.1rem 1.15rem;
}

.side-stack p {
  margin: 0;
  color: var(--fog);
  font-size: 0.98rem;
}

.stripe {
  padding: 2.8rem 0;
}

.stripe h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  line-height: 1.2;
}

.stripe h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
}

.fog {
  color: var(--fog);
}

.summary-board {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.2rem;
  align-items: start;
}

.media-tile {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--edge);
  background: var(--card);
  box-shadow: var(--lift);
}

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-tile figcaption {
  padding: 0.85rem 1rem;
  color: var(--fog);
  font-size: 0.9rem;
}

.param-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.param-table th,
.param-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
  vertical-align: top;
}

.param-table th {
  width: 40%;
  color: var(--gold);
  background: rgba(255, 199, 0, 0.06);
  font-weight: 700;
}

.sport-rail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: center;
}

.note-box {
  padding: 1.1rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 199, 0, 0.08);
  border-radius: 0 14px 14px 0;
  color: var(--fog);
}

.lane-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.lane-tabs button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--indigo);
  color: var(--fog);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.lane-tabs button.is-active {
  background: var(--gold);
  color: #1a1200;
  border-color: var(--gold);
}

.lane-pane {
  display: none;
  padding: 1.2rem;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lane-pane.is-active {
  display: block;
}

.lane-pane ul {
  margin: 0.6rem 0 0;
  padding-left: 1.15rem;
  color: var(--fog);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.tile {
  background: var(--indigo);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.15rem;
}

.tile ol,
.tile ul {
  margin: 0.7rem 0 0;
  padding-left: 1.15rem;
  color: var(--fog);
}

.checklist {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.checklist li {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--fog);
}

.score-matrix {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.score-matrix th,
.score-matrix td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
}

.score-matrix thead th {
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mark {
  display: inline-block;
  min-width: 3rem;
  text-align: center;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  background: rgba(255, 199, 0, 0.14);
  color: var(--gold);
  font-weight: 800;
  font-family: var(--mono);
}

.qfold {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: var(--card);
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.qfold button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--snow);
  text-align: left;
  padding: 1rem 1.1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.qfold button em {
  font-style: normal;
  color: var(--gold);
}

.qfold-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.qfold.is-open .qfold-body {
  max-height: 260px;
}

.qfold-body p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--fog);
}

.finale {
  text-align: center;
  padding: 1.8rem 1.2rem;
  border-radius: 22px;
  background:
    radial-gradient(500px 180px at 50% 0%, rgba(255, 199, 0, 0.16), transparent 70%),
    var(--indigo);
  border: 1px solid var(--edge);
}

.finale p {
  color: var(--fog);
  max-width: 62ch;
  margin: 0 auto 1rem;
}

.site-end {
  margin-top: 2rem;
  padding: 2.2rem 0 5.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.end-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.4rem;
}

.end-grid p,
.end-grid a {
  color: var(--fog);
}

.end-grid ul {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
}

.end-grid li + li {
  margin-top: 0.4rem;
}

.copyline {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.85rem;
}

.float-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.25s ease;
}

.float-cta.is-shown {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.hn-cookie {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 45;
  width: min(420px, calc(100% - 2rem));
  display: none;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(25, 27, 43, 0.96);
  border: 1px solid var(--edge);
  box-shadow: var(--lift);
}

.hn-cookie.is-visible {
  display: flex;
}

.hn-cookie p {
  margin: 0;
  color: var(--fog);
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .app-shell,
  .summary-board,
  .sport-rail,
  .two-col,
  .end-grid {
    grid-template-columns: 1fr;
  }

  .desk-nav {
    display: none;
  }

  .nova-burger {
    display: inline-block;
  }

  .nova-panel {
    display: grid;
    position: fixed;
    inset: 70px 0.75rem auto;
    background: rgba(25, 27, 43, 0.98);
    border: 1px solid var(--edge);
    border-radius: 16px;
    padding: 0.6rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 0.2s ease;
  }

  .nova-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nova-panel a {
    padding: 0.75rem 0.7rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--fog);
  }
}

@media (max-width: 640px) {
  .checklist {
    grid-template-columns: 1fr;
  }

  .hn-cookie {
    flex-direction: column;
    align-items: stretch;
    bottom: 4.5rem;
  }

  .param-table th,
  .param-table td,
  .score-matrix th,
  .score-matrix td {
    display: block;
    width: 100%;
  }

  .param-table tr,
  .score-matrix tr {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .score-matrix thead {
    display: none;
  }
}
