/* ==========================================================================
   OrgAios by PiPort — Enterprise AI Operating System
   Brand VI anchored on Co-Creation FDE Identity:
   Deep Space Navy (#071426 / #0A192E / #0D1D34)
   Brand Cobalt Blue (#1554F4 / #2B72FF / #6D9FFF)
   Kinetic Signal Orange (#FF792D)
   ========================================================================== */

:root {
  --bg-void: #050f1d;
  --bg-base: #071426;
  --bg-elevated: #0a192e;
  --bg-panel: #0d1d34;
  --bg-panel-2: #112442;
  --bg-input: #081527;

  --blue-brand: #1554f4;
  --blue-bright: #2a70ff;
  --blue-glow: #4c8bff;
  --blue-soft: #7aa7ff;

  --orange-brand: #ff792d;
  --orange-soft: #ff9c63;

  --ink-primary: #edf4ff;
  --ink-secondary: #bdd0ea;
  --ink-muted: #88a2c6;
  --ink-dim: #6682a8;

  --line: rgba(145, 180, 230, 0.16);
  --line-strong: rgba(92, 142, 218, 0.34);
  --line-blue: rgba(42, 112, 255, 0.52);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-card: 0 18px 48px rgba(2, 8, 20, 0.36);
  --shadow-blue: 0 10px 34px rgba(21, 84, 244, 0.32);

  --font-sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --shell-max: 1240px;
  --header-h: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 102px;
  color-scheme: dark;
  background: var(--bg-base);
}

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--blue-brand);
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid var(--blue-soft);
  outline-offset: 4px;
}

/* ---------- Layout Utilities ---------- */
.shell {
  width: min(var(--shell-max), calc(100% - 80px));
  margin-inline: auto;
}

.section {
  padding-block: 104px;
  position: relative;
}

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 18px;
}

.section-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--orange-brand);
  flex-shrink: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 56px;
  margin-bottom: 52px;
}

.section h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
}

.section h2 em,
.hero h1 em {
  font-style: normal;
  color: var(--blue-glow);
}

.heading-aside {
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.8;
}

/* ---------- Skip Link & Progress ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 300;
  background: var(--blue-brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-brand) 0%, #6ba0ff 65%, var(--orange-brand) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 120;
  pointer-events: none;
}

/* ---------- Auto-Detect Language Notice ---------- */
.lang-notice {
  background: linear-gradient(90deg, #0d2244 0%, #102a54 100%);
  border-bottom: 1px solid rgba(90, 146, 240, 0.34);
  font-size: 13px;
  color: var(--ink-secondary);
}

.lang-notice[hidden] {
  display: none;
}

.lang-notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 9px;
  flex-wrap: wrap;
}

.lang-notice-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-notice-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-brand);
  flex-shrink: 0;
}

.lang-notice-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-notice-btn {
  color: #8ab8ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lang-notice-btn:hover {
  color: #ffffff;
}

.lang-notice-close {
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1;
  padding: 2px 6px;
}

.lang-notice-close:hover {
  color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  min-height: 52px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--blue-brand);
  border: 1px solid #3c74ff;
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--blue-bright);
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(15, 36, 68, 0.45);
  border: 1px solid rgba(114, 150, 200, 0.46);
  color: var(--ink-primary);
  font-weight: 500;
}

