/* ========================================================================
   Zentari AI — front-end styles
   Deep navy, cyan, violet, fox-orange. Glass, glows, constellation field.
   ======================================================================== */

:root {
  --navy-950: #04060f;
  --navy-900: #070b1a;
  --navy-850: #0a1024;
  --navy-800: #0e1630;
  --navy-700: #162044;
  --navy-600: #1e2b58;
  --cyan: #3ee0f7;
  --cyan-2: #7aeffc;
  --cyan-dim: rgba(62, 224, 247, 0.16);
  --violet: #8b6cff;
  --violet-2: #c4b5fd;
  --violet-dim: rgba(139, 108, 255, 0.18);
  --orange: #ff7a3c;
  --orange-2: #ff9a68;
  --orange-dim: rgba(255, 122, 60, 0.16);
  --fox: #e86a2d;
  --text: #eef2ff;
  --text-soft: #c5cee6;
  --muted: #8b97b8;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glass: rgba(12, 18, 42, 0.62);
  --glass-2: rgba(18, 26, 58, 0.78);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 76px;
  --font: "Outfit", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--navy-950);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color .2s var(--ease), opacity .2s var(--ease); }
a:hover { color: var(--cyan-2); }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 0.6em; color: #fff; }
h1 { font-size: clamp(2.5rem, 6vw, 5.2rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }

.skip-link {
  position: absolute; left: 1rem; top: -40px; z-index: 10000;
  background: var(--orange); color: #1a0a00; padding: 0.5rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Starfield sits behind everything */
.starfield {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(139, 108, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at 0% 20%, rgba(62, 224, 247, 0.1), transparent 55%),
    radial-gradient(800px 500px at 50% 120%, rgba(255, 122, 60, 0.08), transparent 50%),
    var(--navy-950);
}
.starfield canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.site { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

.wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}
.wrap-wide { width: min(1280px, calc(100% - 2.5rem)); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; letter-spacing: 0.01em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
  text-decoration: none !important;
}
.btn:active { transform: translateY(1px); }
.btn-orange {
  background: linear-gradient(180deg, #ff935c 0%, var(--orange) 55%, #e85d1c 100%);
  color: #1a0900 !important;
  box-shadow: 0 8px 28px rgba(255, 122, 60, 0.35), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-orange:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(255, 122, 60, 0.5); color: #1a0900 !important; }
.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--cyan); color: #fff !important; box-shadow: 0 0 0 1px rgba(62,224,247,0.25); }
.btn-cyan {
  background: linear-gradient(180deg, #7aeffc, var(--cyan));
  color: #042028 !important;
  box-shadow: 0 8px 28px rgba(62, 224, 247, 0.28);
}
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled {
  opacity: 0.55; cursor: not-allowed; box-shadow: none; transform: none !important;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(5, 8, 18, 0.72);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  width: min(1280px, calc(100% - 2rem));
}
.logo {
  display: flex; align-items: center; gap: 0.7rem;
  color: #fff !important; flex-shrink: 0;
}
.logo-mark { width: 42px; height: 42px; display: block; }
.logo-word { font-weight: 700; letter-spacing: 0.18em; font-size: 0.95rem; }
.logo:hover { color: #fff !important; opacity: 0.9; }

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 0.15rem; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav a {
  display: block; color: var(--text-soft); font-size: 0.9rem; font-weight: 500;
  padding: 0.55rem 0.75rem; border-radius: 999px;
}
.nav a:hover, .nav .current-menu-item > a, .nav .current-menu-ancestor > a { color: #fff; background: rgba(255,255,255,0.05); }
.nav .sub-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  background: var(--glass-2); backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong); border-radius: 16px;
  padding: 0.5rem; box-shadow: var(--shadow); flex-direction: column;
}
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { display: flex; }
.nav .sub-menu a { padding: 0.55rem 0.8rem; border-radius: 10px; white-space: nowrap; }
.nav .sub-menu .sub-menu { left: calc(100% + 4px); top: 0; }

.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,0.04); color: #fff; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; height: 2px; width: 18px; background: #fff; position: relative; border-radius: 2px;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: rgba(6, 10, 22, 0.96); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); padding: 0.8rem 1.25rem 1.25rem;
  }
  body.nav-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav .sub-menu { position: static; display: none; min-width: 0; box-shadow: none; background: rgba(255,255,255,0.03); margin: 0.2rem 0 0.4rem 0.6rem; }
  .nav li:hover > .sub-menu, .nav li.is-open > .sub-menu, .nav li:focus-within > .sub-menu { display: flex; }
  .header-cta .btn-ghost { display: none; }
}

/* Kickers, glass, cards */
.z-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--cyan); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 0.9rem;
}
.z-kicker::before {
  content: ""; width: 18px; height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}
