:root {
  --ink: #141617;
  --surface: #191b1d;
  --surface-2: #212326;
  --amber: #f6c243;
  --white: #fff;
  --muted: #b9b9b4;
  --line: rgba(255, 255, 255, 0.14);
  --page: min(1400px, calc(100vw - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 20; padding: 12px 16px; background: var(--amber); color: var(--ink); }
.skip-link:focus { top: 16px; }
.site-shell { min-height: 100dvh; overflow: hidden; }
.site-header {
  position: relative;
  z-index: 5;
  width: var(--page);
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand, .footer-brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.brand img, .footer-brand img { width: 150px; color: var(--white); filter: brightness(0) invert(1); }
.brand span, .footer-brand span { padding-left: 18px; border-left: 1px solid var(--line); font-size: 17px; }
.header-note { margin: 0; color: var(--muted); font-size: 14px; }
.hero {
  position: relative;
  width: var(--page);
  min-height: calc(100dvh - 78px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  padding: clamp(60px, 8vw, 118px) 0;
}
.hero::before, .systems::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: var(--line);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; max-width: 750px; }
.kicker { margin: 0 0 26px; color: var(--amber); font-size: 16px; font-weight: 700; }
h1 { margin: 0; max-width: 11ch; font-size: clamp(3.4rem, 6.6vw, 6rem); line-height: .94; letter-spacing: -.04em; font-weight: 400; text-wrap: balance; }
h1 strong { color: var(--amber); font-weight: 700; }
.hero-intro { max-width: 580px; margin: 34px 0 38px; color: var(--muted); font-size: clamp(18px, 1.55vw, 23px); line-height: 1.45; text-wrap: pretty; }
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 190px;
  padding: 15px 16px;
  border: 1px solid var(--amber);
  border-radius: 6px;
  background: var(--amber);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}
.primary-action:hover { background: #ffd160; }
.primary-action:active { transform: translateY(1px); }
.primary-action:focus-visible, footer a:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
.system-visual { position: relative; width: min(100%, 590px); aspect-ratio: 1; justify-self: end; pointer-events: none; }
.frame { position: absolute; border: 1px solid var(--line); }
.frame-a { inset: 9%; transform: rotate(8deg); }
.frame-b { inset: 20%; transform: rotate(-12deg); }
.orbit { position: absolute; border: 1px solid rgba(246, 194, 67, .48); border-radius: 50%; }
.orbit-a { inset: 4%; animation: spin 22s linear infinite; }
.orbit-b { inset: 26%; animation: spin 13s linear infinite reverse; }
.orbit i { position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 20px rgba(246,194,67,.75); }
.core { position: absolute; inset: 35%; display: grid; place-items: center; background: var(--amber); border-radius: 50%; color: var(--ink); }
.core img { width: 74%; filter: brightness(0); }
.signal { position: absolute; width: 7px; height: 7px; background: var(--white); border-radius: 50%; }
.signal-a { left: 13%; top: 29%; }
.signal-b { right: 8%; bottom: 32%; }
.signal-c { left: 29%; bottom: 7%; }
.systems { position: relative; width: var(--page); margin: 0 auto; padding: clamp(100px, 12vw, 180px) 0; border-top: 1px solid var(--line); }
.section-intro { max-width: 700px; margin-bottom: clamp(56px, 7vw, 94px); }
.section-intro h2 { margin: 0 0 20px; font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1; letter-spacing: -.035em; font-weight: 400; text-wrap: balance; }
.section-intro p { max-width: 560px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.system-list { position: relative; border-top: 1px solid var(--line); }
.system-row {
  min-height: 230px;
  display: grid;
  grid-template-columns: 70px minmax(260px, 1.2fr) minmax(180px, .8fr) 170px;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  transition: background-color .35s ease;
}
.system-row:hover { background: rgba(255,255,255,.025); }
.system-index { align-self: start; padding-top: 34px; color: var(--muted); font-size: 14px; }
.system-name h3 { margin: 0 0 13px; font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 1; letter-spacing: -.035em; font-weight: 400; }
.system-name p { margin: 0; color: var(--muted); font-size: 17px; }
.system-state { display: flex; justify-content: flex-end; }
.system-state span { padding: 12px 15px; border: 1px solid var(--amber); border-radius: 6px; color: var(--amber); font-size: 14px; font-weight: 700; }
.system-mark { width: 150px; height: 110px; position: relative; justify-self: center; }
.gilla-mark span { position: absolute; left: 12px; right: 12px; height: 18px; border: 1px solid rgba(246,194,67,.6); transform: skewX(-18deg); }
.gilla-mark span:nth-child(1) { top: 15px; }
.gilla-mark span:nth-child(2) { top: 46px; left: 31px; }
.gilla-mark span:nth-child(3) { top: 77px; left: 52px; background: var(--amber); }
.pqq-mark { display: grid; grid-template-columns: repeat(2, 42px); grid-template-rows: repeat(2, 42px); gap: 10px; align-content: center; justify-content: center; transform: rotate(45deg); }
.pqq-mark span { border: 1px solid rgba(246,194,67,.62); }
.pqq-mark span:last-child { background: var(--amber); }
.principle { width: var(--page); margin: 0 auto; padding: clamp(100px, 15vw, 220px) 0; border-top: 1px solid var(--line); }
.principle p { margin: 0 0 34px; color: var(--amber); font-size: 16px; font-weight: 700; }
.principle h2 { max-width: 1050px; margin: 0; font-size: clamp(2.8rem, 6.5vw, 6rem); line-height: .98; letter-spacing: -.04em; font-weight: 400; text-wrap: balance; }
footer { width: var(--page); margin: 0 auto; min-height: 170px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer p { margin: 0; }
footer a { color: var(--amber); text-underline-offset: 5px; }

@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  :root { --page: calc(100vw - 40px); }
  .header-note { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero::before, .systems::before { display: none; }
  .system-visual { width: min(92vw, 560px); justify-self: center; order: -1; margin: -20px 0 10px; }
  .hero-copy { padding-bottom: 32px; }
  .system-row { grid-template-columns: 50px 1fr 150px; }
  .system-mark { display: none; }
  footer { grid-template-columns: 1fr auto; padding: 45px 0; }
  footer p { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 600px) {
  :root { --page: calc(100vw - 32px); }
  .site-header { height: 70px; }
  .brand img, .footer-brand img { width: 118px; }
  .brand span, .footer-brand span { padding-left: 12px; font-size: 15px; }
  .hero { min-height: 0; align-content: start; gap: 32px; padding: 48px 0 64px; }
  .hero-copy { order: 1; padding-bottom: 0; }
  .system-visual { order: 2; width: min(56vw, 220px); margin: 0; justify-self: end; }
  .kicker { margin-bottom: 20px; }
  h1 { font-size: clamp(3rem, 14vw, 4rem); }
  .hero-intro { margin: 24px 0 28px; font-size: 17px; }
  .systems { padding: 90px 0; }
  .section-intro { margin-bottom: 48px; }
  .section-intro h2 { font-size: 2.9rem; }
  .system-row { min-height: 190px; grid-template-columns: 36px 1fr; gap: 16px; padding: 28px 0; }
  .system-index { padding-top: 5px; }
  .system-name h3 { font-size: 2.3rem; }
  .system-name p { max-width: 230px; }
  .system-state { grid-column: 2; justify-content: flex-start; }
  .principle h2 { font-size: clamp(2.7rem, 12vw, 4rem); }
  footer { grid-template-columns: 1fr; gap: 24px; }
  footer p { grid-column: auto; order: initial; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