.btn-outline:hover {
  background: rgba(21, 52, 98, 0.72);
  border-color: #8cb5f3;
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 13.5px;
  gap: 8px;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn:hover svg.arrow-diag {
  transform: translate(2px, -2px);
}

.btn:hover svg.arrow-right {
  transform: translateX(3px);
}

/* ---------- Header & Language Switcher ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 20, 38, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(56, 98, 154, 0.34);
}

.nav-shell {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(21, 84, 244, 0.28));
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.brand-name span {
  color: var(--blue-glow);
}

.brand-by {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #bfd0ea;
  padding-block: 8px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #ffffff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange-brand);
  transition: width 0.24s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(114, 150, 200, 0.32);
  background: rgba(14, 32, 60, 0.72);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-primary);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lang-trigger:hover {
  border-color: var(--blue-soft);
  background: rgba(20, 46, 86, 0.9);
}

.lang-trigger svg {
  width: 15px;
  height: 15px;
  color: var(--blue-soft);
}

.lang-trigger .chevron {
  width: 12px;
  height: 12px;
  color: var(--ink-muted);
  transition: transform 0.2s ease;
}

.lang-switcher.is-open .lang-trigger .chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 196px;
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(98, 146, 218, 0.4);
  background: #0d1f3a;
  box-shadow: 0 22px 54px rgba(2, 8, 22, 0.65);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 100;
}

.lang-switcher.is-open .lang-menu {
  display: flex;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border-radius: 6px;
  font-size: 13.5px;
  text-align: left;
  color: var(--ink-secondary);
  transition: background 0.16s ease, color 0.16s ease;
}

.lang-option:hover {
  background: rgba(21, 84, 244, 0.22);
  color: #ffffff;
}

.lang-option[aria-checked="true"] {
  background: rgba(21, 84, 244, 0.28);
  color: #ffffff;
  font-weight: 600;
}

.lang-option small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.lang-option[aria-checked="true"] small {
  color: var(--orange-soft);
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  color: var(--ink-primary);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 10, 22, 0.72);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: flex-end;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer-panel {
  width: min(380px, 90vw);
  height: 100%;
  background: #0b1b33;
  border-left: 1px solid var(--line-strong);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
}

html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ko"] h4 {
  word-break: keep-all;
}

.mobile-drawer-nav a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-drawer-nav a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--orange-brand);
}

.mobile-drawer-langs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-drawer-langs button {
  padding: 9px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(16, 36, 66, 0.6);
  font-size: 13px;
  text-align: left;
  color: var(--ink-secondary);
}

.mobile-drawer-langs button.is-selected {
  border-color: var(--blue-bright);
  background: rgba(21, 84, 244, 0.25);
  color: #fff;
  font-weight: 600;
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 62% at 77% 46%, rgba(18, 66, 152, 0.44) 0%, transparent 66%),
    radial-gradient(ellipse 40% 42% at 15% 15%, rgba(21, 84, 244, 0.14) 0%, transparent 65%),
    var(--bg-base);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 28px;
  min-height: 640px;
  padding-top: 38px;
  padding-bottom: 24px;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bad0f0;
  margin-bottom: 24px;
}

.hero-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-brand);
  box-shadow: 0 0 16px rgba(255, 121, 45, 0.85);
}

.hero h1 {
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero-description {
  font-size: 18px;
  line-height: 1.78;
  color: var(--ink-secondary);
  margin-top: 24px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.hero-equation .sep {
  color: var(--orange-brand);
  font-weight: 700;
}

/* Interactive 3D Brand Universe */
.brand-universe {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 1.04 / 1;
  margin-inline: auto;
  isolation: isolate;
}

.universe-grid {
  position: absolute;
  inset: 4% -6%;
  background-image:
    linear-gradient(rgba(38, 108, 214, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 108, 214, 0.14) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 24%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 24%, transparent 72%);
}

.universe-glow {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 84, 244, 0.34), rgba(255, 121, 45, 0.08) 65%, transparent 75%);
  filter: blur(42px);
}

.universe-space {
  position: absolute;
  inset: 0;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.45s ease-out;
}

.brand-sculpture {
  position: absolute;
  inset: 17% 15% 13%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: brandFloat 8s ease-in-out infinite;
  filter: drop-shadow(0 28px 44px rgba(0, 6, 20, 0.62));
}

.brand-sculpture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.orbital {
  position: absolute;
  left: 3%;
  top: 22%;
  width: 94%;
  height: 54%;
  border: 1px solid rgba(58, 124, 238, 0.48);
  border-radius: 50%;
  transform: rotate(-22deg);
  z-index: 3;
  pointer-events: none;
}

.orbital-two {
  transform: rotate(28deg);
  height: 46%;
  top: 27%;
  border-color: rgba(255, 121, 45, 0.36);
  z-index: 1;
}

.orbital-three {
  transform: rotate(-52deg);
  width: 84%;
  height: 60%;
  left: 8%;
  top: 20%;
  border-style: dashed;
  border-color: rgba(54, 114, 224, 0.34);
  z-index: 1;
}

.orbital .dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4292ff;
  box-shadow: 0 0 16px #4292ff;
  offset-path: border-box;
  animation: orbitTravel 18s linear infinite;
  top: 0;
  left: 0;
}

.orbital-two .dot {
  background: var(--orange-brand);
  box-shadow: 0 0 16px var(--orange-brand);
  animation-duration: 24s;
  animation-direction: reverse;
}

.orbital-three .dot {
  width: 6px;
  height: 6px;
  animation-duration: 30s;
}

