:root {
  --bg: #030508;
  --bg-soft: #080b11;
  --panel: rgba(12, 16, 23, 0.82);
  --panel-solid: #0b0f16;
  --line: rgba(218, 190, 124, 0.2);
  --line-bright: rgba(238, 200, 111, 0.48);
  --gold: #efb74e;
  --gold-pale: #f6dfaa;
  --gold-deep: #8f5e17;
  --ink: #f5f1e7;
  --muted: #aeb8c7;
  --quiet: #737e8e;
  --blue: #83d6ff;
  --green: #56d3a3;
  --red: #ec7b72;
  --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page: min(1480px, calc(100vw - 72px));
  --px: 0;
  --py: 0;
}

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

html {
  color-scheme: dark;
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 8%, rgba(34, 82, 112, 0.12), transparent 26rem),
    radial-gradient(circle at 12% 28%, rgba(137, 88, 18, 0.08), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

h1,
h2,
h3,
p,
blockquote,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  background: var(--gold);
  color: #07080a;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 800;
  transition: transform 180ms ease;
}

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

.scroll-progress {
  position: fixed;
  z-index: 110;
  inset: 0 0 auto;
  height: 2px;
  background: rgba(255, 255, 255, 0.035);
}

.scroll-progress i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-pale), var(--blue));
}

.ambient-grid {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(115, 153, 184, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 153, 184, 0.027) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  width: var(--page);
  height: 88px;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: top 220ms ease, width 220ms ease, height 220ms ease, padding 220ms ease, background 220ms ease, border-color 220ms ease, border-radius 220ms ease;
}

.site-header.is-scrolled {
  position: fixed;
  top: 10px;
  width: min(1080px, calc(100% - 28px));
  height: 64px;
  padding-inline: 16px;
  border: 1px solid rgba(219, 187, 113, 0.18);
  border-radius: 18px;
  background: rgba(4, 7, 11, 0.86);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.2);
}

.site-header.is-scrolled .brand small {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  min-height: 48px;
}

.brand img {
  filter: drop-shadow(0 0 15px rgba(239, 183, 78, 0.18));
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand strong,
.brand small,
.site-nav a,
.header-signal,
.nav-toggle {
  font-family: var(--mono);
  letter-spacing: 0.12em;
}

.brand strong {
  font-size: 0.79rem;
}

.brand small {
  margin-top: 5px;
  color: var(--quiet);
  font-size: 0.59rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.site-nav a {
  min-height: 44px;
  padding: 13px 15px;
  color: #c2c8d2;
  font-size: 0.65rem;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
}

.header-signal {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  min-height: 44px;
  color: var(--gold-pale);
  font-size: 0.62rem;
}

.live-dot,
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(86, 211, 163, 0.09), 0 0 16px rgba(86, 211, 163, 0.6);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 72px;
  min-height: 44px;
  background: transparent;
  font-size: 0.68rem;
}

.nav-toggle i,
.nav-toggle i::before {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.nav-toggle i::before {
  transform: translateY(5px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  min-height: auto;
  overflow: clip;
  padding: 112px max(36px, calc((100vw - 1540px) / 2)) 96px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 26%, rgba(202, 144, 39, 0.09), transparent 46%),
    linear-gradient(0deg, var(--bg), transparent 34%);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-row: 2;
  width: min(100%, 980px);
  max-width: none;
  margin-top: clamp(54px, 7vw, 96px);
  padding-right: 0;
}

.hero-system,
.coordinate,
.eyebrow,
.hero-facts dt,
.hero-facts dd,
.poster-coordinate,
.hero-scroll,
.mission-index,
.readout-label,
.product-status,
.section-heading > .eyebrow,
.breadcrumbs,
.product-card-meta,
.release-table,
.footer-grid strong,
.footer-base {
  font-family: var(--mono);
  letter-spacing: 0.11em;
}

.hero-system {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(28px, 5vh, 54px);
  color: var(--gold-pale);
  font-size: 0.66rem;
}

.hero-system i {
  flex: 0 0 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero h1 {
  max-width: 820px;
  font-family: var(--display);
  font-size: clamp(4.1rem, 6.4vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.hero h1 em,
.page-hero h1 em,
.mission-band h2 em,
.release-hero h1 em {
  color: var(--gold);
  font-style: italic;
  text-shadow: 0 0 34px rgba(239, 183, 78, 0.12);
}

.hero-copy > p:not(.hero-system) {
  max-width: 690px;
  margin-top: 38px;
  color: #bdc6d3;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions,
.product-actions,
.not-found > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.025em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #f5c363, #cf8f26);
  color: #100b04;
  box-shadow: 0 14px 46px rgba(196, 128, 25, 0.12);
}

.button-primary:hover {
  background: linear-gradient(135deg, #ffda85, #e2a53a);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(5, 8, 13, 0.56);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.button-ghost:hover {
  border-color: var(--line-bright);
}

.button-disabled {
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--quiet);
  cursor: default;
}

.button-disabled:hover {
  transform: none;
}

.availability-state {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.72rem;
}

.hero-facts {
  display: flex;
  gap: clamp(26px, 4vw, 60px);
  margin-top: clamp(50px, 7vh, 86px);
}

.hero-facts div {
  display: grid;
  gap: 5px;
}

.hero-facts dt {
  color: var(--quiet);
  font-size: 0.58rem;
}

.hero-facts dd {
  color: var(--gold-pale);
  font-size: 0.68rem;
}

.hero-poster {
  position: relative;
  z-index: 0;
  grid-row: 1;
  justify-self: center;
  width: min(94%, 1540px);
  transform: translate3d(calc(var(--px) * 10px), calc(var(--py) * 10px), 0);
  transition: transform 350ms ease-out;
}

.hero-poster::before,
.hero-poster::after {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(211, 174, 89, 0.18);
  border-radius: 2px;
  content: "";
  pointer-events: none;
}

.hero-poster::before {
  inset: -10px;
}

.hero-poster::after {
  inset: 10px;
  border-color: rgba(255, 221, 151, 0.12);
}

.hero-poster img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 2px;
  object-fit: contain;
  opacity: 1;
  filter: saturate(0.96) contrast(1.03);
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.5), 0 0 90px rgba(211, 139, 28, 0.08);
}

.poster-halo {
  position: absolute;
  z-index: -1;
  inset: 8%;
  border-radius: 12%;
  background: rgba(221, 165, 50, 0.1);
  box-shadow: 0 0 120px 70px rgba(211, 139, 28, 0.1), 0 0 240px 120px rgba(43, 103, 147, 0.07);
}

.poster-coordinate {
  display: none;
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 10%;
  justify-items: end;
  gap: 4px;
  padding: 14px 16px;
  border-right: 2px solid var(--gold);
  background: linear-gradient(90deg, transparent, rgba(3, 5, 8, 0.88));
}

.poster-coordinate span,
.poster-coordinate small {
  color: var(--quiet);
  font-size: 0.55rem;
}

.poster-coordinate b {
  color: var(--gold-pale);
  font-size: 0.78rem;
}

.hero-space,
.hero-space::before,
.hero-space::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}

.hero-space::before,
.hero-space::after {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.4px);
  background-size: 92px 83px;
  content: "";
  opacity: 0.23;
}

.hero-space::after {
  background-position: 41px 27px;
  background-size: 147px 119px;
  opacity: 0.12;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 18px 4px rgba(135, 204, 255, 0.54);
}

.star-a { top: 18%; left: 14%; }
.star-b { top: 34%; right: 10%; }
.star-c { bottom: 14%; left: 44%; }

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(129, 184, 219, 0.09);
  border-radius: 50%;
}

