:root {
  --bg: #03060b;
  --bg-2: #07111f;
  --panel: rgba(8, 18, 32, 0.78);
  --panel-soft: rgba(8, 20, 36, 0.58);
  --panel-strong: rgba(9, 20, 38, 0.92);
  --line: rgba(58, 218, 255, 0.18);
  --line-strong: rgba(58, 218, 255, 0.42);
  --cyan: #3addff;
  --cyan-2: #7df0ff;
  --blue: #0f63ff;
  --blue-soft: #28a8ff;
  --text: #edf7ff;
  --muted: #a9bad0;
  --dim: #73869c;
  --ink: #041018;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1180px;
  --mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 18px 62px rgba(0, 0, 0, 0.38), 0 0 42px rgba(36, 169, 255, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; background: #03060b; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  background-color: #03060b;
  background:
    radial-gradient(circle at 14% 10%, rgba(20, 105, 255, 0.20), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(58, 218, 255, 0.13), transparent 30%),
    radial-gradient(circle at 48% 88%, rgba(15, 99, 255, 0.11), transparent 38%),
    linear-gradient(180deg, #03050a 0%, #060c17 45%, #03060b 100%);
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

#particle-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -4;
}
.site-grid, .site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.site-grid {
  z-index: -3;
  opacity: 0.75;
  background:
    linear-gradient(rgba(58, 218, 255, 0.040) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 218, 255, 0.032) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 50% 18%, black 0%, transparent 78%);
}
.site-noise {
  z-index: -2;
  opacity: 0.09;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 3px 3px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.topbar {
  position: sticky;
  top: 12px;
  z-index: 40;
  width: min(var(--max), calc(100% - 40px));
  margin: 12px auto 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(58, 218, 255, 0.18);
  border-radius: 22px;
  background: rgba(2, 7, 14, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35), inset 0 0 28px rgba(58, 218, 255, 0.035);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(58, 218, 255, 0.25);
  background: rgba(238, 246, 255, 0.92);
  box-shadow: 0 0 20px rgba(58, 218, 255, 0.22);
}
.brand-mark img { width: 42px; height: 42px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.1; min-width: 0; }
.brand-copy strong { font-size: 1.05rem; letter-spacing: 0.015em; }
.brand-copy small {
  max-width: 310px;
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}
.main-nav a {
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.main-nav a:hover {
  color: var(--text);
  background: rgba(58, 218, 255, 0.065);
  border-color: rgba(58, 218, 255, 0.20);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(58, 218, 255, 0.24);
  border-radius: 14px;
  background: rgba(58, 218, 255, 0.04);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--cyan);
}

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}
section[id] {
  scroll-margin-top: 116px;
}
.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 52px;
  padding-top: 48px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(58, 218, 255, 0.86);
  animation: pulse 1.9s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ transform:scale(1); opacity:.75;} 50%{ transform:scale(1.55); opacity:1;} }

