:root {
  --bg: #071125;
  --bg-2: #0b1732;
  --surface: rgba(10, 24, 54, 0.74);
  --surface-strong: rgba(14, 31, 67, 0.92);
  --card: rgba(15, 31, 68, 0.82);
  --text: #eef4ff;
  --muted: #9aabd6;
  --line: rgba(126, 166, 255, 0.18);
  --cyan: #53f3e1;
  --blue: #53b9ff;
  --violet: #b86bff;
  --gold: #ffbb60;
  --navy: #05102b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(125, 76, 255, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(62, 216, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #060e1f 0%, #071125 44%, #091532 100%);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.scene-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 176, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 176, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.65), transparent 85%);
  pointer-events: none;
  z-index: -3;
}
.glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.58;
  z-index: -2;
  pointer-events: none;
}
.glow-a {
  width: 420px;
  height: 420px;
  top: 14%;
  left: -120px;
  background: rgba(131, 71, 255, 0.28);
  animation: drift 18s ease-in-out infinite;
}
.glow-b {
  width: 480px;
  height: 480px;
  top: 46%;
  right: -150px;
  background: rgba(34, 202, 255, 0.22);
  animation: drift 22s ease-in-out infinite reverse;
}
.glow-c {
  width: 280px;
  height: 280px;
  bottom: 4%;
  left: 16%;
  background: rgba(83, 243, 225, 0.12);
  animation: pulse 14s ease-in-out infinite;
}

.site-header,
.site-footer,
.section {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 37, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(43, 220, 255, 0.15);
}
.brand strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: .81rem;
  letter-spacing: .05em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-nav a {
  color: var(--muted);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--text);
  border-radius: 99px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.button:hover,
.button:focus-visible { transform: translateY(-2px); }
.button.primary {
  color: #03111e;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 38px rgba(83, 243, 225, 0.18);
}
.button.secondary {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
}
.button.mini {
  min-height: 42px;
  padding-inline: 18px;
  color: #06111d !important;
  background: linear-gradient(135deg, #9afef3, #5cf5c9);
}

.section { padding: 88px 0; }
.eyebrow {
  margin: 0 0 16px;
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--cyan);
}
h1, h2, h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.03em;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: center;
  gap: 42px;
  padding-top: 72px;
}
.hero h1 {
  font-size: clamp(3.35rem, 7vw, 5.9rem);
  line-height: 0.95;
}
.lead {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.hero-mini-stats article,
.timeline-card,
.control-copy,
.preview-frame,
.thumb,
.story-card,
.cluster-card,
.release-panel,
.contact-panel,
.contact-card,
.screen-trigger,
.screen-note,
.site-header,
.policy-wrap,
.policy-card {
  border: 1px solid var(--line);
}
.hero-mini-stats article {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.hero-mini-stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}
.hero-mini-stats span,
.timeline-card p,
.control-copy p,
.screen-note p,
.screen-note li,
.story-copy p,
.story-card figcaption,
.cluster-card p,
.release-copy p,
.release-steps span,
.contact-copy p,
.contact-card address,
.contact-card a,
.site-footer p,
.site-footer span,
.site-footer a,
.policy-wrap p,
.policy-wrap li {
  color: var(--muted);
  line-height: 1.7;
}

.hero-stage {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
}
.hero-art {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  max-width: 760px;
  border-radius: 30px;
  box-shadow: var(--shadow);
  opacity: .62;
}
.hero-device-wrap {
  position: relative;
  z-index: 2;
  width: min(42%, 320px);
  padding: 14px;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.35);
}
.hero-device {
  width: 100%;
  border-radius: 32px;
}
.orbital {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(85, 227, 255, 0.22);
}
.orbital-1 {
  width: 86%;
  height: 76%;
  animation: spinSlow 28s linear infinite;
}
.orbital-2 {
  width: 62%;
  height: 58%;
  animation: spinSlow 18s linear infinite reverse;
}
.floating-card {
  position: absolute;
  z-index: 3;
  width: 220px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(8, 21, 46, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  animation: bob 8s ease-in-out infinite;
}
.floating-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: 'Sora', sans-serif;
}
.floating-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
.float-left { left: 1%; top: 15%; }
.float-right { right: 2%; bottom: 14%; animation-delay: 1.2s; }
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
}
.dot.cyan { background: var(--cyan); box-shadow: 0 0 14px rgba(83,243,225,.55); }
.dot.gold { background: var(--gold); box-shadow: 0 0 14px rgba(255,187,96,.55); }

.section-intro h2,
.control-copy h2,
.story-copy h2,
.cluster-head h2,
.release-copy h2,
.contact-copy h2,
.policy-wrap h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.05;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.timeline-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(9, 24, 55, 0.72), rgba(7, 18, 39, 0.92));
  box-shadow: var(--shadow);
}
.phase {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(83, 243, 225, 0.08);
  color: var(--cyan);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
}
.timeline-card h3,
.screen-note h3,
.story-card figcaption,
.cluster-card h3,
.contact-card h3,
.release-steps strong,
.policy-wrap h2 {
  margin-top: 18px;
  font-size: 1.5rem;
}

