:root {
  color-scheme: dark;
  --ink: #03080d;
  --panel: #071522;
  --panel-raised: #0a1b2a;
  --line: #173247;
  --text: #eef3f7;
  --muted: #9aabb8;
  --cyan: #28d7e5;
  --yellow: #f5d833;
  --green: #18c83e;
  --soft-green: #9df7aa;
  --red: #c5221a;
  --content: 74rem;
  --reading: 46rem;
  --radius: 1.1rem;
  --shadow: 0 1.5rem 4rem rgb(0 0 0 / 35%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  background:
    linear-gradient(rgb(40 215 229 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(40 215 229 / 3%) 1px, transparent 1px),
    var(--ink);
  background-size: 3rem 3rem;
  color: var(--text);
  line-height: 1.65;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgb(25 197 61 / 9%), transparent 30rem),
    radial-gradient(circle at 90% 8%, rgb(40 215 229 / 10%), transparent 32rem);
  content: "";
  pointer-events: none;
}

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

a {
  color: var(--cyan);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--soft-green);
}

a:focus-visible,
[tabindex]:focus-visible {
  outline: 0.2rem solid var(--yellow);
  outline-offset: 0.25rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--yellow);
  background: var(--ink);
  color: var(--yellow);
  transform: translateY(-200%);
}

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

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

.nav-dock {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgb(3 8 13 / 92%);
  backdrop-filter: blur(0.75rem);
}

.nav-dock .site-nav {
  border-bottom: 0;
}

#gallery,
#why,
.product-header + #main {
  scroll-margin-top: 6.4rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.4rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
}

.nav-links a {
  color: var(--muted);
}

.eyebrow,
.kicker {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.35rem;
  color: var(--yellow);
  font-size: clamp(2.7rem, 7.5vw, 6.6rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

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

p {
  margin-top: 0;
}

.lead {
  max-width: 42rem;
  margin-bottom: 1.7rem;
  color: var(--text);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.55;
}

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

.hub-hero {
  display: grid;
  min-height: 48vh;
  align-content: center;
  padding-block: clamp(5rem, 12vw, 9rem);
}

.hub-hero h1 {
  max-width: 12ch;
}

.hub-hero .lead {
  max-width: 36rem;
  color: var(--muted);
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(17rem, 0.95fr);
  overflow: hidden;
  margin-bottom: 7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--panel), var(--panel-raised));
  box-shadow: var(--shadow);
}

.product-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
}

.product-feature-copy h2 {
  color: var(--yellow);
}

.product-feature-copy p {
  max-width: 31rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.product-feature-media {
  display: grid;
  place-items: center;
  min-height: 26rem;
  padding: 2rem;
  background: #06131f;
}

.product-feature-media img {
  width: 100%;
  border: 1px solid rgb(40 215 229 / 25%);
}

.button,
.button-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--yellow);
  background: var(--yellow);
  color: #101000;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0.35rem 0.35rem 0 rgb(40 215 229 / 28%);
}

.button:hover {
  background: var(--cyan);
  color: var(--ink);
}

.button-disabled {
  cursor: default;
  opacity: 0.82;
}