.hero-orbit-a {
  top: -40%;
  right: -18%;
  width: 76vw;
  aspect-ratio: 1;
}

.hero-orbit-b {
  right: 7%;
  bottom: -34%;
  width: 42vw;
  aspect-ratio: 1;
  border-color: rgba(230, 178, 73, 0.09);
}

.hero-scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
  color: var(--quiet);
  font-size: 0.55rem;
}

.hero-scroll i {
  display: block;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-shell {
  width: var(--page);
  margin-inline: auto;
}

.mission-band {
  display: grid;
  grid-template-columns: 150px minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(26px, 6vw, 90px);
  align-items: start;
  padding-block: clamp(100px, 14vw, 200px);
  border-bottom: 1px solid var(--line);
}

.mission-index {
  color: var(--gold);
  font-size: 0.62rem;
}

.mission-band h2 {
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.mission-band > div > p {
  max-width: 690px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.mission-band blockquote {
  padding: 25px 0 0 26px;
  border-left: 1px solid var(--line-bright);
  color: var(--gold-pale);
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  font-style: italic;
  line-height: 1.45;
}

.observatory,
.product-areas,
.featured,
.method,
.release-index,
.products-directory,
.knowledge-directory {
  padding-block: clamp(110px, 12vw, 180px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(54px, 7vw, 90px);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.62rem;
}

.section-heading h2 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 4.8vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.section-copy {
  align-self: end;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.observatory-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(540px, 1.1fr) minmax(340px, 0.72fr);
  min-height: 730px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 37% 48%, rgba(26, 97, 128, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(17, 23, 32, 0.78), rgba(4, 7, 11, 0.94));
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.4), 0 32px 100px rgba(0, 0, 0, 0.18);
}

.observatory-stage::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(135, 184, 215, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 184, 215, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 36% 50%, black, transparent 65%);
  content: "";
  pointer-events: none;
}

.orbit-system {
  position: relative;
  min-height: 730px;
  touch-action: pan-y;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 48%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(210, 177, 99, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one { width: 34%; }
.orbit-two { width: 58%; border-color: rgba(117, 188, 229, 0.12); }
.orbit-three { width: 82%; }

.orbit::before,
.orbit::after {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  content: "";
}

.orbit::before { top: 50%; left: -3px; }
.orbit::after { right: -3px; bottom: 28%; }

.observatory-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 48%;
  display: grid;
  place-items: center;
  width: 188px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  background: rgba(3, 6, 10, 0.92);
  box-shadow: 0 0 0 16px rgba(220, 169, 63, 0.025), 0 0 55px rgba(226, 165, 50, 0.12);
}

.core-monogram {
  position: relative;
  z-index: 2;
  color: var(--gold-pale);
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-shadow: 0 0 28px rgba(237, 181, 73, 0.32);
}

.observatory-core i {
  position: absolute;
  inset: -16px;
  border: 1px dashed rgba(230, 190, 99, 0.28);
  border-radius: 50%;
}

.observatory-core span,
.observatory-core small {
  position: relative;
  z-index: 2;
  font-family: var(--mono);
  letter-spacing: 0.15em;
}

.observatory-core span {
  position: absolute;
  bottom: 38px;
  margin: 0;
  color: var(--gold-pale);
  font-size: 0.78rem;
}

.observatory-core small {
  position: absolute;
  bottom: 21px;
  margin: 0;
  color: var(--quiet);
  font-size: 0.46rem;
}

.world-node {
  position: absolute;
  z-index: 4;
  display: grid;
  justify-items: center;
  min-width: 110px;
  min-height: 110px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.world-node-image {
  position: relative;
  display: block;
  width: 78px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(230, 199, 127, 0.32);
  border-radius: 50%;
  background: var(--world-image) center / cover;
  filter: saturate(0.78) brightness(0.8);
  box-shadow: inset 0 -15px 25px rgba(0, 0, 0, 0.55), 0 0 0 8px rgba(255, 255, 255, 0.018);
  transition: transform 260ms ease, filter 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.world-node-image::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.24), transparent 32%, rgba(0, 0, 0, 0.3) 70%);
  content: "";
}

.world-node b,
.world-node strong {
  font-family: var(--mono);
  letter-spacing: 0.12em;
}

.world-node b {
  position: absolute;
  top: 3px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: #080b10;
  color: var(--gold);
  font-size: 0.5rem;
}

.world-node strong {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.58rem;
}

.world-node:hover .world-node-image,
.world-node[aria-selected="true"] .world-node-image {
  transform: scale(1.14);
  border-color: var(--gold);
  filter: saturate(1.04) brightness(1.1);
  box-shadow: inset 0 -15px 25px rgba(0, 0, 0, 0.44), 0 0 0 9px rgba(233, 178, 68, 0.045), 0 0 36px rgba(233, 178, 68, 0.22);
}

.world-node[aria-selected="true"] strong { color: var(--gold-pale); }

.world-node-1 { top: 8%; left: 43%; }
.world-node-2 { top: 29%; right: 4%; }
.world-node-3 { right: 11%; bottom: 7%; }
.world-node-4 { bottom: 6%; left: 17%; }
.world-node-5 { top: 30%; left: 1%; }

.world-readout {
  position: relative;
  z-index: 5;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(32px, 4vw, 64px);
  border-left: 1px solid var(--line);
  background: rgba(4, 7, 11, 0.66);
  backdrop-filter: blur(18px);
}

.readout-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
  color: var(--quiet);
  font-size: 0.58rem;
}

.world-panel-number {
  color: rgba(238, 184, 76, 0.18);
  font-family: var(--display);
  font-size: clamp(5rem, 9vw, 9rem);
  line-height: 0.7;
}

.coordinate {
  color: var(--gold);
  font-size: 0.59rem;
  text-transform: uppercase;
}

.world-panel .coordinate {
  margin-top: 42px;
}

.world-panel h3 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(2.8rem, 4.2vw, 4.7rem);
  font-weight: 400;
  line-height: 0.95;
}