.control-room {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: start;
}
.control-copy {
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(12, 26, 58, 0.82), rgba(8, 18, 40, 0.9));
  box-shadow: var(--shadow);
}
.screen-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.screen-trigger {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition: all .25s ease;
}
.screen-trigger.active {
  color: #03111d;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}
.screen-descriptions {
  position: relative;
  min-height: 280px;
}
.screen-note {
  position: absolute;
  inset: 0;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}
.screen-note.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.screen-note ul { margin: 16px 0 0; padding-left: 18px; }
.screen-note li { margin-top: 6px; }

.control-preview {
  display: grid;
  gap: 18px;
}
.preview-frame {
  padding: 24px;
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(11, 27, 61, 0.9), rgba(18, 39, 82, 0.84));
  box-shadow: 0 30px 65px rgba(0,0,0,0.34);
}
.preview-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 28px;
}
.preview-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.thumb {
  padding: 6px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease;
}
.thumb img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 14px;
}
.thumb.active {
  transform: translateY(-2px);
  border-color: rgba(83,243,225,0.56);
  box-shadow: 0 16px 30px rgba(40, 194, 228, 0.12);
}

.storyboard-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.story-cards {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 18px;
}
.story-card {
  margin: 0;
  padding: 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(12, 27, 61, 0.8), rgba(8, 18, 41, 0.94));
  box-shadow: var(--shadow);
}
.story-card img {
  width: 100%;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
}
.story-card figcaption { margin-top: 14px; font-size: 1rem; }

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.cluster-card {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 27, 61, 0.82), rgba(9, 19, 43, 0.96));
  box-shadow: var(--shadow);
}
.cluster-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(83,243,225,0.09);
  color: var(--cyan);
  font-weight: 700;
}
.cluster-card h3 { margin-top: 18px; font-size: 1.35rem; }

.release-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  padding: 30px;
  border-radius: 34px;
  background: linear-gradient(130deg, rgba(8, 18, 39, 0.92), rgba(12, 27, 61, 0.82));
  box-shadow: var(--shadow);
}
.release-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.release-steps li {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(126, 166, 255, 0.14);
  background: rgba(255,255,255,0.03);
}
.release-steps strong { font-size: 1.1rem; }

.contact-panel {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 22px;
  align-items: stretch;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(13, 28, 62, 0.88), rgba(8, 18, 41, 0.96));
  box-shadow: var(--shadow);
}
.contact-card h3 { margin-bottom: 4px; }
.contact-card address { font-style: normal; }
.contact-card a { width: fit-content; font-weight: 600; }
.contact-card a:hover { color: var(--cyan); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 8px auto 44px;
  padding: 22px 2px 0;
  border-top: 1px solid rgba(126,166,255,0.16);
}
.footer-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.site-footer a { font-weight: 700; }
.site-footer a:hover { color: var(--cyan); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s ease, transform .85s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

/* privacy */
.policy-page .site-header {
  position: static;
}
.policy-wrap {
  width: min(calc(100% - 32px), 980px);
  margin: 56px auto 34px;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(11, 27, 61, 0.88), rgba(8, 18, 41, 0.96));
  box-shadow: var(--shadow);
}
.policy-wrap h1 { margin-bottom: 16px; }
.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 10px;
}
.policy-meta span,
.policy-card {
  background: rgba(255,255,255,0.04);
}
.policy-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  font-weight: 700;
}
.policy-card {
  margin-top: 22px;
  padding: 20px;
  border-radius: 24px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 700;
}
.policy-wrap ul { padding-left: 18px; }
.policy-wrap a { color: var(--cyan); }

@keyframes drift {
  0%,100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(24px) translateX(12px); }
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: .44; }
  50% { transform: scale(1.12); opacity: .7; }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1080px) {
  .hero,
  .control-room,
  .storyboard-grid,
  .release-panel,
  .contact-panel,
  .timeline-grid,
  .cluster-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 600px; }
  .hero-mini-stats { grid-template-columns: 1fr; }
  .story-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(7, 17, 37, 0.96);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease;
  }
  .site-header.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-nav a { text-align: center; }
  .preview-thumbs { grid-template-columns: repeat(2, 1fr); }
  .story-cards { grid-template-columns: 1fr; }
  .hero-art { opacity: .48; }
  .float-left { left: 0; }
  .float-right { right: 0; }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .section,
  .policy-wrap { width: min(calc(100% - 20px), var(--max)); }
  .site-header { padding: 12px 14px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 42px; }
  .hero h1,
  .section-intro h2,
  .control-copy h2,
  .story-copy h2,
  .cluster-head h2,
  .release-copy h2,
  .contact-copy h2,
  .policy-wrap h1 { font-size: clamp(2.45rem, 10vw, 3.6rem); }
  .control-copy,
  .timeline-card,
  .story-card,
  .cluster-card,
  .release-panel,
  .contact-card,
  .policy-wrap,
  .hero-mini-stats article,
  .screen-note,
  .preview-frame { padding: 20px; }
  .hero-stage {
    min-height: auto;
    padding: 26px 0 28px;
  }
  .hero-device-wrap { width: min(68%, 290px); }
  .hero-art { position: static; width: 100%; }
  .orbital { display: none; }
  .floating-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }
  .preview-frame img { aspect-ratio: 9/15.8; }
  .screen-descriptions { min-height: 330px; }
  .thumb img { height: 118px; }
  .site-footer,
  .footer-end { flex-direction: column; align-items: flex-start; }
}
