/* ─────────────────────────────────────────────────────────────
   Pluvoir — marketing site
   Type: IBM Plex Serif (display) · IBM Plex Sans (body) · IBM Plex Mono (data)
   Palette: navy ink #191636 · indigo #4F46E5 · aperture rings · cyan signal
   Product mockups use the gateway app's own tokens.
   ───────────────────────────────────────────────────────────── */

:root {
  /* brand */
  --ink: #191636;
  --body: #403d5c;
  --faint: #6f6c8a;
  --paper: #ffffff;
  --paper-dim: #f8f8fc;
  --indigo: #4f46e5;
  --indigo-deep: #3d35c9;
  --ring-1: #818cf8;
  --ring-2: #a5b4fc;
  --ring-3: #c7d2fe;
  --ring-4: #e0e7ff;
  --cyan: #22d3ee;
  --cyan-ink: #0e7490;
  --line: #e4e3f0;
  --line-strong: #cfcde2;

  /* type */
  --serif: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', 'Segoe UI', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --wrap: 1128px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[id] { scroll-margin-top: 84px; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-deep); }

::selection { background: var(--ring-3); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 6px 0;
  font-size: 14px;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── shared type roles ─────────────────────────────── */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.eyebrow .seg { flex: none; color: var(--indigo); }

h1, h2, h3 { color: var(--ink); text-wrap: balance; }

/* IBM's own recipe for Plex Serif at display sizes (Carbon):
   light weight, zero tracking, compressed leading */
.display {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0;
}

.section-head { max-width: 720px; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 3.6vw, 2.95rem);
  line-height: 1.12;
  letter-spacing: 0;
  margin: 14px 0 16px;
}
.section-head .lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}

/* ── buttons ───────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 550;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 13px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-primary:hover { background: #2c2654; border-color: #2c2654; color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ── nav ───────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 200ms ease;
}
.nav.is-scrolled { box-shadow: 0 1px 10px rgba(25, 22, 54, 0.07); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.nav-logo img { height: 26px; width: auto; }
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin-right: auto;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 480;
  color: var(--body);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-current,
.nav-drop-btn.is-current { color: var(--ink); font-weight: 560; }

/* products dropdown */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 480;
  color: var(--body);
  cursor: pointer;
}
.nav-drop-btn:hover { color: var(--ink); }
.nav-drop-btn svg { transition: transform 160ms ease; margin-top: 1px; }
.nav-drop.is-open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -14px;
  min-width: 300px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(25, 22, 54, 0.05), 0 18px 40px -18px rgba(25, 22, 54, 0.18);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 0s linear 140ms;
}
.nav-drop-menu::before {
  /* keeps hover alive across the gap between button and menu */
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}
.nav-drop.is-open .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 140ms ease, transform 140ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .nav-drop-menu { transition: none; }
  .nav-drop-btn svg { transition: none; }
}
.nav-drop-menu a {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 5px;
}
.nav-drop-menu a:hover { background: var(--paper-dim); }
.nd-glyph {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--c, var(--indigo));
  margin-top: 5px;
}
.nd-text { display: flex; flex-direction: column; gap: 1px; }
.nd-text b { font-size: 14px; font-weight: 550; color: var(--ink); }
.nd-text small { font-size: 12.5px; color: var(--faint); }
.nav-signin {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
}
.nav-signin:hover { color: var(--ink); }
.nav .btn { padding: 10px 18px; font-size: 14px; }
.nav-burger {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--ink);
}
.nav-contact-item { display: none; }

/* ── footer ────────────────────────────────────────── */

.footer {
  background: var(--ink);
  color: #b7b3d4;
  padding: 64px 0 40px;
}
.footer a { color: #d5d2ea; }
.footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand img { height: 26px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; line-height: 1.6; max-width: 320px; }
.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8783ab;
  margin-bottom: 14px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; font-size: 14.5px; }
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: #8783ab;
}

