:root {
  color-scheme: light;
  --page: #f6f8fa;
  --surface: #ffffff;
  --surface-strong: #eef3f6;
  --ink: #13202a;
  --ink-soft: #52616d;
  --line: #d8e0e5;
  --line-strong: #aebbc4;
  --accent: #087a8c;
  --accent-hover: #056575;
  --success: #16704b;
  --focus: #0969da;
  --radius: 8px;
  --content: 1120px;
  --shadow: 0 16px 45px rgba(22, 40, 52, 0.09);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  font-size: clamp(2.65rem, 7vw, 5.4rem);
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
}

.container {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  border: 1px solid #b8c9d4;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: min(680px, calc(100dvh - 68px));
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #263b49;
  background-color: #071420;
  background-image: url("./assets/nebula-sports-logo.png");
  background-repeat: no-repeat;
  background-position: right -90px center;
  background-size: min(58vw, 650px);
  color: #f4fbff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 11, 18, 0.55);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 74px 0 84px;
}

.hero h1 {
  color: #ffffff;
}

.hero-copy {
  max-width: 590px;
  margin-top: 20px;
  color: #d2e1e9;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.button:active {
  transform: translateY(1px);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(7, 20, 32, 0.75);
}

.button-secondary:hover {
  background: #ffffff;
  color: #10202b;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

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

.trust-item {
  min-height: 112px;
  padding: 25px 28px;
  border-left: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1rem;
}

.trust-item span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

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

.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 50px;
  align-items: start;
}

.product-copy {
  display: grid;
  gap: 20px;
}

.product-copy p {
  max-width: 72ch;
  color: var(--ink-soft);
}

.fact-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.fact-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list strong {
  color: var(--ink);
}

.fact-list span {
  color: var(--ink-soft);
}

.product-visual {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #06121e;
  box-shadow: var(--shadow);
}

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

.product-visual figcaption {
  padding: 16px 18px;
  border-top: 1px solid #28404f;
  color: #d2e1e9;
  font-size: 0.9rem;
}

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

.price-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.price-card.featured {
  border: 2px solid var(--accent);
}

.plan-name {
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 800;
}

.price {
  margin-top: 12px;
  color: var(--ink);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
}

.price small {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.price-card p {
  margin: 20px 0 24px;
  color: var(--ink-soft);
}

.availability {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--success);
  font-size: 0.88rem;
  font-weight: 800;
}

.delivery {
  background: var(--surface-strong);
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.delivery-step {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.delivery-step:last-child {
  border-right: 0;
}

.delivery-step strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 1.35rem;
}

.delivery-step p {
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.policy-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.policy-link {
  min-height: 150px;
  padding: 25px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.policy-link:last-child {
  border-right: 0;
}

.policy-link strong {
  display: block;
  margin-bottom: 8px;
}

.policy-link span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.policy-link:hover {
  background: var(--surface-strong);
  color: var(--accent-hover);
}

.site-footer {
  padding: 34px 0;
  background: #0b1720;
  color: #c4d1d9;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #dce8ee;
  font-size: 0.88rem;
}

.legal-hero {
  padding: 74px 0 58px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-strong);
}

.legal-hero h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.legal-hero p {
  max-width: 720px;
  margin-top: 18px;
  color: var(--ink-soft);
}

.legal-content {
  padding: 64px 0 90px;
}

.legal-document {
  max-width: 820px;
  display: grid;
  gap: 34px;
}

.legal-document section {
  display: grid;
  gap: 12px;
}

.legal-document h2 {
  font-size: 1.55rem;
}

.legal-document p,
.legal-document li {
  color: var(--ink-soft);
}

.legal-document ul,
.legal-document ol {
  margin: 0;
  padding-left: 22px;
}

.contact-table {
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.contact-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.contact-table dt {
  font-weight: 800;
}

.contact-table dd {
  margin: 0;
  color: var(--ink-soft);
}

.notice {
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: var(--surface-strong);
  color: var(--ink-soft);
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    padding: 14px 0;
  }

  .nav-links {
    max-width: 62%;
    justify-content: flex-end;
    gap: 8px 15px;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 620px;
    background-position: center right -180px;
    background-size: 640px;
  }

  .hero::before {
    background: rgba(2, 11, 18, 0.72);
  }

  .trust-grid,
  .pricing-grid,
  .product-layout,
  .delivery-grid,
  .policy-links {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:last-child,
  .delivery-step,
  .policy-link {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child,
  .delivery-step:last-child,
  .policy-link:last-child {
    border-bottom: 0;
  }

  .product-visual {
    max-width: 430px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(var(--content), calc(100% - 28px));
  }

  .nav {
    min-height: auto;
    display: grid;
  }

  .nav-links {
    max-width: none;
    justify-content: flex-start;
  }

  .hero {
    min-height: 590px;
    background-position: center bottom -100px;
    background-size: 500px;
  }

  .hero-inner {
    padding: 64px 0 150px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .fact-list li,
  .contact-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .price-card {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