.orbit-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(68, 132, 236, 0.56);
  background: rgba(8, 22, 43, 0.9);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: #dcebff;
  box-shadow: 0 10px 28px rgba(2, 8, 22, 0.45);
  animation: nodeFloat 7s ease-in-out infinite;
  white-space: nowrap;
}

.orbit-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-glow);
}

.orbit-chip.is-orange {
  border-color: rgba(255, 121, 45, 0.6);
}

.orbit-chip.is-orange i {
  background: var(--orange-brand);
}

.chip-1 { top: 4%; left: 3%; }
.chip-2 { top: 14%; right: -2%; animation-delay: -1.8s; }
.chip-3 { bottom: 6%; left: -1%; animation-delay: -3.6s; }
.chip-4 { bottom: 4%; right: 2%; animation-delay: -5.2s; }

.star-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.star-field circle {
  animation: twinkle 4.8s ease-in-out infinite alternate;
}

.hero-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px 22px;
  border-top: 1px solid rgba(86, 130, 194, 0.16);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

.hero-base-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-base-left i {
  width: 22px;
  height: 2px;
  background: var(--orange-brand);
  display: inline-block;
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.motion-toggle:hover {
  color: #ffffff;
  border-color: var(--line-strong);
}

/* ---------- Executive Path Rail ---------- */
.path-rail {
  padding-block: 28px;
  background: #091a31;
  border-block: 1px solid rgba(64, 114, 182, 0.34);
}

.rail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.rail-item {
  position: relative;
  display: block;
  padding: 6px 32px;
  transition: background 0.2s ease;
}

.rail-item:first-child {
  padding-left: 0;
}

.rail-item:last-child {
  padding-right: 0;
}

.rail-item + .rail-item {
  border-left: 1px solid rgba(90, 134, 198, 0.26);
}

.rail-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-glow);
}

.rail-item h3 {
  font-size: 20px;
  font-weight: 650;
  margin-top: 6px;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rail-item h3 svg {
  width: 18px;
  height: 18px;
  color: var(--orange-brand);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.rail-item:hover h3 svg {
  transform: translate(3px, -3px);
}

.rail-item p {
  font-size: 14px;
  line-height: 1.68;
  color: var(--ink-muted);
  margin-top: 6px;
}

/* ---------- Section 01: Why Enterprise AIOS + GEO Definition ---------- */
.geo-definition-box {
  position: relative;
  padding: 28px 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(58, 118, 224, 0.38);
  background: linear-gradient(135deg, rgba(17, 42, 82, 0.72), rgba(10, 25, 48, 0.92));
  margin-bottom: 42px;
  overflow: hidden;
}

.geo-definition-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue-brand), var(--orange-brand));
}

.geo-def-kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-soft);
  margin-bottom: 10px;
}

.geo-definition-box p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-primary);
}

.geo-definition-box strong {
  color: #ffffff;
}

.shifts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}

.shift-card {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #10233e 0%, #0b1a30 72%);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.shift-card:hover {
  border-color: var(--line-blue);
  transform: translateY(-4px);
}

.shift-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange-soft);
  letter-spacing: 0.1em;
}

.shift-card h3 {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.38;
  margin-top: 12px;
  color: #ffffff;
}

.shift-card p {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-secondary);
  margin-top: 12px;
}

/* Comparison Table (Semantic GEO Gold) */
.compare-wrap {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow-x: auto;
  background: var(--bg-panel);
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 14.5px;
  line-height: 1.7;
}

.compare-table thead th {
  background: #11284a;
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d3e5ff;
}

.compare-table thead th.col-aios {
  background: linear-gradient(90deg, rgba(21, 84, 244, 0.34), rgba(21, 84, 244, 0.18));
  color: #ffffff;
  border-left: 1px solid rgba(82, 140, 255, 0.35);
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--ink-primary);
  width: 22%;
  background: rgba(13, 30, 56, 0.55);
}

.compare-table tbody td {
  color: var(--ink-muted);
  width: 39%;
}

.compare-table tbody td.col-aios {
  color: #e4f0ff;
  background: rgba(21, 84, 244, 0.06);
  border-left: 1px solid rgba(82, 140, 255, 0.24);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- Section 02: Interactive 5-Layer Architecture ---------- */
.arch-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: start;
}

.arch-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arch-layer-btn {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(16, 35, 64, 0.85), rgba(10, 23, 42, 0.95));
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.arch-layer-btn:hover {
  border-color: rgba(102, 152, 240, 0.5);
  transform: translateX(4px);
}

