/* ==========================================================================
   ZION IT CORP — Website styles (Brand v4.0 "The Blueprint")
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --midnight: #0B1220;
  --ink: #142034;
  --ink-2: #101A2C;
  --slate: #435169;
  --cobalt: #2563EB;
  --cobalt-hover: #1D4FD7;
  --silver: #DCE5F2;
  --sky: #8FB1FF;
  --signal: #38BDF8;
  --mist: #F4F7FB;
  --line: #E2E8F2;
  --line-dark: #22304A;
  --muted-dark: #9AA8BF;
  --white: #FFFFFF;

  --font: "Inter", system-ui, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--cobalt); color: var(--white); }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--cobalt); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Type helpers ---------- */
.label {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate);
  display: inline-flex; align-items: center; gap: 10px;
}
.label-signal { color: var(--signal); }
.mono-index { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; color: var(--cobalt); font-weight: 500; }
.muted { color: #7A879C; }
.dark .muted, .hero .muted { color: var(--muted-dark); }
.gradient-text {
  background: linear-gradient(100deg, var(--sky) 0%, var(--signal) 55%, #A5F3FC 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

h1 { font-size: clamp(40px, 4.9vw, 70px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; }
h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.015em; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; text-decoration: none; letter-spacing: -.005em;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn-primary { background: var(--cobalt); color: var(--white); box-shadow: 0 8px 30px -10px rgba(37, 99, 235, .7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: var(--cobalt-hover); transform: translateY(-1px); box-shadow: 0 14px 40px -12px rgba(37, 99, 235, .9), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-ghost { color: var(--silver); border-color: rgba(220, 229, 242, .22); background: rgba(220, 229, 242, .04); }
.btn-ghost:hover { border-color: rgba(220, 229, 242, .5); background: rgba(220, 229, 242, .08); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 18, 32, .78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: rgba(220, 229, 242, .08);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.brand img { width: 220px; height: auto; }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { color: var(--muted-dark); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--white); }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--midnight); color: var(--silver);
  padding: calc(var(--header-h) + 72px) 0 96px;
  min-height: min(100vh, 980px);
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.grid-layer {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(143, 177, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 177, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 85%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.glow-a { width: 720px; height: 720px; right: -180px; top: -120px; background: radial-gradient(circle, rgba(37, 99, 235, .55), transparent 65%); }
.glow-b { width: 520px; height: 520px; right: 18%; bottom: -260px; background: radial-gradient(circle, rgba(56, 189, 248, .28), transparent 65%); }

.hero-inner { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); margin: 22px 0 26px; }
.hero-lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--muted-dark); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-facts { display: flex; gap: 40px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero-facts dt { font-size: 30px; font-weight: 600; color: var(--white); letter-spacing: -.03em; line-height: 1.1; }
.hero-facts dd { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); margin-top: 6px; }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(56, 189, 248, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(56,189,248,.55); } 70% { box-shadow: 0 0 0 10px rgba(56,189,248,0); } 100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); } }

/* Hero visual */
.hero-visual { position: relative; }
.visual-frame {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 32, 52, .82), rgba(11, 18, 32, .9));
  border: 1px solid rgba(143, 177, 255, .16);
  box-shadow: 0 40px 120px -40px rgba(37, 99, 235, .55), 0 0 0 1px rgba(255,255,255,.02) inset;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transition: transform .8s var(--ease);
}
.hero-visual:hover .visual-frame { transform: perspective(1400px) rotateY(0) rotateX(0); }
.visual-frame::before { /* top highlight */
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143,177,255,.6), transparent);
}
.visual-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(143,177,255,.1); }
.visual-bar span { width: 10px; height: 10px; border-radius: 50%; background: #26344D; }
.visual-bar code { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted-dark); }
.blueprint-svg { width: 100%; height: auto; padding: 14px 10px 6px; }
.visual-caption { margin-top: 18px; font-size: 14px; color: var(--muted-dark); display: flex; gap: 12px; align-items: center; }
.visual-caption .label { color: var(--signal); font-size: 11px; padding: 3px 8px; border: 1px solid rgba(56,189,248,.35); border-radius: 999px; }

