:root {
  --navy-950: #03132d;
  --navy-900: #071d3f;
  --navy-800: #0a2d6b;
  --blue-600: #006cf5;
  --blue-500: #0d83ff;
  --cyan-400: #12b9f2;
  --ink: #071a39;
  --muted: #53647d;
  --line: #dce6f2;
  --soft: #f5f9ff;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(3, 19, 45, .12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--blue-600), var(--cyan-400)); border-radius: 999px; }
.display {
  margin: 18px 0 20px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 850;
}
.h1 { margin: 12px 0 18px; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.h2 { margin: 14px 0 18px; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; letter-spacing: -.035em; }
.h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.2; letter-spacing: -.015em; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 760px; }
.copy { color: var(--muted); font-size: 16px; }
.gradient-text { background: linear-gradient(100deg, var(--navy-800), var(--blue-600), var(--cyan-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(105deg, rgba(3,19,45,.985), rgba(5,31,70,.985));
  border-bottom: 1px solid rgba(58,157,255,.28);
  box-shadow: 0 10px 34px rgba(3,19,45,.14);
  backdrop-filter: blur(18px);
}
.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 264px;
  color: white;
}
.brand-mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 5px 13px rgba(0,108,245,.2));
}
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .075em;
  color: #ffffff;
}
.brand-copy span {
  margin-top: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .36em;
  color: #93bce9;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 750;
  color: #d9e8f8;
}
.nav-links > a:not(.nav-cta) {
  position: relative;
  padding: 28px 0 25px;
  transition: color .2s ease;
}
.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.nav-links > a:not(.nav-cta):hover,
.nav-links > a:not(.nav-cta).active { color: #ffffff; }
.nav-links > a:not(.nav-cta):hover::after,
.nav-links > a:not(.nav-cta).active::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 10px;
  color: white;
  border: 1px solid rgba(88,190,255,.55);
  background: linear-gradient(135deg, rgba(0,108,245,.9), rgba(18,185,242,.88));
  box-shadow: 0 8px 22px rgba(0,108,245,.2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,108,245,.3); }