.arch-layer-btn[aria-selected="true"] {
  border-color: var(--blue-bright);
  background: linear-gradient(135deg, rgba(21, 84, 244, 0.26), rgba(13, 33, 66, 0.96));
  box-shadow: 0 10px 30px rgba(21, 84, 244, 0.18);
}

.arch-layer-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-soft);
  background: rgba(21, 84, 244, 0.14);
  border: 1px solid rgba(74, 134, 255, 0.34);
}

.arch-layer-btn[aria-selected="true"] .arch-layer-code {
  background: var(--blue-brand);
  border-color: #6ea2ff;
  color: #ffffff;
}

.arch-layer-title {
  display: block;
  font-size: 16.5px;
  font-weight: 650;
  color: #ffffff;
  line-height: 1.35;
}

.arch-layer-sub {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 3px;
}

.arch-layer-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(136, 162, 198, 0.35);
}

.arch-layer-btn[aria-selected="true"] .arch-layer-indicator {
  background: var(--orange-brand);
  box-shadow: 0 0 12px var(--orange-brand);
}

.arch-inspector {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #102544 0%, #09182e 78%);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.arch-inspector::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-brand), var(--orange-brand));
}

.arch-panel[hidden] {
  display: none;
}

.arch-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.arch-panel-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--orange-soft);
  text-transform: uppercase;
}

.arch-panel h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.arch-panel-summary {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-secondary);
  margin-top: 14px;
}

.arch-components {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.arch-comp {
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(7, 20, 38, 0.65);
}

.arch-comp strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.arch-comp span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 4px;
  line-height: 1.55;
}

.arch-guardrail {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(21, 84, 244, 0.12);
  border-left: 3px solid var(--orange-brand);
}

.arch-guardrail small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--orange-soft);
  margin-bottom: 6px;
}

.arch-guardrail p {
  font-size: 14px;
  line-height: 1.7;
  color: #dbe9ff;
}

/* ---------- Section 03: Open Composable Stack & Reflex Simulator ---------- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.stack-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, #102441 0%, #0a192f 75%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.stack-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-glow), transparent);
}

.stack-card.is-accent::before {
  background: linear-gradient(90deg, transparent, var(--orange-brand), transparent);
}

.stack-card:hover {
  border-color: var(--line-blue);
  transform: translateY(-4px);
}

.stack-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue-soft);
  letter-spacing: 0.08em;
}

.stack-card.is-accent .stack-card-top {
  color: var(--orange-soft);
}

.stack-card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.stack-card p {
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--ink-secondary);
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(98, 146, 218, 0.32);
  background: rgba(9, 25, 49, 0.85);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: #dceaff;
}

.tech-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-glow);
}

.stack-card.is-accent .tech-pill::before {
  background: var(--orange-brand);
}

.stack-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* Live Workflow Reflex Simulator */
.reflex-block {
  margin-top: 64px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.reflex-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.reflex-header h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.28;
}

.reflex-header p {
  color: var(--ink-muted);
  font-size: 15px;
  max-width: 480px;
}

.scene-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--line-strong);
  overflow-x: auto;
  scrollbar-width: thin;
}

.scene-tab {
  position: relative;
  padding: 13px 18px 15px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.scene-tab:first-child {
  padding-left: 0;
}

.scene-tab:hover {
  color: var(--ink-primary);
}

.scene-tab[aria-selected="true"] {
  color: #ffffff;
  font-weight: 600;
}

.scene-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-brand), var(--orange-brand));
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.scene-tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.scene-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  padding-top: 34px;
  animation: panelFade 0.32s ease-out;
}

.scene-panel[hidden] {
  display: none;
}

.scene-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--blue-soft);
  text-transform: uppercase;
}

.scene-copy h4 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 14px;
  color: #ffffff;
}

.scene-copy p {
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--ink-secondary);
  margin-top: 14px;
}

.scene-metric {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 121, 45, 0.34);
  background: rgba(255, 121, 45, 0.08);
  font-size: 13.5px;
  color: #ffd8c2;
}

.scene-workflow {
  border: 1px solid rgba(58, 112, 198, 0.42);
  border-radius: var(--radius-md);
  padding: 24px;
  background: linear-gradient(145deg, #102543 0%, #08172b 80%);
  box-shadow: var(--shadow-card);
}

.wf-step {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.wf-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

.wf-step p {
  font-size: 14px;
  line-height: 1.72;
  color: #d0e1f8;
  margin-top: 6px;
}

.wf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-block: 18px;
}

.wf-split > div + div {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.wf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-glow);
  display: inline-block;
}

