/* Polaris AI — product-led system, forked from the group's site generator.
   Deep blue-navy is the brand ground. Azure #2F7DF6 is the product/interactive accent.
   ponytail: no framework. Grid + custom properties + ~30 lines of vanilla JS. */

@font-face {
  font-family: 'Inter'; src: url('fonts/inter.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --navy: #0E2C4F;
  --deep: #071A2E;
  --accent: #2F7DF6;
  --accent-soft: #E8F1FE;
  --ok: #2FA96B;
  --warn: #C98A2E;
  --paper: #FFFFFF;
  --mist: #F6F7FB;
  --ink: #12263E;
  --muted: #666B85;
  --line: #E5E7F1;
  --line-dark: rgba(255, 255, 255, .14);
  --sans: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --r: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  font-feature-settings: 'cv05' 1, 'ss01' 1;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.032em; line-height: 1.05; }
h1 { font-size: clamp(2.7rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.95rem, 3.3vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -.02em; }
h4 { margin: 0 0 .4rem; font-size: 1rem; font-weight: 600; letter-spacing: -.012em; }
p { margin: 0 0 1.05rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.lede { font-size: 1.18rem; line-height: 1.55; color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }

.kicker {
  margin: 0 0 1.1rem; font-size: .74rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--accent);
}
.on-dark .kicker { color: #8FB9FF; }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 7px;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  font-size: .95rem; font-weight: 600; letter-spacing: -.008em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(47, 125, 246, .3); }
.btn-sm { padding: .55rem 1.05rem; font-size: .88rem; }
.btn-ghost {
  background: transparent; color: #fff; border-color: var(--line-dark);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }

/* ---------------- nav ---------------- */

.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: .85rem 28px; background: rgba(7, 26, 46, .88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.brand img { display: block; height: 30px; width: auto; }
.nav-links { display: flex; gap: 1.9rem; }
.nav-links a {
  font-size: .92rem; color: rgba(255, 255, 255, .72); transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.on { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 1.1rem; }
.lang {
  font-size: .76rem; font-weight: 600; letter-spacing: .08em;
  color: rgba(255, 255, 255, .6); border: 1px solid var(--line-dark);
  padding: .3rem .55rem; border-radius: 5px;
}
.lang:hover { color: #fff; }

/* ---------------- hero ---------------- */

.hero {
  background: var(--deep); color: #fff;
  padding: 6.5rem 0 7rem;
  background-image:
    radial-gradient(900px 420px at 78% 18%, rgba(47, 125, 246, .26), transparent 68%),
    radial-gradient(700px 380px at 8% 92%, rgba(47, 125, 246, .12), transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 4.5rem; align-items: center;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero-sub {
  font-size: 1.25rem; line-height: 1.5;
  color: rgba(255, 255, 255, .74); max-width: 40ch; margin-bottom: 2.2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-note {
  margin: 2.4rem 0 0; font-size: .88rem; color: rgba(255, 255, 255, .45);
}
.hero-sm { padding: 5rem 0 4.5rem; }
.hero-sm h1 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); max-width: 18ch; }
.hero-sm .hero-grid { grid-template-columns: 1fr; gap: 0; }
.hero-sm .hero-sub { max-width: 52ch; }

/* ---------------- bands ---------------- */

.band { padding: 6.5rem 0; }
.band.mist { background: var(--mist); }
.band.dark { background: var(--navy); color: #fff; }
.band.deep { background: var(--deep); color: #fff; }
/* adjacent same-colour bands would otherwise stack 13rem of empty space */
.band.deep + .band.deep, .band.dark + .band.dark,
.band.mist + .band.mist { padding-top: 0; }
.band h2 { margin-bottom: 1.3rem; }
.band > .wrap > .lede { margin-bottom: 3.2rem; }
.on-dark .lede, .band.dark .lede, .band.deep .lede { color: rgba(255, 255, 255, .72); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.split.flip > *:first-child { order: 2; }
.split .lede { margin-bottom: 1.4rem; }
.split .lede:last-child { margin-bottom: 0; }
.narrow { max-width: 62ch; }
.center { max-width: 720px; margin: 0 auto; text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------------- UI panels (illustrative, never screenshots) ---------------- */

.panel {
  background: #fff; color: var(--ink);  /* never inherit the dark section's white */
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 24px 60px rgba(7, 26, 46, .16), 0 2px 6px rgba(7, 26, 46, .06);
  overflow: hidden; font-size: .9rem;
}
.on-dark .panel, .hero .panel { box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.panel-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1rem; background: var(--mist); border-bottom: 1px solid var(--line);
}
.panel-title { font-weight: 600; font-size: .86rem; letter-spacing: -.01em; }
.panel-title .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); margin-right: .5rem; vertical-align: middle;
}
.chip {
  font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: .22rem .5rem; border-radius: 4px;
  background: var(--accent-soft); color: var(--accent);
}
.chip.ok { background: #E7F6EE; color: var(--ok); }
.chip.warn { background: #FBF1DF; color: var(--warn); }
.rows { padding: .35rem 0; }
.row {
  display: flex; align-items: center; gap: .75rem;
  padding: .72rem 1rem; border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: none; }
.row .ico {
  flex: 0 0 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: .62rem; font-weight: 700; color: #fff;
}
.ico.done { background: var(--ok); }
.ico.live { background: var(--accent); }
.ico.wait { background: #C7CAD9; }
.row .label { flex: 1; letter-spacing: -.01em; }
.row .meta { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.row.dim .label, .row.dim .meta { color: #9AA0B4; }
.panel-foot {
  padding: .7rem 1rem; background: var(--mist);
  border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted);
}

/* stacked mini panels */
.stack { display: grid; gap: 1.1rem; }

/* ---------------- cash-cycle timeline ---------------- */

.tl { width: 100%; height: auto; overflow: visible; }
.tl .axis { stroke: var(--line); stroke-width: 1; }
.tl .rail { stroke: #C9CDE0; }
.tl .zero { stroke: #C9CDE0; stroke-dasharray: 3 4; }
.tl .tick { stroke: var(--line); stroke-width: 1; }
.tl .curve {
  fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 1200; stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.9s cubic-bezier(.4, 0, .2, 1);
}
.reveal.in .tl .curve { stroke-dashoffset: 0; }
.tl .fill { fill: rgba(47, 125, 246, .1); opacity: 0; transition: opacity 1.2s ease .7s; }
.reveal.in .tl .fill { opacity: 1; }
.tl .node { fill: #fff; stroke: var(--accent); stroke-width: 2.5; }
.tl text { font-family: var(--sans); font-size: 11px; fill: var(--muted); }
.tl text.big { font-size: 12px; font-weight: 600; fill: var(--ink); }

/* ---------------- ceilings ---------------- */

.ceil { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.ceil-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 2rem 1.8rem;
  background: #fff;
}
.ceil-card .cap {
  display: block; height: 4px; width: 46px; border-radius: 2px;
  background: var(--accent); margin-bottom: 1.4rem;
}
.ceil-card h3 { margin-bottom: .6rem; }
.ceil-card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------------- layer cards ---------------- */

.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.layer {
  border: 1px solid var(--line-dark); border-radius: 12px; padding: 1.9rem 1.7rem;
  background: rgba(255, 255, 255, .04);
}
.layer .num {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; color: #8FB9FF;
}
.layer h3 { margin: .7rem 0 .35rem; }
.layer .tag { font-size: .88rem; color: #8FB9FF; margin: 0 0 .9rem; }
.layer p { margin: 0; font-size: .96rem; color: rgba(255, 255, 255, .66); }

/* ---------------- grids / lists ---------------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 3rem; }
.item h4 { padding-top: .85rem; border-top: 2px solid var(--navy); }
.item p { margin: 0; color: var(--muted); font-size: .96rem; }
.on-dark .item h4 { border-top-color: rgba(255, 255, 255, .3); }
.on-dark .item p { color: rgba(255, 255, 255, .66); }

.practices { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.col-label {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding-bottom: .8rem; border-bottom: 2px solid var(--accent); margin-bottom: 1.2rem;
}
.col-label.muted { border-bottom-color: var(--line); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.ticks.next li { color: var(--muted); }

.more {
  display: inline-block; margin-top: 2.4rem; font-size: .95rem; font-weight: 600;
  color: var(--accent); border-bottom: 1px solid rgba(47, 125, 246, .35); padding-bottom: .15rem;
}

/* ---------------- statement / figure ---------------- */

.statement-line {
  font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.035em;
  margin: 0 auto 1.6rem; max-width: 19ch;
}
.figure {
  font-size: clamp(4rem, 10vw, 7.5rem); font-weight: 600;
  letter-spacing: -.05em; line-height: 1; margin: 0 0 1.2rem;
}
.contact-line { margin-top: 2.2rem; font-size: .9rem; color: rgba(255, 255, 255, .5); }

/* ---------------- footer ---------------- */

footer { background: var(--deep); color: rgba(255, 255, 255, .6); padding: 4rem 0 2.2rem; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.foot img { height: 28px; width: auto; opacity: .9; }
.foot-tag { margin: 1rem 0 0; font-size: .92rem; max-width: 30ch; }
.foot-h {
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .4); margin: .3rem 0 .9rem;
}
.foot a { display: block; font-size: .92rem; padding: .26rem 0; }
.foot a:hover { color: #fff; }
.foot-rights {
  margin: 3rem 0 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .38);
}

/* ---------------- motion ---------------- */

/* hidden only when JS is running, so a failed script never blanks the page */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.js .reveal.d1.in { transition-delay: .09s; }
.js .reveal.d2.in { transition-delay: .18s; }
.js .reveal.d3.in { transition-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tl .curve { stroke-dashoffset: 0; transition: none; }
  .tl .fill { opacity: 1; transition: none; }
  .btn:hover { transform: none; }
}

/* ---------------- responsive ---------------- */

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid, .split, .ceil, .layers, .grid-2, .practices { grid-template-columns: 1fr; gap: 2.4rem; }
  .split.flip > *:first-child { order: 0; }
  .band { padding: 4.5rem 0; }
  .foot { grid-template-columns: 1fr; gap: 2.2rem; }
}

/* ---------------- network diagram ---------------- */

.net-wrap { margin-top: 3.5rem; }
.net { width: 100%; height: auto; overflow: visible; }
.net-foot {
  margin: 1.6rem 0 0; text-align: center;
  font-size: .82rem; color: rgba(255, 255, 255, .38);
}

.net .halo { opacity: .5; animation: breathe 6s ease-in-out infinite; }

/* every path is drawn in the direction the thing travels; dashes follow path
   direction, so flow direction is encoded in the geometry and nothing else. */
.net .ln {
  fill: none; stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 5 11;
  animation: flow 1.6s linear infinite;
}
.net .ln.feed { stroke: rgba(255, 255, 255, .22); stroke-dasharray: 3 8; }
.net .ln.case { stroke: #66A3FF; }
.net .ln.money { stroke: #3FBF80; }

.net .dot { fill: #071A2E; stroke-width: 2.5; }
.net .dot.firm { stroke: #66A3FF; }
.net .dot.court { stroke: #FFFFFF; }
.net .dot.fund { stroke: #3FBF80; }
.net .nodes .dot { animation: pulse 3.2s ease-in-out infinite; }
.net .nodes .dot:nth-child(2) { animation-delay: .5s; }
.net .nodes .dot:nth-child(3) { animation-delay: 1s; }
.net .nodes .dot:nth-child(4) { animation-delay: 1.5s; }
.net .nodes .dot:nth-child(5) { animation-delay: 2s; }

.net .hub {
  fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .5); stroke-width: 1.5;
}
.net .hub-t {
  font-family: var(--sans); font-size: 21px; font-weight: 600;
  letter-spacing: -.02em; fill: #fff;
}
.net .hub-s {
  font-family: var(--sans); font-size: 10.5px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; fill: #8FB9FF;
}
.net .nl {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: -.01em; fill: rgba(255, 255, 255, .88);
}
.net .el {
  font-family: var(--sans); font-size: 11.5px; font-weight: 500;
  letter-spacing: .02em; fill: #8FB9FF;
}
/* knock the flow lines out from behind the labels rather than dodging them */
.net .el, .net .nl { stroke: #071A2E; stroke-width: 5; paint-order: stroke fill; }
.net .el.money-t { fill: #6FD4A0; }

@keyframes flow { to { stroke-dashoffset: -32; } }
@keyframes pulse {
  0%, 100% { r: 9; opacity: 1; }
  50% { r: 11; opacity: .75; }
}
@keyframes breathe {
  0%, 100% { opacity: .38; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .net .ln, .net .dot, .net .halo { animation: none; }
}
@media (max-width: 700px) {
  .net .el, .net .nl { font-size: 15px; }
}

/* ---------------- live hero panel ---------------- */

.panel-stack { position: relative; }
.panel-stack::before {
  content: ""; position: absolute; inset: 18px -16px -18px 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px; z-index: 0;
}
.panel-stack .panel { position: relative; z-index: 1; }

.agent {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: .22rem .55rem; border-radius: 4px;
  background: var(--accent-soft); color: var(--accent);
}
.agent i {
  width: 3px; height: 3px; border-radius: 50%; background: currentColor;
  animation: think 1.2s ease-in-out infinite;
}
.agent i:nth-of-type(2) { animation-delay: .16s; }
.agent i:nth-of-type(3) { animation-delay: .32s; }

/* each row runs the same 11s cycle, offset by its index */
.panel-live .row { animation: rowwake 11s linear infinite; animation-delay: calc(var(--i) * 1.7s); }
.panel-live .row .ico {
  background: #C9CCDA; color: transparent;
  animation: icostate 11s linear infinite; animation-delay: calc(var(--i) * 1.7s);
}
.panel-live .row .label { animation: labelwake 11s linear infinite; animation-delay: calc(var(--i) * 1.7s); }
.panel-live .row .meta { animation: labelwake 11s linear infinite; animation-delay: calc(var(--i) * 1.7s); }

@keyframes rowwake {
  0%, 11% { background: transparent; }
  13%, 20% { background: rgba(47, 125, 246, .07); }
  24%, 100% { background: transparent; }
}
@keyframes icostate {
  0%, 11% { background: #C9CCDA; color: transparent; box-shadow: none; }
  13%, 19% { background: var(--accent); color: transparent;
             box-shadow: 0 0 0 4px rgba(47, 125, 246, .18); }
  23%, 100% { background: var(--ok); color: #fff; box-shadow: none; }
}
@keyframes labelwake {
  0%, 11% { opacity: .42; }
  15%, 100% { opacity: 1; }
}
@keyframes think {
  0%, 100% { opacity: .25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .panel-live .row, .panel-live .row .ico,
  .panel-live .row .label, .panel-live .row .meta, .agent i { animation: none; }
  .panel-live .row .ico { background: var(--ok); color: #fff; }
}

/* ---------------- hero network ---------------- */

.hero-net { margin: -1rem 0; }
.net-sm .hub-t.sm { font-size: 22px; }
.net-sm .hub-s.sm { font-size: 9.5px; letter-spacing: .13em; }
.net-sm .nl.sm { font-size: 13.5px; }
.net-sm .el.sm { font-size: 12px; }
.net-sm .ln { stroke-width: 2.2; stroke-dasharray: 6 10; }
.net-sm .hub { fill: rgba(255, 255, 255, .09); stroke: rgba(255, 255, 255, .62); }
.net-sm .dot { stroke-width: 3; }
.net-sm .halo { opacity: .75; }
.net-sm .nodes .dot { animation-name: pulse-sm; }

@keyframes pulse-sm {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}

/* ---------------- brand ---------------- */

.brand { display: inline-flex; align-items: center; gap: .6rem; }

/* ---------------- header ---------------- */

.nav { background: transparent; border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease; }
.nav.stuck {
  background: rgba(7, 26, 46, .86);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-dark);
}
.nav-links a { position: relative; padding: .3rem 0; }
.nav-links a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px; background: var(--accent);
}

/* pure-CSS mobile menu — no JS, no library */
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; width: 34px; height: 34px;
  display: grid; align-content: center; justify-items: center; gap: 5px;
  border: 1px solid var(--line-dark); border-radius: 7px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 15px; height: 1.5px; background: #fff; }
.menu[open] nav {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 50;
  display: flex; flex-direction: column; gap: .2rem; min-width: 210px;
  padding: .7rem; border-radius: 10px;
  background: #12263E; border: 1px solid var(--line-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
.menu nav a { padding: .6rem .7rem; border-radius: 6px; font-size: .95rem; color: rgba(255,255,255,.8); }
.menu nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.menu nav a.m-lang { border-top: 1px solid var(--line-dark); margin-top: .3rem; padding-top: .8rem; }

/* ---------------- footer ---------------- */

.foot-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  padding-bottom: 3.5rem; margin-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.foot-top h2 { color: #fff; max-width: 18ch; }
.foot { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.foot-brand .brand { margin-bottom: 1.1rem; }
.foot-contact { margin: 1.4rem 0 0; font-size: .9rem; line-height: 1.9; }
.foot-contact a { display: inline; padding: 0; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-top: 3.5rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.foot-bottom p { margin: 0; color: rgba(255, 255, 255, .38); }
.foot-bottom .lang { padding: .25rem .5rem; }

@media (max-width: 960px) {
  .menu { display: block; }
  .nav .btn-sm, .nav-right > .lang { display: none; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------------- fixes + brand descriptor ---------------- */

/* the nav sits above the hero in flow, so a transparent default shows the page
   behind it. Matching --deep makes it merge seamlessly into every hero instead. */
.nav { background: var(--deep); }
.nav.stuck { background: rgba(7, 26, 46, .86); }


/* .foot a{display:block} was stacking the mark above the wordmark */
.foot-brand .brand { display: inline-flex; align-items: center; gap: .6rem; }
.foot-brand .brand img { display: block; }

/* ================= header, rebuilt: quiet flex bar, underlined active ================= */

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: 1.05rem 28px;
}
.brand { gap: 0; }
.brand b { font-size: 1.42rem; margin-left: .6rem; letter-spacing: -.025em; }

.nav-links { gap: 2.1rem; }
.nav-links a {
  position: relative; padding: .35rem 0;
  font-size: .93rem; font-weight: 500;
  color: rgba(255, 255, 255, .7); transition: color .18s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a.on { color: #fff; }
.nav-links a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px;
  height: 2px; border-radius: 2px; background: var(--accent);
}
.nav .btn-sm { padding: .62rem 1.2rem; font-size: .875rem; }
.nav.stuck { box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 12px 30px rgba(0, 0, 0, .35); }

/* ================= footer, rebalanced ================= */

.foot { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot-brand { max-width: 30ch; }
.foot-contact {
  margin: 1.5rem 0 0; font-size: .88rem; line-height: 1.95;
  color: rgba(255, 255, 255, .45);
}
.foot-contact a { color: rgba(255, 255, 255, .72); }
.foot-h { margin: .35rem 0 1rem; }
.foot .foot-h + a { margin-top: -.1rem; }

@media (max-width: 1080px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px)  { .nav { padding: .8rem 22px; } }
@media (max-width: 620px)  { .foot { grid-template-columns: 1fr; } }

/* ================= mobile ================= */

/* SVG text is in user units, so it shrinks with the drawing. These sizes are
   computed back from a ~334px content width: viewBox width / 334 * target px. */
@media (max-width: 760px) {
  .net-sm .nl.sm   { font-size: 22px; }
  .net-sm .el.sm   { font-size: 20px; }
  .net-sm .hub-t.sm { font-size: 34px; }
  .net-sm .hub-s.sm { font-size: 14px; letter-spacing: .1em; }
  .net-sm .ln      { stroke-width: 3.4; stroke-dasharray: 9 15; }
  .net-sm .dot     { stroke-width: 4; }

  .net:not(.net-sm) .nl    { font-size: 34px; }
  .net:not(.net-sm) .hub-t { font-size: 50px; }
  /* at legible size the subtitle no longer fits the hub; the section copy says it */
  .net:not(.net-sm) .hub-s { display: none; }
  .net:not(.net-sm) .hub-t { transform: translateY(7px); }
  .net:not(.net-sm) .el    { display: none; }   /* long labels collide once legible */
  .net:not(.net-sm) .ln    { stroke-width: 4; stroke-dasharray: 11 18; }
  .net:not(.net-sm) .dot   { stroke-width: 5; }

  .tl text      { font-size: 22px; }
  .tl text.big  { font-size: 25px; }
  .tl .curve    { stroke-width: 5; }
  .tl .node     { stroke-width: 5; r: 9; }
}

@media (max-width: 620px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .wrap { padding: 0 22px; }
  .band { padding: 3.6rem 0; }
  .hero { padding: 3.2rem 0 3.6rem; }
  h1 { font-size: clamp(2.25rem, 9vw, 2.9rem); }
  .hero-sub { font-size: 1.1rem; }
  .foot-top h2 { font-size: 1.8rem; }
  .statement-line { font-size: 2rem; }
}

.menu nav a.m-cta {
  margin-top: .5rem; background: var(--accent); color: #fff;
  text-align: center; font-weight: 600;
}
.menu nav a.m-cta:hover { background: var(--accent); color: #fff; }

/* ---------------- Polaris brand lockup (text, no logo asset) ---------------- */
.brand svg { display: block; flex: none; }
.brand b { font-size: 1.28rem; font-weight: 700; letter-spacing: -.022em; color: #fff; white-space: nowrap; margin-left: .55rem; }
.brand b i { font-style: normal; font-weight: 600; color: #8FB9FF; }
.foot-brand .brand b { font-size: 1.12rem; }
