:root {
  color-scheme: dark;
  --background: #071116;
  --surface: #0d1a20;
  --text: #f2f6f5;
  --secondary: #9baaa7;
  --accent: #00e5b0;
  --border: rgba(255, 255, 255, 0.1);
  --content: 1160px;
  --radius: 4px;
}

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

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.6rem 0.8rem;
  background: var(--accent);
  color: var(--background);
  font-weight: 750;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 17, 22, 0.96);
}

.nav-wrap {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.menu-button {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  flex: 0 0 auto;
  place-content: center;
  gap: 0.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
}

.menu-button span:not(.sr-only) {
  width: 1.1rem;
  height: 1px;
  background: currentColor;
}

.navigation {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: none;
  padding: 0.5rem 1rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.navigation[data-open="true"] {
  display: grid;
}

.navigation a {
  padding: 0.65rem 0;
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 16ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.65rem, 8vw, 6rem);
  font-weight: 680;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 4.5vw, 3.25rem);
  font-weight: 650;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

.lede {
  max-width: 42rem;
  color: var(--secondary);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.section-label {
  margin: 0;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero {
  min-height: min(48rem, calc(100svh - 4.5rem));
  display: grid;
  align-items: center;
  padding-block: clamp(5rem, 12vw, 9rem);
}

.hero-composition {
  display: grid;
  gap: 3.5rem;
}

.hero-copy {
  max-width: 52rem;
}

.hero-index {
  align-self: end;
  margin: 0;
  color: var(--secondary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.5rem;
  margin-top: 2rem;
}

.primary-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  padding: 0.7rem 1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #001a14;
  font-weight: 720;
  text-decoration: none;
}

.primary-link:hover {
  background: transparent;
  color: var(--accent);
}

.text-link {
  color: var(--text);
  font-weight: 680;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.text-link span {
  color: var(--accent);
}

.editorial-section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  border-top: 1px solid var(--border);
}

.section-tight {
  padding-block: 3rem 6rem;
}

.section-grid {
  display: grid;
  gap: 2rem;
}

.product-feature {
  display: grid;
  gap: 2.5rem;
}

.product-title p {
  color: var(--secondary);
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
}

.product-summary {
  max-width: 38rem;
}

.product-summary > p:first-child,
.about-copy > p,
.support-grid p,
.section-grid > div > p {
  color: var(--secondary);
}

.availability {
  margin: 1.75rem 0;
  color: var(--accent) !important;
  font-size: 0.83rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-copy {
  max-width: 42rem;
}

.page-hero {
  padding-block: clamp(5rem, 12vw, 9rem) clamp(3.5rem, 8vw, 6rem);
}

.page-hero .section-label {
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
}

.product-hero {
  display: grid;
  gap: 2.5rem;
}

.product-hero > div:last-child {
  max-width: 39rem;
}

.feature-rows {
  border-top: 1px solid var(--border);
}

.feature-rows article {
  display: grid;
  gap: 0.75rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.feature-rows article > span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
}

.feature-rows h2,
.feature-rows p {
  margin-bottom: 0;
}

.feature-rows h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.feature-rows p {
  max-width: 36rem;
  color: var(--secondary);
}

.legal-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.legal-links a {
  font-weight: 650;
}

.gallery {
  display: grid;
  gap: 0.75rem;
  margin-block: 2.5rem;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 13rem;
  border-radius: var(--radius);
  object-fit: cover;
}

.prose {
  max-width: 50rem;
}

.prose h2 {
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.025em;
}

.prose h3 {
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: var(--secondary);
}

.prose strong {
  color: var(--text);
}

.prose a {
  color: var(--accent);
}

.prose li + li {
  margin-top: 0.55rem;
}

.support-grid {
  display: grid;
  gap: 4rem;
}

.support-grid > div + div {
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.site-footer {
  padding-block: 2.75rem;
  border-top: 1px solid var(--border);
}

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

.footer-company,
.legal-line {
  margin: 0;
}

.footer-company {
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.footer-links a,
.legal-line {
  color: var(--secondary);
  font-size: 0.85rem;
}

@media (min-width: 48rem) {
  .shell {
    width: min(calc(100% - 4rem), var(--content));
  }

  .menu-button {
    display: none;
  }

  .navigation,
  .navigation[data-open="true"] {
    position: static;
    display: flex;
    gap: 2rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .hero-composition {
    grid-template-columns: minmax(0, 4fr) minmax(10rem, 1fr);
    align-items: end;
  }

  .section-grid {
    grid-template-columns: minmax(8rem, 0.7fr) minmax(0, 3fr);
    gap: clamp(3rem, 8vw, 8rem);
  }

  .product-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
    align-items: end;
  }

  .feature-rows article {
    grid-template-columns: 3rem minmax(10rem, 0.65fr) minmax(15rem, 1.35fr);
    align-items: baseline;
    gap: 1.5rem;
  }

  .gallery {
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: repeat(2, 12rem);
  }

  .gallery img:first-child {
    grid-row: 1 / 3;
  }

  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6rem;
  }

  .support-grid > div + div {
    padding: 0 0 0 3rem;
    border-top: 0;
    border-left: 1px solid var(--border);
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .legal-line {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64rem) {
  .product-feature {
    grid-template-columns: minmax(14rem, 0.9fr) minmax(18rem, 1.1fr);
    align-items: start;
    gap: clamp(3rem, 8vw, 7rem);
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