/* ── hero ──────────────────────────────────────────── */

.hero { padding: 76px 0 104px; overflow: hidden; }
.hero-wrap { position: relative; }
.hero-orn {
  position: absolute;
  top: -30px;
  right: -110px;
  width: 380px;
  height: 380px;
  opacity: 0.16;
  pointer-events: none;
  animation: orn-turn 120s linear infinite;
}
@keyframes orn-turn {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orn { animation: none; }
}
@media (max-width: 1000px) {
  .hero-orn { display: none; }
}
.hero-copy { position: relative; max-width: 760px; }
.hero-title {
  font-size: clamp(2.9rem, 6.4vw, 4.65rem);
  line-height: 1.05;
  margin: 20px 0 18px;
}
.dict-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 14px;
  row-gap: 2px;
  margin-bottom: 24px;
}
.dict-word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
}
.dict-pron {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--faint);
}
.dict-def {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--body);
}
.dict-def em { font-style: italic; }
.hero-lede {
  font-size: 17px;
  line-height: 1.6;
  max-width: 620px;
  text-wrap: pretty;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.board-window { margin-top: 60px; }

/* assembly: hidden only when JS opts in via .pre */
#hero-board.pre .as { opacity: 0; transform: translateY(16px); }
#hero-board.pre.is-assembled .as {
  opacity: 1;
  transform: none;
  transition:
    opacity 640ms cubic-bezier(0.2, 0.6, 0.2, 1) var(--d, 0ms),
    transform 640ms cubic-bezier(0.2, 0.6, 0.2, 1) var(--d, 0ms);
}

/* ── how it works ──────────────────────────────────── */

