:root {
  --bg: #06070b;
  --bg-2: #0e1119;
  --bg-3: #171c29;
  --panel: rgba(16, 20, 29, 0.72);
  --panel-2: rgba(25, 31, 43, 0.86);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(112, 244, 255, 0.24);
  --text: #edf4ff;
  --muted: #94a2bf;
  --cyan: #70f4ff;
  --blue: #55a7ff;
  --violet: #9b7dff;
  --lime: #dbff77;
  --danger: #ff5b86;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --shadow: 0 30px 90px rgba(0,0,0,.45);
  --ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, "Noto Sans JP", system-ui, sans-serif;
  background:
    radial-gradient(circle at 18% 16%, rgba(112,244,255,.10), transparent 18%),
    radial-gradient(circle at 82% 12%, rgba(155,125,255,.14), transparent 24%),
    linear-gradient(180deg, #06070b 0%, #0b0f16 46%, #06070b 100%);
  color: var(--text);
  line-height: 1.7;
  letter-spacing: .02em;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, rgba(255,255,255,.02), transparent 20%, transparent 80%, rgba(255,255,255,.02));
  opacity: .18;
  z-index: 30;
}
a { color: inherit; text-decoration: none; }
canvas { display: block; }
.loading {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(6,7,11,.98);
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.loading.is-hidden { opacity: 0; visibility: hidden; }
.loading__panel {
  width: min(420px, calc(100% - 36px));
  padding: 28px;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18,22,31,.95), rgba(8,10,15,.92));
  box-shadow: var(--shadow);
}
.loading__label,
.loading__value {
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.loading__meter {
  margin: 18px 0 14px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.loading__meter span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  box-shadow: 0 0 20px rgba(112,244,255,.55);
}
.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,.04);
  z-index: 110;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--cyan));
  box-shadow: 0 0 16px rgba(112,244,255,.5);
}
.screen-noise,
.grid-field,
.cursor-aura {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.screen-noise {
  z-index: 5;
  opacity: .07;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}
.grid-field {
  z-index: -1;
  background-image:
    linear-gradient(rgba(112,244,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112,244,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}
.cursor-aura {
  z-index: 2;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(112,244,255,.16), rgba(85,167,255,.08) 34%, transparent 70%);
  filter: blur(16px);
}
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1480px, calc(100% - 36px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(12,15,21,.78), rgba(10,12,18,.52));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: radial-gradient(circle, rgba(112,244,255,.34), rgba(155,125,255,.18) 55%, transparent 70%);
  box-shadow: 0 0 18px rgba(112,244,255,.2);
}
.brand__text { display: grid; gap: 2px; }
.brand__text strong {
  font-size: 14px; letter-spacing: .24em; text-transform: uppercase;
}
.brand__text small {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.site-nav { display: flex; gap: 8px; align-items: center; }
.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: .3s var(--ease);
}
.site-nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(112,244,255,.14), rgba(155,125,255,.14));
  opacity: 0;
  transition: .3s ease;
}
.site-nav a:hover { color: var(--text); border-color: var(--line); transform: translateY(-1px); }
.site-nav a:hover::before { opacity: 1; }
.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  position: relative;
}
.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 999px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.menu-button span { top: 23px; }
.menu-button span::before { top: -6px; }
.menu-button span::after { top: 6px; }
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 110px 0 60px;
}
.hero__canvas,
.hero__overlay,
.hero__scan,
.hero__bgword,
.hero__rail {
  position: absolute;
}
.hero__canvas,
.hero__overlay,
.hero__scan { inset: 0; }
.hero__canvas { z-index: 0; width: 100%; height: 100%; }
.hero__overlay {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.03), transparent 28%),
    linear-gradient(180deg, rgba(10,12,18,.12), rgba(10,12,18,.44));
}
.hero__scan {
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(112,244,255,.06), transparent);
  mix-blend-mode: screen;
}
.hero__scan--a { animation: scanA 8s linear infinite; }
.hero__scan--b { animation: scanB 12s linear infinite; opacity: .35; }
.hero__bgword {
  z-index: 2;
  font-weight: 900;
  line-height: .85;
  letter-spacing: -.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.03);
  user-select: none;
  pointer-events: none;
}
.hero__bgword--a { top: 16%; left: 2%; font-size: clamp(90px, 18vw, 340px); }
.hero__bgword--b { bottom: 10%; right: 2%; font-size: clamp(54px, 10vw, 180px); }
.hero__content {
  position: relative;
  z-index: 4;
  min-height: calc(100vh - 170px);
  width: min(1540px, calc(100% - 52px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, .85fr) minmax(280px, .62fr);
  gap: 26px;
  align-items: center;
}
.hero__left,.hero__right { position: relative; z-index: 4; }
.hero__eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__title { margin: 0; display: grid; gap: 8px; }
.hero__title-line {
  display: block;
  font-size: clamp(62px, 8vw, 146px);
  line-height: .86;
  font-weight: 900;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.hero__title-line--solid {
  color: var(--text);
  text-shadow: 0 0 24px rgba(112,244,255,.10), 0 0 50px rgba(155,125,255,.12);
}
.hero__title-line--outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.95);
}
.hero__lead {
  max-width: 38rem;
  margin: 30px 0 0;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
}
.hero__lead strong { color: var(--text); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  overflow: hidden;
  transition: .3s var(--ease);
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transform: translateX(-120%);
  transition: .55s var(--ease);
}
.button:hover { transform: translateY(-2px); border-color: var(--line-2); }
.button:hover::before { transform: translateX(120%); }
.button--primary {
  border-color: rgba(112,244,255,.34);
  background: linear-gradient(135deg, rgba(112,244,255,.18), rgba(155,125,255,.14));
}
.hero__center { position: relative; display: grid; place-items: center; }
.core {
  position: relative;
  width: min(36vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}
.core__ring,
.core__pulse,
.core__grid,
.core__glyph {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.core__ring--1 {
  border: 1px solid rgba(112,244,255,.3);
  box-shadow: 0 0 36px rgba(112,244,255,.08), inset 0 0 30px rgba(112,244,255,.06);
  animation: spin 24s linear infinite;
}
.core__ring--2 {
  inset: 8%;
  border: 1px dashed rgba(255,255,255,.16);
  animation: spinReverse 18s linear infinite;
}
.core__ring--3 {
  inset: 20%;
  border: 1px solid rgba(155,125,255,.32);
  animation: spin 14s linear infinite;
}
.core__grid {
  inset: 26%;
  background:
    radial-gradient(circle at center, rgba(112,244,255,.12), transparent 58%),
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  filter: blur(.2px);
}
.core__glyph {
  inset: 34%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, rgba(112,244,255,.22), rgba(7,9,13,.92) 66%);
  border: 1px solid rgba(255,255,255,.1);
  font-size: clamp(68px, 8vw, 128px);
  font-weight: 900;
  letter-spacing: -.1em;
  box-shadow: 0 0 60px rgba(112,244,255,.16), inset 0 0 30px rgba(255,255,255,.04);
}
.core__pulse::before,
.core__pulse::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(112,244,255,.16);
  animation: pulse 4s ease-out infinite;
}
.core__pulse--b::before { animation-delay: 2s; border-color: rgba(155,125,255,.18); }
.core__pulse--b::after { display: none; }
.hero__right { display: grid; gap: 12px; }
.hud,
.feature-card,
.archive-card,
.system-panel,
.contact-block {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18,23,34,.84), rgba(9,11,16,.84));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.hud::before,
.feature-card::before,
.archive-card::before,
.system-panel::before,
.contact-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(112,244,255,.08), transparent 42%, rgba(155,125,255,.10));
  pointer-events: none;
}
.hud > *,
.feature-card > *,
.archive-card > *,
.system-panel > *,
.contact-block > * { position: relative; z-index: 1; }
.hud { padding: 18px; }
.hud small,
.feature-card small,
.archive-card small,
.section__kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cyan);
}
.hud strong { display: block; font-size: 18px; letter-spacing: -.02em; }
.hud p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.hud-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.hero__rail {
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.34);
}
.hero__rail--left { left: 24px; }
.hero__rail--right { right: 24px; text-align: right; }
.section {
  position: relative;
  padding: 92px min(56px, 4vw);
}
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
}
.section__head {
  max-width: 980px;
  margin: 0 auto 30px;
}
.section__head h2 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 76px);
  line-height: .94;
  letter-spacing: -.06em;
}
.section__head p { margin: 0; color: var(--muted); max-width: 44rem; }
.feature-grid,
.archive-grid {
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.feature-card,
.archive-card {
  padding: 24px;
  min-height: 260px;
  transition: .35s var(--ease);
}
.feature-card:hover,
.archive-card:hover,
.contact-block:hover,
.system-panel:hover,
.hud:hover { transform: translateY(-4px); border-color: var(--line-2); }
.feature-card h3,
.archive-card h3,
.contact-block h2,
.section__head h2,
.system-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.6vw, 42px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.feature-card p,
.archive-card p,
.system-copy p,
.contact-block p { margin: 0; color: var(--muted); }
.archive-grid { grid-template-columns: 1.35fr .8fr .85fr; }
.archive-card--wide { min-height: 300px; }
.system-layout {
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: 24px;
  align-items: center;
}
.system-copy h2 {
  font-size: clamp(40px, 5vw, 82px);
}
.system-panel {
  min-height: 420px;
  padding: 26px;
}
.system-panel__grid,
.system-panel__beam {
  position: absolute;
  inset: 0;
}
.system-panel__grid {
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .32;
}
.system-panel__beam {
  background: linear-gradient(90deg, transparent, rgba(112,244,255,.16), transparent);
  width: 30%;
  animation: beam 5s linear infinite;
}
.system-panel__meta {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 10px;
}
.system-panel__meta small {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
}
.system-panel__meta strong {
  font-size: clamp(32px, 4vw, 58px);
  line-height: .94;
  letter-spacing: -.05em;
}
.system-panel__meta span {
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-block {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 32px;
}
.contact-link {
  display: inline-flex;
  margin-top: 18px;
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--text);
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes scanA {
  0% { transform: translateY(-110%); }
  100% { transform: translateY(110%); }
}
@keyframes scanB {
  0% { transform: translateY(110%); }
  100% { transform: translateY(-110%); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes spinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
@keyframes pulse {
  0% { transform: scale(.82); opacity: 0; }
  20% { opacity: .8; }
  100% { transform: scale(1.34); opacity: 0; }
}
@keyframes beam {
  0% { transform: translateX(-140%); }
  100% { transform: translateX(340%); }
}
@media (max-width: 1200px) {
  .hero__content,
  .system-layout,
  .archive-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .hero__center { order: -1; }
  .hero__right { max-width: 860px; }
  .hero__rail { display: none; }
  .core { width: min(64vw, 520px); }
}
@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 88px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(9,11,16,.96);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: .3s var(--ease);
  }
  body.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { justify-content: flex-start; min-height: 48px; }
  .menu-button { display: block; }
}
@media (max-width: 720px) {
  .site-header { top: 10px; width: calc(100% - 20px); padding: 10px 12px; }
  .brand__text small { display: none; }
  .hero { padding-top: 98px; }
  .hero__content { width: calc(100% - 24px); }
  .hero__title-line { font-size: clamp(42px, 14vw, 72px); }
  .hero__lead { font-size: 14px; }
  .core { width: min(84vw, 420px); }
  .hud-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 20px; }
  .contact-link { font-size: clamp(18px, 7vw, 30px); }
}
