/* SPDX-License-Identifier: GPL-3.0-or-later */
:root {
  color-scheme: dark;
  --bg: #080b16;
  --text: #f7f8ff;
  --muted: #a5aec5;
  --line: rgba(185, 200, 235, 0.17);
  --pink: #ff5faf;
  --blue: #4ea8ff;
  --yellow: #f6cb5b;
  --green: #64e5bd;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
  --radius: 22px;
  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: 280px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(78, 168, 255, 0.11), transparent 27rem),
    radial-gradient(circle at 12% 26%, rgba(255, 95, 175, 0.08), transparent 25rem),
    var(--bg);
  font-size: 16px;
  line-height: 1.65;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  color: #080b16;
  background: var(--yellow);
  font-weight: 800;
  transform: translateY(-180%);
}

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

.shell,
.site-header {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

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

.brand {
  font-weight: 760;
  letter-spacing: -0.02em;
}

.site-header nav,
.site-footer div {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-header nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

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

.hero {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.hero-copy {
  max-width: 880px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.release-label {
  margin: 0 0 1rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--pink);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(100, 229, 189, 0.8);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

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

h1 {
  max-width: 17ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 5.2vw, 5.2rem);
}

h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
}

h3 {
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 59ch;
  margin: 0;
  color: #c8cee0;
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 790;
}

.button-primary {
  border-color: var(--pink);
  color: #160814;
  background: var(--pink);
}

.button-primary:hover {
  background: #ff86c2;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover {
  border-color: rgba(185, 200, 235, 0.42);
  background: rgba(255, 255, 255, 0.055);
}

.product-frame {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(185, 200, 235, 0.22);
  border-radius: var(--radius);
  background: #0b0e1d;
  box-shadow: var(--shadow);
}

.hero-product {
  padding: clamp(0.35rem, 0.7vw, 0.55rem);
  border-color: rgba(185, 200, 235, 0.28);
  background: linear-gradient(145deg, rgba(31, 38, 66, 0.82), rgba(10, 13, 26, 0.96));
}

.product-frame img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 6px);
}

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

.install-copy > p {
  color: var(--muted);
}

.product-spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.5rem 0 0;
  padding: 0;
  border-block: 1px solid var(--line);
}

.spec-item {
  min-width: 0;
  padding: 1.25rem clamp(1rem, 2vw, 1.5rem);
}

.spec-item + .spec-item {
  border-left: 1px solid var(--line);
}

.spec-item dt {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec-item dd {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.75rem;
  color: var(--pink);
  font-weight: 780;
}

.text-link span {
  transition: transform 150ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.install {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.install-copy h2 {
  max-width: 12ch;
}

pre {
  max-width: 100%;
  margin: 2rem 0 0;
  overflow-x: auto;
  border: 1px solid rgba(78, 168, 255, 0.28);
  border-radius: 12px;
  background: #070a13;
}

pre code {
  display: block;
  width: max-content;
  min-width: 100%;
  padding: 1.1rem 1.2rem;
  color: #c7e4ff;
  font-size: 0.84rem;
}

code {
  overflow-wrap: anywhere;
  color: #c7e4ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
}

.preview-notice {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid rgba(246, 203, 91, 0.34);
  border-radius: 18px;
  background: rgba(246, 203, 91, 0.055);
}

.notice-label {
  margin: 0 0 1rem;
  color: var(--yellow);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.preview-notice > p:not(.notice-label) {
  color: #bac1d4;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 128px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.privacy-main {
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.privacy-hero {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
}

.privacy-hero h1 {
  max-width: 15ch;
}

.policy-meta {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: clamp(3rem, 9vw, 8rem);
  justify-content: center;
  padding-top: clamp(4rem, 7vw, 6rem);
}

.privacy-nav {
  position: sticky;
  top: 2rem;
  align-self: start;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.privacy-nav p {
  margin: 0 0 0.75rem;
  color: #d9ddec;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.privacy-nav a {
  display: block;
  padding: 0.32rem 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.privacy-nav a:hover {
  color: var(--pink);
}

.privacy-content section {
  padding: 0 0 clamp(3.5rem, 7vw, 5.5rem);
  scroll-margin-top: 2rem;
}

.privacy-content section + section {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.privacy-content h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.privacy-content > section > p:not(.eyebrow) {
  color: #bac1d4;
}

.inline-link {
  color: #d7eaff;
  text-decoration: underline;
  text-decoration-color: rgba(78, 168, 255, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.inline-link:hover {
  color: var(--text);
  text-decoration-color: var(--pink);
}

.fact-list {
  margin: 2rem 0 0;
}

.fact-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.fact-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  color: var(--text);
  font-weight: 780;
}

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

@media (max-width: 900px) {
  .hero-copy {
    max-width: 720px;
  }

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

  .spec-item:nth-child(odd) {
    border-left: 0;
  }

  .spec-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    padding: 0 0 1.25rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .privacy-nav p {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .shell,
  .site-header {
    width: min(100% - 1.5rem, 1180px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding-block: 1rem;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.25rem 0.9rem;
  }

  .site-header nav a {
    font-size: 0.78rem;
  }

  .hero {
    padding-block: 3.5rem 4.5rem;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

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

  .button {
    width: 100%;
  }

  .section {
    padding-block: 4.5rem;
  }

  .fact-list div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }

  .site-footer div {
    gap: 1rem;
  }
}

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

  .text-link span {
    transition: none;
  }
}
