:root {
  color-scheme: dark;
  --bg: #11040b;
  --bg-2: #190812;
  --panel: #1d0c15;
  --panel-2: #28101c;
  --text: #fff8fc;
  --muted: #cdb9c4;
  --soft: #8f7985;
  --accent: #ff2b5c;
  --accent-2: #c50e3f;
  --line: rgba(255, 77, 126, 0.24);
  --line-strong: rgba(255, 77, 126, 0.48);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  font-weight: 800;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 64px);
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}

.site-header.is-scrolled,
.site-header.compact {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 3, 9, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
}

.brand img,
.footer-brand img {
  border-radius: 11px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-cta {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 92vh;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 132px clamp(22px, 6vw, 104px) 70px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20vh;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: -1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 4, 11, 0.96) 0%, rgba(17, 4, 11, 0.9) 36%, rgba(17, 4, 11, 0.54) 58%, rgba(17, 4, 11, 0.08) 82%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(17, 4, 11, 0.2), rgba(17, 4, 11, 0.12)),
    url("assets/images/hero-background.jpg") center / cover no-repeat;
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(68px, 11vw, 140px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-lede {
  max-width: 650px;
  color: #eadde4;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.38;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.store-button {
  display: inline-flex;
  min-width: 190px;
  min-height: 64px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  padding: 13px 20px;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.store-button span:last-child {
  font-size: 20px;
  font-weight: 900;
}

.store-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.store-button:hover {
  border-color: var(--accent);
  background: rgba(255, 43, 92, 0.15);
  transform: translateY(-1px);
}

.store-button.light {
  background: rgba(255, 255, 255, 0.95);
  color: #16050d;
}

.store-button.light .store-kicker {
  color: #7a5f6d;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 840px;
  margin: 44px 0 0;
}

.hero-stats div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(12, 3, 8, 0.58);
  padding: 18px;
}

.hero-stats dt {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.section,
.showcase,
.cta-section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.intro-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.section-copy p,
.showcase-copy p,
.library-copy p,
.policy-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.intro-grid {
  display: grid;
  gap: 16px;
}

.intro-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  padding: 26px;
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #7d4dff);
  font-weight: 900;
}

.intro-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  padding: 108px 0;
}

.showcase.alternate {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 0.9fr);
}

.showcase.alternate .showcase-copy {
  order: 2;
}

.model-list,
.capability-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.model-list li,
.capability-row span {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 43, 92, 0.08);
  color: #ffdce5;
  padding: 10px 14px;
  font-weight: 800;
}

.device-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #080207;
  padding: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.device-frame img {
  width: 100%;
  border-radius: 24px;
}

.stacked-devices {
  position: relative;
  min-height: 640px;
}

.stacked-devices .device-frame {
  width: min(430px, 74vw);
}

.stacked-devices .front {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

.stacked-devices .rear {
  position: absolute;
  right: 0;
  top: 110px;
  opacity: 0.72;
}

.library-section {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 48px;
  align-items: center;
}

.wide-preview {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #080207;
  padding: 10px;
  box-shadow: var(--shadow);
  max-height: 720px;
  overflow: hidden;
}

.wide-preview img {
  border-radius: 20px;
  width: 100%;
}

.seo-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.narrow {
  max-width: 900px;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 86px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ff2b5c, #7d1dff);
  padding: clamp(30px, 6vw, 64px);
}

.cta-section h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 62px);
}

.cta-section .eyebrow {
  color: #ffe8ef;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px clamp(22px, 5vw, 70px);
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.policy-page {
  background:
    linear-gradient(180deg, rgba(255, 43, 92, 0.08), transparent 280px),
    var(--bg);
}

.policy-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 920px);
  gap: 34px;
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: 132px 0 90px;
}

.policy-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  padding: 22px;
}

.policy-sidebar nav {
  display: grid;
  gap: 12px;
}

.policy-sidebar a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.policy-sidebar a:hover {
  color: var(--text);
}

.policy-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(18, 5, 12, 0.92);
  padding: clamp(28px, 5vw, 66px);
  box-shadow: var(--shadow);
}

.policy-card h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 86px);
}

.policy-lede {
  font-size: 21px !important;
}

.policy-card section {
  scroll-margin-top: 110px;
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-card h2 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.08;
}

.policy-card h3 {
  margin-top: 24px;
}

.policy-card a {
  color: #ffb6ca;
}

.policy-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(14, 3, 9, 0.96);
    padding: 12px;
    backdrop-filter: blur(18px);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero {
    min-height: 88vh;
    padding-top: 120px;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-stats,
  .intro-section,
  .showcase,
  .showcase.alternate,
  .library-section,
  .policy-shell {
    grid-template-columns: 1fr;
  }

  .showcase.alternate .showcase-copy {
    order: 0;
  }

  .stacked-devices {
    min-height: auto;
  }

  .stacked-devices .device-frame {
    position: static;
    width: 100%;
    margin-bottom: 18px;
  }

  .policy-sidebar {
    position: static;
  }

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

  .cta-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand span {
    font-size: 16px;
  }

  .hero {
    min-height: 94vh;
    padding: 108px 20px 54px;
  }

  h1 {
    font-size: clamp(62px, 21vw, 94px);
  }

  .hero-lede {
    font-size: 19px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section,
  .showcase,
  .cta-section,
  .policy-shell {
    width: min(100% - 32px, 1180px);
  }

  .section,
  .showcase {
    padding: 72px 0;
  }

  .store-button {
    width: 100%;
  }

  .policy-sidebar nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
