/* Netarck — site styles
   Built around the logo: a navy field with white nodes and links.
   No inline styles anywhere (the CSP forbids them), so animation stagger uses .s1–.s20 classes. */

:root {
  --navy: #003466;
  --navy-deep: #00254a;
  --navy-line: rgba(255, 255, 255, 0.28);
  --on-navy: #ffffff;
  --on-navy-soft: #bcd0e8;
  --sky: #86b6ec;

  --ink: #0b1e33;
  --ink-soft: #44566b;
  --paper: #f4f6f9;
  --panel: #ffffff;
  --rule: #d3dbe5;
  --signal: #003466;
  --signal-strong: #0a4c8f;
  --status: #f0b53b;
  --todo-bg: #fff1b8;
  --todo-ink: #5c4400;

  --font: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "Cascadia Mono", "Consolas", "Liberation Mono", monospace;

  --measure: 66ch;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --navy: #00284f;
    --navy-deep: #001a35;
    --ink: #e6ecf3;
    --ink-soft: #a9b7c8;
    --paper: #0b1726;
    --panel: #122236;
    --rule: #263a52;
    --signal: #8cb8ec;
    --signal-strong: #b5d2f4;
    --todo-bg: #4a3a05;
    --todo-ink: #ffe38a;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--signal); text-underline-offset: 0.18em; }
a:hover { color: var(--signal-strong); }
:focus-visible { outline: 3px solid var(--status); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 12px; background: var(--panel); color: var(--ink); padding: 8px 12px; z-index: 10; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); position: relative; }

/* ---------- Navy surfaces ---------- */

.navy { background: var(--navy); color: var(--on-navy); }
.navy a:not(.button) { color: var(--on-navy); }
.navy a:not(.button):hover { color: var(--sky); }

/* ---------- Header (always navy) ---------- */

.site-header { background: var(--navy-deep); color: var(--on-navy); position: relative; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--on-navy);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}
.brand:hover { color: var(--on-navy); }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--navy-line);
  color: var(--on-navy);
  font: inherit;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; align-items: center; }
.site-nav a { color: var(--on-navy-soft); text-decoration: none; font-size: 0.98rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--on-navy); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.site-nav .nav-cta { color: var(--navy-deep); background: var(--on-navy); padding: 8px 16px; border-radius: 4px; font-weight: 600; }
.site-nav .nav-cta:hover { background: var(--sky); color: var(--navy-deep); }
.site-nav .nav-cta[aria-current="page"] { text-decoration: none; color: var(--navy-deep); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-header .wrap { flex-wrap: wrap; }
  .site-nav { display: none; width: 100%; padding-bottom: 18px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---------- Type ---------- */

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 700; max-width: 15ch; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; max-width: 22ch; }
h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.25; }
p { margin: 0 0 1em; max-width: var(--measure); }