.hero h1,
.section-heading h2,
.challenge-console h2,
.ai-copy h2,
.ip-panel h2,
.contact-copy h2 {
  margin: 0;
  letter-spacing: -0.042em;
}
.hero h1 {
  font-size: clamp(3.15rem, 6vw, 4.8rem);
  line-height: 1.02;
  max-width: 680px;
  background: linear-gradient(135deg, #ffffff 0%, #d9f9ff 28%, #56b9ff 56%, #166eff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 42px rgba(58, 218, 255, 0.18);
}
.hero h2 {
  margin: 12px 0 0;
  color: #c8d9eb;
  font-size: clamp(0.98rem, 1.5vw, 1.16rem);
  font-weight: 600;
  letter-spacing: 0.006em;
}
.hero-lead {
  margin: 28px 0 0;
  color: #f1fbff;
  font-size: clamp(1.05rem, 1.75vw, 1.35rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-text {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.78;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 17px;
  border-radius: 999px;
  border: 1px solid rgba(58, 218, 255, 0.22);
  font-weight: 800;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  color: #03111a;
  background: linear-gradient(135deg, var(--cyan) 0%, #1ab9ff 52%, #93f4ff 100%);
  box-shadow: 0 0 32px rgba(58, 218, 255, 0.26);
}
.btn.primary:hover { box-shadow: 0 0 50px rgba(58, 218, 255, 0.42); }
.btn.secondary {
  color: var(--text);
  background: rgba(58, 218, 255, 0.055);
}
.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: #c8edf7;
  text-transform: uppercase;
}
.signal-strip span {
  padding: 8px 10px;
  border: 1px solid rgba(58, 218, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 14, 26, 0.78);
}

.hero-visual { position: relative; }
.research-interface,
.ai-workstation,
.challenge-console,
.ip-panel,
.challenge-form,
.contact-signal,
.tech-card,
.pipeline-step,
.domains-grid article {
  border: 1px solid rgba(58, 218, 255, 0.16);
  background: linear-gradient(180deg, rgba(9, 22, 40, 0.84), rgba(3, 8, 16, 0.74));
  box-shadow: var(--shadow), inset 0 0 42px rgba(58, 218, 255, 0.028);
  backdrop-filter: blur(14px);
}
.research-interface {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 580px;
}
.interface-header,
.workstation-header,
.console-header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(58, 218, 255, 0.13);
  background: rgba(255,255,255,0.024);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.interface-header span,
.workstation-header span,
.console-header span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(58, 218, 255, 0.42);
}
.interface-header strong,
.workstation-header strong,
.console-header strong { margin-left: 8px; }
.interface-map {
  position: relative;
  min-height: 538px;
  overflow: hidden;
  background-color: #03060b;
  background:
    radial-gradient(circle at center, rgba(58, 218, 255, 0.15), transparent 44%),
    linear-gradient(rgba(58, 218, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 218, 255, 0.043) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}
.connection-layer,
.ai-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.connection-layer path,
.ai-links path {
  fill: none;
  stroke: rgba(58, 218, 255, 0.30);
  stroke-width: 1.2;
  stroke-dasharray: 6 8;
  animation: dash 7s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -120; } }
.data-pulse { fill: var(--cyan); filter: drop-shadow(0 0 8px var(--cyan)); opacity: 0; animation: dataPulse 4.4s ease-in-out infinite; }
.p2 { animation-delay: .8s; } .p3 { animation-delay: 1.4s; } .p4 { animation-delay: 2s; }
@keyframes dataPulse { 0%,100%{opacity:0; transform:scale(.7);} 40%,65%{opacity:1; transform:scale(1.6);} }
.interface-module {
  position: absolute;
  z-index: 3;
  width: 205px;
  padding: 13px 14px;
  border: 1px solid rgba(58, 218, 255, 0.20);
  border-radius: 16px;
  background: rgba(2, 9, 18, 0.82);
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.24);
}
.interface-module small,
.console-feed b,
.ai-module b,
.ai-output b {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.interface-module strong { display: block; color: #eaf6ff; font-size: 0.82rem; line-height: 1.38; }
.module-model { left: 34px; top: 40px; }
.module-ai { right: 34px; top: 40px; }
.module-sim { left: 34px; bottom: 40px; }
.module-output { right: 34px; bottom: 40px; }
.module-bar {
  height: 5px;
  margin-top: 12px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255,255,255,0.07);
}
.module-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.mini-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 12px; }
.mini-cells i {
  display: block;
  height: 14px;
  border-radius: 5px;
  border: 1px solid rgba(58, 218, 255, 0.18);
  background: rgba(58, 218, 255, 0.08);
}
.interface-module code {
  display: block;
  margin-top: 9px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.67rem;
}
.logo-node {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 210px;
  height: 210px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}
.logo-disc {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(236, 246, 255, 0.96);
  border: 1px solid rgba(58, 218, 255, 0.34);
  box-shadow: 0 0 58px rgba(58, 218, 255, 0.25), 0 0 0 14px rgba(58, 218, 255, 0.035);
}
.logo-disc img { width: 100%; height: 100%; object-fit: cover; }
.logo-orbit {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(58, 218, 255, 0.18);
  border-radius: 50%;
  animation: rotate 16s linear infinite;
}
.orbit-two { inset: 28px; transform: rotate(68deg); animation-duration: 22s; animation-direction: reverse; }
@keyframes rotate { to { transform: rotate(360deg); } }

.section-heading { max-width: 820px; margin-bottom: 30px; }
.section-heading.narrow { max-width: 760px; margin-inline: auto; text-align: center; }
.section-heading h2,
.challenge-console h2,
.ai-copy h2,
.ip-panel h2,
.contact-copy h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  line-height: 1.12;
}
.section-heading p:not(.eyebrow),
.challenge-console p,
.ai-copy p,
.ip-panel p,
.contact-copy p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.76;
}
.intro { padding-top: 42px; }
.interface-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 820px;
  margin: 38px auto 0;
}
.interface-line::before {
  content: "";
  position: absolute;
  top: 50%; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58, 218, 255, 0.45), transparent);
}
.interface-line span {
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(58, 218, 255, 0.82), transparent);
  filter: blur(.5px);
}

