@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/space-grotesk-500.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-700.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/dm-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/dm-mono-500.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --void: #09090d;
  --surface: #121218;
  --surface-2: #181820;
  --surface-3: #20202a;
  --rule: #343440;
  --text: #f7f7fa;
  --muted: #b5b5c1;
  --quiet: #9697a5;
  --uv: #8b5cf6;
  --uv-light: #c4b5fd;
  --cyan: #67e8f9;
  --green: #4ade80;
  --max: 1180px;
}

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

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

body {
  min-width: 280px;
  margin: 0;
  background:
    radial-gradient(circle at 82% 3%, rgba(139, 92, 246, 0.2), transparent 34rem),
    radial-gradient(circle at 12% 45%, rgba(103, 232, 249, 0.055), transparent 30rem),
    var(--void);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--void);
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(247, 247, 250, 0.1);
  background: rgba(9, 9, 13, 0.91);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.lang-link {
  min-height: 42px;
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover,
.lang-link:hover {
  background: var(--surface-2);
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  padding: 11px 17px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196, 181, 253, 0.5);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.nav-cta,
.button.primary {
  background: var(--uv);
  color: #09090d;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.25);
}

.nav-cta:hover,
.button.primary:hover {
  background: var(--uv-light);
}

main {
  overflow: hidden;
}

.hero,
.section,
.final-cta {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 680px;
  padding: 90px 0 76px;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: 58px;
}

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

.eyebrow,
.section-kicker,
.card-kicker,
.specs dt,
.flow-label {
  color: var(--uv-light);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  max-width: 750px;
  margin: 22px 0 26px;
  font-size: clamp(54px, 7.2vw, 100px);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

h1 em,
h2 em {
  color: var(--uv-light);
  font-style: normal;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  position: relative;
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.hero-proof::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(196, 181, 253, 0.14);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.hero-proof img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-proof figcaption,
.screen-card figcaption,
.media-caption {
  padding: 13px 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
}

.hero-proof strong,
.screen-card strong {
  color: var(--text);
}

.truth-strip {
  border-block: 1px solid var(--rule);
  background: rgba(18, 18, 24, 0.72);
}

.truth-inner {
  display: grid;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
}

.truth-item {
  min-width: 0;
  padding: 25px 22px;
  border-right: 1px solid var(--rule);
}

.truth-item:first-child {
  border-left: 1px solid var(--rule);
}

.truth-item strong {
  display: block;
  margin-bottom: 2px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.truth-item span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 108px 0;
}

.section + .section {
  border-top: 1px solid rgba(52, 52, 64, 0.68);
}

.section-head {
  display: grid;
  margin-bottom: 48px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 48px;
}

h2 {
  max-width: 830px;
  margin: 13px 0 0;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.screen-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.screen-card {
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.screen-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.screen-card.master img {
  object-position: center;
}

.signal-line {
  display: flex;
  margin: 24px 0 0;
  padding: 16px 18px;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(103, 232, 249, 0.25);
  border-radius: 10px;
  background: rgba(103, 232, 249, 0.055);
  color: var(--muted);
}

.signal-line::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 13px var(--cyan);
  content: "";
}

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

.depth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.depth-card,
.feature-card,
.output-card,
.guide-card {
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(24, 24, 32, 0.96), rgba(15, 15, 21, 0.96));
}

.depth-card {
  min-height: 320px;
  padding: 28px;
}

.depth-card.featured {
  border-color: rgba(196, 181, 253, 0.52);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 18px 58px rgba(139, 92, 246, 0.1);
}

.depth-number {
  display: flex;
  margin-bottom: 64px;
  align-items: center;
  justify-content: space-between;
  color: var(--quiet);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.depth-number span:last-child {
  color: var(--uv-light);
}

.depth-card h3 {
  margin-bottom: 14px;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.depth-card p,
.feature-card p,
.output-card p,
.guide-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-band {
  display: grid;
  padding: 24px;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: stretch;
  gap: 34px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
}

.feature-band + .feature-band {
  margin-top: 20px;
}

.feature-band.reverse .feature-copy {
  order: 2;
}

.feature-band.reverse .feature-media {
  order: 1;
}

.feature-copy {
  display: flex;
  padding: 28px;
  flex-direction: column;
  justify-content: center;
}

.feature-copy h3 {
  margin: 12px 0 15px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.045em;
}

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

.feature-copy ul,
.output-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.feature-copy li + li,
.output-card li + li {
  margin-top: 7px;
}

.feature-media {
  min-height: 330px;
  margin: 0;
  border-radius: 10px;
  background: #050507;
  overflow: hidden;
}

.feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media .media-caption {
  background: var(--surface-2);
}

.privacy-contract {
  display: grid;
  margin-top: 20px;
  padding: 28px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: 12px;
  background: rgba(74, 222, 128, 0.045);
}

.privacy-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(74, 222, 128, 0.38);
  border-radius: 50%;
  color: var(--green);
  font-family: "DM Mono", monospace;
  font-size: 12px;
}

.privacy-contract h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.privacy-contract p {
  margin-bottom: 0;
  color: var(--muted);
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.output-card {
  padding: 25px;
}

.output-card h3 {
  margin: 14px 0 10px;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.output-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 2px solid var(--uv);
  background: rgba(139, 92, 246, 0.06);
  color: var(--muted);
}

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

.specs {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--rule);
  overflow: hidden;
}

.spec {
  min-width: 0;
  padding: 23px;
  background: var(--surface);
}

.specs dt {
  margin-bottom: 8px;
}

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

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

.guide-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.guide-card {
  display: flex;
  min-height: 190px;
  padding: 20px;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.guide-card:hover {
  border-color: rgba(196, 181, 253, 0.7);
  transform: translateY(-3px);
}

.guide-card h3 {
  margin: 13px 0 9px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.guide-arrow {
  margin-top: auto;
  padding-top: 18px;
  color: var(--uv-light);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.final-wrap {
  padding: 36px 0 100px;
}

.final-cta {
  position: relative;
  padding: clamp(38px, 7vw, 78px);
  border: 1px solid rgba(196, 181, 253, 0.36);
  border-radius: 15px;
  background:
    linear-gradient(120deg, rgba(139, 92, 246, 0.18), transparent 58%),
    var(--surface);
  overflow: hidden;
}

.final-cta::after {
  position: absolute;
  right: 5%;
  bottom: -68px;
  width: 230px;
  height: 300px;
  background: url("/brand/rebrand-v03/logo-aperture-active-uv-v03.svg") center / contain no-repeat;
  content: "";
  opacity: 0.14;
  pointer-events: none;
}

.final-cta h2 {
  position: relative;
  z-index: 1;
  margin: 12px 0 20px;
  max-width: 700px;
}

.final-cta p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.final-cta .button {
  position: relative;
  z-index: 1;
}

.site-footer {
  border-top: 1px solid var(--rule);
  color: var(--quiet);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  min-height: 90px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

@media (max-width: 1040px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-proof {
    max-width: 850px;
  }

  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .nav-link {
    display: none;
  }

  .hero {
    padding-top: 70px;
    gap: 40px;
  }

  .truth-inner,
  .screen-pair,
  .depth-grid,
  .output-grid,
  .specs {
    grid-template-columns: 1fr;
  }

  .truth-item,
  .truth-item:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    border-left: 0;
  }

  .truth-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 80px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature-band.reverse .feature-copy,
  .feature-band.reverse .feature-media {
    order: initial;
  }

  .feature-media {
    min-height: 260px;
  }

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

@media (max-width: 560px) {
  .nav,
  .hero,
  .section,
  .final-cta,
  .footer-inner,
  .truth-inner {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    min-height: 62px;
    gap: 10px;
  }

  .brand span,
  .nav-cta {
    display: none;
  }

  .hero {
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(48px, 18vw, 76px);
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .depth-card {
    min-height: 0;
  }

  .depth-number {
    margin-bottom: 38px;
  }

  .feature-band {
    padding: 12px;
    gap: 8px;
  }

  .feature-copy {
    padding: 22px 12px;
  }

  .feature-media {
    min-height: 210px;
  }

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

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

  .guide-card {
    min-height: 0;
  }

  .footer-inner {
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .guide-card {
    transition: none;
  }
}
