/* SecureLink Networks website. Tokens first; components derive from them. */
:root {
  --navy: #0d1f52;        /* logo blue */
  --midnight: #071238;    /* dark section ground */
  --ink: #15203b;         /* body text on light */
  --muted: #5b6784;       /* secondary text, blue-biased grey */
  --line: #d9dde8;
  --paper: #f6f7fb;       /* page ground, slight blue bias */
  --surface: #ffffff;
  --accent: #c93e25;      /* brand red, CTAs only; 5.0:1 with white */
  --accent-hover: #b23520;
  --status-good: #1f7a4a; --status-good-soft: #e3f3ea;
  --status-warning: #b45309; --status-warning-soft: #fdf0dd;
  --status-critical: #9f2b1a; --status-critical-soft: #fbe6e2;
  --surface-sunken: #eceef5;
  --accent-ink: #ffffff;
  --signal: #4cc3ff;      /* diagram highlight on dark */
  --signal-2: #8fd3a8;
  --ok: #1f7a4a;
  --radius: 6px;
  --max: 1180px;
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.55; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em 0; max-width: 68ch; }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 60ch; }
.eyebrow { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
section { padding-block: clamp(48px, 8vw, 96px); }
section.tight { padding-block: clamp(32px, 5vw, 56px); }
section.strip-band { padding-block: 22px; border-block: 1px solid var(--line); background: var(--surface); }
.dark { background: var(--midnight); color: #dfe5f3; }
.dark h1, .dark h2, .dark h3 { color: #ffffff; }
.dark p { color: #c7d0e6; }
.dark .lead { color: #aab6d3; }
.dark a { color: #ffffff; }
.dark .eyebrow { color: var(--signal); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--font-display); font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-cta { display: inline-block; background: var(--accent); color: var(--accent-ink) !important; padding: 10px 16px; border-radius: var(--radius); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; font: inherit; color: var(--ink); }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 10px 0; border-top: 1px solid var(--line); }
  .nav-links li:first-child { border-top: 0; }
}

/* Buttons */
.btn { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .95rem; text-decoration: none; padding: 13px 20px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { max-width: 16ch; }
.hero-figure { background: var(--midnight); border-radius: 10px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(7,18,56,.55); }
.hero-figure figcaption { font-family: var(--font-mono); font-size: .74rem; color: #aab6d3; margin-top: 10px; }

/* Grids and cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-top: .2rem; }
.card p:last-child { margin-bottom: 0; }
.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.dark .card h3 { color: #fff; }
.kicker { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.dark .kicker { color: #8fa0c8; }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; font-size: .97rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.spec th { width: 26%; font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.spec td code, .mono { font-family: var(--font-mono); font-size: .86em; }
.table-wrap { overflow-x: auto; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 14px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: .8rem; color: var(--accent); display: block; margin-bottom: 6px; }
.steps h3 { font-size: 1.05rem; }
.steps p { font-size: .98rem; color: var(--muted); margin: 0; }
.dark .steps li { border-top-color: rgba(255,255,255,.35); }
.dark .steps p { color: #aab6d3; }

/* Split sections */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split.reverse > :first-child { order: 0; } }
.checks { list-style: none; padding: 0; margin: 0 0 1rem 0; }
.checks li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); }
.dark .checks li::before { background: var(--signal-2); }

/* Partner strip */
.strip { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; justify-content: center; }
.strip .kicker { font-size: .72rem; }
.strip .badge { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 16px; background: var(--surface); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7def2; }

/* Forms */
form { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-grid { align-items: end; }
label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .88rem; line-height: 1.3; color: var(--navy); }
label span.req { color: var(--accent); margin-left: 2px; }
input, select, textarea { display: block; margin-top: 6px; font: inherit; font-family: var(--font-body); font-size: 1rem; font-weight: 400; line-height: 1.4; padding: 0 12px; height: 46px; border: 1px solid #b9c0d4; border-radius: var(--radius); background: var(--surface); color: var(--ink); width: 100%; }
input::placeholder, textarea::placeholder { color: #8a94ad; }
select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.500l5 5 5-5' fill='none' stroke='%230d1f52' stroke-width='1.600' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 12px 8px; }
input[type="date"] { -webkit-appearance: none; appearance: none; }
textarea { height: auto; min-height: 132px; padding: 11px 12px; resize: vertical; }
form .btn-row { align-items: center; }
form > h2 { margin-bottom: 0; }
.form-note { font-size: .9rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-status { font-weight: 600; }
.form-status[data-state="ok"] { color: var(--ok); }
.form-status[data-state="error"] { color: var(--accent); }

/* Prose pages */
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose h3 { font-size: 1.08rem; margin-top: 1.4rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.page-head { padding-block: clamp(36px, 6vw, 64px) clamp(20px, 3vw, 32px); }

/* People */
.people { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
@media (max-width: 900px) { .people { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .people { grid-template-columns: minmax(0, 1fr); } }
.person { border-top: 2px solid var(--navy); padding-top: 12px; }
.person strong { font-family: var(--font-display); display: block; }
.person span { color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer { background: var(--midnight); color: #aab6d3; padding-block: 48px 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer h4 { color: #fff; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #dfe5f3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.wordmark { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.15rem; letter-spacing: -.01em; }
.wordmark small { display: block; font-weight: 400; letter-spacing: .22em; font-size: .62rem; color: #aab6d3; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: #8fa0c8; }

/* Diagram shared */
.diagram { display: block; width: 100%; height: auto; }
.diagram text { font-family: var(--font-body); }
.diagram .mono { font-family: var(--font-mono); }
@keyframes flow { to { stroke-dashoffset: -24; } }
.diagram .flow { stroke-dasharray: 6 6; animation: flow 1.6s linear infinite; }

/* Product hero (design system direction B) */
.hero-product { padding-block: clamp(44px, 6vw, 72px) 0; overflow: hidden; }
.hero-product .hero-copy { display: grid; gap: 18px; }
.hero-product .hero-copy > * { max-width: 760px; }
.hero-product h1 { max-width: 20ch; }
.hero-product .btn-row { align-items: center; margin-top: .4rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: .78rem; padding: 3px 10px 3px 8px; border-radius: 999px; background: var(--surface-sunken); color: var(--muted); white-space: nowrap; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hero-band { position: relative; margin-top: 36px; }
.hero-band::before { content: ""; position: absolute; left: 0; right: 0; top: 72px; bottom: 0; background: var(--midnight); }
.hero-band .wrap { position: relative; }
.hero-band img { display: block; width: 100%; max-width: 1040px; margin: 0 auto; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(7,18,56,.55); }
.hero-band figcaption { text-align: center; font-family: var(--font-mono); font-size: .74rem; color: #aab6d3; padding: 14px 0 28px; }
.mock { background: var(--midnight); border-radius: 10px; padding: 18px; }
.mock img { display: block; width: 100%; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); }
.mock figcaption { font-family: var(--font-mono); font-size: .74rem; color: #aab6d3; margin-top: 10px; }

/* Icons, outcome cards, solutions, compliance map (feedback round, Nov 2026) */
.icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: #fff; flex: none; }
.icon svg { width: 24px; height: 24px; }
.dark .icon { background: rgba(76,195,255,.14); color: var(--signal); }
.outcomes .card { display: grid; gap: 8px; align-content: start; }
.outcomes .card h3 { margin: 4px 0 0; font-size: 1.08rem; }
.outcomes .card p { font-size: .98rem; color: var(--muted); }
.dark .outcomes .card p, .dark .card p { color: #c7d0e6; }
.card > .icon + .kicker { display: block; margin-top: 12px; }
.card .fit { font-size: .95rem; border-top: 1px solid rgba(255,255,255,.14); padding-top: 12px; margin-top: 12px; }
.card.light { background: var(--surface); }
.figure-light { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.spec-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 800px) { .spec-compare { grid-template-columns: minmax(0, 1fr); } }
.spec-compare .art { height: 120px; display: grid; place-items: center; background: var(--paper); border-radius: var(--radius); margin-bottom: 16px; padding: 8px 16px; }
.spec-compare .art svg.diagram { max-width: 360px; }
.spec-compare .art .icon { width: 64px; height: 64px; border-radius: 14px; }
.spec-compare .art .icon svg { width: 34px; height: 34px; }
.spec-compare .spec th { width: 32%; }
.iconlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.iconlist li { display: flex; gap: 14px; align-items: flex-start; }
.iconlist .icon { width: 38px; height: 38px; border-radius: 8px; }
.iconlist .icon svg { width: 20px; height: 20px; }
.jump { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 960px) { .jump { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .jump { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jump a { display: grid; justify-items: center; gap: 10px; text-align: center; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 10px; font-family: var(--font-display); font-weight: 600; font-size: .86rem; line-height: 1.25; color: var(--navy); }
.jump a:hover { border-color: var(--navy); }
.solution-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.solution-head h3 { margin: 4px 0 0; font-size: 1.22rem; }
.solution { height: 100%; scroll-margin-top: 90px; }
[id^="s-"] { scroll-margin-top: 90px; }
.so-what { background: var(--status-good-soft); border-left: 3px solid var(--status-good); border-radius: 0 var(--radius) var(--radius) 0; padding: 12px 14px; }
.map thead th { font-family: var(--font-mono); font-weight: 500; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--navy); }
.map { min-width: 760px; }
.map th { width: 22%; }
.map td.tags { width: 30%; }
.map th .pill { margin-top: 6px; white-space: normal; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: .74rem; line-height: 1.3; background: var(--surface-sunken); color: var(--ink); border-radius: 4px; padding: 3px 7px; margin: 0 4px 5px 0; }