.core-grid, .domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tech-card {
  position: relative;
  min-height: 310px;
  padding: 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tech-card::before,
.domains-grid article::before,
.pipeline-step::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(58, 218, 255, 0.16), transparent 42%);
  transition: opacity .2s ease;
}
.tech-card:hover::before,
.domains-grid article:hover::before,
.pipeline-step:hover::before { opacity: 1; }
.card-index {
  color: rgba(58, 218, 255, 0.70);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
}
.card-icon {
  width: 94px;
  height: 94px;
  margin: 24px 0 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(58, 218, 255, 0.22);
  border-radius: 24px;
  background: rgba(58, 218, 255, 0.055);
  box-shadow: 0 0 26px rgba(58, 218, 255, 0.10), inset 0 0 22px rgba(58, 218, 255, 0.035);
}
.science-icon svg { width: 88%; height: 88%; overflow: visible; }
.science-icon rect,
.science-icon path,
.science-icon circle,
.domain-icon svg * {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.94;
}
.science-icon circle,
.domain-icon circle { fill: rgba(58, 218, 255, 0.18); }
.science-icon text {
  fill: var(--cyan);
  stroke: none;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}
.tech-card h3,
.pipeline-step h3,
.domains-grid h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.028em;
}
.tech-card p,
.pipeline-step p,
.domains-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.94rem;
}

