:root {
  color-scheme: dark;
  --bg: #090a10;
  --panel: rgba(19, 20, 30, 0.72);
  --text: #f5f3ed;
  --muted: #a3a4b3;
  --subtle: #6b6e80;
  --accent: #d6ff75;
  --accent-purple: #a99aff;
  --line: rgba(240, 240, 255, 0.12);
  --content-width: 1240px;
  --ease-out: cubic-bezier(.2, .75, .25, 1);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(ellipse at 75% 43%, rgba(74, 58, 139, .13), transparent 38%),
    radial-gradient(ellipse at 9% 89%, rgba(91, 112, 54, .08), transparent 28%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .24;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 32rem;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: .14;
}
.ambient--one { top: -20rem; right: -10rem; background: #6b55ce; }
.ambient--two { bottom: -24rem; left: -14rem; background: #8daf41; opacity: .08; }

.page-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(var(--content-width), calc(100% - 112px));
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; color: var(--text); }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-name { font-size: 11px; font-weight: 750; letter-spacing: .18em; white-space: nowrap; }
.header-right { display: flex; align-items: center; gap: clamp(22px, 4vw, 54px); }
.header-note { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.status-dot, .art-label-dot { position: relative; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(214,255,117,.55); }
.status-dot::after { position: absolute; inset: -4px; border: 1px solid rgba(214,255,117,.35); border-radius: 50%; content: ""; animation: pulse 2.8s ease-out infinite; }
.language-switch { display: inline-flex; align-items: center; gap: 9px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255,255,255,.025); }
.language-button { padding: 7px 9px; border: 0; border-radius: 100px; color: var(--muted); background: transparent; font: inherit; font-size: 10px; font-weight: 750; letter-spacing: .04em; cursor: pointer; transition: color .2s ease, background .2s ease; }
.language-button:hover { color: var(--text); }
.language-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.language-button.is-active { color: var(--bg); background: var(--accent); }
.language-divider { color: #555767; font-size: 10px; }

.hero {
  display: grid;
  flex: 1 0 auto;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(60px, 8vh, 100px) clamp(48px, 7vh, 78px);
}
.hero-copy { position: relative; z-index: 2; max-width: 620px; animation: reveal-up .8s var(--ease-out) both; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .16em; line-height: 1.7; }
.eyebrow-line { width: 27px; height: 1px; background: var(--accent); }
h1 { max-width: 700px; margin: 0; font-size: clamp(43px, 5.2vw, 72px); font-weight: 580; letter-spacing: -.065em; line-height: 1.055; }
.headline-accent { color: var(--accent); font-weight: 520; }
.hero-description { max-width: 500px; margin: 27px 0 0; color: var(--muted); font-size: clamp(14px, 1.12vw, 16px); line-height: 1.85; }

.status-card { display: flex; align-items: center; gap: 15px; width: fit-content; max-width: 100%; margin-top: 35px; padding: 14px 17px; border: 1px solid rgba(239,239,255,.12); border-radius: 13px; background: linear-gradient(110deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); box-shadow: 0 12px 36px rgba(0,0,0,.12); }
.status-card-icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(214,255,117,.22); border-radius: 10px; color: var(--accent); background: rgba(214,255,117,.07); }
.status-card-icon svg { width: 21px; height: 21px; }
.status-card-copy { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.status-card-title { color: var(--text); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.status-card-subtitle { color: var(--muted); font-size: 11px; line-height: 1.45; }
.status-card-index { align-self: flex-start; margin-left: 17px; color: #77798a; font-size: 9px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.status-card-index span { padding-inline: 4px; color: #444655; }
.soft-note { display: flex; align-items: center; gap: 9px; margin-top: 26px; color: var(--subtle); font-size: 11px; }
.soft-note-symbol { color: var(--accent-purple); font-size: 15px; }

.hero-art { position: relative; display: grid; width: 100%; max-width: 590px; justify-self: end; place-items: center; aspect-ratio: 1 / 1; isolation: isolate; animation: reveal-in 1s .12s var(--ease-out) both; }
.art-grid { position: absolute; inset: 8%; z-index: -2; border: 1px solid rgba(255,255,255,.045); border-radius: 50%; background: repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.035) 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,.035) 40px); mask-image: radial-gradient(circle, black 20%, transparent 72%); }
.hero-art::before { position: absolute; z-index: -3; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(113,92,197,.2), rgba(113,92,197,.05) 42%, transparent 70%); content: ""; filter: blur(12px); }
.planet { position: relative; z-index: 1; width: 37%; aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: radial-gradient(circle at 31% 24%, #f4ffc1 0, #d6ff75 9%, #9bbf69 23%, #6255a9 47%, #30284e 63%, #151523 75%); box-shadow: inset -25px -17px 45px rgba(5,5,15,.78), inset 10px 9px 19px rgba(255,255,255,.24), 0 0 65px rgba(165,146,255,.22), 0 0 150px rgba(111,87,208,.12); animation: planet-float 7s ease-in-out infinite; }
.planet::before { position: absolute; inset: -15%; border-radius: 50%; content: ""; background: repeating-linear-gradient(165deg, transparent 0 13px, rgba(255,255,255,.105) 14px, transparent 16px 28px); transform: rotate(-25deg); opacity: .6; }
.planet::after { position: absolute; inset: 0; border-radius: 50%; content: ""; background: linear-gradient(126deg, transparent 30%, rgba(6,7,17,.04) 35%, rgba(6,7,17,.66) 86%); }
.planet-shimmer { position: absolute; z-index: 2; top: 17%; left: 20%; width: 29%; height: 8%; border-radius: 50%; background: rgba(255,255,222,.7); filter: blur(11px); transform: rotate(-42deg); }
.planet-latitude { position: absolute; z-index: 1; left: -7%; width: 116%; height: 20%; border: 1px solid rgba(231,234,255,.22); border-radius: 50%; transform: rotate(-27deg); }
.planet-latitude--one { top: 37%; }
.planet-latitude--two { top: 58%; left: -15%; width: 125%; height: 12%; opacity: .65; }
.orbit { position: absolute; z-index: 0; border: 1px solid rgba(218,216,255,.21); border-radius: 50%; pointer-events: none; }
.orbit--outer { width: 94%; height: 36%; transform: rotate(-34deg); animation: orbit-rotate 54s linear infinite; }
.orbit--middle { width: 83%; height: 54%; border-color: rgba(214,255,117,.21); transform: rotate(53deg); animation: orbit-rotate-reverse 42s linear infinite; }
.orbit--inner { width: 65%; height: 82%; border-style: dashed; border-color: rgba(217,209,255,.17); transform: rotate(23deg); }
.orbit-satellite { position: absolute; top: 50%; left: -5px; width: 9px; height: 9px; border: 2px solid #11121a; border-radius: 50%; background: var(--accent); box-shadow: 0 0 17px rgba(214,255,117,.75); }
.orbit--middle .orbit-satellite { top: 12%; left: 79%; width: 6px; height: 6px; background: #b0a4ff; box-shadow: 0 0 16px rgba(176,164,255,.75); }
.spark { position: absolute; color: var(--accent); text-shadow: 0 0 23px rgba(214,255,117,.35); }
.spark--one { top: 18%; right: 23%; font-size: 21px; animation: sparkle 4s ease-in-out infinite; }
.spark--two { bottom: 22%; left: 18%; color: #b6aaff; font-size: 24px; animation: sparkle 5s 1s ease-in-out infinite; }
.spark--three { top: 31%; left: 14%; width: 4px; height: 4px; border-radius: 50%; background: #f0edff; box-shadow: 0 0 18px 4px rgba(205,198,255,.35); }
.art-label { position: absolute; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: .14em; }
.art-label--top { top: 12%; right: 2%; left: 7%; }
.art-label-kicker { color: #e7e3ff; }
.art-label-number { color: #6e7081; }
.art-label--bottom { right: 5%; bottom: 12%; left: 12%; justify-content: flex-start; }
.art-label-dot { width: 5px; height: 5px; }
.floating-index { position: absolute; right: 1%; bottom: 30%; display: grid; width: 47px; height: 47px; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: var(--text); background: rgba(12,13,21,.84); font-size: 15px; font-weight: 700; box-shadow: 0 10px 35px rgba(0,0,0,.25); backdrop-filter: blur(8px); }
.floating-index span { color: var(--accent); }

.principles { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 23px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle { display: flex; align-items: center; gap: 13px; color: #c0c0cb; font-size: 11px; }
.principle-number { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.principle-separator { width: 1px; height: 22px; flex: 0 0 auto; background: var(--line); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; color: #707283; font-size: 10px; }
.footer-coordinate { color: #686a7a; font-size: 8px; font-weight: 750; letter-spacing: .15em; }
.footer-coordinate-dot { padding-inline: 5px; color: var(--accent); font-size: 7px; }

@keyframes reveal-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes planet-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes orbit-rotate { from { transform: rotate(-34deg); } to { transform: rotate(326deg); } }
@keyframes orbit-rotate-reverse { from { transform: rotate(53deg); } to { transform: rotate(-307deg); } }
@keyframes sparkle { 0%, 100% { opacity: .55; transform: scale(.9) rotate(0); } 50% { opacity: 1; transform: scale(1.13) rotate(18deg); } }

@media (min-width: 1500px) {
  .hero { padding-block: 88px 74px; }
}

@media (max-width: 1050px) {
  .page-shell { width: min(100% - 64px, var(--content-width)); }
  .hero { gap: 24px; }
  h1 { font-size: clamp(42px, 5.4vw, 61px); }
  .hero-art { width: 108%; margin-right: -5%; }
  .principles { gap: 17px; }
  .principle { gap: 9px; font-size: 10px; }
}

@media (max-width: 760px) {
  .page-shell { width: calc(100% - 40px); }
  .site-header { min-height: 82px; }
  .brand { gap: 8px; }
  .brand-mark { width: 29px; height: 29px; }
  .brand-name { font-size: 9px; letter-spacing: .12em; }
  .header-right { gap: 0; }
  .header-note { display: none; }
  .language-switch { gap: 5px; padding: 4px; }
  .language-button { padding: 7px 8px; font-size: 9px; }
  .hero { grid-template-columns: 1fr; gap: 18px; padding-block: 58px 40px; }
  .hero-copy { max-width: 610px; }
  .eyebrow { margin-bottom: 23px; font-size: 8px; letter-spacing: .12em; }
  h1 { font-size: clamp(43px, 9.6vw, 67px); }
  .hero-description { margin-top: 20px; font-size: 14px; }
  .status-card { margin-top: 26px; }
  .soft-note { margin-top: 19px; }
  .hero-art { width: min(100%, 470px); justify-self: center; margin: 0; }
  .principles { display: grid; grid-template-columns: 1fr; gap: 15px; padding-block: 20px; }
  .principle-separator { display: none; }
  .principle { gap: 13px; font-size: 11px; }
  .site-footer { min-height: 68px; font-size: 9px; }
  .footer-coordinate { font-size: 7px; }
}

@media (max-width: 390px) {
  .page-shell { width: calc(100% - 32px); }
  .brand-name { font-size: 8px; letter-spacing: .1em; }
  .language-button { padding-inline: 6px; }
  h1 { font-size: 42px; }
  .status-card { gap: 10px; padding: 12px; }
  .status-card-index { margin-left: 2px; font-size: 8px; }
  .status-card-subtitle { font-size: 10px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding-block: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