.nav-cta.active-cta { box-shadow: 0 0 0 2px rgba(255,255,255,.12), 0 10px 28px rgba(0,108,245,.3); }
.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.nav-toggle span { display: block; width: 21px; height: 2px; margin: 5px auto; background: white; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); box-shadow: 0 12px 28px rgba(0,108,245,.24); }
.btn-secondary { color: var(--ink); background: white; border-color: #cddbeb; }
.btn-dark { color: white; background: var(--navy-950); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 22%, rgba(13,131,255,.13), transparent 34%),
    radial-gradient(circle at 70% 70%, rgba(18,185,242,.09), transparent 35%),
    linear-gradient(180deg, #fff 0%, #f9fbff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(13,131,255,.12);
  border-radius: 50%;
  right: -240px;
  top: 70px;
  box-shadow: 0 0 0 72px rgba(13,131,255,.025), 0 0 0 144px rgba(13,131,255,.018);
}
.hero-grid { min-height: 760px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 28px; display: flex; gap: 18px; flex-wrap: wrap; color: #64748b; font-size: 13px; font-weight: 700; }
.hero-note span::before { content: "•"; color: var(--blue-600); margin-right: 8px; }

.intelligence-orbit { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; }
.orbit-ring { position: absolute; inset: 8%; border: 1px solid rgba(13,131,255,.2); border-radius: 50%; animation: spin 28s linear infinite; }
.orbit-ring::before, .orbit-ring::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 24px rgba(13,131,255,.8); }
.orbit-ring::before { top: 8%; left: 20%; }
.orbit-ring::after { bottom: 15%; right: 10%; background: var(--cyan-400); }
@keyframes spin { to { transform: rotate(360deg); } }
.core-card { width: 88%; background: rgba(255,255,255,.86); backdrop-filter: blur(16px); border: 1px solid #dbe8f7; border-radius: 28px; box-shadow: var(--shadow); padding: 28px; }
.core-logo { width: 220px; margin: 4px auto 26px; }
.stack { display: grid; gap: 12px; }
.stack-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid #e0e9f4; border-radius: 14px; background: #fbfdff; }
.stack-num { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #fff; font-weight: 900; background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); }
.stack-title { font-weight: 800; }
.stack-sub { color: var(--muted); font-size: 13px; }
.stack-arrow { color: var(--blue-600); font-size: 20px; }

/* V0.4 primary-logo hero: one approved primary logo, no H/S/A card stack */
.primary-logo-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.logo-aura {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,131,255,.18) 0%, rgba(18,185,242,.07) 38%, rgba(255,255,255,0) 72%);
  filter: blur(2px);
}
.primary-logo-card {
  position: relative;
  width: min(100%, 590px);
  padding: 24px;
  border-radius: 30px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(205,219,235,.8);
  box-shadow: 0 28px 70px rgba(3,19,45,.13);
  backdrop-filter: blur(14px);
}
.primary-hero-logo {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.dark-section { color: #fff; background: radial-gradient(circle at 80% 20%, rgba(13,131,255,.26), transparent 34%), linear-gradient(140deg, #020e22, #061a3b 58%, #0a2d6b); }
.dark-section .lead, .dark-section .copy { color: #a9bdd8; }
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 46px; }
.pillar { position: relative; padding: 32px; min-height: 280px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-lg); background: rgba(255,255,255,.055); overflow: hidden; }
.pillar::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -80px; bottom: -80px; background: radial-gradient(circle, rgba(18,185,242,.24), transparent 70%); }
.pillar-kicker { color: #5fcaff; font-weight: 900; letter-spacing: .18em; font-size: 12px; }
.pillar h3 { font-size: 26px; margin-top: 14px; }
.pillar p { color: #b3c4da; }
.pillar ul { margin: 22px 0 0; padding: 0; list-style: none; color: #d8e5f4; font-size: 14px; }
.pillar li { margin: 7px 0; }
.pillar li::before { content: "→"; color: #42c5ff; margin-right: 8px; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.card { background: white; border: 1px solid #dfe8f2; border-radius: var(--radius-md); padding: 28px; box-shadow: 0 12px 34px rgba(6,28,64,.05); }
.card-number { color: var(--blue-600); font-weight: 900; font-size: 13px; letter-spacing: .18em; }
.card h3 { margin-top: 12px; }
.card p { color: var(--muted); }
.card .link { display: inline-flex; margin-top: 12px; color: var(--blue-600); font-weight: 800; font-size: 14px; }
.card.accent { background: linear-gradient(145deg, var(--navy-900), var(--navy-800)); color: white; border-color: transparent; }
.card.accent p { color: #bbcae0; }

.architecture { padding: 34px; border: 1px solid #dbe7f3; border-radius: 28px; background: linear-gradient(180deg,#fff,#f7fbff); box-shadow: var(--shadow); }
.arch-row { display: grid; grid-template-columns: 170px 1fr; gap: 26px; padding: 22px 0; align-items: center; border-top: 1px solid #e2eaf4; }
.arch-row:first-child { border-top: 0; }
.arch-label { font-size: 12px; letter-spacing: .18em; font-weight: 900; color: var(--blue-600); }
.arch-items { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 13px; border-radius: 999px; background: white; border: 1px solid #dce7f2; color: #31445e; font-weight: 750; font-size: 13px; }

.quote-band { padding: 62px 0; background: linear-gradient(100deg, #f5f9ff, #eef7ff); border-top: 1px solid #dfeaf5; border-bottom: 1px solid #dfeaf5; }
.quote { max-width: 970px; font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.quote strong { color: var(--blue-600); }

.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 42px; }
.product { padding: 26px; border-radius: 18px; border: 1px solid #dfe8f2; background: white; }
.product-tag { display: inline-flex; padding: 7px 10px; border-radius: 999px; color: var(--blue-600); background: #edf6ff; font-weight: 900; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.product h3 { margin: 16px 0 8px; }
.product p { color: var(--muted); font-size: 14px; }

.page-hero { padding: 108px 0 72px; background: radial-gradient(circle at 85% 20%, rgba(13,131,255,.12), transparent 30%), linear-gradient(#fff,#f8fbff); border-bottom: 1px solid #e3ebf4; }
.page-hero .lead { max-width: 820px; }
.breadcrumb { font-size: 13px; color: #718098; font-weight: 700; margin-bottom: 20px; }
.breadcrumb a { color: var(--blue-600); }

.timeline { position: relative; display: grid; gap: 18px; margin-top: 36px; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--blue-600), var(--cyan-400)); }
.timeline-item { display: grid; grid-template-columns: 42px 1fr; gap: 18px; position: relative; }
.timeline-dot { width: 18px; height: 18px; margin: 5px 0 0 12px; border: 4px solid white; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 2px var(--blue-600); z-index: 1; }
.timeline-content { padding: 0 0 24px; }
.timeline-content p { color: var(--muted); }

.contact-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: start; }
.contact-panel { padding: 34px; border-radius: 24px; background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); color: white; }
.contact-panel p { color: #bdd0e8; }
.contact-list { display: grid; gap: 14px; margin-top: 26px; }
.contact-list div { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 800; color: #354861; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #d9e4ef; border-radius: 12px; background: white; padding: 13px 14px; color: var(--ink); outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(13,131,255,.09); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { grid-column: 1 / -1; color: #718098; font-size: 12px; line-height: 1.55; }
.form-note strong { color: var(--navy-800); }
.status { display: none; grid-column: 1 / -1; padding: 13px 15px; border-radius: 10px; background: #edf6ff; color: var(--navy-800); font-weight: 700; line-height: 1.45; }
.status.show { display: block; }
.status.success { background: #ebfff6; color: #126b4d; border: 1px solid #bdebd8; }
.status.error { background: #fff1f1; color: #9a2f2f; border: 1px solid #f0caca; }
.status.sending { background: #edf6ff; color: var(--navy-800); border: 1px solid #cfe5fb; }
.contact-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.cta { border-radius: 30px; padding: 58px; color: white; background: radial-gradient(circle at 80% 30%, rgba(18,185,242,.35), transparent 32%), linear-gradient(125deg, var(--navy-950), var(--navy-800)); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; }
.cta p { color: #bed0e7; margin-bottom: 0; }

.site-footer { background: #020b1a; color: white; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,.7fr); gap: 42px; }
.footer-brand-block { max-width: 430px; }
.footer-brand { display: inline-flex; flex-direction: column; text-decoration: none; color: white; padding: 2px 0 0; }
.footer-brand-name { display: block; font-size: clamp(30px, 3vw, 38px); line-height: .92; font-weight: 900; letter-spacing: .035em; color: #ffffff; }
.footer-brand-sub { display: block; margin-top: 7px; font-size: 14px; line-height: 1; font-weight: 700; letter-spacing: .42em; color: #dce9f8; }
.footer-brand-tag { display: block; margin-top: 14px; padding-top: 12px; border-top: 2px solid #168dff; font-size: 10px; line-height: 1; font-weight: 800; letter-spacing: .17em; color: #7dcfff; white-space: nowrap; }
.footer-brand-tag b { color: #168dff; font-size: 14px; padding: 0 3px; }
.footer-copy { color: #9db1c9; max-width: 410px; font-size: 14px; line-height: 1.75; margin: 22px 0 0; }
.footer-title { font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: #68cfff; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; color: #bac9dc; font-size: 14px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #8298b4; font-size: 12px; }

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

@media (max-width: 980px) {
  .nav-links { position: fixed; inset: 76px 20px auto 20px; padding: 18px; border-radius: 18px; background: rgba(3,19,45,.985); box-shadow: 0 24px 70px rgba(3,19,45,.32); border: 1px solid rgba(88,190,255,.2); display: none; flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.nav-cta) { padding: 12px 10px; border-radius: 10px; }
  .nav-links > a:not(.nav-cta)::after { display: none; }
  .nav-links > a:not(.nav-cta):hover, .nav-links > a:not(.nav-cta).active { background: rgba(13,131,255,.12); }
  .nav-cta { margin-top: 8px; }
  .nav-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding: 90px 0; gap: 46px; }
  .intelligence-orbit { max-width: 620px; margin: 0 auto; width: 100%; }
  .pillars, .grid-3, .grid-4, .product-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 76px 0; }
  .brand-lockup { min-width: 0; gap: 9px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy span { font-size: 8px; letter-spacing: .28em; }
  .display { font-size: 48px; }
  .pillars, .grid-2, .grid-3, .grid-4, .product-grid { grid-template-columns: 1fr; }
  .core-card { width: 100%; padding: 20px; }
  .arch-row { grid-template-columns: 1fr; gap: 12px; }
  .form { grid-template-columns: 1fr; }
  .field.full, .form-note, .status { grid-column: auto; }
  .cta { grid-template-columns: 1fr; padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand-name { font-size: 30px; }
  .footer-brand-sub { font-size: 12px; letter-spacing: .34em; }
  .footer-brand-tag { white-space: normal; line-height: 1.5; }
}

.legal-copy { max-width: 880px; }
.legal-copy h2 { margin-top: 34px; font-size: 24px; }
.legal-copy p { color: var(--muted); line-height: 1.8; }
.legal-copy a { color: var(--blue-600); font-weight: 700; }

@media (max-width: 760px) {
  .primary-logo-stage { min-height: 390px; }
  .primary-logo-card { width: 100%; padding: 14px; border-radius: 22px; }
  .primary-hero-logo { border-radius: 14px; }
  .logo-aura { width: 340px; height: 340px; }
}