.world-copy {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.world-copy p {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.world-copy p:first-child {
  color: var(--gold-pale);
  font-family: var(--display);
  font-size: 1.22rem;
  line-height: 1.35;
}

.world-copy span,
.world-products > p,
.world-products strong,
.world-product-empty span {
  font-family: var(--mono);
  letter-spacing: 0.08em;
}

.world-copy span {
  display: block;
  margin-bottom: 5px;
  color: var(--quiet);
  font-size: 0.48rem;
}

.world-products {
  display: grid;
  margin-top: 28px;
}

.world-products > p {
  margin-bottom: 7px;
  color: var(--quiet);
  font-size: 0.48rem;
}

.world-products a,
.world-product-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.world-products a:last-child,
.world-product-empty { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

.world-products a > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.world-products b {
  overflow: hidden;
  color: #dce2e9;
  font-size: 0.78rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-products small {
  overflow: hidden;
  color: var(--quiet);
  font-size: 0.58rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-products strong {
  flex: 0 0 auto;
  color: var(--gold-pale);
  font-size: 0.46rem;
  font-weight: 500;
  text-align: right;
}

.world-products a:hover b { color: var(--gold-pale); }

.world-product-empty {
  color: var(--quiet);
  font-size: 0.55rem;
}

.world-product-empty strong { color: var(--quiet); }

.world-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
}

.world-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.world-controls button:hover {
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, 0.035);
}

.world-controls span {
  font-family: var(--mono);
  font-size: 0.62rem;
}

.world-controls b { color: var(--gold); }
.world-mobile-index { display: none; }

.product-areas {
  border-top: 1px solid var(--line);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.area-card {
  position: relative;
  min-height: 520px;
  padding: clamp(34px, 4.5vw, 70px);
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(14, 19, 27, 0.82), rgba(5, 8, 12, 0.82));
}

.area-card::after {
  position: absolute;
  right: -11%;
  bottom: -32%;
  width: 54%;
  aspect-ratio: 1;
  border: 1px solid rgba(225, 179, 80, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(225, 179, 80, 0.012), 0 0 0 62px rgba(112, 181, 223, 0.012);
  content: "";
}

.area-index {
  position: absolute;
  top: 18px;
  right: 30px;
  color: rgba(239, 183, 78, 0.15);
  font-family: var(--display);
  font-size: clamp(6rem, 12vw, 11rem);
  line-height: 1;
}

.area-card h3 {
  max-width: 560px;
  margin-top: 56px;
  font-family: var(--display);
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: 400;
  line-height: 0.93;
}

.area-statement {
  max-width: 520px;
  margin-top: 24px;
  color: var(--gold-pale);
  font-family: var(--display);
  font-size: 1.38rem;
}

.area-card > p:not(.coordinate):not(.area-statement) {
  max-width: 570px;
  margin-top: 18px;
  color: var(--muted);
}

.area-products {
  position: relative;
  z-index: 2;
  display: grid;
  margin-top: 48px;
}

.area-products a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.area-products a:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.area-products span { font-size: 0.88rem; }
.area-products small { color: var(--quiet); font-family: var(--mono); font-size: 0.53rem; letter-spacing: 0.08em; }
.area-products a:hover span { color: var(--gold-pale); }

.featured-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.825fr 0.825fr;
  gap: 18px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 12, 18, 0.8);
  transition: transform 220ms ease, border-color 220ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-bright);
}

.product-card-visual {
  position: relative;
  display: block;
  height: 320px;
  overflow: hidden;
  background: #070a0e;
}

.product-card-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(3, 5, 8, 0.92));
  content: "";
}

.product-card-visual > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.78) contrast(1.04);
  transition: transform 500ms ease, filter 500ms ease;
}

.product-card:hover .product-card-visual > img:first-child {
  transform: scale(1.035);
  filter: saturate(0.98) contrast(1.04);
}

.product-card:not(.product-card-featured) .product-card-visual { height: 260px; }

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--muted);
  font-size: 0.55rem;
}

.product-status i,
.status-dot {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--quiet);
  box-shadow: none;
}

.product-status i { display: inline-block; margin-right: 0; }
.product-status.status-released i,
.product-status.status-available i,
.status-dot.status-released,
.status-dot.status-available { background: var(--green); box-shadow: 0 0 12px rgba(86, 211, 163, 0.55); }
.product-status.status-release-candidate i,
.status-dot.status-release-candidate { background: var(--gold); }
.product-status.status-internal-testflight i,
.status-dot.status-internal-testflight { background: var(--blue); }
.product-status.status-development i,
.product-status.status-in-development i,
.status-dot.status-development,
.status-dot.status-in-development { background: #8d9db2; }
.product-status.status-planned i,
.status-dot.status-planned { border: 1px solid var(--quiet); background: transparent; }

.product-card-visual > .product-status {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(4, 7, 11, 0.75);
  backdrop-filter: blur(10px);
}

.product-icon {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.36);
}

.product-card-body {
  padding: 26px;
}

.product-card h3 {
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.product-card-body > p:not(.coordinate) {
  min-height: 76px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.product-card-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--quiet);
  font-size: 0.5rem;
}

.product-card-meta strong {
  color: var(--gold-pale);
  font-size: 0.48rem;
  font-weight: 500;
  text-align: right;
}

.product-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.product-card-actions .button {
  flex: 1 1 auto;
  min-width: 0;
  padding-inline: 15px;
  white-space: nowrap;
}

.text-link { display: inline-flex; gap: 14px; margin-top: 34px; color: var(--gold-pale); font-size: 0.86rem; }
.text-link:hover { color: var(--gold); }

.method {
  border-top: 1px solid var(--line);
}

