/* ===== Salus brand tokens ===== */
:root {
  --ink: #0f1b2d;
  --steel: #1e3148;
  --blue: #2d72c7;
  --blue-bright: #3d85d8;
  --blue-light: #6fa8dc;
  --amber: #e2a45c;
  --amber-deep: #d98c55;

  --paper: #f4f6f8;
  --bg: #ffffff;
  --text: #0f1b2d;
  --muted: #5b7290;
  --muted-2: #9aa8b6;
  --line: #e3e8ed;
  --line-soft: #d7dee6;

  --grad-blue: linear-gradient(135deg, #2d72c7, #3d85d8);
  --grad-cta: linear-gradient(135deg, #2d72c7 0%, #1e3148 100%);

  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 22px 50px -24px rgba(15, 27, 45, 0.45);
  --shadow-blue: 0 22px 50px -20px rgba(45, 114, 199, 0.45);
  --container: 1180px;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand-text strong, .flow-mark { font-family: var(--font-display); line-height: 1.1; }
::selection { background: var(--blue); color: #fff; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* mono kicker labels */
.kicker {
  display: inline-block; font-family: var(--font-mono); font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 16px;
}
.section-alt .kicker, .section-cta .kicker { color: var(--blue); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 100px; border: 0; cursor: pointer;
  background: var(--grad-blue); color: #fff; white-space: nowrap;
  box-shadow: var(--shadow-blue); transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 26px 56px -18px rgba(45, 114, 199, 0.6); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--line); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); box-shadow: none; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { display: block; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; }
.brand-text small {
  font-family: var(--font-mono); color: var(--muted-2);
  font-size: .64rem; letter-spacing: .08em; text-transform: uppercase;
}
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 500; font-size: .95rem; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--line); border-radius: 100px; overflow: hidden;
}
.lang-switch button {
  border: 0; background: transparent; cursor: pointer; font-family: var(--font-mono);
  font-weight: 700; font-size: .76rem; padding: 7px 12px; color: var(--muted); transition: .2s;
}
.lang-switch button.active { background: var(--blue); color: #fff; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 80%);
}
.hero-glow {
  position: absolute; inset: -25% 0 auto 0; height: 120%; z-index: 1; pointer-events: none;
  background:
    radial-gradient(50% 55% at 78% 12%, rgba(45, 114, 199, 0.42), transparent 60%),
    radial-gradient(45% 45% at 18% 18%, rgba(61, 133, 216, 0.30), transparent 60%),
    radial-gradient(38% 40% at 60% 88%, rgba(226, 164, 92, 0.18), transparent 60%);
  filter: blur(8px); animation: float 16s ease-in-out infinite alternate;
}
@keyframes float { to { transform: translateY(26px) scale(1.04); } }
.hero-inner { position: relative; z-index: 2; padding: 88px 24px 96px; text-align: center; }
.hero-mark { width: 88px; height: 88px; margin: 0 auto 26px; display: block; }
.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue-light);
  background: rgba(45, 114, 199, 0.12); border: 1px solid rgba(61, 133, 216, 0.32);
  padding: 8px 16px; border-radius: 100px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.3rem); font-weight: 600; letter-spacing: -0.035em;
  max-width: 16ch; margin: 0 auto 22px;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255, 255, 255, 0.74);
  max-width: 60ch; margin: 0 auto 36px; font-weight: 400;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.07); }
.hero-stats { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 60px; }
.hero-stats div {
  display: flex; flex-direction: column; gap: 4px; min-width: 150px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius); padding: 20px 24px;
}
.hero-stats strong { font-family: var(--font-display); font-size: 1.95rem; color: var(--blue-light); }
.hero-stats span { font-size: .82rem; color: rgba(255, 255, 255, 0.66); }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--paper); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 600; letter-spacing: -0.03em;
  max-width: 20ch; margin: 0 auto 14px;
}
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 58ch; margin: 0 auto; }

