/* ProCyber design system
   Enterprise navy + electric cyan. Navy for hero, header, feature bands and footer; white and
   light grey for content; cyan for actions and highlights only. Inter throughout. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-var-latin.woff2") format("woff2");
}

:root {
  /* Colour */
  --navy-950: #070c16;
  --navy-900: #0b1220;
  --navy-800: #142238;
  --navy-700: #1c2e4a;
  --navy-600: #29405f;
  --cyan: #00b8d9;
  --cyan-400: #33c9e3;
  --cyan-600: #0096b4;
  --cyan-ink: #00708f;      /* cyan for text on light backgrounds (AA contrast) */
  --cyan-soft: #e6f8fc;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --ink: #0b1220;           /* headings on light */
  --text: #34445a;          /* body on light */
  --muted: #5b6b82;
  --line: #e2e8f0;
  --line-strong: #cfd8e3;
  --on-dark: #e8eef7;
  --on-dark-muted: #a3b3c9;
  --line-dark: rgba(163, 179, 201, 0.16);
  --warn-bg: #fff5e6;
  --warn: #b45309;
  --ok: #0f8a5f;
  --ok-bg: #e8f7f0;
  --err: #c0262d;
  --err-bg: #fdecec;

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h3: 1.1875rem;
  --fs-h2: clamp(1.85rem, 1.2rem + 2.2vw, 2.75rem);
  --fs-h1: clamp(2.35rem, 1.3rem + 3.9vw, 4.25rem);

  /* Space, shape, depth */
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06), 0 2px 8px rgba(11, 18, 32, 0.04);
  --shadow: 0 2px 4px rgba(11, 18, 32, 0.04), 0 12px 32px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 4px 8px rgba(11, 18, 32, 0.05), 0 24px 56px rgba(11, 18, 32, 0.14);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --hdr-h: 76px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs-base)/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy-900); }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--cyan-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cyan); color: var(--navy-900); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: var(--r-sm); background: var(--cyan); color: var(--navy-900); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }
.icon--sm { width: 1em; height: 1em; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-ink); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light, .section--dark .eyebrow, .cta .eyebrow { color: var(--cyan); }
.shead { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.shead--center { margin-inline: auto; text-align: center; }
.shead--center .eyebrow { justify-content: center; }
.shead__title { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.03em; }
.shead__lead { margin: 18px 0 0; font-size: var(--fs-lg); color: var(--muted); max-width: 64ch; }
.shead--center .shead__lead { margin-inline: auto; }
.prose-lead { font-size: var(--fs-lg); line-height: 1.7; color: var(--text); max-width: 62ch; }
.fineprint { margin-top: 20px; font-size: var(--fs-xs); color: var(--muted); max-width: 60ch; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link--muted { color: var(--muted); font-weight: 500; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease); }
.btn .icon { width: 1.05em; height: 1.05em; transition: transform 0.2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; padding: 15px 26px; font-size: 1rem; }
.btn--primary { background: var(--cyan); color: var(--navy-900); box-shadow: 0 6px 20px -8px rgba(0, 184, 217, 0.7); }
.btn--primary:hover { background: var(--cyan-400); color: var(--navy-900); box-shadow: 0 10px 28px -8px rgba(0, 184, 217, 0.8); }
.btn--ghost { border-color: rgba(232, 238, 247, 0.32); color: #fff; background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(11, 18, 32, 0.92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line-dark); }
.hdr__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--hdr-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.brand:hover { color: #fff; }
.brand__logo { display: block; height: 42px; width: auto; }
.brand__logo--footer { height: 46px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--r-sm); color: var(--on-dark-muted); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; transition: color 0.2s, background-color 0.2s; }
.nav__link:hover, .nav__link.is-active, .nav__link[aria-current] { color: #fff; }
.nav__link.is-active { background: rgba(255, 255, 255, 0.06); }
.nav__cta { display: flex; align-items: center; gap: 20px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: var(--fs-sm); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.nav__phone .icon { color: var(--cyan); width: 1.05em; height: 1.05em; }
.nav__phone:hover { color: var(--cyan); }
.menu { position: absolute; top: calc(100% + 1px); right: max(var(--gutter), env(safe-area-inset-right, 0px)); width: min(880px, calc(100% - 2 * var(--gutter))); padding: 20px; border: 1px solid var(--line-dark); border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); background: var(--navy-900); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s; }
.nav__item--has-menu:hover .menu, .nav__item--has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.menu__link { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: var(--r); text-decoration: none; transition: background-color 0.2s; }
.menu__link:hover, .menu__link[aria-current] { background: var(--navy-800); }
.menu__link strong { display: block; color: #fff; font-size: var(--fs-sm); font-weight: 600; }
.menu__link small { display: block; margin-top: 2px; color: var(--on-dark-muted); font-size: var(--fs-xs); line-height: 1.45; }
.menu__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; padding: 14px 12px 2px; border-top: 1px solid var(--line-dark); font-size: var(--fs-sm); color: var(--on-dark-muted); }
.menu__foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-weight: 600; text-decoration: none; }
.nav-toggle { display: none; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-dark); border-radius: var(--r-sm); background: transparent; color: #fff; cursor: pointer; }
.nav-toggle:hover, .nav-toggle:focus { color: #fff; border-color: rgba(232, 238, 247, 0.4); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .hdr__inner { flex-wrap: wrap; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 4px 0 24px; }
  .nav { display: none; }
  .nav.is-open, .nav:target { display: flex; max-height: calc(100dvh - var(--hdr-h)); overflow-y: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line-dark); color: #fff; font-size: 1.05rem; background: none !important; }
  .nav__link .icon { display: none; }
  .menu { position: static; width: auto; padding: 4px 0 8px; border: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .menu__grid { grid-template-columns: minmax(0, 1fr); }
  .menu__link { padding: 10px 4px; }
  .menu__link small, .menu__foot { display: none; }
  .nav__cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .nav__phone { justify-content: center; padding: 10px; border: 1px solid var(--line-dark); border-radius: var(--r-sm); }
}
@media (max-width: 420px) { .brand__logo { height: 36px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: var(--on-dark); padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px); }
.hero__bg, .phero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 480px at 78% 38%, rgba(0, 184, 217, 0.16), transparent 70%),
    radial-gradient(560px 420px at 6% 100%, rgba(41, 64, 95, 0.6), transparent 70%),
    linear-gradient(rgba(163, 179, 201, 0.06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(163, 179, 201, 0.06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  -webkit-mask-image: linear-gradient(#000 75%, rgba(0, 0, 0, 0.85));
  mask-image: linear-gradient(#000 75%, rgba(0, 0, 0, 0.85));
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { min-width: 0; }
.hero__title { color: #fff; font-size: clamp(2.2rem, 1.1rem + 3vw, 3.4rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 24px; }
.hero__line { display: block; }
.hero__line--accent { background: linear-gradient(90deg, var(--cyan), #7ee6f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.08rem, 0.95rem + 0.5vw, 1.25rem); line-height: 1.65; color: var(--on-dark-muted); max-width: 56ch; margin-bottom: 32px; }
.hero__visual { min-width: 0; margin-right: calc(-0.5 * var(--gutter)); }
@media (min-width: 961px) { .hero__visual .topo { transform: scale(1.08); transform-origin: 50% 50%; } }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(40px, 6vw, 72px); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; background: var(--line-dark); }
.trust li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; background: rgba(11, 18, 32, 0.78); backdrop-filter: blur(6px); min-width: 0; }
.trust .icon { color: var(--cyan); margin-top: 2px; }
.trust strong { display: block; color: #fff; font-weight: 600; font-size: var(--fs-sm); }
.trust span { font-size: var(--fs-xs); color: var(--on-dark-muted); line-height: 1.45; }
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* Topology illustration */
.topo { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.topo__ring { fill: none; stroke: rgba(0, 184, 217, 0.22); transform-box: view-box; transform-origin: 300px 262px; }
.topo__ring--a { stroke-dasharray: 2 10; stroke-width: 1.5; animation: spin 140s linear infinite; }
.topo__ring--b { stroke: rgba(163, 179, 201, 0.14); stroke-width: 1; }
.topo__ring--c { stroke-dasharray: 40 14 6 14; stroke-width: 1.5; stroke: rgba(0, 184, 217, 0.35); animation: spin 60s linear infinite reverse; }
.topo__link { fill: none; stroke: rgba(0, 184, 217, 0.4); stroke-width: 1.5; stroke-dasharray: 4 6; animation: flow 1.6s linear infinite; }
.topo__pkt { fill: var(--cyan); filter: drop-shadow(0 0 4px rgba(0, 184, 217, 0.9)); }
.topo__pkt--out { fill: #fff; opacity: 0.85; }
.topo__wan { fill: none; stroke: rgba(245, 158, 11, 0.45); stroke-width: 1.5; stroke-dasharray: 3 5; }
.topo__wan-label { fill: var(--on-dark-muted); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-anchor: middle; }
.topo__threat { fill: #f59e0b; filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.9)); }
.topo__core-halo { fill: none; stroke: rgba(0, 184, 217, 0.5); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: halo 3.2s ease-out infinite; }
.topo__core-plate { fill: var(--navy-900); stroke: var(--cyan); stroke-width: 2; }
.topo__chip rect { fill: rgba(20, 34, 56, 0.92); stroke: rgba(0, 184, 217, 0.32); stroke-width: 1; }
.topo__icon { color: var(--cyan); }
.topo__label { fill: #fff; font-size: 15px; font-weight: 600; }
.topo__sub { fill: var(--on-dark-muted); font-size: 12.5px; }
.topo__dot { fill: #34d399; animation: blink 2.4s ease-in-out infinite; }
.topo__dot--1 { animation-delay: 0.4s; } .topo__dot--2 { animation-delay: 0.8s; } .topo__dot--3 { animation-delay: 1.2s; } .topo__dot--4 { animation-delay: 1.6s; } .topo__dot--5 { animation-delay: 2s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { to { stroke-dashoffset: -20; } }
@keyframes halo { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes blink { 50% { opacity: 0.35; } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-900); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .shead__lead { color: var(--on-dark-muted); }
.section__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(640px 400px at 90% 0%, rgba(0, 184, 217, 0.14), transparent 70%), radial-gradient(520px 380px at 0% 100%, rgba(41, 64, 95, 0.7), transparent 70%); }
.lead-dark { font-size: var(--fs-lg); color: var(--on-dark-muted); max-width: 60ch; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

.icon-tile { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--r); background: var(--navy-900); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(0, 184, 217, 0.25); }
.icon-tile .icon { width: 24px; height: 24px; }
.icon-tile--sm { width: 38px; height: 38px; border-radius: 10px; }
.icon-tile--sm .icon { width: 19px; height: 19px; }
.icon-tile--lg { width: 64px; height: 64px; border-radius: var(--r-lg); background: rgba(0, 184, 217, 0.1); box-shadow: inset 0 0 0 1px rgba(0, 184, 217, 0.35); }
.icon-tile--lg .icon { width: 30px; height: 30px; }
.icon-tile--outline { background: var(--cyan-soft); color: var(--cyan-ink); box-shadow: none; }
.icon-tile--warn { background: var(--warn-bg); color: var(--warn); box-shadow: none; }

.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; min-width: 0; }
.card::after { content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0, 184, 217, 0.45); color: var(--text); }
a.card:hover::after { transform: scaleX(1); }
.card .icon-tile { margin-bottom: 8px; }
.card__title { font-size: var(--fs-h3); font-weight: 650; }
.card__text { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; flex: 1; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--cyan-ink); font-size: var(--fs-sm); font-weight: 600; }
.card__more .icon { width: 1em; height: 1em; transition: transform 0.25s var(--ease); }
a.card:hover .card__more .icon { transform: translateX(4px); }

.feature { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.section--alt .feature { box-shadow: var(--shadow-sm); }
.feature .icon-tile { margin-bottom: 8px; }
.feature__title { font-size: var(--fs-h3); font-weight: 650; }
.feature__text { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; }
.feature--plain { padding: 8px 4px 0; border: 0; background: none; box-shadow: none !important; }
.feature--dark { background: rgba(20, 34, 56, 0.7); border-color: var(--line-dark); }
.feature--dark .feature__text { color: var(--on-dark-muted); }

/* ---------- Steps (Assess → Design → Implement → Manage) ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--cyan), rgba(0, 184, 217, 0.15)); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; min-width: 0; }
.step__icon { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 20px; border-radius: 50%; background: var(--navy-900); color: var(--cyan); box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px rgba(0, 184, 217, 0.35); }
.section--alt .step__icon { box-shadow: 0 0 0 6px var(--bg-alt), 0 0 0 7px rgba(0, 184, 217, 0.35); }
.step__icon .icon { width: 28px; height: 28px; }
.step__num { order: -1; margin-bottom: 10px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; color: var(--cyan-ink); }
.steps .step__num { position: absolute; top: -26px; }
.steps { margin-top: 26px; }
.step__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.step__text { margin: 0; color: var(--muted); font-size: var(--fs-sm); max-width: 32ch; }
.steps--dark .step__icon { background: var(--navy-800); box-shadow: 0 0 0 6px var(--navy-900), 0 0 0 7px rgba(0, 184, 217, 0.4); }
.steps--dark .step__text { color: var(--on-dark-muted); }
.steps--dark .step__num { color: var(--cyan); }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.split__copy { min-width: 0; }
.split__copy .shead { margin-bottom: 24px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.media { margin: 0; position: relative; }
.media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(0, 184, 217, 0.25), rgba(11, 18, 32, 0.08)); }
@media (max-width: 600px) { .media::before { inset: 10px -8px -10px 8px; } }

/* Technology tiles */
.tech { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tech__item { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); box-shadow: var(--shadow-sm); min-width: 0; }
.tech__item strong { color: var(--ink); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.tech__item span { color: var(--muted); font-size: var(--fs-xs); }
@media (max-width: 420px) { .tech { grid-template-columns: minmax(0, 1fr); } }

/* Resilience cycle */
.ticks { display: grid; gap: 12px; margin: 24px 0 32px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { color: var(--cyan); margin-top: 3px; }
.ticks--dark li { color: var(--on-dark); }
.cycle { display: grid; gap: 14px; counter-reset: c; }
.cycle__item { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line-dark); border-radius: var(--r-lg); background: rgba(20, 34, 56, 0.72); }
.cycle__item:not(:last-child)::after { content: ""; position: absolute; left: 47px; bottom: -15px; width: 2px; height: 16px; background: rgba(0, 184, 217, 0.5); }
.cycle__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(0, 184, 217, 0.12); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(0, 184, 217, 0.4); }
.cycle__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.cycle__item p { margin: 0; color: var(--on-dark-muted); font-size: var(--fs-sm); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; min-width: 0; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s; }
.faq__item[open] { border-color: rgba(0, 184, 217, 0.5); box-shadow: var(--shadow-sm); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; cursor: pointer; list-style: none; color: var(--ink); font-weight: 600; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--cyan-ink); }
.faq__toggle { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt); }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; border-radius: 2px; background: var(--navy-900); transition: transform 0.3s var(--ease); }
.faq__toggle::after { transform: rotate(90deg); }
.faq__item[open] .faq__toggle { background: var(--cyan); }
.faq__item[open] .faq__toggle::after { transform: rotate(0); }
.faq__a { padding: 0 22px 20px; }
.faq__a p { margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(64px, 8vw, 104px); background: var(--navy-800); color: var(--on-dark); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 380px at 100% 0%, rgba(0, 184, 217, 0.22), transparent 70%), linear-gradient(120deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700)); }
.cta::after { content: ""; position: absolute; right: -120px; bottom: -220px; z-index: -1; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(0, 184, 217, 0.2); box-shadow: 0 0 0 60px rgba(0, 184, 217, 0.03), 0 0 0 120px rgba(0, 184, 217, 0.025); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.cta__copy { max-width: 640px; }
.cta__title { color: #fff; font-size: var(--fs-h2); font-weight: 750; letter-spacing: -0.03em; margin-bottom: 14px; }
.cta__text { margin: 0; color: var(--on-dark-muted); font-size: var(--fs-lg); }

/* ---------- Footer ---------- */
.ftr { background: var(--navy-950); color: var(--on-dark-muted); padding-top: clamp(56px, 7vw, 80px); font-size: var(--fs-sm); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.ftr__brand p { margin: 16px 0 0; max-width: 42ch; }
.ftr__tagline { color: #fff !important; font-weight: 600; }
.ftr__h { margin-bottom: 18px; color: #fff; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.ftr ul { display: grid; gap: 10px; }
.ftr a { color: var(--on-dark-muted); text-decoration: none; transition: color 0.2s; }
.ftr a:hover { color: #fff; }
.ftr__contact li { display: flex; gap: 10px; align-items: flex-start; }
.ftr__contact .icon { color: var(--cyan); width: 1.05em; height: 1.05em; margin-top: 3px; }
.ftr__social { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-top: 20px; border: 1px solid var(--line-dark); border-radius: 50%; }
.ftr__social .icon { width: 18px; height: 18px; }
.ftr__social:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy-900) !important; }
.ftr__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: clamp(40px, 6vw, 64px); padding-block: 24px max(24px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); }
.ftr__base p { margin: 0; }
@media (max-width: 960px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .ftr__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inner page hero ---------- */
.phero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: var(--on-dark); padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 96px); }
.phero__inner { max-width: var(--wrap); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: clamp(28px, 4vw, 44px); font-size: var(--fs-xs); color: var(--on-dark-muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.6; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.phero__head { display: flex; gap: 22px; align-items: flex-start; }
.phero__head .icon-tile { margin-top: 6px; }
.phero__title { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.06; max-width: 22ch; }
.phero__lead { margin: 22px 0 32px; font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem); color: var(--on-dark-muted); max-width: 62ch; }
.phero .actions { margin-top: 4px; }
@media (max-width: 600px) { .phero__head { flex-direction: column; gap: 16px; } .phero__head .icon-tile { margin-top: 0; } }

/* ---------- Service detail ---------- */
.panel { padding: 30px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.panel__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 18px; }
.benefits { display: grid; gap: 4px; }
.benefits li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.benefits li:first-child { border-top: 0; padding-top: 0; }
.benefits .icon { color: var(--cyan-ink); margin-top: 2px; }
.benefits strong { display: block; color: var(--ink); font-weight: 600; }
.benefits span { color: var(--muted); font-size: var(--fs-sm); }

/* About: visit */
.visit { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.facts { margin: 0; padding: 28px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.facts div { padding: 14px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts div:last-child { padding-bottom: 0; }
.facts dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.facts a { color: var(--ink); text-decoration: none; }
.facts a:hover { color: var(--cyan-ink); }
@media (max-width: 860px) { .visit { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.section--overlap { padding-top: 0; }
.section--overlap .contact { margin-top: clamp(-56px, -5vw, -40px); position: relative; z-index: 2; }
.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); } .contact .form-card { order: -1; } }
.contact__info { display: grid; gap: 20px; min-width: 0; }
.info-card { padding: 28px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.info-card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 18px; }
.info-card--dark { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark-muted); }
.info-card--dark .info-card__title { color: #fff; }
.info-list { display: grid; gap: 4px; margin-bottom: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.info-list li:first-child { border-top: 0; padding-top: 0; }
.info-list li > div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.info-list__label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.info-list a:not(.link) { color: var(--ink); font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.info-list a:not(.link):hover { color: var(--cyan-ink); }
.info-list .link { margin-top: 4px; font-size: var(--fs-sm); }
.copy { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); color: var(--muted); cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.copy .icon { width: 17px; height: 17px; }
.copy:hover { color: var(--ink); border-color: var(--ink); }
.copy.is-done { color: var(--ok); border-color: var(--ok); }
.next { display: grid; gap: 14px; counter-reset: n; }
.next li { position: relative; padding-left: 40px; counter-increment: n; font-size: var(--fs-sm); }
.next li::before { content: counter(n); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 184, 217, 0.15); color: var(--cyan); font-size: var(--fs-xs); font-weight: 700; }

.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); min-width: 0; scroll-margin-top: calc(var(--hdr-h) + 16px); }
.form-card__title { font-size: 1.6rem; font-weight: 750; letter-spacing: -0.025em; margin-bottom: 6px; }
.form-card__intro { color: var(--muted); font-size: var(--fs-sm); }
.form { display: grid; gap: 20px; margin-top: 8px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 600px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { padding: 0; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }
.req { color: var(--err); }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); color: var(--ink); font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s; }
textarea.input { min-height: 140px; resize: vertical; line-height: 1.55; }
.input:hover { border-color: #b4c0cf; }
.input:focus { outline: none; border-color: var(--cyan-600); box-shadow: 0 0 0 4px rgba(0, 184, 217, 0.18); }
.input[aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 4px rgba(192, 38, 45, 0.1); }
.input--select { appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field-error { color: var(--err); font-size: var(--fs-xs); font-weight: 600; }
.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: var(--r); background: var(--bg-alt); border: 1px solid var(--line); }
.segmented__opt { position: relative; }
.segmented__opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.segmented__opt span { display: block; padding: 10px 8px; border-radius: var(--r-sm); text-align: center; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.segmented__opt input:checked + span { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-sm); }
.segmented__opt input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 420px) { .segmented { grid-template-columns: minmax(0, 1fr); } }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.form__note { margin: 0; flex: 1 1 220px; color: var(--muted); font-size: var(--fs-xs); }
.form__status { margin: 0; min-height: 1.4em; font-size: var(--fs-sm); font-weight: 600; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(11, 18, 32, 0.25); border-top-color: var(--navy-900); border-radius: 50%; animation: spin 0.8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 4px; padding: 14px 16px; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 500; }
.alert .icon { margin-top: 1px; }
.alert--ok { background: var(--ok-bg); color: var(--ok); }
.alert--err { background: var(--err-bg); color: var(--err); }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; font-weight: 700; margin: 2em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text); }

/* ---------- Status pages (404 / 500) ---------- */
.status-page { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: var(--on-dark); padding-block: clamp(80px, 12vw, 160px); }
.status-page__code { margin: 0 0 12px; font-size: clamp(4.5rem, 14vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; background: linear-gradient(90deg, var(--cyan), #7ee6f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.status-page__help { margin-top: 28px; color: var(--on-dark-muted); font-size: var(--fs-sm); }
.status-page__help a { color: #fff; }

/* ---------- Motion ---------- */
.js .reveal { transform: translateY(20px); transition: transform 0.8s var(--ease); }
.js .reveal.is-in { transform: none; }

/* Demo badge (static preview export only) */
.demo-note { position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 70; padding: 8px 14px; border-radius: 999px; background: var(--navy-900); color: #fff; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; box-shadow: var(--shadow); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { transform: none; }
}