.wf-dot.is-orange {
  background: var(--orange-brand);
}

.wf-split p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin-top: 7px;
}

.wf-receipt {
  padding: 16px 18px;
  border-radius: 6px;
  background: rgba(21, 84, 244, 0.16);
  border-left: 3px solid var(--blue-glow);
}

.wf-receipt strong {
  display: block;
  font-size: 15.5px;
  font-weight: 650;
  color: #ffffff;
  margin-top: 5px;
}

.wf-receipt p {
  font-size: 12.5px;
  color: #b7cef0;
  margin-top: 5px;
}

/* ---------- Section 04: Co-Creation FDE & 90-Day Stage-Gate ---------- */
.tripartite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.tri-card {
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  position: relative;
}

.tri-card.is-fde {
  border-color: rgba(255, 121, 45, 0.45);
  background: linear-gradient(155deg, rgba(22, 48, 88, 0.92), rgba(11, 26, 48, 0.96));
}

.tri-role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

.tri-card.is-fde .tri-role {
  color: var(--orange-soft);
}

.tri-card h3 {
  font-size: 20px;
  font-weight: 680;
  margin-top: 10px;
  color: #ffffff;
}

.tri-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-secondary);
  margin-top: 10px;
}

/* 5-Gate Timeline */
.gates-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 22px;
  color: #ffffff;
}

.gates-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}

.gate-card {
  padding: 20px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(11, 27, 50, 0.85);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.gate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.gate-code {
  color: var(--orange-soft);
  font-weight: 700;
}

.gate-days {
  color: var(--ink-muted);
}

.gate-card h4 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  color: #ffffff;
}

.gate-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.gate-exit {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--blue-soft);
  line-height: 1.5;
}

/* Engagement Tiers */
.engagements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.engage-card {
  padding: 24px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #102442 0%, #0a182c 80%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.engage-card:hover {
  border-color: var(--line-blue);
  transform: translateY(-4px);
}

.engage-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--blue-soft);
  letter-spacing: 0.08em;
}

.engage-card h4 {
  font-size: 18px;
  font-weight: 680;
  line-height: 1.35;
  color: #ffffff;
}

.engage-card p {
  font-size: 13.8px;
  line-height: 1.72;
  color: var(--ink-secondary);
}

.engage-cta {
  margin-top: auto;
  padding-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--orange-soft);
}

.engage-cta svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.engage-cta:hover svg {
  transform: translate(2px, -2px);
}

.engage-cta:hover {
  color: #ffffff;
}

/* ---------- Section 05: Governance & Guardrails ---------- */
.guardrails-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.guard-card {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg-panel);
}

.guard-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue-soft);
}

.guard-card h3 {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.38;
  margin-top: 12px;
  color: #ffffff;
}

.guard-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-secondary);
  margin-top: 10px;
}

/* L1-L4 Permission Strip */
.perm-strip {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: rgba(12, 30, 56, 0.78);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.perm-item {
  position: relative;
}

.perm-item + .perm-item {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.perm-level {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-soft);
}

.perm-item strong {
  display: block;
  font-size: 15.5px;
  color: #ffffff;
  margin-top: 5px;
}

.perm-item p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin-top: 5px;
}

/* ---------- Section 06: FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 64px;
  align-items: start;
}

.faq-aside p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-secondary);
  margin-top: 16px;
}

.faq-geo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--blue-soft);
}

.faq-geo-link:hover {
  color: #ffffff;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.48;
  color: #ffffff;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-soft);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  border-color: var(--orange-brand);
  color: var(--orange-brand);
}

.faq-answer {
  padding-bottom: 22px;
  font-size: 15px;
  line-height: 1.82;
  color: var(--ink-secondary);
}

/* ---------- Section 07: Contact & Brief Composer ---------- */
.contact-section {
  background:
    radial-gradient(ellipse 52% 65% at 12% 35%, rgba(21, 84, 244, 0.22), transparent 62%),
    #09192e;
  border-top: 1px solid rgba(72, 122, 194, 0.34);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(30px, 3.2vw, 44px);
}

.contact-copy > p {
  font-size: 16px;
  line-height: 1.82;
  color: var(--ink-secondary);
  margin-top: 20px;
}

.email-card {
  margin-top: 30px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(66, 126, 240, 0.48);
  background: rgba(11, 29, 58, 0.85);
}

.email-card small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