.how {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}
.pipeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 36px;
  margin-top: 56px;
}
.pipeline-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 48px; }
.step-mark {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 48px;
  margin-bottom: 18px;
}
.step-mark svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 48px;
}
.step-mark .mark-ghost { opacity: 0.18; }
.step-mark .mark-fill {
  -webkit-mask-image: conic-gradient(#000 var(--sweep), transparent var(--sweep));
  mask-image: conic-gradient(#000 var(--sweep), transparent var(--sweep));
}
.step-no {
  margin-left: 60px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--faint);
  line-height: 1.6;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.step p { font-size: 14.5px; line-height: 1.6; }

/* ── products ──────────────────────────────────────── */

.products { padding: 104px 0 118px; border-top: 1px solid var(--line); }
.product {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 12fr);
  gap: 60px;
  align-items: center;
  margin-top: 84px;
  padding-top: 76px;
  border-top: 1px solid var(--line);
}
.product:first-of-type { margin-top: 64px; border-top: none; padding-top: 0; }
.product-flip .product-copy { order: 2; }
.product-flip .product-visual { order: 1; }
.product-kicker {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 580;
  letter-spacing: 0.01em;
  color: var(--indigo);
  margin-bottom: 12px;
}
.product-copy h3 {
  font-size: clamp(1.7rem, 2.7vw, 2.15rem);
  line-height: 1.14;
  font-weight: 400;
}
.product-lede {
  font-size: 16.5px;
  line-height: 1.6;
  margin: 12px 0 26px;
  text-wrap: pretty;
}
.ledger {
  border-top: 1px solid var(--line);
}
.ledger > div {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.ledger dt {
  font-size: 14px;
  font-weight: 550;
  color: var(--ink);
  line-height: 1.45;
}
.ledger dd { font-size: 14px; line-height: 1.55; }
.product-fine {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--faint);
  margin-top: 16px;
}
.product-visual { min-width: 0; }

/* ── connectors ────────────────────────────────────── */

.connectors {
  padding: 104px 0;
  background: var(--paper-dim);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.conn-table {
  max-width: 880px;
  margin-top: 48px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.conn-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 150px;
  gap: 20px;
  align-items: center;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.conn-row:first-child { border-top: none; }
.conn-row > span:first-child { font-weight: 600; color: var(--ink); }
.conn-row > span:nth-child(2) { color: var(--body); font-size: 14px; }
.conn-head {
  background: var(--paper-dim);
  font-family: var(--mono);
  font-size: 10.5px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.conn-head span { font-weight: 500 !important; color: var(--faint) !important; font-size: 10.5px; }
.pill {
  display: inline-block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 4px;
}
.pill.ok { color: #2d6a3f; background: #e9f1e8; }
.pill.soon { color: #8a6512; background: #f9efdb; }
.conn-foot {
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--body);
}

/* ── principles ────────────────────────────────────── */

.principles { padding: 104px 0; }
.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 64px;
  margin-top: 56px;
}
.principle {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.principle::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 36px;
  border-top: 2px solid var(--indigo);
}
.principle h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.principle p { font-size: 15px; line-height: 1.65; }

/* ── leadership ────────────────────────────────────── */

.leadership { padding: 104px 0 118px; border-top: 1px solid var(--line); }
.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 56px;
}
.person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(1) contrast(0.96) brightness(1.03);
  border-radius: 8px;
  margin-bottom: 18px;
}
.person h3 { font-size: 1.1rem; font-weight: 600; }
.person-role {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 5px 0 10px;
}
.person p:not(.person-role) { font-size: 14.5px; line-height: 1.6; }

/* ── contact ───────────────────────────────────────── */

.contact {
  padding: 104px 0 118px;
  background: var(--paper-dim);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
  gap: 72px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.16;
  margin: 18px 0 16px;
}
.contact-copy .lede { font-size: 17px; line-height: 1.65; }
.contact-email {
  margin-top: 26px;
  font-size: 15.5px;
}
.contact-email a { font-weight: 600; }
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px var(--ring-4);
}
.contact-form textarea { resize: vertical; }
.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.contact-form .btn { align-self: flex-start; margin-top: 4px; }
.form-note {
  font-family: var(--sans);
  font-size: 14px;
  color: #bd4231;
  min-height: 1em;
  margin: -6px 0 0;
}
.form-note.is-ok { color: #2d6a3f; }

/* ── responsive ────────────────────────────────────── */

@media (max-width: 1000px) {
  .product,
  .product-flip { grid-template-columns: 1fr; gap: 36px; }
  .product-flip .product-copy { order: 1; }
  .product-flip .product-visual { order: 2; }
  .product-visual { max-width: 660px; }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 980px) {
  .nav-links, .nav-signin { display: none; }
  .nav-cta { margin-left: auto; order: 2; }
  .nav-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
  }
  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 10px 28px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(25, 22, 54, 0.2);
  }
  body.nav-open .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  body.nav-open .nav-contact-item { display: block; }
  /* products group renders expanded inside the mobile menu */
  body.nav-open .nav-drop-btn {
    display: flex;
    width: 100%;
    padding: 12px 0 6px;
    font-size: 13px;
    font-weight: 550;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--faint);
    cursor: default;
  }
  body.nav-open .nav-drop-btn svg { display: none; }
  body.nav-open .nav-drop-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
    padding: 0 0 6px;
  }
  body.nav-open .nav-drop-menu::before { display: none; }
  body.nav-open .nav-drop-menu a {
    display: flex;
    padding: 9px 0;
    font-size: 15.5px;
    border-bottom: none;
  }
}