.micro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.micro-badges li {
  padding: 0.38rem 0.65rem;
  border: 1px solid var(--line);
  background: rgb(3 8 13 / 70%);
  color: var(--soft-green);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.product-header {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  min-height: calc(100vh - 5.4rem);
  padding-block: clamp(3.5rem, 9vw, 7rem);
}

.product-hero-copy {
  position: relative;
  z-index: 1;
}

.product-name {
  margin-bottom: 1.2rem;
  color: var(--cyan);
}

.compatibility {
  max-width: 42rem;
  margin: 0 0 1.6rem;
  padding: 1rem 1.1rem;
  border-left: 0.25rem solid var(--green);
  background: rgb(7 21 34 / 88%);
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.text-link {
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-art {
  position: relative;
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  z-index: -1;
  width: 5.2rem;
  height: 0.7rem;
  content: "";
}

.hero-art::before {
  top: -1rem;
  right: 12%;
  background: var(--green);
}

.hero-art::after {
  bottom: -1rem;
  left: 12%;
  background: var(--red);
}

.hero-art img {
  width: 100%;
  border: 1px solid rgb(40 215 229 / 30%);
  box-shadow: var(--shadow);
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(17rem, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: 3rem;
}

.section-heading p {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 24%);
}

.gallery figcaption {
  padding: 0.8rem 0.2rem 0;
  color: var(--muted);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(18rem, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.story-grid + .story-grid {
  margin-top: 6rem;
}

.story-copy {
  max-width: var(--reading);
}

.story-copy strong {
  color: var(--soft-green);
}

.bar-demo {
  display: grid;
  gap: 0.65rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--line);
  background: var(--panel);
}

.bar-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.25rem;
}

.bar-row span {
  height: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid rgb(255 255 255 / 10%);
  background-color: #13301d;
  background-image: repeating-linear-gradient(
    to bottom,
    rgb(255 255 255 / 5%) 0,
    rgb(255 255 255 / 5%) 0.08rem,
    rgb(0 0 0 / 16%) 0.08rem,
    rgb(0 0 0 / 16%) 0.16rem,
    transparent 0.16rem,
    transparent 0.24rem
  );
}

.bar-row .gone {
  background-color: var(--red);
}

.bar-row .remaining {
  background-color: var(--green);
}

.bar-row.current {
  position: relative;
}

.bar-row.current::after {
  position: absolute;
  top: -0.35rem;
  left: 50%;
  width: 0.36rem;
  height: calc(100% + 0.7rem);
  transform: translateX(-50%);
  background: var(--yellow);
  content: "";
}

.bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  color: var(--muted);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
}

.readout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.readout {
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.readout dt {
  margin-bottom: 0.35rem;
  color: var(--yellow);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-weight: 800;
}

.readout dd {
  margin: 0;
  color: var(--muted);
}

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

.control-list li {
  padding: 1.4rem;
  border-top: 0.25rem solid var(--cyan);
  background: var(--panel);
}

.control-list strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

.control-list span {
  color: var(--muted);
}

.research-card,
.privacy-card {
  max-width: 60rem;
  padding: clamp(1.7rem, 5vw, 3.4rem);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel), rgb(7 21 34 / 65%));
  box-shadow: var(--shadow);
}

.research-card p,
.privacy-card p {
  max-width: var(--reading);
  color: var(--muted);
}

.research-card .source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin: 2rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin: 1.7rem 0 2rem;
  padding: 0;
  list-style: none;
}

.privacy-points li {
  padding: 0.8rem;
  border: 1px solid var(--line);
  color: var(--soft-green);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
  text-align: center;
}

.closing {
  display: grid;
  place-items: center;
  min-height: 31rem;
  text-align: center;
}

.closing h2 {
  max-width: 13ch;
  color: var(--yellow);
}

.closing p {
  max-width: 35rem;
  color: var(--muted);
}

.disclaimer {
  margin-top: 2rem;
  font-size: 0.8rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 7rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer p {
  margin: 0;
}

.legal-page main {
  width: min(calc(100% - 2rem), var(--reading));
  margin-inline: auto;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.legal-page h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
}

.legal-page h2 {
  margin-top: 3.2rem;
  color: var(--yellow);
  font-size: clamp(1.35rem, 4vw, 2rem);
  letter-spacing: -0.025em;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.policy-summary {
  margin: 2rem 0 3rem;
  padding: 1.3rem 1.5rem;
  border-left: 0.3rem solid var(--green);
  background: var(--panel);
  color: var(--text) !important;
  font-size: 1.12rem;
}

.cookie-notice {
  position: fixed;
  z-index: 90;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(calc(100% - 2rem), 46rem);
  padding: 1.2rem;
  border: 1px solid var(--cyan);
  background: rgb(7 21 34 / 97%);
  box-shadow: var(--shadow);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice__copy {
  flex: 1;
}

.cookie-notice__copy strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--yellow);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

.cookie-notice__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-notice__dismiss {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--yellow);
  background: var(--yellow);
  color: #101000;
  cursor: pointer;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-weight: 800;
}

.cookie-notice__dismiss:hover {
  background: var(--cyan);
  color: var(--ink);
}

@media (max-width: 54rem) {
  .product-feature,
  .product-hero,
  .section-heading,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .product-feature-media {
    order: -1;
    min-height: auto;
  }

  .product-hero {
    min-height: auto;
  }

  .hero-art {
    order: -1;
    max-width: 39rem;
  }

  .section-heading {
    align-items: start;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .control-list,
  .privacy-points {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 38rem) {
  .cookie-notice {
    align-items: stretch;
    flex-direction: column;
    gap: 0.9rem;
  }

  .cookie-notice__dismiss {
    width: 100%;
  }

  .site-nav,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.3rem;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .nav-dock .site-nav {
    gap: 0.55rem;
    min-height: 0;
    padding-block: 0.8rem;
  }

  .nav-dock .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .readout-grid,
  .control-list,
  .privacy-points {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .button-disabled {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