.lede { font-size: clamp(1.12rem, 1.7vw, 1.3rem); color: var(--ink-soft); max-width: 50ch; }
.navy .lede { color: var(--on-navy-soft); }

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 4px;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.button:hover { background: var(--signal-strong); color: #fff; }
.button:disabled { opacity: 0.7; cursor: default; }
@media (prefers-color-scheme: dark) {
  .button { background: var(--signal); color: var(--navy-deep); }
  .button:hover { background: var(--signal-strong); color: var(--navy-deep); }
}
.navy .button { background: var(--on-navy); color: var(--navy-deep); }
.navy .button:hover { background: var(--sky); color: var(--navy-deep); }

.button-quiet { display: inline-block; color: var(--ink); padding: 14px 4px; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 32px; }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 132px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.hero h1 { max-width: 17ch; font-size: clamp(2.3rem, 4.4vw, 3.5rem); text-wrap: balance; }
.hero-copy { position: relative; z-index: 2; }
.hero .button-quiet { color: var(--on-navy); }
.hero-art { position: relative; z-index: 1; margin-right: calc(-1 * clamp(20px, 5vw, 90px)); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { position: absolute; right: -55%; top: -4%; width: 105%; margin: 0; opacity: 0.2; }
}

/* ---------- Constellation (the logo motif) ---------- */

.constellation { width: 100%; height: auto; overflow: visible; }
.constellation .ring { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.5; }
.constellation .edge { stroke: rgba(255, 255, 255, 0.72); stroke-width: 2; fill: none; }
.constellation .node { fill: var(--navy); stroke: #fff; stroke-width: 2.4; }
.constellation .dot { fill: #fff; }
.constellation .flag { fill: var(--status); }
.constellation .pulse { fill: none; stroke: var(--sky); stroke-width: 3.5; stroke-linecap: round; }

@media (prefers-reduced-motion: no-preference) {
  .hero .constellation .edge { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s cubic-bezier(.5, 0, .2, 1) forwards; }
  .hero .constellation .node, .hero .constellation .dot, .hero .constellation .flag {
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
    animation: appear 0.5s ease-out forwards;
  }
  .constellation .pulse { stroke-dasharray: 5 100; stroke-dashoffset: 5; animation: travel 4s linear 2s infinite; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes appear { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } }
  @keyframes travel { from { stroke-dashoffset: 5; } to { stroke-dashoffset: -100; } }

  .s1 { animation-delay: 40ms; }   .s2 { animation-delay: 80ms; }   .s3 { animation-delay: 120ms; }  .s4 { animation-delay: 160ms; }
  .s5 { animation-delay: 200ms; }  .s6 { animation-delay: 240ms; }  .s7 { animation-delay: 280ms; }  .s8 { animation-delay: 320ms; }
  .s9 { animation-delay: 360ms; }  .s10 { animation-delay: 400ms; } .s11 { animation-delay: 440ms; } .s12 { animation-delay: 480ms; }
  .s13 { animation-delay: 520ms; } .s14 { animation-delay: 560ms; } .s15 { animation-delay: 600ms; } .s16 { animation-delay: 640ms; }
  .s17 { animation-delay: 680ms; } .s18 { animation-delay: 720ms; } .s19 { animation-delay: 760ms; } .s20 { animation-delay: 800ms; }
}
@media (prefers-reduced-motion: reduce) { .constellation .pulse { display: none; } }

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-white { background: var(--panel); }
.section-head { margin-bottom: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--ink-soft); margin: 0; }
.navy .section-head p { color: var(--on-navy-soft); }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Home: service grid ---------- */

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.service-grid > li {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 32px 28px 36px;
  background: var(--panel);
}
.service-grid h3 { margin: 20px 0 8px; }
.service-grid h3 a { color: var(--ink); text-decoration: none; }
.service-grid h3 a:hover { color: var(--signal); text-decoration: underline; }
.service-grid p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

.service-grid > li.service-cta { background: var(--navy); color: var(--on-navy); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.service-cta h3 { margin-top: 0; font-size: 1.45rem; }
.service-cta p { color: var(--on-navy-soft); }
.service-cta .button { align-self: flex-start; background: var(--on-navy); color: var(--navy-deep); }
.service-cta .button:hover { background: var(--sky); color: var(--navy-deep); }

@media (max-width: 960px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

.glyph { width: 52px; height: 52px; color: var(--signal); }
.glyph .g-line { stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.glyph .g-node { stroke: currentColor; stroke-width: 2; fill: var(--panel); }
.glyph .g-dot { fill: currentColor; }

/* ---------- Home: process as a signal path ---------- */

.signal-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  position: relative;
  counter-reset: step;
}
.signal-path::before { content: ""; position: absolute; top: 27px; left: 28px; right: 14%; border-top: 2px dashed var(--navy-line); }
.signal-path li { position: relative; counter-increment: step; }
.signal-path li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 22px;
  position: relative;
}
.signal-path li:last-child::before { background: #fff; color: var(--navy); }
.signal-path h3 { font-size: 1.35rem; margin-bottom: 8px; }
.signal-path p { color: var(--on-navy-soft); margin: 0; }

@media (max-width: 860px) {
  .signal-path { grid-template-columns: 1fr; gap: 28px; }
  .signal-path::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed var(--navy-line); }
  .signal-path li { padding-left: 80px; min-height: 56px; }
  .signal-path li::before { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- Home: why, with the topology drawing ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.diagram-card { margin: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 28px 24px 20px; }
.diagram-card figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 12px; }

.topology { width: 100%; height: auto; }
.topology .link { stroke: var(--rule); stroke-width: 2; fill: none; }
.topology .link-path { stroke: var(--signal); stroke-width: 2.5; fill: none; stroke-dasharray: 6 7; }
.topology .node { fill: var(--panel); stroke: var(--ink); stroke-width: 1.5; }
.topology .node-core { fill: var(--navy); stroke: var(--navy); }
.topology .label { font-family: var(--mono); font-size: 11px; fill: var(--ink-soft); }
.topology .label-core { fill: #fff; }
.topology .status { fill: var(--status); }
@media (prefers-reduced-motion: no-preference) {
  .topology .link-path { animation: flow 2.4s linear infinite; }
  @keyframes flow { to { stroke-dashoffset: -26; } }
}

.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  border: 2px solid var(--signal);
  background: radial-gradient(circle, var(--signal) 0 3px, transparent 4px);
}

/* ---------- CTA band and page heads (navy, with a faint constellation) ---------- */

.cta-band { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 104px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; z-index: 2; }
.cta-band h2 { margin: 0; max-width: 20ch; }

.band-art { position: absolute; z-index: 1; pointer-events: none; }
.cta-band .band-art { right: -60px; top: 50%; width: 440px; transform: translateY(-50%); opacity: 0.3; }
@media (max-width: 700px) { .cta-band .band-art { width: 300px; right: -140px; } }

.page-head { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.page-head h1 { max-width: 18ch; position: relative; z-index: 2; }
.page-head .lede { position: relative; z-index: 2; }
.page-head .band-art { right: -80px; top: -60px; width: 560px; opacity: 0.38; }
@media (max-width: 800px) { .page-head .band-art { width: 380px; right: -180px; opacity: 0.22; } }

/* ---------- Services page ---------- */

.service-rows { list-style: none; margin: 0; padding: 0; }
.service-rows > li {
  display: grid;
  grid-template-columns: 64px minmax(0, 17rem) minmax(0, 1fr);
  gap: 12px 32px;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 24px;
}
.service-rows > li:last-child { border-bottom: 1px solid var(--rule); }
.service-rows h3 { margin: 12px 0 0; font-size: 1.4rem; }
.service-rows p { color: var(--ink-soft); margin: 0 0 0.8em; }
.deliverables { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.deliverables li { font-size: 0.92rem; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); }
@media (max-width: 800px) {
  .service-rows > li { grid-template-columns: 52px 1fr; }
  .service-rows > li > div { grid-column: 1 / -1; }
}

/* ---------- About ---------- */

.aside { background: var(--panel); border: 1px solid var(--rule); border-top: 4px solid var(--navy); border-radius: 6px; padding: 28px; }
.aside h3 { font-size: 1.05rem; }
.aside ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.aside li + li { margin-top: 6px; }
.aside ul + h3 { margin-top: 1.4em; }
.split p + h2 { margin-top: 1.4em; }

/* ---------- Contact ---------- */

.form { display: grid; gap: 18px; }
.form-card { background: var(--panel); border: 1px solid var(--rule); border-radius: 8px; padding: clamp(24px, 4vw, 40px); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-weight: 400; color: var(--ink-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.form input, .form textarea, .form select {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 12px 13px;
  width: 100%;
}
.form textarea { min-height: 170px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--signal); outline: 2px solid var(--signal); outline-offset: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; margin: 0; font-weight: 600; }
.form-status.ok { color: var(--signal); }
.form-status.error { color: #b3261e; }
@media (prefers-color-scheme: dark) { .form-status.error { color: #ff8a80; } }

.contact-split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } }
.contact-side h2 { font-size: 1.5rem; }
.contact-details { list-style: none; padding: 0; margin: 0; }
.contact-details li { padding: 16px 0; border-top: 1px solid var(--rule); }
.contact-details li:last-child { border-bottom: 1px solid var(--rule); }
.contact-details strong { display: block; font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- Placeholders to replace before launch ---------- */

.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 0 4px; border-radius: 2px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: var(--on-navy-soft); padding: 48px 0 52px; font-size: 0.94rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.site-footer .brand { font-size: 1.15rem; }
.site-footer .brand img { width: 32px; height: 32px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.site-footer a { color: var(--on-navy-soft); }
.site-footer a:hover { color: var(--on-navy); }
.site-footer p { margin: 0; }
.site-footer .legal { flex-basis: 100%; max-width: none; border-top: 1px solid var(--navy-line); padding-top: 20px; }

/* ---------- Featured: voice modernization ---------- */

.featured { background: var(--panel); border-bottom: 1px solid var(--rule); }

.feature-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.feature-cards > li {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--navy);
  border-radius: 6px;
  padding: 28px 28px 32px;
}
.feature-cards h3 { font-size: 1.4rem; margin: 22px 0 8px; }
.feature-cards h3 a { color: var(--ink); text-decoration: none; }
.feature-cards h3 a:hover { color: var(--signal); text-decoration: underline; }
.feature-cards p { color: var(--ink-soft); margin: 0; }
@media (max-width: 960px) { .feature-cards { grid-template-columns: 1fr; } }

/* Before/after diagram: muted legacy on the left, navy modern on the right. */
.swap { margin: 0; }
.swap svg { width: 100%; max-width: 300px; height: auto; }
.swap .old { fill: none; stroke: var(--ink-soft); stroke-width: 2; stroke-dasharray: 4 4; opacity: 0.75; }
.swap .old-line { fill: none; stroke: var(--ink-soft); stroke-width: 2; stroke-dasharray: 4 4; opacity: 0.75; }
.swap .new { fill: var(--panel); stroke: var(--signal); stroke-width: 2.5; }
.swap .new-line { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-linecap: round; }
.swap .new-dot { fill: var(--signal); }
.swap .arrow { fill: none; stroke: var(--status); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.swap figcaption { display: flex; justify-content: space-between; max-width: 300px; font-size: 0.85rem; color: var(--ink-soft); margin-top: 8px; gap: 12px; }
.swap figcaption span:last-child { color: var(--ink); font-weight: 600; text-align: right; }

.rows-heading { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 8px; }
.service-rows + .rows-heading { margin-top: 72px; }

/* ---------- Unified global platform (on navy) ---------- */

.unified .section-head { align-items: start; }

.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-bottom: 56px; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }

.compare-panel {
  margin: 0;
  border: 1px solid var(--navy-line);
  border-radius: 8px;
  padding: 24px 24px 20px;
  background: rgba(0, 0, 0, 0.12);
}
.compare-after { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.5); }
.compare-panel svg { width: 100%; height: auto; }
.compare-panel figcaption { margin-top: 14px; color: var(--on-navy-soft); font-size: 0.98rem; }
.compare-panel figcaption strong { color: var(--on-navy); }

/* Patchwork: mismatched boxes, dashed and broken links */
.pw-box { fill: none; stroke: var(--on-navy-soft); stroke-width: 1.8; }
.pw-link { fill: none; stroke: var(--on-navy-soft); stroke-width: 1.6; opacity: 0.7; }
.pw-dash { stroke-dasharray: 5 4; }
.pw-broken { stroke-dasharray: 2 5; }
.pw-x { stroke: var(--status); stroke-width: 3; stroke-linecap: round; }
.pw-gw { fill: var(--navy); stroke: var(--on-navy-soft); stroke-width: 1.5; }
.pw-label { font-family: var(--mono); font-size: 10px; fill: var(--on-navy-soft); }
.pw-cap { font-family: var(--font); font-size: 12px; font-weight: 600; fill: var(--on-navy); }

/* Unified: one hub, identical sites */
.un-ring { fill: none; stroke: rgba(255, 255, 255, 0.2); stroke-width: 1.5; }
.un-link { fill: none; stroke: #fff; stroke-width: 2.4; }
.un-local { fill: none; stroke: var(--sky); stroke-width: 2.4; stroke-linecap: round; }
.un-hub { fill: #fff; }
.un-hub-label { font-family: var(--font-display); font-size: 14px; font-weight: 700; fill: var(--navy); }
.un-site { fill: var(--navy); stroke: #fff; stroke-width: 2.4; }
.un-dot { fill: #fff; }

/* Benefits: standardization leads, spanning two columns and two rows */
.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.benefits li { border-top: 2px solid var(--navy-line); padding: 20px 4px 8px; }
.benefits h3 { font-size: 1.18rem; margin-bottom: 8px; }
.benefits p { color: var(--on-navy-soft); margin: 0; font-size: 0.98rem; }
.benefits .lead {
  grid-column: span 2;
  grid-row: span 2;
  background: #fff;
  color: var(--navy-deep);
  border: 0;
  border-radius: 8px;
  padding: 32px 34px;
}
.benefits .lead h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.benefits .lead p { color: #33475d; font-size: 1.08rem; max-width: 58ch; }
@media (max-width: 860px) {
  .benefits { grid-template-columns: 1fr; }
  .benefits .lead { grid-column: auto; grid-row: auto; }
}
.benefits .lead .same-label { margin: 24px 0 10px; font-weight: 600; color: var(--navy-deep); font-size: 0.98rem; }
.same-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.same-list li { font-size: 0.92rem; padding: 6px 12px; border-radius: 999px; background: #e8eef6; color: var(--navy-deep); border: 1px solid #c9d6e6; }

/* ---------- Network sphere (replaces the flat constellation) ---------- */

.sphere { width: 100%; height: auto; overflow: visible; }
.sph-rim { fill: none; stroke: rgba(255, 255, 255, 0.45); stroke-width: 1.5; }
.sph-glass { fill: rgba(0, 37, 74, 0.35); }
.sph-grid { fill: none; stroke-width: 1; }
.sph-grid.back { stroke: rgba(255, 255, 255, 0.08); }
.sph-grid.front { stroke: rgba(255, 255, 255, 0.2); }
.sph-edge { fill: none; stroke-linecap: round; }
.sph-edge.back { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1.4; }
.sph-edge.front { stroke: rgba(255, 255, 255, 0.85); stroke-width: 2.2; }
.sph-node { fill: var(--navy); stroke: #fff; stroke-width: 2.4; }
.sph-dot { fill: #fff; }
.sph-flag { fill: var(--status); }
.sph-nodes-back circle { opacity: 0.4; }
.sph-nodes-back .sph-node { stroke-width: 1.6; }

@media (prefers-reduced-motion: no-preference) {
  .hero .sphere { animation: sphere-in 1.2s cubic-bezier(.2, .7, .2, 1) both; transform-origin: 50% 50%; }
  @keyframes sphere-in { from { opacity: 0; transform: scale(0.88) rotate(-6deg); } to { opacity: 1; transform: none; } }
}