@media (max-width: 880px) {
  .team { grid-template-columns: 1fr; max-width: 420px; }
  .principle-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .conn-row { grid-template-columns: 130px minmax(0, 1fr) 120px; gap: 12px; padding: 12px 14px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 52px 0 76px; }
  .board-window { margin-top: 44px; }
  .product { margin-top: 40px; padding-top: 44px; gap: 28px; }
  .product:first-of-type { margin-top: 40px; }
  .pipeline { grid-template-columns: 1fr; gap: 36px; }
  .ledger > div { grid-template-columns: 1fr; gap: 4px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .nav-cta { display: none; }
  .conn-row { font-size: 13px; }
  .conn-row > span:nth-child(2) { display: none; }
  .conn-row { grid-template-columns: minmax(0, 1fr) 120px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-base { flex-direction: column; gap: 6px; align-items: flex-start; }
  .how, .products, .connectors, .principles, .leadership, .contact { padding: 72px 0; }
}

/* one orchestrated moment only: the hero board assembly (see #hero-board.pre) —
   no scroll-triggered fades anywhere else */

/* ── hero: highlighter swoosh under key words ─────── */
.hl-swoosh {
  position: relative;
  white-space: nowrap;
}
.hl-swoosh svg {
  position: absolute;
  left: -1%;
  bottom: -0.16em;
  width: 103%;
  height: 0.26em;
  overflow: visible;
  pointer-events: none;
}

/* ── how it works: managed-service callout ────────── */
.how-callout {
  margin-top: 56px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--indigo);
  border-radius: 8px;
  background: var(--paper-dim);
  max-width: 720px;
}
.how-callout-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}
.how-callout p:last-child {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body);
  max-width: 640px;
}

/* ─────────────────────────────────────────────────────────────
   Launch visual system
   Enterprise analytics positioning: product-first, precise, and calm.
   This block intentionally supersedes the exploratory marketing theme above.
   ───────────────────────────────────────────────────────────── */

:root {
  --ink: #0b1733;
  --body: #44516a;
  --faint: #68758c;
  --paper: #ffffff;
  --paper-dim: #f4f7fb;
  --indigo: #3657d6;
  --indigo-deep: #2443b8;
  --ring-1: #7087ec;
  --ring-2: #9aabf2;
  --ring-3: #c8d1f8;
  --ring-4: #e9edff;
  --cyan: #42cfe5;
  --cyan-ink: #087f96;
  --line: #dce3ee;
  --line-strong: #c9d3e2;
  --navy: #0b1733;
  --navy-raised: #122755;
  --surface: #f4f7fb;
  --surface-blue: #eef3ff;
  --shadow-sm: 0 1px 2px rgba(11, 23, 51, 0.05), 0 8px 24px rgba(11, 23, 51, 0.06);
  --shadow-lg: 0 24px 70px rgba(5, 14, 36, 0.18), 0 4px 16px rgba(5, 14, 36, 0.1);
  --wrap: 1280px;
}