.email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.email-address {
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.email-address:hover {
  color: var(--blue-soft);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(21, 84, 244, 0.18);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #dceaff;
  transition: background 0.2s, border-color 0.2s;
}

.copy-btn:hover {
  background: var(--blue-brand);
  border-color: #679cff;
  color: #fff;
}

.company-meta {
  margin-top: 26px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-muted);
}

.company-meta div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-meta strong {
  color: var(--ink-primary);
  font-weight: 600;
}

/* Consultation Brief Form */
.brief-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--bg-panel);
  box-shadow: var(--shadow-card);
}

.brief-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.brief-sub {
  font-size: 14px;
  color: var(--ink-muted);
  margin-top: 6px;
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label,
.field-legend {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 6px;
  border: 1px solid rgba(90, 134, 198, 0.34);
  background: var(--bg-input);
  color: var(--ink-primary);
  font-size: 14.5px;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-bright);
  outline: none;
  box-shadow: 0 0 0 3px rgba(21, 84, 244, 0.22);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5f7a9e;
}

.stack-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.stack-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(8, 21, 39, 0.85);
  font-size: 12.5px;
  color: var(--ink-secondary);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.stack-check input {
  width: 14px;
  height: 14px;
  accent-color: var(--blue-brand);
  margin: 0;
}

.stack-check:has(input:checked) {
  border-color: var(--blue-bright);
  background: rgba(21, 84, 244, 0.2);
  color: #ffffff;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.form-actions .btn {
  flex: 1 1 200px;
}

.form-feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13.5px;
  line-height: 1.6;
  background: rgba(21, 84, 244, 0.14);
  border: 1px solid rgba(74, 134, 255, 0.42);
  color: #dceaff;
}

.form-feedback[hidden] {
  display: none;
}

.form-footnote {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-dim);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-void);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.7fr));
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-muted);
  margin-top: 16px;
  max-width: 340px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d0e2fb;
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--ink-muted);
  transition: color 0.18s;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-disclaimer {
  padding-block: 18px;
  border-top: 1px solid rgba(90, 134, 198, 0.12);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-dim);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(90, 134, 198, 0.14);
  font-size: 12.5px;
  color: var(--ink-muted);
}

.footer-lang-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-lang-links a {
  color: var(--ink-muted);
}

.footer-lang-links a:hover {
  color: #ffffff;
}

/* ---------- Animations & Motion Control ---------- */
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.36s ease, transform 0.36s ease;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation-play-state: paused !important;
  transition: none !important;
}

.motion-paused .reveal {
  opacity: 1 !important;
  transform: none !important;
}

.motion-paused .universe-space {
  transform: none !important;
}

@keyframes brandFloat {
  0%, 100% { transform: translateY(0) rotate(-0.8deg); }
  50% { transform: translateY(-12px) rotate(0.8deg); }
}

@keyframes orbitTravel {
  to { offset-distance: 100%; }
}

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes twinkle {
  from { opacity: 0.25; }
  to { opacity: 0.92; }
}

@keyframes panelFade {
  from { opacity: 0.25; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1140px) {
  .shell {
    width: calc(100% - 56px);
  }
  .gates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .engagements-grid,
  .guardrails-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .perm-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .perm-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .nav-links {
    gap: 18px;
  }
}

@media (max-width: 960px) {
  .nav-links,
  .nav-cta-desktop {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .nav-controls {
    margin-left: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 32px;
  }
  .brand-universe {
    max-width: 440px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }
  .rail-grid,
  .shifts-grid,
  .arch-layout,
  .stack-grid,
  .scene-panel,
  .tripartite-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .rail-item,
  .rail-item:first-child,
  .rail-item:last-child {
    padding: 16px 0;
  }
  .rail-item + .rail-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .gates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .shell {
    width: calc(100% - 32px);
  }
  .section {
    padding-block: 68px;
  }
  .nav-shell {
    height: 70px;
  }
  .brand-mark {
    height: 30px;
  }
  .brand-name {
    font-size: 18px;
  }
  .hero h1 {
    font-size: clamp(32px, 8.6vw, 44px);
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .orbit-chip {
    font-size: 10.5px;
    padding: 6px 10px;
  }
  .arch-components,
  .wf-split,
  .gates-grid,
  .engagements-grid,
  .guardrails-grid,
  .perm-strip,
  .form-row,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .wf-split > div + div,
  .perm-item + .perm-item {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }
  .geo-definition-box,
  .arch-inspector,
  .brief-card {
    padding: 22px 18px;
  }
  .hero-base {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .motion-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .universe-space {
    transform: none !important;
  }
}