.efficiency-line {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  color: var(--text-soft); font-size: 0.92rem; margin: 0 0 1.5rem;
}
.efficiency-line span { display: inline-flex; align-items: center; gap: 0.4rem; }
.efficiency-line span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
}
.section { padding: 5.5rem 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 2.4rem; }
.section-head p { color: var(--text-soft); font-size: 1.08rem; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center; overflow: hidden;
  padding: 3rem 0 4rem;
}
.hero-stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-particle {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); opacity: 0; filter: blur(0.4px);
  animation: drift 14s linear infinite;
}
.hero-particle.violet { background: var(--violet); }
.hero-inner {
  position: relative; z-index: 3;
  width: min(1280px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center;
}
.hero-copy { position: relative; z-index: 4; max-width: 640px; }
.hero-copy h1 {
  margin: 0 0 0.7rem;
  background: linear-gradient(180deg, #fff 30%, #c9d4ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 40px rgba(139,108,255,0.15);
}
.hero-subhead {
  font-size: clamp(1.05rem, 2vw, 1.4rem); color: var(--cyan-2);
  font-weight: 500; margin-bottom: 1rem; letter-spacing: -0.01em;
}
.hero-lede { color: var(--text-soft); font-size: 1.08rem; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.hero-scrim {
  position: absolute; inset: 0 auto 0 0; width: 58%; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(4,6,15,0.88) 0%, rgba(4,6,15,0.55) 55%, rgba(4,6,15,0) 100%);
}
.hero-stage {
  position: relative; z-index: 3; min-height: 520px;
  display: flex; align-items: flex-end; justify-content: center;
  transform-origin: 50% 70%;
}
.hero-glow {
  position: absolute; width: 70%; height: 70%; left: 15%; top: 15%;
  background: radial-gradient(circle, rgba(62,224,247,0.28), rgba(139,108,255,0.12) 45%, transparent 70%);
  filter: blur(18px); animation: glowPulse 4.5s ease-in-out infinite;
  pointer-events: none;
}
.hero-fox {
  position: relative; z-index: 2; width: min(100%, 640px);
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.55)) drop-shadow(0 0 28px rgba(62,224,247,0.18));
  animation: foxEnter 1.6s var(--ease) both;
  -webkit-mask-image: radial-gradient(ellipse 72% 74% at 50% 52%, #000 58%, transparent 82%);
  mask-image: radial-gradient(ellipse 72% 74% at 50% 52%, #000 58%, transparent 82%);
}
.hero-fragments { position: absolute; inset: 10% 8% 18% 8%; z-index: 3; pointer-events: none; }
.hero-frag {
  position: absolute; width: 10px; height: 10px;
  background: linear-gradient(135deg, #9aa4b8, #5b6478);
  clip-path: polygon(20% 0%, 100% 30%, 70% 100%, 0% 60%);
  opacity: 0; animation: fragBurst 1.8s var(--ease) forwards;
}
.hero-eye {
  position: absolute; width: 42px; height: 42px; z-index: 4; pointer-events: none;
  left: 54%; top: 32%;
  background: radial-gradient(circle, rgba(80,230,255,0.95) 0%, rgba(62,224,247,0.45) 28%, transparent 70%);
  filter: blur(2px); opacity: 0; animation: eyeOn 0.6s 1.3s forwards, eyeIdle 3.2s 2s ease-in-out infinite;
  mix-blend-mode: screen;
}
.hero-chest {
  position: absolute; z-index: 4; left: 57%; top: 52%; width: 70px; height: 80px; pointer-events: none;
}
.hero-chest .star { display: none; }
.hero-chest .star.on { animation: starOn 0.45s var(--ease) forwards; }
.hero-chest { display: none; }
.hero-chest svg { width: 100%; height: 100%; overflow: visible; }
.hero-chest path {
  fill: none; stroke: var(--cyan); stroke-width: 1.4;
  stroke-dasharray: 80; stroke-dashoffset: 80;
  filter: drop-shadow(0 0 6px var(--cyan));
}
.hero-chest.is-lit path { animation: drawZ 1s 0.8s var(--ease) forwards; }

@keyframes foxEnter {
  0% { opacity: 0; transform: scale(0.84) translateY(28px); filter: drop-shadow(0 0 0 transparent); }
  55% { opacity: 1; transform: scale(1.03) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes fragBurst {
  0% { opacity: 0; transform: translate(0,0) rotate(0) scale(0.4); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(0.8); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes eyeOn { to { opacity: 0.9; } }
@keyframes eyeIdle {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}
@keyframes starOn { to { opacity: 1; transform: scale(1); } }
@keyframes drawZ { to { stroke-dashoffset: 0; } }
@keyframes drift {
  0% { transform: translate3d(0, 20px, 0); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { transform: translate3d(var(--tx, 40px), -110vh, 0); opacity: 0; }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in { animation: reveal 0.8s var(--ease) forwards; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-fox, .hero-eye, .hero-glow, .hero-chest path, .hero-chest .star, .hero-frag, .hero-particle { animation: none !important; }
  .hero-fox { opacity: 1; transform: none; }
  .hero-eye, .hero-chest .star { opacity: 0.7; }
  .hero-chest path { stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; }
  .hero-particles { display: none; }
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 2rem 0 3rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .hero-scrim { width: 100%; background: linear-gradient(180deg, rgba(4,6,15,0.55) 0%, rgba(4,6,15,0.2) 40%, rgba(4,6,15,0.75) 100%); }
  .hero-copy { order: 1; }
  .hero-stage { order: 0; min-height: 250px; }
  .hero-fox { width: min(100%, 320px); margin-inline: auto; }
  .hero-cta { margin-bottom: 0.5rem; }
  .hero { padding-bottom: 2.2rem; }
}

/* Positioning bar */
.bar {
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  padding: 1.15rem 0;
  text-align: center; color: var(--text-soft);
  letter-spacing: 0.01em;
}

/* Two practices */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.split-card {
  padding: 2.2rem 2rem; min-height: 260px; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s;
}
.split-card:hover { transform: translateY(-4px); border-color: rgba(62,224,247,0.35); }
.split-card.violet-edge { box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06), -1px 0 0 0 rgba(139,108,255,0.5); }
.split-card.cyan-edge { box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06), -1px 0 0 0 rgba(62,224,247,0.5); }
.split-card p { color: var(--text-soft); }
.split-card .link { font-weight: 600; color: var(--cyan); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* Constellation / cards grids */
.nodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.node {
  padding: 1.4rem 1.3rem; transition: transform .25s var(--ease), border-color .25s;
}
.node:hover { transform: translateY(-3px); border-color: rgba(139,108,255,0.45); }
.node h3 { margin-bottom: 0.4rem; }
.node p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 860px) { .nodes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .nodes { grid-template-columns: 1fr; } }

.ai-modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ai-mod { padding: 1.5rem 1.25rem; min-height: 200px; }
.ai-mod .icon-dot {
  width: 10px; height: 10px; border-radius: 50%; margin-bottom: 1rem;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
}
.ai-mod:nth-child(2n) .icon-dot { background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.ai-mod p { color: var(--muted); font-size: 0.92rem; margin: 0; }
@media (max-width: 980px) { .ai-modules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ai-modules { grid-template-columns: 1fr; } }

/* Bands */
.band {
  padding: 4rem 0; position: relative; overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(139,108,255,0.1), rgba(10,16,36,0.4) 45%, rgba(62,224,247,0.06));
}
.band-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; }
.band-grid img { justify-self: end; width: min(100%, 380px); filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5)); -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 58%, transparent 82%); mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 58%, transparent 82%); }
@media (max-width: 800px) { .band-grid { grid-template-columns: 1fr; } .band-grid img { justify-self: center; } }

/* Real estate spotlight */
.spotlight {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
  padding: 2.5rem; overflow: hidden;
}
.spotlight ul { color: var(--text-soft); }
.spotlight li { margin-bottom: 0.45rem; }
@media (max-width: 800px) { .spotlight { grid-template-columns: 1fr; padding: 1.6rem; } }

/* Method */
.path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; counter-reset: step; }
.path-step { padding: 1.3rem 1.1rem; position: relative; }
.path-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; color: var(--cyan); font-weight: 700; letter-spacing: 0.08em;
  font-size: 0.8rem; margin-bottom: 0.6rem;
}
.path-step p { color: var(--muted); font-size: 0.9rem; margin: 0; }
@media (max-width: 900px) { .path { grid-template-columns: 1fr; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: stretch; }
.plan {
  padding: 1.6rem 1.35rem 1.4rem; display: flex; flex-direction: column; position: relative;
  transition: transform .25s var(--ease);
}
.plan:hover { transform: translateY(-5px); }
.plan.featured {
  border-color: rgba(255, 122, 60, 0.45);
  box-shadow: 0 0 0 1px rgba(255,122,60,0.2), 0 24px 60px rgba(255,122,60,0.12);
}
.plan.featured::after {
  content: "Most complete"; position: absolute; top: 0.9rem; right: 0.9rem;
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); font-weight: 600;
}
.plan-name { font-size: 1.15rem; margin-bottom: 0.25rem; }
.plan-price { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin: 0.3rem 0 0.8rem; }
.plan-price span { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.plan-price.free { color: var(--cyan); }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.3rem; color: var(--text-soft); font-size: 0.9rem; flex: 1; }
.plan li { padding: 0.35rem 0 0.35rem 1.15rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
@media (max-width: 1080px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }

.compare { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin-top: 2rem; }
.compare th, .compare td { border-bottom: 1px solid var(--line); padding: 0.7rem 0.6rem; text-align: left; }
.compare th { color: #fff; font-weight: 600; }
.compare td { color: var(--text-soft); }
.compare .yes { color: var(--cyan); font-weight: 700; }
.compare caption { caption-side: top; text-align: left; color: var(--muted); margin-bottom: 0.6rem; }

/* Ad platform strip */
.platform-strip { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.platform-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.9rem; border-radius: 999px; font-size: 0.86rem; font-weight: 500; color: var(--text);
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  transition: border-color .2s, transform .2s var(--ease), background .2s;
}
.platform-chip:hover { border-color: var(--cyan); color: #fff; transform: translateY(-2px); background: var(--cyan-dim); }
.platform-chip i {
  width: 18px; height: 18px; border-radius: 5px; display: inline-block;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  opacity: 0.9;
}

/* Industries teaser */
.industries-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; }
.ind-card { padding: 1.15rem 1rem; text-align: left; color: var(--text) !important; min-height: 96px; }
.ind-card:hover { border-color: var(--violet); color: #fff !important; }
.ind-card strong { display: block; margin-bottom: 0.25rem; }
.ind-card span { color: var(--muted); font-size: 0.85rem; }
@media (max-width: 900px) { .industries-grid { grid-template-columns: 1fr 1fr; } }

/* Report list */
.report-list { display: grid; gap: 0.7rem; }
.report-item { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; color: var(--text-soft); }

/* CTA close */
.cta-close { text-align: center; padding: 6rem 0; position: relative; }
.cta-close h2 { margin-bottom: 0.5rem; }
.cta-close p { color: var(--text-soft); }
.cta-close .btn { margin-top: 0.6rem; }

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.portfolio-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform .25s var(--ease), border-color .25s;
}
.portfolio-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139,108,255,0.45);
  color: inherit;
}
.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: #0b1020;
}
.portfolio-card .portfolio-body { padding: 1.15rem 1.2rem 1.3rem; }
.portfolio-card h3 { margin: 0 0 0.4rem; }
.portfolio-card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 0.7rem; }
.portfolio-card .link { font-weight: 600; color: var(--cyan); }
@media (max-width: 860px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 6, 15, 0.85);
  padding: 3.5rem 0 1.5rem; margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 2fr; gap: 2.5rem; }
