/* Synapse Consultants — shared styles
   Palette taken from the logo: deep logo blue (#1250d2), bright icon blue (#0a84ff),
   plus navy neutrals for technology sections. One accent colour is used for actions. */

:root {
  --navy-950: #050f26;
  --navy-900: #081a40;
  --navy-800: #0d2859;
  --navy-700: #16356f;
  --ink: #0b1633;
  --ink-soft: #44506b;
  --paper: #ffffff;
  --paper-tint: #f4f7fc;
  --paper-deep: #e8eef9;
  --line: #d6deee;
  --line-dark: rgba(255, 255, 255, .14);
  --accent: #0f5bde;          /* buttons, active states (white text = 5.6:1) */
  --accent-strong: #0a47b8;
  --accent-glow: #4aa3ff;     /* highlights on dark backgrounds */
  --logo-blue: #1250d2;
  --ok: #0c7a4a;
  --danger: #b3261e;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(8, 26, 64, .06), 0 10px 30px rgba(8, 26, 64, .08);
  --shadow-lg: 0 24px 60px rgba(5, 15, 38, .28);
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.55rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: var(--logo-blue); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
ul { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .35em; }

:focus-visible { outline: 3px solid var(--accent-glow); outline-offset: 3px; border-radius: 4px; }
.section--light :focus-visible, .site-header :focus-visible, .form :focus-visible { outline-color: var(--accent); }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--paper-tint); }
.section--dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(18, 80, 210, .35), transparent 60%), var(--navy-900); color: #e6edfb; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a:not(.btn) { color: var(--accent-glow); }
.section--dark p, .section--dark li { color: #c9d6ef; }
.eyebrow { display: inline-block; font: 700 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--logo-blue); margin-bottom: 14px; }
.section--dark .eyebrow { color: var(--accent-glow); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 62ch; }
.section--dark .lead { color: #c9d6ef; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(15, 91, 222, .32); }
.btn-primary:hover { background: var(--accent-strong); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--logo-blue); border-color: var(--logo-blue); }
.btn-ghost:hover { background: var(--logo-blue); color: #fff; }
.section--dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.section--dark .btn-ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.section--dark .btn-primary { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 8px 24px rgba(15, 91, 222, .45); }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 40px; width: auto; }
.nav-list { display: none; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav-list a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; position: relative; }
.nav-list a:hover { background: var(--paper-tint); color: var(--logo-blue); }
.nav-list a[aria-current="page"] { color: var(--accent); }
.nav-list a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { display: none; }
.menu-toggle { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(8, 26, 64, .12); padding: 8px 16px 20px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.nav-panel.open { display: block; }
.nav-panel .nav-list { display: grid; gap: 2px; }
.nav-panel .nav-list a { padding: 14px 12px; font-size: 1.05rem; }
.nav-panel .nav-list a[aria-current="page"]::after { left: 12px; right: auto; width: 28px; bottom: 6px; }
.nav-panel .btn { display: flex; margin-top: 12px; }
@media (min-width: 1100px) {
  .nav-list { display: flex; }
  .header-actions .btn { display: inline-flex; }
  .menu-toggle, .nav-panel { display: none !important; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(74, 163, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(74, 163, 255, .07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 36px; align-items: center; }
.hero h1 span { color: var(--accent-glow); }
.hero .lead { margin-bottom: 0; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 48px; } }

.visual { position: relative; border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 35%, #123a82 0%, #0a1f4b 55%, #071533 100%); border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.visual--short { aspect-ratio: 16 / 10; }
.visual > svg, .visual > canvas.scene-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.visual canvas.scene-canvas { opacity: 0; transition: opacity .6s; touch-action: pan-y; }
.visual.is-3d canvas.scene-canvas { opacity: 1; }
.visual.is-3d > svg.fallback { opacity: 0; pointer-events: none; transition: opacity .6s; }
.visual-tools { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; z-index: 3; pointer-events: none; }
.visual-tools > * { pointer-events: auto; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: rgba(5, 15, 38, .72); color: #e6edfb; border: 1px solid var(--line-dark); font: 600 .84rem/1 var(--font-body); backdrop-filter: blur(6px); }
button.chip { cursor: pointer; }
button.chip:hover { background: rgba(15, 91, 222, .85); }
.chip[aria-pressed="true"] { border-color: var(--accent-glow); }
.visual .loading { position: absolute; inset: auto 0 52px 0; text-align: center; color: #9fb4de; font-size: .85rem; z-index: 2; }

/* SVG animation primitives */
.flow { stroke-dasharray: 6 10; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
html[data-motion="paused"] .flow, html[data-motion="paused"] .pulse, html[data-motion="paused"] .float { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow, .pulse, .float { animation: none !important; }
  .reveal { transition: none !important; }
}

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--ink-soft); }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.card-link { transition: transform .25s, box-shadow .25s, border-color .25s; }
.card-link:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 44px rgba(15, 91, 222, .16); }
.icon-tile { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, var(--navy-800), var(--logo-blue)); color: #fff; margin-bottom: 18px; flex: none; }
.icon-tile svg { width: 28px; height: 28px; }
.section--dark .card { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); box-shadow: none; }
.section--dark .card p { color: #c9d6ef; }

.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.section--dark .ticks li::before { background: var(--accent-glow); }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps.three { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; position: relative; padding: 26px 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); margin: 0; }
.steps li::before { content: "0" counter(s); display: block; font: 600 2rem/1 var(--font-head); color: var(--logo-blue); margin-bottom: 12px; }
.steps h3 { font-size: 1.15rem; margin-bottom: .35em; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.section--dark .steps li { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); }
.section--dark .steps li::before { color: var(--accent-glow); }
.section--dark .steps p { color: #c9d6ef; }

/* Split layouts */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.wide-left { grid-template-columns: 1.15fr .85fr; } }
.quad { display: grid; gap: 18px; }
@media (min-width: 640px) { .quad { grid-template-columns: repeat(2, 1fr); } }
.quad h3 { font-size: 1.12rem; }
.quad div { padding: 22px; border: 1px solid var(--line); background: var(--paper-tint); border-radius: var(--radius); }
.quad p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* Page hero (inner pages) */
.page-hero { padding: clamp(44px, 6vw, 84px) 0 clamp(40px, 5vw, 68px); position: relative; overflow: hidden; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .split { align-items: center; }
.breadcrumbs { font-size: .9rem; margin-bottom: 18px; color: #9fb4de; }

/* Final CTA */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* Demo panels */
.demo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.demo-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--navy-900); color: #fff; }
.demo-bar strong { font-size: 1rem; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(74, 163, 255, .16); color: #bcd8ff; border: 1px solid rgba(74, 163, 255, .45); font: 700 .74rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.demo-body { padding: 22px; display: grid; gap: 22px; }
@media (min-width: 960px) { .demo-body { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.demo-stage { position: relative; background: radial-gradient(circle at 50% 30%, #102f6c, #071533); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.demo-stage > svg, .demo-stage > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-stage canvas { touch-action: pan-y; opacity: 0; transition: opacity .5s; }
.demo-stage.is-3d canvas { opacity: 1; }
.demo-stage.is-3d > svg.fallback { opacity: 0; pointer-events: none; }
.demo-panel { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.demo-panel h3 { margin-bottom: .2em; }
.demo-panel .info { background: var(--paper-tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; flex: 1; }
.demo-panel .info h4 { margin: 14px 0 6px; color: var(--logo-blue); }
.demo-panel .info p { color: var(--ink-soft); }
.demo-panel .info ul { color: var(--ink-soft); }
.js .info [data-info] { display: none; }
.js .info [data-info].on { display: block; }
.note { font-size: .88rem; color: var(--ink-soft); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-deep); gap: 4px; flex-wrap: wrap; }
.seg button { min-height: 44px; padding: 8px 20px; border-radius: 999px; border: 0; background: transparent; font: 700 .95rem var(--font-body); color: var(--ink); cursor: pointer; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--accent); color: #fff; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick button { min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 600 .93rem var(--font-body); color: var(--ink); cursor: pointer; text-align: left; }
.pick button:hover { border-color: var(--accent); }
.pick button[aria-pressed="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tool { min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 600 .93rem var(--font-body); color: var(--ink); cursor: pointer; }
.tool:hover { border-color: var(--accent); color: var(--accent); }
.demo-caption { font-size: .88rem; color: var(--ink-soft); padding: 0 22px 20px; margin: 0; }
.status-line { min-height: 3.2em; font-weight: 600; color: var(--ink); }
.explain { font-size: .95rem; color: var(--ink-soft); }

/* SVG svc nodes */
.node { cursor: pointer; }
.node:focus-visible { outline: none; }
.node:focus-visible .node-ring { stroke: #fff; stroke-width: 3; opacity: 1; }
.node-ring { fill: none; stroke: var(--accent-glow); stroke-width: 2; opacity: 0; transition: opacity .25s; }
.node.selected .node-ring, .node:hover .node-ring { opacity: 1; }
.node.selected .node-ring { stroke-width: 3; }
.dim { opacity: .28; transition: opacity .3s; }

/* Lifecycle tabs */
.stages { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .stages { grid-template-columns: repeat(6, 1fr); } }
.stages button { position: relative; min-height: 64px; padding: 10px 8px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: 700 .95rem var(--font-body); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.stages button small { font: 700 .72rem var(--font-body); color: var(--ink-soft); letter-spacing: .08em; }
.stages button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.stages button[aria-selected="true"] small { color: #d6e6ff; }
.stage-panel { margin-top: 18px; display: grid; gap: 20px; }
@media (min-width: 800px) { .stage-panel { grid-template-columns: 1fr 1fr 1fr; } }
.stage-panel > div { background: var(--paper-tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stage-panel h4 { color: var(--logo-blue); margin-bottom: 8px; }
.stage-panel p, .stage-panel li { color: var(--ink-soft); font-size: .98rem; }
.stage-panel ul { margin: 0; }
.stage-path { display: block; width: 100%; height: auto; }

/* Service rows */
.svc-list { display: grid; gap: 22px; }
.svc { display: grid; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
@media (min-width: 800px) { .svc { grid-template-columns: 64px 1fr 1fr; gap: 28px; align-items: start; } }
.svc h3 { margin: 0 0 .35em; }
.svc p { color: var(--ink-soft); margin: 0; }
.svc ul { margin: 0; font-size: .98rem; color: var(--ink-soft); }
.area { border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.area + .area { margin-top: 28px; }
.disclaimer { border: 1px solid var(--line); background: var(--paper-tint); padding: 18px 22px; border-radius: var(--radius); color: var(--ink-soft); font-size: .98rem; }
.disclaimer strong { color: var(--ink); }
.section--dark .disclaimer { background: rgba(255, 255, 255, .06); color: #c9d6ef; border-color: var(--line-dark); }
.section--dark .disclaimer strong { color: #fff; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; list-style: none; position: relative; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 18px; color: var(--ink-soft); }

/* Contact + forms */
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.25fr; align-items: start; } }
.contact-card { background: var(--navy-900); color: #e6edfb; border-radius: var(--radius-lg); padding: 32px; }
.contact-card h2, .contact-card h3 { color: #fff; }
.contact-card address { font-style: normal; line-height: 1.7; margin-bottom: 20px; }
.contact-card a:not(.btn) { color: #fff; font-weight: 700; }
.contact-card .btn { width: 100%; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); color: var(--ink); }
.form h2, .form h3 { color: var(--ink); }
.form p { color: var(--ink-soft); }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .98rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #8b98b5; border-radius: 12px; background: #fff; font: inherit; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(15, 91, 222, .35); border-color: var(--accent); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); background: #fff8f7; }
.field .error { display: none; color: var(--danger); font-weight: 600; font-size: .92rem; margin-top: 6px; }
.field.invalid .error { display: block; }
.row2 { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 24px; height: 24px; min-height: 0; margin-top: 3px; flex: none; accent-color: var(--accent); }
.check label { font-weight: 500; margin: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 16px 18px; border-radius: 12px; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #e6f6ee; color: #0a5c37; border: 1px solid #98d4b4; }
.form-status.fail { background: #fdecea; color: #8a1c15; border: 1px solid #f1aaa5; }
.form-warning { background: #fff7e0; border: 1px solid #ecd48a; color: #5c4600; padding: 12px 16px; border-radius: 12px; font-size: .92rem; margin-bottom: 18px; }
.map-wrap { margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper-deep); height: clamp(300px, 46vw, 460px); position: relative; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.privacy h3 { margin-top: 1.6em; font-size: 1.15rem; font-family: var(--font-body); }
.privacy-box { max-width: 820px; }

/* Footer */
.site-footer { background: var(--navy-950); color: #b7c6e6; padding: 64px 0 28px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr .8fr 1.1fr; } }
.site-footer img { height: 44px; width: auto; margin-bottom: 18px; }
.site-footer h2 { font: 700 .8rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer a { color: #d6e4ff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer a.pad { display: inline-block; padding: 4px 0; }
.site-footer address { font-style: normal; line-height: 1.7; }
.copyright { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Mobile action bar */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transition: transform .25s; }
.mobile-cta.hide { transform: translateY(110%); }
@media (min-width: 900px) { .mobile-cta { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 74px; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 18px 0 0; }
.pill-list li { margin: 0; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .06); color: #e6edfb; font-size: .95rem; }
.loc-card { background: var(--navy-900); color: #e6edfb; padding: 32px; border-radius: var(--radius-lg); }
.loc-card h3 { color: #fff; }
.loc-card address { font-style: normal; margin-bottom: 18px; }
.loc-card a:not(.btn) { color: #fff; }
.value h3 { font-size: 1.15rem; }

/* Isometric / SVG illustration styling */
.iso .floor { fill: rgba(20, 60, 140, .28); stroke: rgba(120, 170, 255, .25); }
.iso .grid line { stroke: rgba(120, 170, 255, .16); stroke-width: 1; }
.iso .t { fill: #3a68c4; } .iso .l { fill: #1f4695; } .iso .r { fill: #132f68; }
.iso polygon.t, .iso polygon.l, .iso polygon.r { stroke: rgba(170, 205, 255, .35); stroke-width: 1; stroke-linejoin: round; }
.iso .p { fill: #0a1a40; } .iso .accent { fill: rgba(74, 163, 255, .55); }
.iso .glow { fill: #7fc0ff; }
.iso .led { fill: #3be08a; } .iso .led.b { fill: #7fc0ff; }
.iso .cable { stroke: #4aa3ff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.iso .blade { stroke: #bcd8ff; stroke-width: 3; fill: none; }
.iso .shield { fill: rgba(74, 163, 255, .22); stroke: #9ed0ff; stroke-width: 2; }
.iso .shield-check { fill: none; stroke: #cfe6ff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.iso .float { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.iso .node { cursor: pointer; outline: none; }
.iso .node:hover .t { fill: #4a7fdc; } .iso .node:hover .l { fill: #2a58b3; }
.iso .node.selected { filter: drop-shadow(0 0 10px rgba(74, 163, 255, .95)); }
.iso .node.selected .t { fill: #6aaeff; } .iso .node.selected .l { fill: #3d80e8; } .iso .node.selected .r { fill: #2a63c0; }
.iso .node:focus-visible polygon.t, .iso .node:focus-visible polygon.l, .iso .node:focus-visible polygon.r { stroke: #fff; stroke-width: 2.5; }

/* Network diagrams (2D) */
.net-svg, .seg-svg { font-family: var(--font-body); }
.net-svg .edge, .seg-svg .edge { stroke: #3d7be0; stroke-width: 2; opacity: .55; transition: opacity .3s, stroke .3s; }
.net-svg .edge.lit, .seg-svg .edge.lit { stroke: #8cc6ff; opacity: 1; stroke-width: 3; }
.net-svg .edge.dim, .seg-svg .edge.dim { opacity: .14; animation: none; }
.net-svg .disc, .seg-svg .disc { fill: #0f2f70; stroke: #3d7be0; stroke-width: 2; }
.net-svg .nnode, .seg-svg .snode { color: #cfe3ff; outline: none; }
.net-svg .nnode.selected .disc { fill: #1b4fb0; stroke: #bcdcff; }
.net-svg .nnode.dim, .seg-svg .snode.dim { opacity: .32; }
.net-svg text, .seg-svg text { fill: #dbe8ff; font-size: 15px; font-weight: 600; }
.net-svg text.small, .seg-svg text.small { font-size: 12.5px; font-weight: 600; }
.seg-svg .srcring { fill: none; stroke: #fff; stroke-width: 2.5; stroke-dasharray: 5 5; }
.seg-svg .hub { fill: #0b2559; stroke: #8cc6ff; stroke-width: 2.5; }
.seg-svg .hub.segmented { fill: #0e3a82; }
.seg-svg .snode:focus-visible .disc, .net-svg .nnode:focus-visible .disc { stroke: #fff; stroke-width: 4; }
.seg-svg .snode, .net-svg .nnode { cursor: pointer; }
.seg-svg .badge-ok circle { fill: #0c7a4a; stroke: #dff7ea; stroke-width: 1.5; } .seg-svg .badge-ok path { stroke: #fff; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.seg-svg .badge-no circle { fill: #b3261e; stroke: #fde3e1; stroke-width: 1.5; } .seg-svg .badge-no path { stroke: #fff; stroke-width: 2.2; fill: none; stroke-linecap: round; }
.net-svg.decor .nnode { cursor: default; }
.visual.about-visual { aspect-ratio: 5 / 3.4; }
.sr-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stage-wrap { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.loading { display: none; position: absolute; inset: auto 0 56px 0; text-align: center; color: #9fb4de; font-size: .85rem; z-index: 2; margin: 0; }
.js .loading { display: block; }
.hero .visual { min-width: 0; }
.nav-panel .btn-primary { color: #fff; }
.contact-card .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.contact-card .btn-ghost:hover { background: #fff; color: var(--navy-900); }

/* Light cards placed inside dark sections keep dark text */
.section--dark .demo p, .section--dark .demo li, .section--dark .form p, .section--dark .form li { color: var(--ink-soft); }
.section--dark .demo h3, .section--dark .demo h4, .section--dark .form h2, .section--dark .form h3 { color: var(--ink); }
.section--dark .demo .demo-panel .info h4, .section--dark .demo .stage-panel h4 { color: var(--logo-blue); }
.section--dark .demo a:not(.btn), .section--dark .form a:not(.btn) { color: var(--logo-blue); }
.section--dark .form .error { color: var(--danger); }
.section--dark .demo .demo-bar strong, .section--dark .demo .demo-bar { color: #fff; }
.section--dark .form .req { color: var(--danger); }
.section--dark .demo .status-line { color: var(--ink); }