.method-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 20px);
  margin: -22px 0 42px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--gold-pale);
  font-family: var(--mono);
  font-size: clamp(0.66rem, 1.1vw, 0.9rem);
  letter-spacing: 0.1em;
  text-align: center;
}

.method-formula i {
  color: var(--gold);
  font-style: normal;
}

.method-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.method-line article {
  position: relative;
  min-height: 310px;
  padding: 26px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-line article:first-child { border-left: 1px solid var(--line); }
.method-line article::before { position: absolute; top: -2px; left: 0; width: 0; height: 3px; background: var(--gold); content: ""; transition: width 400ms ease; }
.method-line article:hover::before { width: 100%; }
.method-line span { color: var(--gold); font-family: var(--mono); font-size: 0.63rem; }
.method-line h3 { margin-top: 92px; font-family: var(--display); font-size: 1.65rem; font-weight: 400; }
.method-line p { margin-top: 16px; color: var(--muted); font-size: 0.86rem; }

.apple-native {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
  padding-block: clamp(110px, 14vw, 200px);
  border-bottom: 1px solid var(--line);
}

.apple-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 430px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 169, 57, 0.09), transparent 56%);
}

.apple-symbol::before,
.apple-symbol::after {
  position: absolute;
  border: 1px solid rgba(124, 187, 224, 0.13);
  border-radius: 50%;
  content: "";
}