.pipeline { position: relative; display: grid; grid-template-columns: repeat(6, minmax(190px, 1fr)); gap: 14px; overflow-x: auto; padding: 8px 2px 18px; scrollbar-color: rgba(58, 218, 255, 0.38) transparent; }
.pipeline-track { position: absolute; top: 40px; left: 34px; width: calc(100% - 68px); height: 1px; background: linear-gradient(90deg, var(--cyan), rgba(15,99,255,.7), transparent); }
.pipeline-step { position: relative; min-height: 238px; padding: 24px; border-radius: 18px; overflow: hidden; }
.pipeline-step span { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 50px; border-radius: 50%; color: #03111a; background: var(--cyan); font-family: var(--mono); font-weight: 900; box-shadow: 0 0 26px rgba(58, 218, 255, 0.38); }

.challenge-console { border-radius: 28px; overflow: hidden; }
.console-body { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 30px; padding: 32px; }
.console-copy .btn { margin-top: 12px; }
.console-feed { display: grid; gap: 12px; align-content: center; }
.console-feed div { padding: 15px 16px; border-radius: 16px; border: 1px solid rgba(58, 218, 255, 0.14); background: rgba(2, 9, 18, 0.62); }
.console-feed span { color: #d9eaf4; font-size: 0.90rem; line-height: 1.55; }

.domains-grid article { position: relative; min-height: 236px; padding: 24px; border-radius: 18px; overflow: hidden; }
.domain-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 17px; border: 1px solid rgba(58, 218, 255, 0.20); background: rgba(58, 218, 255, 0.055); }
.domain-icon svg { width: 82%; height: 82%; }

.ai-layout { display: grid; grid-template-columns: 1fr 0.95fr; gap: 46px; align-items: center; }
.ai-workstation { min-height: 460px; border-radius: 28px; overflow: hidden; }
.ai-map { position: relative; min-height: 418px; overflow: hidden; background: radial-gradient(circle at center, rgba(58, 218, 255, 0.13), transparent 45%), linear-gradient(rgba(58, 218, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(58, 218, 255, 0.035) 1px, transparent 1px); background-size: auto, 40px 40px, 40px 40px; }
.ai-core-node { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); z-index: 3; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; text-align: center; border: 1px solid rgba(58, 218, 255, 0.26); background: radial-gradient(circle, rgba(58, 218, 255, 0.16), rgba(2, 8, 16, 0.92) 68%); box-shadow: 0 0 56px rgba(58, 218, 255, 0.22); }
.ai-core-node strong { display: block; color: var(--cyan); font-family: var(--mono); font-size: 2rem; }
.ai-core-node span { display: block; margin-top: -12px; padding: 0 20px; color: var(--muted); font-size: 0.68rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .08em; }
.ai-module,
.ai-output { position: absolute; z-index: 4; width: 178px; padding: 13px 14px; border: 1px solid rgba(58, 218, 255, 0.16); border-radius: 16px; background: rgba(2, 9, 18, 0.76); }
.ai-module span,
.ai-output span { color: #cfdfec; font-size: 0.76rem; line-height: 1.45; }
.m-physical { top: 42px; left: 34px; }
.m-literature { top: 42px; right: 34px; }
.m-hypothesis { bottom: 52px; left: 34px; }
.m-simulation { bottom: 52px; right: 34px; }
.ai-output { left: 50%; bottom: 26px; transform: translateX(-50%); width: 210px; }
.ai-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.ai-tags span { padding: 9px 11px; border: 1px solid rgba(58, 218, 255, 0.18); border-radius: 999px; background: rgba(58, 218, 255, 0.055); color: #d0f3fb; font-size: 0.83rem; }

.validation-flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 38px; }
.validation-flow span { min-width: 145px; padding: 16px 18px; text-align: center; border: 1px solid rgba(58, 218, 255, 0.18); border-radius: 16px; background: rgba(8, 18, 32, 0.72); color: #dff8ff; font-family: var(--mono); font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.validation-flow i { width: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.ip-panel { display: grid; grid-template-columns: 1fr 0.88fr; gap: 40px; align-items: center; padding: 34px; border-radius: 28px; background: radial-gradient(circle at 82% 20%, rgba(58, 218, 255, 0.12), transparent 38%), linear-gradient(180deg, rgba(9, 22, 40, 0.86), rgba(3, 8, 16, 0.78)); }
.ip-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ip-checklist div { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid rgba(58, 218, 255, 0.12); border-radius: 14px; background: rgba(2, 9, 18, 0.62); color: #d6e8f2; font-size: 0.92rem; }
.ip-checklist span { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 42px; align-items: start; }
.contact-signal { margin-top: 26px; padding: 18px; border-radius: 18px; }
.contact-signal strong { display: block; margin-bottom: 8px; color: var(--cyan); font-family: var(--mono); font-size: .8rem; }
.contact-signal span { color: var(--muted); line-height: 1.65; }
.challenge-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 23px; border-radius: 26px; }
.challenge-form label { display: grid; gap: 8px; color: #d2e7f2; font-size: 0.86rem; font-weight: 800; }
.challenge-form label.full,
.challenge-form .full { grid-column: 1 / -1; }
.challenge-form input,
.challenge-form select,
.challenge-form textarea { width: 100%; border: 1px solid rgba(58, 218, 255, 0.16); border-radius: 14px; background: rgba(2, 8, 15, 0.70); color: var(--text); padding: 13px 14px; outline: none; transition: border-color .16s ease, box-shadow .16s ease; }
.challenge-form textarea { resize: vertical; }
.challenge-form input:focus,
.challenge-form select:focus,
.challenge-form textarea:focus { border-color: rgba(58, 218, 255, 0.55); box-shadow: 0 0 0 4px rgba(58, 218, 255, 0.08); }
.checkbox { display: flex !important; align-items: center; gap: 10px !important; color: var(--muted) !important; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--cyan); }
.form-status { grid-column: 1 / -1; min-height: 22px; margin: 0; color: var(--cyan); font-family: var(--mono); font-size: 0.76rem; }
.footer { width: min(var(--max), calc(100% - 40px)); margin: 0 auto 24px; padding: 24px 0 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); border-top: 1px solid rgba(58, 218, 255, 0.13); }
.footer div { display: grid; gap: 4px; }
.footer strong { color: var(--text); }
.footer a { color: var(--cyan); font-family: var(--mono); font-size: 0.8rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .hero,
  .console-body,
  .ai-layout,
  .ip-panel,
  .contact-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-visual { max-width: 720px; width: 100%; }
  .core-grid,
  .domains-grid { grid-template-columns: 1fr 1fr; }
  .main-nav a { padding-inline: 8px; }
}
@media (max-width: 820px) {
  .topbar { width: calc(100% - 24px); top: 8px; margin-top: 8px; }
  .brand-copy small { max-width: 190px; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 78px; left: 12px; right: 12px; display: grid; gap: 7px; padding: 14px; border: 1px solid rgba(58, 218, 255, 0.18); border-radius: 22px; background: rgba(2, 7, 14, 0.96); backdrop-filter: blur(18px); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .18s ease, transform .18s ease; }
  body.nav-open .main-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav a { padding: 12px 14px; }
  .section-shell { width: calc(100% - 26px); padding: 58px 0; }
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(2.9rem, 15vw, 4.2rem); }
  .research-interface { min-height: auto; }
  .interface-map { min-height: 640px; }
  .interface-module { width: calc(50% - 34px); }
  .module-model { left: 22px; top: 28px; }
  .module-ai { right: 22px; top: 28px; }
  .module-sim { left: 22px; bottom: 28px; }
  .module-output { right: 22px; bottom: 28px; }
  .logo-node { width: 190px; height: 190px; }
  .logo-disc { width: 144px; height: 144px; }
  .core-grid,
  .domains-grid,
  .challenge-form,
  .ip-checklist { grid-template-columns: 1fr; }
  .console-body,
  .ip-panel,
  .challenge-form { padding: 22px; }
  .ai-map { min-height: 650px; }
  .ai-module { width: calc(50% - 32px); }
  .m-physical { top: 28px; left: 22px; }
  .m-literature { top: 28px; right: 22px; }
  .m-hypothesis { bottom: 110px; left: 22px; }
  .m-simulation { bottom: 110px; right: 22px; }
  .ai-output { bottom: 24px; }
  .validation-flow { display: grid; }
  .validation-flow i { width: 1px; height: 24px; margin: 0 auto; background: linear-gradient(180deg, transparent, var(--cyan), transparent); }
  .footer { width: calc(100% - 26px); flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .brand-mark { width: 42px; height: 42px; }
  .brand-mark img { width: 36px; height: 36px; }
  .brand-copy strong { font-size: .96rem; }
  .brand-copy small { max-width: 150px; }
  .hero h1 { font-size: clamp(2.75rem, 17vw, 3.75rem); }
  .section-heading h2,
  .challenge-console h2,
  .ai-copy h2,
  .ip-panel h2,
  .contact-copy h2 { font-size: clamp(1.55rem, 8.5vw, 2.15rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
  .interface-map { min-height: 760px; }
  .interface-module { width: calc(100% - 36px); left: 18px !important; right: 18px !important; }
  .module-model { top: 22px; }
  .module-ai { top: 128px; }
  .module-sim { bottom: 128px; }
  .module-output { bottom: 22px; }
  .logo-node { top: 50%; }
  .ai-map { min-height: 820px; }
  .ai-module,
  .ai-output { width: calc(100% - 36px); left: 18px !important; right: 18px !important; transform: none; }
  .m-physical { top: 22px; }
  .m-literature { top: 128px; }
  .m-hypothesis { bottom: 234px; }
  .m-simulation { bottom: 128px; }
  .ai-output { bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Legal compliance additions */
.legal-alert { border-color: rgba(255, 207, 102, 0.26); background: linear-gradient(180deg, rgba(52, 40, 11, 0.46), rgba(3, 8, 16, 0.76)); }
.legal-alert strong { color: #ffd36a; }
.privacy-summary {
  padding: 15px 16px;
  border: 1px solid rgba(58, 218, 255, 0.16);
  border-radius: 18px;
  background: rgba(2, 8, 15, 0.72);
  color: var(--muted);
  line-height: 1.6;
}
.privacy-summary strong { display: block; color: var(--text); margin-bottom: 6px; }
.privacy-summary p { margin: 0; font-size: 0.84rem; }
.privacy-summary a,
.checkbox a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 18px; }
.footer-links a { color: var(--cyan); font-family: var(--mono); font-size: 0.8rem; }
.legal-page { min-height: 100vh; }
.legal-hero { padding-top: 84px; }
.legal-card {
  border: 1px solid rgba(58, 218, 255, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(9, 22, 40, 0.84), rgba(3, 8, 16, 0.74));
  box-shadow: var(--shadow), inset 0 0 42px rgba(58, 218, 255, 0.028);
  backdrop-filter: blur(14px);
  padding: clamp(24px, 4vw, 46px);
}
.legal-card h1 { margin: 0 0 10px; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.04em; }
.legal-card h2 { margin: 34px 0 12px; font-size: clamp(1.25rem, 3vw, 1.75rem); color: var(--text); }
.legal-card h3 { margin: 22px 0 8px; font-size: 1rem; color: #dff7ff; }
.legal-card p,
.legal-card li { color: var(--muted); line-height: 1.75; }
.legal-card ul { padding-left: 22px; }
.legal-card a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.legal-meta span { padding: 7px 10px; border: 1px solid rgba(58, 218, 255, 0.17); border-radius: 999px; color: #c8edf7; font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }
.legal-notice-box { margin: 24px 0; padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(255, 207, 102, 0.30); background: rgba(62, 45, 10, 0.28); color: #ffe7a8; }
.legal-table { width: 100%; border-collapse: collapse; margin: 18px 0; overflow: hidden; border-radius: 18px; }
.legal-table th,
.legal-table td { text-align: left; vertical-align: top; padding: 14px; border: 1px solid rgba(58, 218, 255, 0.12); color: var(--muted); }
.legal-table th { width: 30%; color: var(--text); background: rgba(58, 218, 255, 0.055); }
@media (max-width: 820px) {
  .footer-links { justify-content: flex-start; }
  .legal-hero { padding-top: 56px; }
  .legal-table th,
  .legal-table td { display: block; width: 100%; }
}


/* GatePhys Web v3 additions */
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(58, 218, 255, 0.95);
  color: #020711;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 16px; outline: 3px solid rgba(255,255,255,.85); outline-offset: 3px; }
.main-nav a.active { color: #ffffff; border-color: rgba(58, 218, 255, 0.42); background: rgba(58, 218, 255, 0.10); }
.official-section { padding-top: 38px; }
.official-layout, .page-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: stretch; }
.official-card, .page-card {
  border: 1px solid rgba(58, 218, 255, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(9, 22, 40, 0.84), rgba(3, 8, 16, 0.74));
  box-shadow: var(--shadow), inset 0 0 42px rgba(58, 218, 255, 0.028);
  backdrop-filter: blur(14px);
  padding: clamp(22px, 3vw, 34px);
}
.official-card h3, .page-card h3 { margin: 0 0 16px; color: var(--text); font-size: 1.22rem; }
.fact-list { display: grid; gap: 0; margin: 0 0 22px; }
.fact-list div { display: grid; grid-template-columns: minmax(120px, .45fr) 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(58, 218, 255, 0.10); }
.fact-list dt { color: var(--muted); font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.fact-list dd { margin: 0; color: var(--text); line-height: 1.55; }
.fact-list a, .official-note a { color: var(--cyan); }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.profile-grid a, .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(58, 218, 255, 0.17);
  border-radius: 999px;
  background: rgba(58, 218, 255, 0.055);
  color: #dff7ff;
  font-family: var(--mono);
  font-size: .76rem;
  text-decoration: none;
}
.profile-grid a:hover, .footer-social a:hover { border-color: rgba(58, 218, 255, 0.46); box-shadow: 0 0 20px rgba(58, 218, 255, 0.10); }
.official-note, .page-note { margin: 18px 0 0; color: var(--muted); line-height: 1.7; }
.btn.compact { width: fit-content; min-height: 44px; padding: 10px 16px; }
.footer.v3-footer { gap: 18px; align-items: flex-start; }
.footer-identity { display: grid; gap: 5px; }
.footer-identity small { color: var(--muted); font-size: .78rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 680px; }
.footer-social a { min-height: 34px; padding: 0 12px; }
.footer-links { max-width: 760px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(58, 218, 255, 0.72); outline-offset: 3px; }
.form-status.success { color: #9cf7c8; }
.form-status.error { color: #ffd36a; }
.legal-card .profile-grid { margin-top: 14px; }
.legal-card .fact-list { margin-top: 18px; }
.legal-card .btn { margin-top: 16px; }
.page-lead { color: var(--muted); font-size: 1.03rem; line-height: 1.75; max-width: 920px; }
.mini-list { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.mini-list li { padding: 14px 16px; border: 1px solid rgba(58,218,255,.12); border-radius: 18px; background: rgba(58,218,255,.035); color: var(--muted); }
.mini-list strong { color: var(--text); }
@media (max-width: 920px) { .official-layout, .page-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .fact-list div { grid-template-columns: 1fr; gap: 4px; } .profile-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { #particle-field { display: none; } *, *::before, *::after { transition-duration: .001ms !important; } }
