:root {
  color-scheme: light;
  --ink: #111113;
  --muted: #5f6368;
  --soft: #f5f6f7;
  --line: #dfe3e7;
  --blue: #0071e3;
  --green: #287a4b;
  --wine: #8b2f47;
  --gold: #9d6b1d;
  --deep: #151719;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: rgba(20, 20, 22, .82);
  color: #fff;
  backdrop-filter: saturate(180%) blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  min-height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-mark {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  font-size: 13px;
  color: rgba(255, 255, 255, .84);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  display: block;
  width: 16px;
  height: 2px;
  margin: auto;
  background: currentColor;
  content: "";
}

.mobile-toggle span::before {
  transform: translateY(-6px);
}

.mobile-toggle span::after {
  transform: translateY(4px);
}

.hero {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: .72;
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .46);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0 54px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, .82);
}

.hero h1,
.page-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: 64px;
  line-height: .98;
  letter-spacing: 0;
}

.hero-copy,
.page-copy {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: 22px;
  line-height: 1.34;
  color: rgba(255, 255, 255, .84);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  background: var(--blue);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, .44);
  background: rgba(255, 255, 255, .08);
}

.button.light {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.dark {
  background: var(--ink);
}

.button:hover,
.button:focus-visible {
  filter: brightness(.94);
}

.hero-picker {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .18);
}

.hero-picker a {
  min-height: 116px;
  padding: 18px;
  background: rgba(12, 13, 15, .68);
}

.hero-picker strong {
  display: block;
  font-size: 18px;
}

.hero-picker span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .72);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.section.tight {
  padding: 48px 0;
}

.band {
  background: var(--soft);
}

.dark-band {
  background: #111315;
  color: #fff;
}

.section-heading {
  max-width: 760px;
  margin: 0 0 32px;
}

.section-heading h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p {
  margin: 14px 0 0;
  font-size: 19px;
  line-height: 1.45;
  color: var(--muted);
}

.dark-band .section-heading p,
.dark-band .muted {
  color: rgba(255, 255, 255, .7);
}

.system-grid,
.tier-grid,
.highlight-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.system-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.card.pad {
  padding: 22px;
}

.card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.price {
  display: block;
  margin-top: 18px;
  font-size: 28px;
  font-weight: 800;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #dfe3e7;
}

.media-card .media-body {
  padding: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #173b25;
  background: #dff3e7;
}

.status-pill.warn {
  color: #5c3f00;
  background: #fff0c7;
}

.local-nav {
  position: sticky;
  top: 49px;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(18px);
}

.local-nav .section {
  min-height: 52px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.local-title {
  font-size: 14px;
  font-weight: 800;
  margin-right: auto;
}

.local-nav a {
  font-size: 13px;
  color: var(--muted);
}

.page-hero {
  color: #fff;
  background: #111315;
}

.page-hero .section {
  min-height: 72svh;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1fr);
  align-items: center;
  gap: 44px;
}

.page-copy {
  color: rgba(255, 255, 255, .76);
}

.product-visual {
  overflow: hidden;
  border-radius: 8px;
  background: #262a2f;
}

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

.proof-label {
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 800;
  color: #604600;
  background: #fff1c9;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  min-height: 68px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.compare-table th,
.compare-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: #f8f9fa;
  font-size: 14px;
}

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

.config-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

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

.option-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.option-row input {
  margin-top: 4px;
}

.option-row strong {
  display: block;
  font-size: 18px;
}

.option-row span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.4;
}

.summary-panel {
  position: sticky;
  top: 116px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111315;
  color: #fff;
}

.summary-panel .total {
  margin: 8px 0 0;
  font-size: 42px;
  font-weight: 900;
}

.summary-panel textarea {
  width: 100%;
  min-height: 170px;
  margin: 18px 0 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  resize: vertical;
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.fine {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.dark-band .fine,
.summary-panel .fine {
  color: rgba(255, 255, 255, .66);
}

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer .section {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 980px) {
  .hero h1,
  .page-hero h1 {
    font-size: 48px;
  }

  .hero-picker,
  .system-grid.five,
  .system-grid,
  .tier-grid,
  .highlight-grid,
  .proof-grid,
  .page-hero .section,
  .config-shell {
    grid-template-columns: 1fr;
  }

  .hero-picker {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .hero-picker a {
    flex: 0 0 230px;
    min-height: 108px;
    scroll-snap-align: start;
  }

  .page-hero .section {
    min-height: auto;
    padding-top: 72px;
  }

  .summary-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .hero-inner,
  .section,
  .nav-shell {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 49px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: rgba(20, 20, 22, .96);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .hero {
    min-height: 86svh;
  }

  .hero-inner {
    padding-bottom: 32px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 40px;
    line-height: 1.02;
  }

  .hero-copy,
  .page-copy {
    font-size: 19px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .local-nav .section {
    overflow-x: auto;
    white-space: nowrap;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .compare-table {
    display: block;
    overflow-x: auto;
  }
}