body {
  color: var(--body);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

.wrap { padding-inline: 32px; }

h1, h2, h3,
.display,
.section-head h2 {
  font-family: var(--sans);
  letter-spacing: -0.035em;
}

.display { font-weight: 600; }

.eyebrow {
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #64718a;
}

.section-head { max-width: 820px; }
.section-head h2 {
  max-width: 780px;
  margin: 16px 0 18px;
  font-size: clamp(2.4rem, 4.4vw, 3.55rem);
  font-weight: 620;
  line-height: 1.06;
}
.section-head .lede {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.65;
  color: #526078;
}

a, .btn { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }

:focus-visible {
  outline: 3px solid #62daf0;
  outline-offset: 3px;
  border-radius: 5px;
}

.btn {
  min-height: 48px;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: 0;
}
.btn-primary {
  color: #fff;
  background: var(--indigo);
  border-color: var(--indigo);
  box-shadow: 0 7px 18px rgba(54, 87, 214, 0.24);
}
.btn-primary:hover {
  color: #fff;
  background: var(--indigo-deep);
  border-color: var(--indigo-deep);
  box-shadow: 0 10px 24px rgba(36, 67, 184, 0.28);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  color: var(--indigo-deep);
  border-color: #9cacd2;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* navigation */
.nav {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: #e2e7ef;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.nav::before { display: none; }
.nav.is-scrolled { box-shadow: 0 8px 28px rgba(11, 23, 51, 0.08); }
.nav-inner {
  position: relative;
  height: 76px;
  gap: 44px;
  align-items: center;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  padding-right: 2px;
  border-right: 0;
}
.nav-logo img {
  width: auto;
  height: 29px;
  filter: none;
}
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 76px;
  align-items: center;
  gap: 30px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.nav-links > li {
  display: flex;
  height: 76px;
  align-items: center;
}
.nav-links > .nav-contact-item { display: none; }
.nav-links > li > a,
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 76px;
  min-height: 0;
  padding: 0 1px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  color: #4d5970;
  font-size: 14px;
  font-weight: 540;
  line-height: 1;
}
.nav-links > li > a:hover,
.nav-drop-btn:hover {
  color: #0b1733;
  background: transparent;
}
.nav-links > li > a.is-current,
.nav-drop-btn.is-current {
  color: #2443b8;
  background: transparent;
  border-bottom-color: #3657d6;
  box-shadow: none;
}
.nav .btn {
  min-height: 44px;
  padding: 12px 21px;
  border-radius: 7px;
  font-size: 14px;
}
.nav-cta {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin-left: auto;
  line-height: 1;
}
.nav .nav-cta,
.nav .nav-cta:hover {
  color: #fff;
  background: #0b1733;
  border-color: #0b1733;
  box-shadow: 0 6px 16px rgba(11,23,51,0.18);
}
.nav .nav-cta:hover { background: #172a51; border-color: #172a51; }
.nav-drop-menu {
  top: calc(100% + 22px);
  left: -18px;
  min-width: 340px;
  padding: 9px;
  border-radius: 14px;
  border-color: #d5deeb;
  box-shadow: 0 24px 60px rgba(11, 23, 51, 0.15), 0 4px 14px rgba(11, 23, 51, 0.08);
}
.nav-drop-menu::before { top: -22px; height: 22px; }
.nav-drop-menu a { gap: 13px; padding: 13px 14px; border-radius: 9px; }
.nav-drop-menu a:hover { background: #f1f5fc; }
.nd-glyph { width: 11px; height: 11px; border-radius: 50%; }
.nd-text b { font-size: 14.5px; font-weight: 620; }
.nd-text small { margin-top: 2px; font-size: 12.5px; }

/* hero */
.hero {
  position: relative;
  padding: 92px 0 104px;
  overflow: hidden;
  color: #dbe4f5;
  background:
    radial-gradient(circle at 82% 20%, rgba(63, 105, 224, 0.27), transparent 33%),
    radial-gradient(circle at 18% 100%, rgba(32, 185, 210, 0.11), transparent 28%),
    linear-gradient(135deg, #08142d 0%, #0d1d40 54%, #102653 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.7) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-wrap {
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(590px, 1.14fr);
  gap: clamp(48px, 5vw, 78px);
  align-items: center;
}
.hero-copy { z-index: 2; max-width: 590px; }
.hero .eyebrow { color: #aab9d5; }
.hero .eyebrow .seg { color: var(--cyan); }
.hero-title {
  max-width: 600px;
  margin: 22px 0 20px;
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(3.4rem, 5.6vw, 5.15rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.99;
}
.hero .hl-swoosh svg { bottom: -0.11em; height: 0.18em; opacity: 0.9; }
.dict-entry { margin-bottom: 26px; column-gap: 12px; }
.hero .dict-word { color: #fff; font-family: var(--sans); font-size: 16px; font-weight: 620; }
.hero .dict-pron { color: #9daccc; }
.hero .dict-def { color: #c3cfe3; font-family: var(--sans); font-size: 14px; }
.hero-lede {
  max-width: 570px;
  color: #d2dcee;
  font-size: 18px;
  line-height: 1.68;
}
.hero-ctas { gap: 12px; margin-top: 34px; }
.hero .btn { min-width: 150px; }
.hero .btn-primary {
  color: #07142d;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 10px 30px rgba(66, 207, 229, 0.18);
}
.hero .btn-primary:hover { background: #71dded; border-color: #71dded; color: #07142d; }
.hero .btn-ghost {
  color: #f6f8fc;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
}
.hero .btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.55); }
.hero-orn {
  top: -180px;
  right: -190px;
  width: 620px;
  height: 620px;
  opacity: 0.12;
  animation: none;
  transform: rotate(13deg);
}
.hero .board-window {
  z-index: 2;
  width: 100%;
  min-width: 0;
  margin-top: 0;
  border-color: rgba(194, 208, 233, 0.9);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.hero .board-chrome {
  min-height: 42px;
  padding: 11px 15px;
  background: #f8faff;
  border-color: #dde5f0;
}
.hero .chrome-url { color: #62708a; }

/* how it works */
.how {
  padding: 124px 0;
  border-top: 0;
  background: #fff;
}
.how .section-head { max-width: 880px; }
.pipeline-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 64px;
}
.step {
  position: relative;
  min-height: 290px;
  padding: 30px 30px 32px;
  overflow: hidden;
  background: #f7f9fd;
  border: 1px solid #e0e7f1;
  border-radius: 18px;
}
.step::after {
  content: '';
  position: absolute;
  right: -42px;
  bottom: -56px;
  width: 130px;
  height: 130px;
  border: 28px solid rgba(54, 87, 214, 0.035);
  border-radius: 50%;
}
.step-mark { height: 48px; margin-bottom: 30px; }
.step-mark svg { width: 46px; height: 46px; }
.step-no {
  margin-left: auto;
  align-self: flex-start;
  padding: 4px 8px;
  color: #52617c;
  background: #e9eef8;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}
.step h3 {
  margin-bottom: 12px;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 630;
  letter-spacing: -0.025em;
}
.step p { position: relative; z-index: 1; color: #536078; font-size: 15px; line-height: 1.68; }
.how-callout {
  display: grid;
  grid-template-columns: minmax(210px, 0.65fr) minmax(0, 1.35fr);
  gap: 40px;
  align-items: center;
  max-width: none;
  margin-top: 24px;
  padding: 34px 38px;
  color: #dbe4f5;
  background: linear-gradient(115deg, var(--navy), var(--navy-raised));
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.how-callout-title {
  margin: 0;
  color: #fff;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 630;
  letter-spacing: -0.025em;
}
.how-callout p:last-child { max-width: none; color: #c8d4e9; font-size: 15px; line-height: 1.7; }

/* product portfolio */
.products {
  padding: 124px 0 132px;
  border-top: 0;
  background: var(--surface);
}
.products > .wrap > .section-head { margin-bottom: 58px; }
.product,
.product:first-of-type {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(470px, 1.12fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  margin-top: 30px;
  padding: clamp(38px, 5vw, 66px);
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe6f0;
  border-radius: 26px;
  box-shadow: 0 12px 38px rgba(11, 23, 51, 0.06);
}
.product:first-of-type { margin-top: 0; }
.product::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
}
.product-flip { grid-template-columns: minmax(470px, 1.12fr) minmax(360px, 0.88fr); }
.product-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 15px;
  padding: 5px 10px;
  color: var(--indigo-deep);
  background: var(--surface-blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.03em;
}
.product-copy h3 {
  font-family: var(--sans);
  font-size: clamp(2rem, 3.1vw, 2.7rem);
  font-weight: 630;
  letter-spacing: -0.04em;
  line-height: 1.06;
}
.product-lede {
  margin: 17px 0 30px;
  color: #536078;
  font-size: 16.5px;
  line-height: 1.68;
}
.ledger { border-top: 1px solid #dfe6f0; }
.ledger > div {
  display: block;
  padding: 15px 0 16px;
  border-bottom: 1px solid #e4e9f1;
}
.ledger dt {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 640;
}
.ledger dt::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--indigo);
  border-radius: 50%;
}
.ledger dd {
  padding: 5px 0 0 17px;
  color: #5b677d;
  font-size: 14px;
  line-height: 1.58;
}
.product .shot-window {
  border-color: #cfd9e7;
  border-radius: 15px;
  box-shadow: 0 20px 46px rgba(11, 23, 51, 0.13), 0 3px 10px rgba(11, 23, 51, 0.07);
}
.product .shot-bar {
  min-height: 38px;
  background: #f8faff;
  border-color: #dde5f0;
}

/* leadership */
.leadership {
  padding: 124px 0 132px;
  color: #cbd6e9;
  background:
    radial-gradient(circle at 88% 10%, rgba(54, 87, 214, 0.3), transparent 27%),
    linear-gradient(135deg, #08142d, #0d1e40);
  border-top: 0;
}
.leadership .section-head h2 { color: #fff; }
.leadership .section-head .lede { color: #c4d0e4; }
.leadership .eyebrow { color: #96a7c5; }
.team { gap: 24px; margin-top: 64px; }
.person {
  padding: 18px 20px 26px;
  color: #4c5970;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(3, 11, 30, 0.22);
}
.person img {
  aspect-ratio: 1.18 / 1;
  margin-bottom: 22px;
  filter: grayscale(1) contrast(0.98);
  border-radius: 13px;
  object-position: center 25%;
}
.leadership .person h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 640;
  letter-spacing: -0.025em;
}
.person-role { margin: 4px 0 12px; color: #64718a; font-size: 10px; font-weight: 600; }
.person p:not(.person-role) { color: #536078; font-size: 14px; line-height: 1.65; }

/* contact */
.contact {
  padding: 124px 0 132px;
  background:
    radial-gradient(circle at 8% 90%, rgba(66, 207, 229, 0.1), transparent 24%),
    #f4f7fb;
  border-top: 0;
}
.contact-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
  gap: clamp(60px, 8vw, 110px);
  align-items: center;
}
.contact-copy h2 {
  margin: 18px 0;
  font-family: var(--sans);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 630;
  letter-spacing: -0.05em;
  line-height: 1.02;
}
.contact-copy .lede { max-width: 500px; color: #536078; font-size: 18px; }
.contact-email { margin-top: 30px; font-size: 16px; }
.contact-email a { color: var(--indigo-deep); }
.contact-form {
  gap: 20px;
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border-color: #dbe3ee;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(11, 23, 51, 0.1);
}
.contact-form label { gap: 8px; color: #5f6d84; font-size: 10.5px; font-weight: 650; letter-spacing: 0.09em; }
.contact-form input,
.contact-form textarea {
  min-height: 52px;
  padding: 13px 15px;
  color: var(--ink);
  background: #fbfcfe;
  border-color: #cbd5e3;
  border-radius: 8px;
  font-size: 16px;
}
.contact-form textarea { min-height: 126px; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(54, 87, 214, 0.12);
}
.contact-form .btn { align-self: stretch; margin-top: 2px; }

/* footer */
.footer {
  padding: 76px 0 42px;
  color: #aebbd1;
  background: #061027;
}
.footer-grid { gap: 56px; padding-bottom: 52px; border-color: rgba(255,255,255,0.11); }
.footer-brand img { height: 29px; margin-bottom: 20px; }
.footer-brand p { max-width: 360px; color: #aebbd1; font-size: 15px; }
.footer h4 { color: #7889a8; font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; }
.footer li { margin-bottom: 11px; font-size: 15px; }
.footer a { color: #ced8e9; }
.footer-base { padding-top: 30px; color: #7283a1; }

/* responsive */
@media (max-width: 1180px) {
  .hero { padding-top: 82px; }
  .hero-wrap { grid-template-columns: 1fr; gap: 58px; }
  .hero-copy { max-width: 760px; }
  .hero-title { max-width: 760px; }
  .hero-lede { max-width: 680px; }
  .hero .board-window { max-width: 940px; }
  .hero-orn { top: -210px; right: -160px; }
}

@media (max-width: 1080px) {
  .product,
  .product:first-of-type,
  .product-flip {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .product-flip .product-copy { order: 1; }
  .product-flip .product-visual { order: 2; }
  .product-visual { max-width: 780px; }
  .contact-grid { grid-template-columns: 1fr; gap: 54px; }
  .contact-copy { max-width: 680px; }
  .contact-form { max-width: 760px; width: 100%; }
}

@media (max-width: 980px) {
  .nav-inner { height: 70px; }
  .nav-logo { padding-right: 0; }
  .nav-burger { color: var(--ink); }
  body.nav-open .nav-links {
    transform: none;
    top: 70px;
    height: auto;
    padding: 12px 32px 22px;
    background: rgba(255,255,255,0.995);
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 24px 50px rgba(11,23,51,0.14);
  }
  body.nav-open .nav-links > li { display: block; height: auto; }
  body.nav-open .nav-links a {
    display: block;
    height: auto;
    min-height: 0;
    padding: 14px 0;
    color: #37435d;
    border-bottom-color: var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  body.nav-open .nav-drop-btn {
    min-height: 0;
    border-radius: 0;
    color: var(--faint);
    background: transparent;
    box-shadow: none;
  }
  body.nav-open .nav-drop-menu { background: transparent; }
  body.nav-open .nav-drop-menu .nd-text b { color: var(--ink); }
  body.nav-open .nav-drop-menu .nd-text small { color: var(--faint); }
  .pipeline-3 { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .how-callout { grid-template-columns: 1fr; gap: 10px; }
  .team { grid-template-columns: 1fr 1fr; max-width: none; }
}

@media (max-width: 700px) {
  .wrap { padding-inline: 22px; }
  .nav-inner { gap: 14px; }
  .nav-logo { padding-right: 0; }
  .nav-logo img { height: 26px; }
  .hero { padding: 62px 0 76px; }
  .hero-wrap { gap: 46px; }
  .hero-title { font-size: clamp(3rem, 14vw, 4.25rem); }
  .hero-lede { font-size: 17px; }
  .hero-orn { display: block; width: 390px; height: 390px; top: -140px; right: -180px; opacity: 0.09; }
  .hero-ctas .btn { width: 100%; }
  .hero .board-window { border-radius: 12px; }
  .how,
  .products,
  .leadership,
  .contact { padding: 88px 0; }
  .section-head h2 { font-size: clamp(2.25rem, 11vw, 3rem); }
  .section-head .lede { font-size: 17px; }
  .pipeline-3 { margin-top: 44px; }
  .step { padding: 26px; }
  .how-callout { padding: 28px 26px; }
  .product,
  .product:first-of-type { padding: 28px 22px; border-radius: 19px; }
  .product-copy h3 { font-size: 2rem; }
  .products > .wrap > .section-head { margin-bottom: 42px; }
  .team { grid-template-columns: 1fr; gap: 20px; margin-top: 44px; }
  .person img { aspect-ratio: 1.3 / 1; }
  .contact-copy h2 { font-size: 2.75rem; }
  .contact-form { padding: 26px 22px; }
  .footer { padding-top: 60px; }
  .footer-grid { gap: 38px; }
}

@media (max-width: 460px) {
  .hero-title { font-size: 2.85rem; }
  .dict-entry { display: grid; grid-template-columns: auto 1fr; }
  .dict-def { grid-column: 1 / -1; }
  .nav-burger { width: 38px; }
  .product,
  .product:first-of-type { padding-inline: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  a, .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* Product proof is visible immediately; only its numbers and trend line animate. */
#hero-board.pre .as,
#hero-board.pre.is-assembled .as {
  opacity: 1;
  transform: none;
  transition: none;
}
