:root {
  --bg: #06090f;
  --bg-card: rgba(14, 20, 31, 0.74);
  --text: #f3f4f6;
  --text-secondary: rgba(235, 238, 244, 0.76);
  --text-muted: rgba(215, 222, 234, 0.62);
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);
  --amber: #e9be8f;
  --container: 1120px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #06090f;
  font-size: 14px;
  font-weight: 500;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* Top Navigation */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 0;
  background: linear-gradient(180deg, rgba(6, 9, 15, 0.78) 0%, rgba(6, 9, 15, 0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-nav--hero {
  position: absolute;
  padding: 28px 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

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

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 247, 249, 0.84);
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav-brand:hover {
  color: #ffffff;
}

.nav-mark {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: rgba(240, 243, 248, 0.78);
}

.nav-links a {
  padding: 8px 0;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(100svh, 880px);
  max-height: 920px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  user-select: none;
  pointer-events: none;
}

.hero-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 62% 50%;
  filter: contrast(1.08) brightness(0.96);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.56) 0%, rgba(5, 8, 15, 0.24) 46%, rgba(5, 8, 15, 0.02) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.34) 0%, transparent 20%, transparent 76%, rgba(6, 9, 15, 0.94) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 112px 0 96px;
}

.hero-col {
  max-width: 500px;
}

.wordmark-wrap {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1024 / 448;
  margin-bottom: 10px;
  user-select: none;
}

.wordmark-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.wordmark-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.wordmark-dot {
  position: absolute;
  left: 33.15%;
  top: 16.5%;
  width: 7.4%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
}

.hero-tagline {
  font-size: clamp(23px, 2.55vw, 34px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(246, 247, 249, 0.94);
  margin-bottom: 24px;
  padding-left: 29px;
}

.hero-link {
  display: inline-block;
  margin-left: 29px;
  font-size: 15px;
  font-weight: 400;
  color: rgba(236, 240, 246, 0.88);
  padding: 6px 0 5px;
  border-bottom: 1px solid rgba(236, 240, 246, 0.44);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.hero-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* Overview Section (Product + Company Cards) */
.compact-section {
  padding: clamp(52px, 6.5vw, 84px) 0;
  border-bottom: 1px solid var(--border);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.info-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(24px, 3.2vw, 36px);
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.88;
  margin-bottom: 14px;
}

.card-h2 {
  font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.card-p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.compact-specs {
  margin-top: 4px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.spec-row:first-child { padding-top: 0; }
.spec-row:last-child { padding-bottom: 0; border-bottom: none; }

.spec-key {
  color: var(--text-muted);
  flex-shrink: 0;
}

.spec-val {
  color: var(--text);
  text-align: right;
  font-weight: 500;
}

.spec-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber);
  text-align: right;
  word-break: break-word;
}

.spec-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(246, 247, 249, 0.92);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.store-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.92;
}

.store-btn:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

/* Footer */
.site-footer {
  padding: 32px 0 42px;
  background: #04070c;
}

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

.footer-legal {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-legal strong {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.18s ease;
}

.footer-links a:hover { color: var(--text); }

/* Legal & 404 Pages */
.legal-main {
  padding: 120px 0 84px;
}

.legal-article {
  max-width: 740px;
}

.legal-article h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  padding-bottom: 22px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-article h2 {
  font-size: 18px;
  font-weight: 500;
  margin: 30px 0 10px;
}

.legal-article p,
.legal-article li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.legal-article p + p {
  margin-top: 14px;
}

.legal-article li + li {
  margin-top: 8px;
}

.legal-article ul {
  padding-left: 20px;
  margin: 10px 0 18px;
}

.legal-article a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.not-found {
  max-width: 560px;
}

.not-found-title {
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 14px;
}

.not-found-copy {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 21px;
  border-radius: 999px;
  background: rgba(248, 249, 250, 0.95);
  color: #090d14;
  font-size: 13.5px;
  font-weight: 500;
}

/* Tablet & Mobile */
@media (max-width: 860px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-bg {
    object-position: 74% 50%;
  }

  .hero-scrim {
    background: linear-gradient(180deg, rgba(6, 9, 15, 0.52) 0%, rgba(6, 9, 15, 0.44) 52%, rgba(6, 9, 15, 0.96) 100%);
  }

  .wordmark-wrap {
    width: min(320px, 84vw);
  }

  .hero-tagline {
    padding-left: 6%;
  }

  .hero-link {
    margin-left: 6%;
  }
}

@media (max-width: 540px) {
  .site-nav--hero {
    padding: 20px 0;
  }

  .hero {
    min-height: 78svh;
    max-height: 680px;
  }

  .hero-content {
    padding: 92px 0 64px;
  }

  .nav-links {
    gap: 16px;
    font-size: 13px;
  }

  .spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 11px 0;
  }

  .spec-val,
  .spec-link {
    text-align: left;
  }

  .store-btn {
    padding: 9px 14px;
    font-size: 13px;
  }

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

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

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