.footer-brand p { color: var(--muted); max-width: 28em; }
.footer-mail { color: var(--cyan); font-weight: 600; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-cols h4 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols a { color: var(--text-soft); font-size: 0.92rem; display: inline-block; padding: 0.2rem 0; }
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.85rem;
}
.footer-bottom a { color: var(--muted); }
@media (max-width: 800px) {
  .footer-grid, .footer-cols { grid-template-columns: 1fr; }
}

/* Inner pages */
.page-hero { padding: 4.2rem 0 2.2rem; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { font-size: 1.15rem; color: var(--text-soft); max-width: 40em; }
.page-content { padding: 0 0 5rem; }
.page-content .wrap { max-width: 900px; }
.page-content.wide .wrap { max-width: 1180px; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose p, .prose li { color: var(--text-soft); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.notice {
  padding: 1rem 1.15rem; border-radius: 14px; border: 1px solid rgba(255,122,60,0.35);
  background: rgba(255,122,60,0.08); color: var(--text-soft); margin: 1.2rem 0;
}
.notice strong { color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.form label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-soft); margin: 0.85rem 0 0.35rem; }
.form input, .form select, .form textarea {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  color: #fff; border-radius: 12px; padding: 0.75rem 0.9rem; outline: none;
}
.form input:focus, .form select, .form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(62,224,247,0.15); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-success { padding: 1rem 1.1rem; border-radius: 12px; background: var(--cyan-dim); border: 1px solid rgba(62,224,247,0.4); color: #d7fbff; margin-bottom: 1rem; }
.form-error { padding: 1rem 1.1rem; border-radius: 12px; background: rgba(255,80,80,0.1); border: 1px solid rgba(255,80,80,0.35); color: #ffd0d0; margin-bottom: 1rem; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.post-card { overflow: hidden; display: flex; flex-direction: column; color: inherit !important; }
.post-card img { width: 100%; height: 180px; object-fit: cover; background: var(--navy-800); }
.post-card .body { padding: 1.15rem 1.15rem 1.3rem; }
.post-card h3 { font-size: 1.15rem; }
.post-meta { color: var(--muted); font-size: 0.82rem; display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } }

.single-post { max-width: 760px; margin: 0 auto; padding: 3rem 0 4rem; }
.single-post .featured { border-radius: var(--radius); overflow: hidden; margin: 1.4rem 0 1.8rem; }
.single-post .featured img { width: 100%; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.author-box, .related { margin-top: 2.5rem; padding: 1.3rem 1.4rem; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 0.8rem; }
.search-form { display: flex; gap: 0.5rem; margin: 1rem 0 2rem; }
.search-form input { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: #fff; border-radius: 999px; padding: 0.75rem 1rem; }

/* Portal */
.portal-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - var(--header-h)); }
.portal-side {
  border-right: 1px solid var(--line); padding: 1.5rem 1rem;
  background: rgba(7, 11, 26, 0.8);
}
.portal-side a { display: block; color: var(--text-soft); padding: 0.55rem 0.8rem; border-radius: 10px; }
.portal-side a:hover, .portal-side a.is-active { background: rgba(255,255,255,0.05); color: #fff; }
.portal-main { padding: 2rem 1.5rem 3rem; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin: 1.2rem 0 2rem; }
.kpi { padding: 1.1rem 1.15rem; }
.kpi b { display: block; font-size: 1.6rem; letter-spacing: -0.03em; }
.kpi span { color: var(--muted); font-size: 0.8rem; }
.timeline { border-left: 1px solid var(--line); margin-left: 0.5rem; padding-left: 1.2rem; }
.timeline li { margin: 0 0 1rem; color: var(--text-soft); list-style: none; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -1.45rem; top: 0.45rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
}
@media (max-width: 860px) {
  .portal-shell { grid-template-columns: 1fr; }
  .portal-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}

.login-card { max-width: 440px; margin: 4rem auto; padding: 2rem 1.6rem; }
.login-card h1 { font-size: 2rem; }

/* Legal typography stays readable; draft notes are HTML comments only */
.legal { padding: 3rem 0 5rem; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: 2.4rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--text-soft); }

/* 404 */
.page-404 { text-align: center; padding: 7rem 1rem; }
.page-404 h1 { font-size: 4rem; }

/* Utility */
.muted { color: var(--muted); }
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Onboarding wizard */
.wizard { max-width: 760px; margin: 0 auto; }
.wizard-progress { display: flex; gap: 0.4rem; margin: 0 0 1.8rem; }
.wizard-progress span {
  flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.1);
}
.wizard-progress span.is-done, .wizard-progress span.is-current {
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}
.wizard-step-label { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.6rem; }
.wizard-pane { display: none; }
.wizard-pane.is-active { display: block; animation: reveal 0.45s var(--ease); }
.wizard.no-js .wizard-pane { display: block; }
.wizard-nav { display: flex; justify-content: space-between; gap: 0.8rem; margin-top: 1.6rem; }
.access-options { display: grid; gap: 0.8rem; }
.access-option {
  display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start;
  padding: 1rem 1.1rem; cursor: pointer;
}
.access-option input { margin-top: 0.3rem; }
.access-option.is-preferred { border-color: rgba(62,224,247,0.4); }
.tips { margin-top: 1rem; padding: 1rem 1.15rem; color: var(--text-soft); font-size: 0.92rem; }
.tips h3 { font-size: 1rem; }
.check-grid, .interest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; margin: 0.6rem 0 1rem; }
.check-grid label, .interest-grid label { color: var(--text-soft); font-weight: 500; display: flex; gap: 0.5rem; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 1rem; margin-bottom: 0.5rem;
}
.checklist .mark {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.checklist li.is-done .mark {
  background: var(--cyan); border-color: var(--cyan); color: #042028; font-weight: 700; font-size: 0.8rem;
}
@media (max-width: 600px) { .check-grid, .interest-grid { grid-template-columns: 1fr; } }