/* ===== Pipeline (How it works) ===== */
.pipeline {
  display: grid; grid-template-columns: 1fr 112px 1.12fr 112px 1fr;
  align-items: center; margin-bottom: 60px;
}
.pipe-node {
  border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  box-shadow: var(--shadow); position: relative;
}
.pipe-icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.14); margin-bottom: 6px;
}
.pipe-icon:not(.pipe-icon-hub) svg {
  width: 27px; height: 27px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.pipe-icon-hub svg { width: 34px; height: 34px; }
.pipe-title { font-family: var(--font-display); font-weight: 600; font-size: 1.26rem; letter-spacing: -.01em; }
.pipe-node small { font-size: .83rem; opacity: .82; line-height: 1.4; }

/* node colors */
.node-pos { background: linear-gradient(160deg, #3d85d8, #2d72c7); color: #fff; }
.node-salus {
  background: linear-gradient(160deg, #1e3148, #0f1b2d); color: #fff; transform: scale(1.07);
  position: relative; overflow: hidden; z-index: 2;
}
.node-salus::after {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 120%;
  background: radial-gradient(50% 60% at 50% 0%, rgba(45, 114, 199, 0.42), transparent 70%);
}
.node-salus > * { position: relative; }
.node-oracle { background: linear-gradient(160deg, #e9b675, #d98c55); color: #1f1306; }
.node-oracle .pipe-icon { background: rgba(31, 19, 6, 0.12); }
.node-oracle small { opacity: .88; }

/* connectors */
.pipe-link { position: relative; height: 64px; }
.pipe-link.l1 { --c-from: #3d85d8; --c-to: #28406a; --c-accent: #2d72c7; }
.pipe-link.l2 { --c-from: #28406a; --c-to: #e2a45c; --c-accent: #e2a45c; }
.pipe-line {
  position: absolute; top: 50%; left: 2px; right: 9px; height: 3px; transform: translateY(-50%);
  border-radius: 4px; background: linear-gradient(90deg, var(--c-from), var(--c-to));
}
.pipe-line::after {
  content: ""; position: absolute; right: -1px; top: 50%; width: 8px; height: 8px;
  border-top: 2px solid var(--c-to); border-right: 2px solid var(--c-to);
  transform: translateY(-50%) rotate(45deg); border-radius: 1px;
}
.pipe-line::before {
  content: ""; position: absolute; top: 50%; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-accent); transform: translateY(-50%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 22%, transparent);
  animation: flowX 2.4s linear infinite;
}
@keyframes flowX {
  0% { left: 0; opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; }
  100% { left: calc(100% - 12px); opacity: 0; }
}
.pipe-proto {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-50% - 23px));
  font-family: var(--font-mono); font-weight: 700; font-size: .72rem; letter-spacing: .12em;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 5px 13px 5px 11px; white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgba(15, 27, 45, 0.45); z-index: 3;
}
.pipe-proto::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent); margin-right: 7px; vertical-align: middle;
}
.pipe-proto::after {
  content: ""; position: absolute; left: 50%; bottom: -11px; width: 1px; height: 11px;
  background: var(--line); transform: translateX(-50%);
}

/* ===== Audience ===== */
.audience {
  text-align: center; max-width: 760px; margin: 0 auto;
  background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 44px 40px;
  position: relative; overflow: hidden;
}
.audience::after {
  content: ""; position: absolute; inset: auto -10% -70% auto; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(45, 114, 199, 0.5), transparent 65%);
  filter: blur(20px); border-radius: 50%;
}
.audience h3 { font-size: 1.65rem; font-weight: 600; margin-bottom: 12px; position: relative; }
.audience p { color: rgba(255, 255, 255, 0.78); position: relative; max-width: 60ch; margin: 0 auto; }

/* ===== Why Salus ===== */
.why-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: stretch; }
.why-panel {
  background: linear-gradient(160deg, #1e3148, #0f1b2d); color: #fff;
  border-radius: var(--radius-lg); padding: 44px 40px; position: relative; overflow: hidden;
}
.why-panel::after {
  content: ""; position: absolute; inset: auto -15% -55% auto; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(226, 164, 92, 0.32), transparent 65%); filter: blur(14px);
}
.why-panel > * { position: relative; }
.why-badge {
  display: inline-block; font-family: var(--font-mono); font-weight: 700; font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--amber);
  border: 1px solid rgba(226, 164, 92, 0.4); background: rgba(226, 164, 92, 0.1);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 22px;
}
.why-panel-lead { font-size: 1.12rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 26px; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.why-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; }
.why-list li::before {
  content: "✓"; grid-row: 1 / span 2; align-self: start;
  font-family: var(--font-display); font-weight: 700; color: var(--amber);
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px;
  background: rgba(226, 164, 92, 0.14); font-size: .9rem;
}
.why-list strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.why-list span { color: rgba(255, 255, 255, 0.7); font-size: .95rem; }

.why-steps { display: flex; flex-direction: column; gap: 14px; }
.why-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; flex: 1;
  transition: border-color .25s, box-shadow .25s;
}
.why-step:hover { border-color: var(--line-soft); box-shadow: var(--shadow); }
.why-step .num {
  font-family: var(--font-mono); font-weight: 700; font-size: .9rem; flex: none;
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px;
  background: var(--grad-blue); color: #fff;
}
.why-step h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; margin-bottom: 5px; }
.why-step p { color: var(--muted); font-size: .94rem; }