.svg-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.4px; fill: var(--signal); }
.svg-label.dim { fill: var(--muted-dark); }
.svg-text { font-family: var(--font); font-size: 12.5px; fill: var(--silver); font-weight: 500; }
.svg-mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .8px; fill: var(--silver); font-weight: 500; }
.svg-mono.signal { fill: var(--signal); }
.svg-dim { font-family: var(--font); font-size: 11px; fill: var(--muted-dark); }

.flow { stroke-dasharray: 6 220; stroke-dashoffset: 226; stroke-width: 2; stroke-linecap: round; animation: flow 3.6s linear infinite; }
.f2 { animation-delay: .7s; } .f3 { animation-delay: 1.4s; } .f4 { animation-delay: 2.1s; } .f5 { animation-delay: 2.8s; }
@keyframes flow { to { stroke-dashoffset: 0; } }
.road-progress { stroke-dasharray: 520; stroke-dashoffset: 520; animation: road 2.4s .6s var(--ease) forwards; }
@keyframes road { to { stroke-dashoffset: 30; } }
.ms-final { transform-origin: 520px 388px; animation: msPulse 2.8s 3s ease-in-out infinite; }
@keyframes msPulse { 50% { transform: scale(1.18); } }
.bars rect { transform-origin: bottom; transform-box: fill-box; animation: grow 1.1s var(--ease) both; }
.bars rect:nth-child(2) { animation-delay: .1s; } .bars rect:nth-child(3) { animation-delay: .2s; } .bars rect:nth-child(4) { animation-delay: .3s; } .bars rect:nth-child(5) { animation-delay: .4s; }
@keyframes grow { from { transform: scaleY(0); } }