.apple-symbol::before { inset: 11%; }
.apple-symbol::after { inset: -8%; border-style: dashed; }
.apple-symbol span { width: 34%; height: 40%; border-radius: 42% 42% 45% 45%; background: linear-gradient(140deg, var(--gold-pale), var(--gold-deep)); clip-path: polygon(50% 8%, 70% 0, 64% 18%, 88% 30%, 80% 84%, 61% 100%, 50% 89%, 38% 100%, 19% 84%, 11% 31%, 35% 18%, 30% 0); opacity: 0.9; }
.apple-symbol b { position: absolute; bottom: 16%; font-family: var(--mono); font-size: 0.67rem; letter-spacing: 0.17em; }
.apple-native h2 { margin-top: 22px; font-family: var(--display); font-size: clamp(3rem, 5vw, 6rem); font-weight: 400; letter-spacing: -0.045em; line-height: 0.95; }
.apple-native > div:last-child > p:not(.eyebrow) { max-width: 720px; margin-top: 28px; color: var(--muted); font-size: 1.04rem; }
.apple-native ul { display: grid; gap: 11px; margin-top: 30px; padding: 0; list-style: none; }
.apple-native li { display: flex; gap: 12px; color: #ccd3dd; }
.apple-native li::before { color: var(--gold); content: "◇"; }

.release-index .section-heading { margin-bottom: 54px; }
.release-table { border-top: 1px solid var(--line-bright); }
.release-row { display: grid; grid-template-columns: minmax(310px, 1.45fr) minmax(150px, 0.76fr) 100px minmax(150px, 0.7fr) minmax(190px, 0.85fr); gap: 20px; align-items: center; min-height: 80px; border-bottom: 1px solid var(--line); color: #bdc5d0; font-size: 0.6rem; }
.release-header { min-height: 50px; color: var(--quiet); font-size: 0.5rem; }
.release-product { display: flex; align-items: center; gap: 22px; min-width: 0; }
.release-product > small { color: var(--gold); }
.release-product > img { flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px; object-fit: cover; }
.release-product a { display: grid; min-width: 0; letter-spacing: 0; }
.release-product b { overflow: hidden; color: var(--ink); font-family: var(--sans); font-size: 0.87rem; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.release-product em { overflow: hidden; color: var(--quiet); font-family: var(--sans); font-size: 0.7rem; font-style: normal; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.release-row > span:nth-child(4) { display: flex; align-items: center; }
.release-actions { display: grid; gap: 7px; }
.release-actions a { width: fit-content; color: var(--gold-pale); white-space: nowrap; }
.release-actions a:last-child { color: var(--muted); }
.release-actions a:hover { color: var(--gold); }
.release-policy { display: grid; grid-template-columns: 180px 1fr auto; gap: 26px; align-items: center; margin-top: 25px; padding: 24px 0; color: var(--muted); }
.release-policy b { color: var(--gold); font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.1em; }
.release-policy p { font-size: 0.84rem; }
.release-policy a { color: var(--gold-pale); font-size: 0.77rem; }

.site-footer {
  width: var(--page);
  margin: 30px auto 0;
  padding-top: 20px;
}

.footer-signal {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
}

.footer-signal i { height: 1px; background: linear-gradient(90deg, transparent, var(--line-bright)); }
.footer-signal i:last-child { background: linear-gradient(90deg, var(--line-bright), transparent); }
.footer-grid { display: grid; grid-template-columns: minmax(280px, 1.5fr) 0.65fr 0.65fr 0.7fr; gap: 50px; padding-block: 72px; }
.footer-statement { max-width: 440px; }
.footer-statement p { margin-top: 18px; font-family: var(--display); font-size: 1.7rem; line-height: 1.25; }
.footer-statement small { display: block; margin-top: 14px; color: var(--quiet); }
.footer-grid nav { display: grid; align-content: start; gap: 11px; }
.footer-grid strong { margin-bottom: 6px; color: var(--quiet); font-size: 0.56rem; }
.footer-grid nav a { color: var(--muted); font-size: 0.8rem; }
.footer-grid nav a:hover { color: var(--gold-pale); }
.footer-status { display: grid; align-content: start; gap: 12px; }
.footer-status b { display: flex; align-items: center; gap: 12px; color: var(--gold-pale); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; }
.footer-status small { color: var(--quiet); font-size: 0.65rem; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 34px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 0.5rem; }

/* Inner pages */
.inner-main {
  padding-top: 88px;
}

.inner-page .site-header,
.product-page .site-header,
.knowledge-page .site-header,
.legal-page .site-header {
  position: absolute;
}

.page-hero {
  display: grid;
  align-content: end;
  min-height: min(760px, 88svh);
  padding: 160px max(36px, calc((100vw - 1480px) / 2)) 90px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(0deg, var(--bg), transparent 45%),
    radial-gradient(circle at 75% 25%, rgba(53, 124, 167, 0.12), transparent 28rem),
    radial-gradient(circle at 22% 58%, rgba(218, 155, 42, 0.1), transparent 32rem);
}

.page-hero h1 {
  max-width: 1050px;
  margin-top: 20px;
  font-family: var(--display);
  font-size: clamp(4rem, 7vw, 8.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.84;
}

.page-hero > p:last-child,
.page-hero > p:nth-last-child(2) {
  max-width: 760px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 1.06rem;
}

.all-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.all-products-grid .product-card-visual { height: 290px; }
.all-products-grid .product-card-body > p:not(.coordinate) { min-height: 54px; }
.release-hero dl { display: flex; gap: 60px; margin-top: 48px; }
.release-hero dl div { display: grid; gap: 4px; }
.release-hero dt { color: var(--quiet); font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.1em; }
.release-hero dd { color: var(--gold-pale); font-family: var(--display); font-size: 2.1rem; }
.fact-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 70px; background: var(--line); }
.fact-notes article { padding: 40px; background: var(--panel-solid); }
.fact-notes h2 { font-family: var(--display); font-size: 2rem; font-weight: 400; }
.fact-notes p { margin-top: 13px; color: var(--muted); }
.registry-link { margin-top: 30px; color: var(--quiet); font-family: var(--mono); font-size: 0.65rem; }
.registry-link a { color: var(--gold-pale); }

/* Product pages */
.product-main { padding-top: 88px; }
.product-hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.78fr); gap: clamp(40px, 7vw, 110px); align-items: center; width: var(--page); min-height: min(920px, calc(100svh - 20px)); margin: 0 auto; padding-block: 80px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 50px; color: var(--quiet); font-size: 0.53rem; }
.breadcrumbs a:hover { color: var(--gold-pale); }
.product-title-lockup { display: flex; align-items: center; gap: 25px; margin-top: 24px; }
.product-title-lockup > img { width: 112px; height: 112px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 26px; object-fit: cover; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34); }
.product-title-lockup h1 { margin-top: 11px; font-family: var(--display); font-size: clamp(4rem, 6.5vw, 8rem); font-weight: 400; letter-spacing: -0.055em; line-height: 0.84; }
.product-positioning { max-width: 720px; margin-top: 34px; color: var(--gold-pale); font-family: var(--display); font-size: clamp(1.6rem, 2.5vw, 2.5rem); line-height: 1.23; }
.product-summary { max-width: 680px; margin-top: 22px; color: var(--muted); font-size: 1rem; }
.availability-note { margin-top: 16px; color: var(--quiet); font-size: 0.72rem; }
.product-hero-visual { position: relative; min-height: 640px; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: radial-gradient(circle at center, rgba(218, 158, 45, 0.12), transparent 55%), #070a0f; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.27); }
.product-hero-visual::before { position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(3, 5, 8, 0.88)); content: ""; pointer-events: none; }
.product-hero-visual > img { width: 100%; height: 640px; padding: 34px; object-fit: contain; object-position: center; }
.product-hero-visual > i { position: absolute; z-index: 3; right: 30px; bottom: 32px; width: 130px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.visual-coordinate { position: absolute; z-index: 4; top: 24px; right: 24px; left: 24px; display: flex; justify-content: space-between; gap: 20px; color: var(--quiet); font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.09em; }
.visual-coordinate b { color: var(--gold-pale); }
.product-fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-fact-strip div { min-height: 116px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-fact-strip dt { color: var(--quiet); font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.1em; }
.product-fact-strip dd { margin-top: 10px; color: var(--gold-pale); font-size: 0.83rem; }
.product-story { display: grid; grid-template-columns: 0.45fr 1.3fr; gap: 50px; padding-block: clamp(110px, 13vw, 190px); border-bottom: 1px solid var(--line); }
.product-story h2 { max-width: 930px; font-family: var(--display); font-size: clamp(3.4rem, 6vw, 7rem); font-weight: 400; letter-spacing: -0.05em; line-height: 0.92; }
.product-story div > p { max-width: 720px; margin-top: 30px; color: var(--muted); font-size: 1.08rem; }
.product-features,
.product-gallery { padding-block: clamp(100px, 11vw, 160px); }
.product-features ol { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
.product-features li { min-height: 230px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-features li span { color: var(--gold); font-family: var(--mono); font-size: 0.58rem; }
.product-features li p { margin-top: 65px; color: #d5dbe4; font-family: var(--display); font-size: 1.35rem; line-height: 1.35; }
.product-gallery { border-top: 1px solid var(--line); }
.screenshot-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; align-items: start; }
.screenshot { grid-column: span 4; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--panel-solid); }
.screenshot-landscape { grid-column: span 8; }
.screenshot img { width: 100%; max-height: 760px; object-fit: contain; object-position: top; background: #070a0d; }
.screenshot figcaption { padding: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.77rem; }
.product-placeholder { display: grid; place-items: center; min-height: 520px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(rgba(3, 5, 8, 0.62), rgba(3, 5, 8, 0.84)), var(--world-image) center / cover; text-align: center; }
.product-placeholder span { font-family: var(--display); font-size: 4rem; }
.product-placeholder small { color: var(--quiet); font-family: var(--mono); letter-spacing: 0.1em; }
.product-boundary,
.product-availability { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(50px, 8vw, 120px); padding-block: clamp(90px, 10vw, 145px); border-top: 1px solid var(--line); }
.product-boundary h2,
.product-availability h2 { margin-top: 20px; font-family: var(--display); font-size: clamp(2.8rem, 4.6vw, 5.2rem); font-weight: 400; letter-spacing: -0.04em; line-height: 0.95; }
.product-boundary > div:last-child > p { color: var(--muted); font-size: 1.05rem; }
.product-boundary ul { display: grid; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.product-boundary li::before { margin-right: 12px; color: var(--gold); content: "◇"; }
.product-availability > div:last-child > dl { display: grid; gap: 14px; margin-top: 34px; }
.product-availability dl div { display: grid; grid-template-columns: 150px 1fr; padding-top: 12px; border-top: 1px solid var(--line); }
.product-availability dt { color: var(--quiet); font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.08em; }
.product-availability dd { color: #ccd3dc; font-size: 0.8rem; }
.product-links { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 80px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-links a { display: grid; min-height: 150px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-links span { color: var(--quiet); font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.1em; }
.product-links b { align-self: end; color: var(--gold-pale); font-size: 0.84rem; }
.product-links a:hover { background: rgba(255, 255, 255, 0.025); }

/* Knowledge */
.knowledge-hero { background: radial-gradient(circle at 70% 24%, rgba(55, 130, 169, 0.14), transparent 31rem), linear-gradient(0deg, var(--bg), transparent 44%); }
.knowledge-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.knowledge-grid article { min-height: 360px; padding: clamp(30px, 4vw, 60px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.knowledge-grid h2 { margin-top: 28px; font-family: var(--display); font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 400; }
.knowledge-grid article > p:not(.coordinate) { max-width: 600px; margin-top: 16px; color: var(--muted); }
.knowledge-grid nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.knowledge-grid nav a { padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--quiet); font-family: var(--mono); font-size: 0.48rem; letter-spacing: 0.08em; }
.knowledge-grid nav a:hover { border-color: var(--line-bright); color: var(--gold-pale); }
.machine-principles { display: grid; grid-template-columns: 0.8fr 1.2fr auto; gap: 60px; align-items: start; padding: 55px; margin-bottom: 110px; border: 1px solid var(--line); background: rgba(10, 14, 20, 0.72); }
.machine-principles h2 { font-family: var(--display); font-size: 2.4rem; font-weight: 400; }
.machine-principles ul { display: grid; gap: 9px; padding-left: 18px; color: var(--muted); }
.machine-principles a { color: var(--gold-pale); font-size: 0.8rem; white-space: nowrap; }
.knowledge-doc-main { display: grid; grid-template-columns: 300px minmax(0, 1fr); width: var(--page); margin: 0 auto; padding-top: 150px; }
.knowledge-rail { position: sticky; top: 50px; align-self: start; min-height: calc(100svh - 80px); padding: 24px 34px 60px 0; border-right: 1px solid var(--line); }
.knowledge-back,
.knowledge-rail > p,
.knowledge-rail nav a,
.raw-link { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.08em; }
.knowledge-back { color: var(--gold-pale); }
.knowledge-rail > p { margin-top: 62px; color: var(--quiet); }
.knowledge-rail h2 { margin-top: 12px; font-family: var(--display); font-size: 2.1rem; font-weight: 400; line-height: 1; }
.knowledge-rail nav { display: grid; margin-top: 40px; }
.knowledge-rail nav a { padding: 13px 0; border-top: 1px solid var(--line); color: var(--quiet); }
.knowledge-rail nav a:last-child { border-bottom: 1px solid var(--line); }
.knowledge-rail nav a[aria-current="page"] { color: var(--gold-pale); }
.raw-link { display: inline-block; margin-top: 30px; color: var(--blue); }
.knowledge-document { min-width: 0; max-width: 980px; padding: 10px 0 120px clamp(42px, 7vw, 110px); }
.knowledge-document > header { padding-bottom: 54px; border-bottom: 1px solid var(--line-bright); }
.knowledge-document > header h1 { margin-top: 20px; font-family: var(--display); font-size: clamp(3.4rem, 6vw, 6.6rem); font-weight: 400; letter-spacing: -0.045em; line-height: 0.92; }
.knowledge-document > header > div { display: flex; flex-wrap: wrap; gap: 18px 32px; margin-top: 34px; color: var(--quiet); font-family: var(--mono); font-size: 0.53rem; letter-spacing: 0.07em; }
.markdown-body { padding-top: 50px; color: #c7d0dc; }
.markdown-body > h2:first-child { display: none; }
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5 { color: var(--ink); font-family: var(--display); font-weight: 400; line-height: 1.15; }
.markdown-body h2 { margin: 70px 0 22px; font-size: 2.8rem; }
.markdown-body h3 { margin: 48px 0 18px; font-size: 2rem; }
.markdown-body p { max-width: 780px; margin-top: 18px; }
.markdown-body ul,
.markdown-body ol { display: grid; gap: 10px; max-width: 780px; margin-top: 20px; padding-left: 22px; }
.markdown-body li::marker { color: var(--gold); }
.markdown-body code { padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255, 255, 255, 0.035); color: var(--gold-pale); font-family: var(--mono); font-size: 0.85em; }
.markdown-body pre { max-width: 100%; overflow-x: auto; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #06090d; }
.markdown-body pre code { padding: 0; border: 0; background: transparent; }
.knowledge-facts { display: grid; margin-top: 26px; border-top: 1px solid var(--line); }
.knowledge-facts div { display: grid; grid-template-columns: 190px 1fr; gap: 26px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.knowledge-facts dt { color: var(--quiet); font-family: var(--mono); font-size: 0.57rem; letter-spacing: 0.08em; text-transform: uppercase; }
.knowledge-facts dd { color: #d4dae2; }
.knowledge-document > footer { display: flex; justify-content: space-between; gap: 30px; margin-top: 80px; padding-top: 25px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 0.72rem; }
.knowledge-document > footer a { color: var(--gold-pale); white-space: nowrap; }

/* Legal */
.legal-content { display: grid; grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1fr); gap: 90px; padding-block: 100px 140px; }
.legal-intro { color: var(--muted); }
.legal-intro p + p { margin-top: 20px; color: var(--quiet); font-family: var(--mono); font-size: 0.58rem; }
.legal-note h2,
.legal-products h2,
.product-legal-content h2 { margin-top: 38px; font-family: var(--display); font-size: 2.4rem; font-weight: 400; }
.legal-note h2:first-child { margin-top: 0; }
.legal-note p,
.legal-note ol,
.product-legal-content p,
.product-legal-content ol { margin-top: 16px; color: var(--muted); }
.legal-products { grid-column: 2; margin-top: 40px; }
.legal-products > a { display: flex; justify-content: space-between; gap: 25px; padding: 18px 0; border-top: 1px solid var(--line); }
.legal-products > a:last-child { border-bottom: 1px solid var(--line); }
.legal-products b { color: var(--gold-pale); font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.08em; }
.product-legal-content { max-width: 980px; padding-block: 90px 140px; }
.product-legal-content > h2:first-child { margin-top: 0; }
.product-legal-content dl { display: grid; margin-top: 24px; border-top: 1px solid var(--line); }
.product-legal-content dl div { display: grid; grid-template-columns: 180px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.product-legal-content dt { color: var(--quiet); font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.08em; }
.product-legal-content dd { color: #d0d7e0; }
.notice { margin-top: 42px; padding: 26px; border: 1px solid var(--line-bright); background: rgba(218, 162, 52, 0.045); }
.notice strong { color: var(--gold-pale); }
.product-legal-content footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--line); }
.product-legal-content footer a { color: var(--gold-pale); }

/* 404 */
.not-found { display: grid; place-items: center; align-content: center; min-height: 100svh; padding: 120px 30px 60px; text-align: center; }
.lost-orbit { position: relative; display: grid; place-items: center; width: 230px; aspect-ratio: 1; margin-bottom: 48px; border: 1px solid var(--line); border-radius: 50%; }
.lost-orbit::before,
.lost-orbit::after { position: absolute; border: 1px dashed rgba(121, 184, 221, 0.15); border-radius: 50%; content: ""; }
.lost-orbit::before { inset: -28px; }
.lost-orbit::after { inset: 38px; }
.lost-orbit span { color: var(--gold); font-family: var(--display); font-size: 4rem; }
.not-found h1 { margin-top: 20px; font-family: var(--display); font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; }
.not-found > p:not(.coordinate) { margin-top: 16px; color: var(--muted); }

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  :root { --page: min(100% - 48px, 1120px); }
  .site-header { grid-template-columns: 1fr auto auto; }
  .header-signal { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-inline: 32px; }
  .hero h1 { font-size: clamp(4rem, 7.6vw, 6.8rem); }
  .hero-poster { width: 96%; }
  .section-heading { grid-template-columns: 170px 1fr; }
  .section-copy { grid-column: 2; max-width: 720px; }
  .observatory-stage { grid-template-columns: minmax(460px, 1fr) 360px; min-height: 660px; }
  .orbit-system { min-height: 660px; }
  .observatory-core { width: 154px; }
  .world-node-image { width: 66px; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .product-card-featured { grid-column: span 2; }
  .product-card-featured .product-card-visual { height: 430px; }
  .all-products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-hero { grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr); }
  .product-title-lockup h1 { font-size: clamp(4rem, 6.2vw, 6rem); }
  .release-row { grid-template-columns: minmax(280px, 1.35fr) minmax(130px, 0.7fr) 90px minmax(140px, 0.7fr) minmax(180px, 0.85fr); gap: 14px; }
}

@media (max-width: 920px) {
  :root { --page: calc(100% - 36px); }
  .site-header { width: calc(100% - 36px); }
  .site-nav { position: fixed; z-index: 120; top: 0; right: 0; display: none; align-content: center; width: min(84vw, 420px); height: 100svh; padding: 100px 36px 60px; background: rgba(6, 9, 14, 0.98); border-left: 1px solid var(--line); box-shadow: -30px 0 80px rgba(0, 0, 0, 0.35); }
  .site-nav a { display: flex; align-items: center; min-height: 62px; border-top: 1px solid var(--line); font-size: 0.75rem; }
  .site-nav a:last-child { border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: grid; }
  .nav-toggle { position: relative; z-index: 130; display: flex; }
  .nav-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] i::before { transform: rotate(90deg); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 108px 18px 95px; }
  .hero::before { background: radial-gradient(circle at 50% 22%, rgba(202, 144, 39, 0.08), transparent 46%), linear-gradient(0deg, var(--bg), transparent 34%); }
  .hero-poster { grid-row: 1; justify-self: center; width: 100%; margin: 0; opacity: 1; }
  .hero-copy { grid-row: 2; align-self: start; margin-top: 56px; padding: 0; }
  .hero h1 { font-size: clamp(4rem, 13.5vw, 7rem); }
  .hero-scroll { display: none; }
  .mission-band { grid-template-columns: 120px 1fr; }
  .mission-band blockquote { grid-column: 2; }
  .section-heading { grid-template-columns: 1fr; }
  .section-copy { grid-column: 1; }
  .observatory-stage { grid-template-columns: 1fr; }
  .orbit-system { min-height: min(680px, 92vw); }
  .world-readout { min-height: 520px; border-top: 1px solid var(--line); border-left: 0; }
  .area-grid { grid-template-columns: 1fr; }
  .method-line { grid-template-columns: repeat(2, 1fr); }
  .method-line article:nth-child(3),
  .method-line article:nth-child(5) { border-left: 1px solid var(--line); }
  .apple-native { grid-template-columns: 1fr; }
  .apple-symbol { width: min(74vw, 390px); margin-inline: auto; }
  .release-table { overflow-x: auto; }
  .release-row { min-width: 1080px; }
  .release-policy { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-hero { grid-template-columns: 1fr; min-height: auto; padding: 140px 0 70px; }
  .product-hero-visual { min-height: 600px; }
  .product-fact-strip { grid-template-columns: repeat(2, 1fr); }
  .product-story { grid-template-columns: 1fr; }
  .product-features ol { grid-template-columns: repeat(2, 1fr); }
  .screenshot-landscape,
  .screenshot { grid-column: span 6; }
  .product-boundary,
  .product-availability { grid-template-columns: 1fr; }
  .knowledge-doc-main { grid-template-columns: 230px minmax(0, 1fr); }
  .knowledge-document { padding-left: 40px; }
  .legal-content { grid-template-columns: 1fr; gap: 50px; }
  .legal-products { grid-column: 1; }
}

@media (max-width: 640px) {
  :root { --page: calc(100% - 28px); }
  html { scroll-padding-top: 76px; }
  .site-header { width: calc(100% - 28px); height: 72px; }
  .brand img { width: 32px; height: 32px; }
  .brand strong { font-size: 0.7rem; }
  .brand small { font-size: 0.49rem; }
  .nav-toggle span { display: none; }
  .hero { display: grid; padding: 92px 14px 72px; }
  .hero-poster { position: relative; top: auto; right: auto; width: 100%; margin: 0; opacity: 1; transform: none; }
  .hero-copy { margin-top: 38px; padding-top: 0; }
  .hero-system { gap: 10px; margin-bottom: 25px; font-size: 0.53rem; }
  .hero-system i { flex-basis: 30px; }
  .hero h1 { font-size: clamp(3.5rem, 16.7vw, 5.4rem); line-height: 0.86; }
  .hero-copy > p:not(.hero-system) { margin-top: 26px; font-size: 0.92rem; }
  .hero-actions,
  .product-actions { display: grid; }
  .hero-actions .button,
  .product-actions .button { width: 100%; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
  .hero-facts dt { font-size: 0.45rem; }
  .hero-facts dd { font-size: 0.52rem; }
  .mission-band { grid-template-columns: 1fr; gap: 34px; padding-block: 90px; }
  .mission-band blockquote { grid-column: 1; }
  .mission-band h2 { font-size: clamp(2.9rem, 13vw, 4.6rem); }
  .observatory,
  .product-areas,
  .featured,
  .method,
  .release-index,
  .products-directory,
  .knowledge-directory { padding-block: 90px; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .observatory-stage { display: block; min-height: auto; border-radius: 20px; overflow: visible; }
  .orbit-system { min-height: 420px; overflow: hidden; border-radius: 20px 20px 0 0; }
  .orbit { left: 50%; }
  .observatory-core { left: 50%; width: 116px; }
  .core-monogram { font-size: 2.2rem; }
  .observatory-core span { bottom: 18px; margin: 0; font-size: 0.55rem; }
  .observatory-core small { display: none; }
  .world-node { min-width: 74px; min-height: 80px; }
  .world-node-image { width: 48px; }
  .world-node strong { font-size: 0.44rem; }
  .world-node b { top: 0; right: 0; width: 21px; height: 21px; font-size: 0.42rem; }
  .world-node-1 { top: 5%; left: 39%; }
  .world-node-2 { top: 28%; right: 2%; }
  .world-node-3 { right: 10%; bottom: 5%; }
  .world-node-4 { bottom: 5%; left: 9%; }
  .world-node-5 { top: 29%; left: 0; }
  .world-readout { min-height: 520px; padding: 38px 24px; border-radius: 0 0 20px 20px; }
  .readout-label { margin-bottom: 28px; }
  .world-panel-number { font-size: 5rem; }
  .world-panel .coordinate { margin-top: 24px; }
  .world-panel h3 { font-size: 3.3rem; }
  .world-copy p:first-child { font-size: 1.12rem; }
  .world-products strong { max-width: 118px; }
  .world-mobile-index { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 12px; }
  .world-mobile-index button { display: grid; min-width: 0; min-height: 52px; padding: 5px 2px; background: transparent; color: var(--quiet); font-family: var(--mono); font-size: 0.37rem; letter-spacing: 0.02em; }
  .world-mobile-index span { color: var(--gold); font-size: 0.5rem; }
  .area-card { min-height: 460px; padding: 30px 24px; }
  .area-card h3 { margin-top: 48px; font-size: 3.4rem; }
  .area-index { font-size: 7rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .product-card-featured { grid-column: auto; }
  .product-card-featured .product-card-visual,
  .product-card-visual,
  .product-card:not(.product-card-featured) .product-card-visual { height: 280px; }
  .product-card-body > p:not(.coordinate) { min-height: auto; }
  .product-card-actions { display: grid; }
  .product-card-actions .button { width: 100%; }
  .method-line { grid-template-columns: 1fr; }
  .method-line article,
  .method-line article:nth-child(3),
  .method-line article:nth-child(5) { min-height: 260px; border-left: 1px solid var(--line); }
  .method-line h3 { margin-top: 65px; }
  .apple-native { gap: 65px; padding-block: 100px; }
  .apple-native h2 { font-size: 3.4rem; }
  .release-policy { padding-inline: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; padding-block: 55px; }
  .footer-base { display: grid; }
  .page-hero { min-height: 78svh; padding: 130px 14px 70px; }
  .page-hero h1 { font-size: clamp(3.7rem, 16vw, 5.5rem); }
  .all-products-grid { grid-template-columns: 1fr; }
  .all-products-grid .product-card-visual { height: 280px; }
  .release-hero dl { gap: 24px; }
  .release-hero dd { font-size: 1.45rem; }
  .fact-notes { grid-template-columns: 1fr; }
  .product-main { padding-top: 72px; }
  .product-hero { gap: 55px; padding-top: 95px; }
  .breadcrumbs { margin-bottom: 36px; }
  .product-title-lockup { align-items: flex-start; gap: 16px; }
  .product-title-lockup > img { width: 76px; height: 76px; border-radius: 19px; }
  .product-title-lockup h1 { font-size: clamp(3.5rem, 15vw, 5.1rem); }
  .product-positioning { font-size: 1.55rem; }
  .product-hero-visual { min-height: 480px; border-radius: 22px; }
  .product-hero-visual > img { height: 480px; padding: 22px; }
  .product-fact-strip { grid-template-columns: 1fr 1fr; }
  .product-fact-strip div { min-height: 100px; padding: 20px; }
  .product-story h2 { font-size: 3.4rem; }
  .product-features ol { grid-template-columns: 1fr; }
  .product-features li { min-height: 200px; }
  .product-features li p { margin-top: 42px; }
  .screenshot-grid { display: grid; grid-template-columns: 1fr; }
  .screenshot-landscape,
  .screenshot { grid-column: 1; }
  .product-placeholder { min-height: 400px; }
  .product-placeholder span { font-size: 2.7rem; }
  .product-boundary h2,
  .product-availability h2 { font-size: 3.2rem; }
  .product-availability dl div { grid-template-columns: 110px 1fr; }
  .product-links { grid-template-columns: 1fr; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .machine-principles { grid-template-columns: 1fr; gap: 30px; padding: 28px; }
  .knowledge-doc-main { display: block; width: var(--page); padding-top: 108px; }
  .knowledge-rail { position: static; min-height: auto; padding: 20px 0 34px; border-right: 0; border-bottom: 1px solid var(--line); }
  .knowledge-rail > p,
  .knowledge-rail h2 { display: none; }
  .knowledge-rail nav { display: flex; overflow-x: auto; margin-top: 25px; padding-bottom: 8px; }
  .knowledge-rail nav { scrollbar-width: none; }
  .knowledge-rail nav::-webkit-scrollbar { display: none; }
  .knowledge-rail nav a { flex: 0 0 auto; padding: 10px 14px; border: 1px solid var(--line); }
  .raw-link { margin-top: 18px; }
  .knowledge-document { padding: 50px 0 90px; }
  .knowledge-document > header h1 { font-size: 3.6rem; }
  .knowledge-facts div { grid-template-columns: 1fr; gap: 7px; }
  .knowledge-document > footer { display: grid; }
  .legal-content { padding-block: 75px 110px; }
  .legal-products > a { align-items: start; }
  .product-legal-content dl div { grid-template-columns: 110px 1fr; }
  .product-legal-content footer { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .hero-poster { transform: none; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  body { background: white; color: #111; }
  .site-header,
  .site-footer,
  .ambient-grid,
  .scroll-progress,
  .knowledge-rail { display: none !important; }
  .knowledge-doc-main { display: block; width: auto; padding: 0; }
  .knowledge-document { max-width: none; padding: 0; }
  .knowledge-document * { color: #111 !important; }
  .knowledge-document a { text-decoration: underline; }
}