/* ===== Capability groups & cards ===== */
.cap-group { margin-bottom: 44px; }
.cap-group:last-child { margin-bottom: 0; }
.cap-group-label {
  font-family: var(--font-mono); font-size: .8rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 22px;
  display: flex; align-items: center; gap: 16px;
}
.cap-group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-soft); }
.card-tag {
  display: inline-block; font-family: var(--font-mono); font-weight: 700; font-size: .78rem;
  letter-spacing: .03em; color: var(--blue); background: rgba(45, 114, 199, 0.09);
  border: 1px solid rgba(45, 114, 199, 0.22); padding: 5px 11px; border-radius: 8px; margin-bottom: 16px;
}
.card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 9px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: .94rem; }

/* ===== Certification ===== */
.cert {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: 52px 48px; margin-bottom: 28px; position: relative; overflow: hidden;
}
.cert::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 90% 10%, rgba(45, 114, 199, 0.28), transparent 60%);
}
.cert > * { position: relative; }
.cert-badge {
  display: inline-block; font-family: var(--font-mono); font-weight: 700; font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--amber);
  border: 1px solid rgba(226, 164, 92, 0.4); background: rgba(226, 164, 92, 0.1);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 18px;
}
.cert-left h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; margin-bottom: 14px; }
.cert-left p { color: rgba(255, 255, 255, 0.76); }
.cert-specs { display: flex; flex-direction: column; }
.cert-specs div {
  display: flex; justify-content: space-between; gap: 16px; padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.cert-specs div:last-child { border-bottom: 0; }
.cert-specs dt { font-family: var(--font-mono); color: rgba(255, 255, 255, 0.55); font-size: .82rem; letter-spacing: .04em; }
.cert-specs dd { font-family: var(--font-mono); font-weight: 700; text-align: right; font-size: .92rem; }

.systems {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 36px;
}
.systems-label {
  font-family: var(--font-mono); font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .14em; font-size: .76rem;
}
.systems ul { display: flex; gap: 12px; flex-wrap: wrap; list-style: none; }
.systems li {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  padding: 10px 20px; background: #fff; border: 1px solid var(--line); border-radius: 100px;
}
.systems li small { color: var(--muted); font-weight: 400; font-size: .78rem; }

/* ===== CTA / Contact ===== */
.section-cta { background: var(--paper); }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.cta-copy {
  background: var(--grad-cta); color: #fff; border-radius: var(--radius-lg); padding: 52px 48px;
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.cta-copy::after {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(61, 133, 216, 0.45), transparent 65%); filter: blur(10px);
}
.cta-copy > * { position: relative; }
.cta-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; margin-bottom: 14px; }
.cta-copy p { color: rgba(255, 255, 255, 0.88); margin-bottom: 28px; max-width: 42ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-copy .btn { background: #fff; color: var(--blue); box-shadow: none; }
.cta-copy .btn:hover { color: var(--steel); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.4); }
.cta-copy .btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); }
.cta-copy .btn-outline:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: #fff; box-shadow: none; }
.cta-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 34px; }
.cta-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 16px; }
.contact-vendor { font-size: 1.08rem; margin-bottom: 4px; }
.contact-legal { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.contact-specs { display: flex; flex-direction: column; gap: 15px; }
.contact-specs > div { display: flex; flex-direction: column; gap: 3px; }
.contact-specs dt {
  font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted-2);
}
.contact-specs dd { font-size: .94rem; color: var(--text); line-height: 1.5; }
.contact-specs a { color: var(--blue); font-weight: 600; }
.contact-specs a:hover { text-decoration: underline; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.5); padding: 26px 0; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em;
}

/* ===== Reveal (only hide when JS is active) ===== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cert { grid-template-columns: 1fr; padding: 40px 32px; }
  .cta-inner { grid-template-columns: 1fr; }
}

/* pipeline → vertical on narrow screens */
@media (max-width: 720px) {
  .pipeline { grid-template-columns: 1fr; }
  .node-salus { transform: none; }
  .pipe-node { max-width: 360px; margin: 0 auto; width: 100%; }
  .pipe-link { height: 58px; }
  .pipe-line {
    top: 7px; bottom: 7px; left: 50%; right: auto; width: 3px; height: auto;
    transform: translateX(-50%); background: linear-gradient(180deg, var(--c-from), var(--c-to));
  }
  .pipe-line::after {
    right: auto; left: 50%; top: auto; bottom: 0;
    transform: translate(-50%, 0) rotate(135deg);
  }
  .pipe-line::before { display: none; }
  .pipe-proto { left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .pipe-proto::after { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero-inner { padding: 64px 24px 72px; }
  .cards { grid-template-columns: 1fr; }
  .header-actions .btn { display: none; }
  .cta-copy, .cert, .audience { padding: 34px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow { animation: none; }
  html { scroll-behavior: auto; }
}