/* ---------- Answer block ---------- */
.answer { background: var(--midnight); color: var(--silver); padding: 0 0 96px; }
.answer-inner { border-top: 1px solid var(--line-dark); padding-top: 48px; display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.answer h2.label { font-size: 12.5px; letter-spacing: .1em; line-height: 1.6; color: var(--signal); align-self: start; }
.answer-text { font-size: clamp(20px, 2vw, 27px); line-height: 1.5; letter-spacing: -.015em; color: var(--muted-dark); max-width: 46em; }
.answer-text strong { color: var(--white); font-weight: 600; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(88px, 11vw, 150px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head h2 { margin-top: 18px; }
.section-lead { margin-top: 22px; font-size: 19px; color: var(--slate); max-width: 38em; }
.section-lead a { color: var(--cobalt); text-underline-offset: 3px; }
.dark { background: var(--midnight); color: var(--silver); overflow: hidden; isolation: isolate; }
.dark h2, .dark h3 { color: var(--white); }
.dark .section-lead { color: var(--muted-dark); }
.dark .grid-layer { z-index: -1; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 80%); }

/* Problem */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.problem-card { background: var(--white); padding: 40px 34px 44px; transition: background-color .3s; }
.problem-card:hover { background: var(--mist); }
.problem-card h3 { margin: 28px 0 12px; }
.problem-card p { color: var(--slate); }

/* Services */
.services { background: var(--mist); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: 40px; display: flex; flex-direction: column;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pillar:hover { border-color: rgba(37, 99, 235, .35); transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(20, 32, 52, .25); }
.spotlight::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(37, 99, 235, .08), transparent 60%);
}
.spotlight:hover::after { opacity: 1; }
.pillar-top { display: flex; justify-content: space-between; align-items: center; }
.pillar-top svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(37,99,235,.08); stroke: var(--cobalt); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -.025em; margin: 32px 0 12px; }
.pillar-q { color: var(--slate); font-size: 17.5px; margin-bottom: 28px; }
.ticks { display: grid; gap: 12px; margin-bottom: 32px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 6px;
  background: rgba(37,99,235,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pillar-out { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.pillar-out .label { font-size: 11px; }

.combined {
  margin-top: 24px; position: relative; overflow: hidden; isolation: isolate;
  border-radius: 24px; padding: 44px 48px;
  background: var(--midnight); color: var(--silver);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.combined::before {
  content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; right: -150px; top: -300px;
  background: radial-gradient(circle, rgba(37,99,235,.55), transparent 65%); filter: blur(40px);
}
.combined .mono-index { color: var(--signal); }
.combined h3 { color: var(--white); font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -.025em; margin: 12px 0 10px; }
.combined p { color: var(--muted-dark); max-width: 40em; }
.combined .btn { flex-shrink: 0; }

/* Blueprint tabs */
.tabs { border: 1px solid var(--line-dark); border-radius: 24px; background: rgba(16, 26, 44, .7); backdrop-filter: blur(8px); overflow: hidden; }
.tab-list { display: flex; gap: 6px; padding: 10px; border-bottom: 1px solid var(--line-dark); overflow-x: auto; }
.tab-list button {
  flex: 1 0 auto; border: 0; background: transparent; color: var(--muted-dark);
  padding: 14px 20px; border-radius: 14px; cursor: pointer; font-weight: 600; font-size: 15.5px;
  transition: background-color .25s, color .25s;
}
.tab-list button:hover { color: var(--white); }
.tab-list button[aria-selected="true"] { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 1px rgba(143,177,255,.2), 0 0 24px -8px rgba(56,189,248,.5); }
.tab-panel { padding: 16px 28px 28px; animation: fadeIn .45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }
.toc { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.toc li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.toc li > span { font-family: var(--mono); font-size: 12.5px; color: var(--signal); padding-top: 4px; }
.toc h3 { font-size: 18px; margin-bottom: 4px; }
.toc p { color: var(--muted-dark); font-size: 15.5px; }
.links-table { display: grid; }
.lt-row { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line-dark); color: var(--white); font-weight: 500; }
.lt-head { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--signal); font-weight: 500; }
.lt-arrow { text-align: center; font-family: var(--mono); color: var(--signal); font-size: 20px; }
.fine { margin-top: 20px; font-size: 14px; color: var(--muted-dark); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: linear-gradient(90deg, var(--cobalt), var(--signal) 60%, var(--line)); }
.step { position: relative; padding-top: 80px; }
.step-num {
  position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-family: var(--mono); font-weight: 500; font-size: 15px;
  color: var(--cobalt); background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 10px 30px -14px rgba(37,99,235,.5);
}
.step h3 { margin-bottom: 10px; font-size: 24px; }
.step p { color: var(--slate); }
.step-out { display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; color: var(--ink); background: var(--mist); border: 1px solid var(--line); padding: 6px 10px; border-radius: 8px; }

/* Audience */
.audience { background: var(--mist); }
.audience-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.audience .section-head { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }
.audience-list { display: grid; gap: 16px; }
.aud { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 34px; border-left: 3px solid var(--cobalt); }
.aud h3 { margin-bottom: 8px; }
.aud p { color: var(--slate); }

/* FAQ */
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: 19px; transition: color .2s; }
.qa summary:hover h3 { color: var(--cobalt); }
.qa-icon { position: relative; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .25s, border-color .25s, transform .35s var(--ease); }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .35s var(--ease), background-color .25s; }
.qa-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-icon { background: var(--cobalt); border-color: var(--cobalt); transform: rotate(180deg); }
.qa[open] .qa-icon::before, .qa[open] .qa-icon::after { background: var(--white); }
.qa[open] .qa-icon::after { transform: translate(-50%, -50%) rotate(0); }
.qa p { padding: 0 56px 28px 0; color: var(--slate); font-size: 17px; }

/* Contact */
.glow-c { width: 800px; height: 800px; left: -260px; bottom: -420px; z-index: -1; background: radial-gradient(circle, rgba(37,99,235,.45), transparent 65%); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: stretch; }
.contact-inner > *, .form-row > * { min-width: 0; }
.contact h2 { margin-top: 18px; }
.contact-mail { display: inline-flex; gap: 10px; margin-top: 36px; font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.02em; color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(143,177,255,.4); padding-bottom: 6px; transition: border-color .2s, color .2s; }
.contact-mail:hover { color: var(--sky); border-color: var(--sky); }

.contact-highlights {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15.5px;
  color: var(--silver);
  line-height: 1.55;
}
.highlight-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

.contact-card {
  background: linear-gradient(180deg, rgba(20, 32, 54, 0.85) 0%, rgba(12, 20, 34, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 28px;
  padding: 44px 40px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.contact-card-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--signal);
  align-self: flex-start;
}
.contact-card h3 {
  font-size: clamp(26px, 2.3vw, 32px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin: 0;
}
.contact-card p {
  color: var(--silver);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}
.contact-card-actions {
  margin-top: 4px;
}
.contact-card-actions .btn {
  width: 100%;
  padding: 16px 28px;
  font-size: 16.5px;
  font-weight: 600;
  border-radius: 14px;
  justify-content: center;
  box-shadow: 0 12px 28px -4px rgba(37, 99, 235, 0.55), 0 0 20px rgba(56, 189, 248, 0.3);
}
.contact-card-chips {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-chip-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  color: var(--muted-dark);
}
.contact-card .chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-card .chat-chip {
  padding: 9px 16px;
  font-size: 13.5px;
  border-radius: 16px;
  background: rgba(20, 32, 54, 0.9);
  border: 1px solid #2B3C59;
  color: var(--signal);
  transition: all 0.2s var(--ease);
}
.contact-card .chat-chip:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--signal);
  color: var(--white);
  transform: translateY(-2px);
}
.contact-card-direct {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(43, 60, 89, 0.7);
  font-size: 14px;
  color: var(--muted-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.contact-card-direct a {
  color: var(--signal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer { background: #070C16; color: var(--muted-dark); padding: 72px 0 32px; font-size: 15px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { width: 220px; height: auto; margin-bottom: 16px; }
.footer-nav { display: flex; gap: 72px; }
.footer-nav div { display: grid; gap: 10px; align-content: start; }
.footer-nav h2.label { color: var(--silver); font-size: 11.5px; margin-bottom: 6px; }
.footer-nav a { text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--white); }
.disclaimer { margin: 28px 0; font-size: 13px; max-width: 62em; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; flex-wrap: wrap; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .visual-frame { transform: none; }
  .hero { min-height: auto; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before { display: none; }
  .audience-inner, .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .audience .section-head, .faq .section-head { position: static; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .menu-toggle {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(220,229,242,.2); background: rgba(220,229,242,.04); cursor: pointer;
  }
  .menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .mobile-nav:not([hidden]) {
    display: grid; gap: 4px; padding: 8px 24px 24px;
    background: rgba(11,18,32,.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-dark);
  }
  .mobile-nav a:not(.btn) { color: var(--silver); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .mobile-nav .btn { margin-top: 16px; }
  .site-header:has(.mobile-nav:not([hidden])) { background: rgba(11,18,32,.96); }

  .answer-inner { grid-template-columns: 1fr; gap: 16px; }
  .problem-grid, .pillars, .toc, .contact-inner, .form-row { grid-template-columns: 1fr; }
  .combined { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .pillar { padding: 32px 26px; }
  .contact-inner { gap: 48px; }
  .lt-row { grid-template-columns: 1fr 36px 1fr; font-size: 15px; gap: 8px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: min(100% - 36px, var(--container)); }
  .brand img { width: 180px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-facts { gap: 24px; }
  .hero-facts dt { font-size: 24px; }
  .hero-actions .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .tab-panel { padding: 8px 18px 20px; }
  .contact-card { padding: 24px 20px; }
  .qa p { padding-right: 0; }
  .footer-nav { gap: 48px; }
}

/* ==========================================================================
   AI Q&A & Intake Assistant Chatbot Widget & Prompts
   ========================================================================== */

/* Floating Chat Container */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}
.chat-widget > * {
  pointer-events: auto;
}

/* Floating Teaser Pill */
.chat-teaser {
  margin-bottom: 12px;
  padding: 10px 14px 10px 16px;
  background: var(--ink);
  border: 1px solid var(--signal);
  border-radius: 20px;
  color: var(--white);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.2);
  animation: teaser-slide 0.4s var(--ease);
  max-width: 290px;
}
.chat-teaser strong { color: var(--signal); font-weight: 600; }
.chat-teaser-close {
  background: none;
  border: none;
  color: var(--muted-dark);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 12px;
  line-height: 1;
  transition: color 0.15s ease;
}
.chat-teaser-close:hover { color: var(--white); }
@keyframes teaser-slide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Launcher Button */
.chat-toggle-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cobalt) 0%, #0284C7 100%);
  border: 2px solid rgba(56, 189, 248, 0.5);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -4px rgba(37, 99, 235, 0.6), 0 0 20px rgba(56, 189, 248, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative;
}
.chat-toggle-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 30px -4px rgba(37, 99, 235, 0.8), 0 0 25px rgba(56, 189, 248, 0.5);
}
.chat-badge-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--signal);
  border: 2px solid var(--midnight);
}
.chat-toggle-btn .chat-icon-close { display: none; }
.chat-widget.is-open .chat-toggle-btn .chat-icon-open { display: none; }
.chat-widget.is-open .chat-toggle-btn .chat-icon-close { display: block; }
.chat-widget.is-open .chat-badge-dot { display: none; }

/* Chat Window Modal */
.chat-window {
  width: 390px;
  max-width: calc(100vw - 36px);
  height: 590px;
  max-height: calc(100vh - 100px);
  background: #0E1626;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(56, 189, 248, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 14px;
  animation: chat-popup 0.3s var(--ease);
}
@keyframes chat-popup {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Header */
.chat-header {
  padding: 14px 18px;
  background: var(--midnight);
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(56, 189, 248, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--signal);
  position: relative;
}
.chat-status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid var(--midnight);
}
.chat-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.chat-subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted-dark);
}
.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.chat-btn-icon {
  background: none;
  border: none;
  color: var(--muted-dark);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}
.chat-btn-icon:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Message Area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-dark) transparent;
}
.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--line-dark); border-radius: 3px; }

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
}
.chat-msg-user {
  align-self: flex-end;
}
.chat-msg-user .chat-msg-bubble {
  background: linear-gradient(135deg, var(--cobalt) 0%, #1D4FD7 100%);
  color: var(--white);
  border-radius: 16px 16px 4px 16px;
}
.chat-msg-bot {
  align-self: flex-start;
}
.chat-msg-bot .chat-msg-bubble {
  background: var(--ink);
  color: var(--silver);
  border: 1px solid var(--line-dark);
  border-radius: 16px 16px 16px 4px;
}
.chat-msg-bubble {
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}
.chat-msg-bubble p:not(:last-child) {
  margin-bottom: 8px;
}
.chat-msg-bubble strong {
  color: var(--white);
}
.chat-msg-bubble a {
  color: var(--signal);
  text-decoration: underline;
}
.chat-msg-bubble ul, .chat-msg-bubble ol {
  padding-left: 20px;
  margin: 6px 0;
}
.chat-msg-bubble li {
  list-style: disc;
  margin-bottom: 4px;
}

/* Quick Prompt Chips */
.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.chat-chip {
  background: rgba(20, 32, 52, 0.85);
  border: 1px solid var(--line-dark);
  color: var(--signal);
  border-radius: 14px;
  padding: 6px 11px;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
  line-height: 1.3;
  transition: all 0.15s var(--ease);
}
.chat-chip:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--signal);
  color: var(--white);
  transform: translateY(-1px);
}

/* Typing Indicator */
.chat-typing {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: 16px 16px 16px 4px;
}
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  opacity: 0.4;
  animation: typing 1.4s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

/* Input Form */
.chat-form {
  padding: 12px 14px 10px;
  background: var(--midnight);
  border-top: 1px solid var(--line-dark);
}
.chat-input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: #080D18;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 6px 8px 6px 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.chat-input-wrapper:focus-within {
  border-color: var(--signal);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}
.chat-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  line-height: 1.4;
  max-height: 90px;
  padding: 4px 0;
  resize: none;
}
.chat-input::placeholder { color: var(--slate); }
.chat-send-btn {
  background: var(--cobalt);
  color: var(--white);
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.chat-send-btn:hover:not(:disabled) {
  background: var(--cobalt-hover);
  transform: translateY(-1px);
}
.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.chat-footer-note {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted-dark);
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 500px) {
  .chat-widget {
    bottom: 16px;
    right: 16px;
  }
  .chat-window {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    margin-bottom: 0;
    z-index: 1001;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .flow { display: none; }
  .road-progress { stroke-dashoffset: 30; }
  .js .reveal { opacity: 1; transform: none; }
  .visual-frame { transform: none; }
}
