@import url('/css/fonts.css');

:root {
  --cs-ink: #0b1830;
  --cs-ink-2: #122647;
  --cs-blue: #2563eb;
  --cs-blue-dark: #1746b4;
  --cs-teal: #0b7a75;
  --cs-mint: #dff4ed;
  --cs-sky: #eaf3ff;
  --cs-wash: #f4f8fd;
  --cs-paper: #ffffff;
  --cs-text: #243852;
  --cs-muted: #5a6b82;
  --cs-line: #d7e2ee;
  --cs-amber: #a86108;
  --cs-shadow: 0 24px 70px rgba(18, 38, 71, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cs-text);
  background: var(--cs-paper);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  color: var(--cs-ink);
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  line-height: 1.08;
  letter-spacing: -.035em;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid #e9a527;
  outline-offset: 4px;
}
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: -80px;
  left: 18px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--cs-ink);
  box-shadow: var(--cs-shadow);
}
.skip-link:focus { top: 18px; }

.service-line {
  background: var(--cs-ink);
  color: #dce7f5;
  font-size: .76rem;
  font-weight: 700;
}
.service-line .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 18px;
}
.service-line a { color: #fff; text-decoration: none; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(197, 213, 231, .85);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 196px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: .82rem; font-weight: 700; }
.nav-links a { color: #344963; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--cs-blue); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--cs-blue);
  color: #fff !important;
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--cs-line);
  border-radius: 12px;
  background: #fff;
  color: var(--cs-ink);
  font-size: 1.25rem;
}
.mobile-menu { display: none; }

.case-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--cs-line);
  background:
    radial-gradient(circle at 10% 12%, rgba(37, 99, 235, .13), transparent 31%),
    radial-gradient(circle at 92% 80%, rgba(11, 122, 117, .12), transparent 28%),
    linear-gradient(180deg, #f9fbff, #eef5fc);
}
.case-hero::before {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
  background-image: linear-gradient(rgba(42, 78, 126, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 78, 126, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(350px, .7fr);
  align-items: center;
  gap: 58px;
  min-height: 570px;
  padding: 72px 0;
}
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cs-blue-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before, .kicker::before { width: 28px; height: 2px; background: var(--cs-teal); content: ''; }
.case-hero h1 {
  max-width: 820px;
  margin: 18px 0 22px;
  font-size: clamp(2.75rem, 5.15vw, 4.5rem);
  text-wrap: balance;
}
.case-hero .lede { max-width: 730px; color: #43566f; font-size: clamp(1.06rem, 1.8vw, 1.27rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.button-primary { background: var(--cs-blue); color: #fff; box-shadow: 0 12px 26px rgba(37, 99, 235, .22); }
.button-secondary { border-color: #a8bfdc; background: rgba(255, 255, 255, .82); color: #173e82; }

.evidence-file {
  position: relative;
  overflow: hidden;
  border: 1px solid #bacde2;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--cs-shadow);
}
.evidence-file::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  content: '';
  background: linear-gradient(var(--cs-blue), var(--cs-teal));
}
.file-head { display: flex; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--cs-line); }
.file-head span { color: var(--cs-muted); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.file-head strong { color: var(--cs-teal); font-size: .7rem; text-transform: uppercase; }
.file-body { padding: 4px 22px 22px; }
.file-row { display: grid; grid-template-columns: 104px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid #e6edf5; }
.file-row:last-child { border-bottom: 0; }
.file-row dt { color: #74849a; font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.file-row dd { margin: 0; color: var(--cs-ink); font-size: .88rem; font-weight: 700; }
.source-badge { display: inline-flex; align-items: center; gap: 7px; color: #12645f; }
.source-badge::before { width: 9px; height: 9px; border-radius: 50%; background: #19a493; box-shadow: 0 0 0 4px #d8f3ed; content: ''; }

.proof-strip { border-bottom: 1px solid var(--cs-line); background: #fff; }
.proof-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-stat { padding: 20px 22px; border-right: 1px solid var(--cs-line); }
.proof-stat:last-child { border-right: 0; }
.proof-stat strong { display: block; color: var(--cs-ink); font-family: 'Space Grotesk'; }
.proof-stat span { color: var(--cs-muted); font-size: .73rem; }

.section { padding: 86px 0; }
.section-wash { background: var(--cs-wash); }
.section-dark { color: #dce8f7; background: var(--cs-ink); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .kicker { color: #77e0d3; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .65fr);
  align-items: end;
  gap: 58px;
  margin-bottom: 38px;
}
.section-head h2 { max-width: 740px; margin: 12px 0 0; font-size: clamp(2.25rem, 4.4vw, 3.9rem); }
.section-head p { margin: 0; color: var(--cs-muted); }
.section-dark .section-head p { color: #afc0d6; }

.record-stack { display: grid; gap: 20px; }
.case-record {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 180px;
  min-height: 240px;
  border: 1px solid var(--cs-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(18, 38, 71, .07);
}
.record-id { padding: 28px; color: #fff; background: var(--cs-ink); }
.record-id span { display: block; color: #8db6ef; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.record-id strong { display: block; margin-top: 9px; font-family: 'Space Grotesk'; font-size: 1.2rem; line-height: 1.2; }
.record-id small { display: block; margin-top: 18px; color: #bfd0e4; }
.record-copy { padding: 28px 32px; }
.record-copy h3 { margin-bottom: 10px; font-size: 1.6rem; }
.record-copy p { color: var(--cs-muted); }
.record-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.record-facts div { padding-top: 12px; border-top: 1px solid var(--cs-line); }
.record-facts b { display: block; color: var(--cs-ink); font-size: .75rem; }
.record-facts span { color: var(--cs-muted); font-size: .7rem; }
.record-action { display: flex; flex-direction: column; justify-content: space-between; padding: 28px 24px; border-left: 1px solid var(--cs-line); background: #f8fbff; }
.record-action .status { color: var(--cs-teal); font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.record-action a { color: var(--cs-blue-dark); font-weight: 700; text-decoration: none; }

.standard-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: start; }
.standard-copy h2 { margin: 13px 0 16px; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.standard-copy p { color: var(--cs-muted); }
.standard-list { overflow: hidden; border: 1px solid var(--cs-line); border-radius: 20px; background: #fff; }
.standard-item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--cs-line); }
.standard-item:last-child { border-bottom: 0; }
.standard-item span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--cs-sky); color: var(--cs-blue); font-weight: 700; }
.standard-item h3 { margin: 0 0 6px; font-size: 1.05rem; }
.standard-item p { margin: 0; color: var(--cs-muted); font-size: .83rem; }

.product-proof {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: 60px;
}
.product-proof h2 { margin: 14px 0 18px; font-size: clamp(2.35rem, 4.8vw, 4rem); }
.product-proof p { color: #b9c9dc; }
.product-route { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.route-node { position: relative; min-height: 155px; padding: 18px 14px; border: 1px solid #355073; border-radius: 16px; background: var(--cs-ink-2); }
.route-node:not(:last-child)::after { position: absolute; z-index: 2; top: 50%; right: -10px; width: 10px; height: 2px; background: #51cbbd; content: ''; }
.route-node span { color: #75e0d3; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.route-node strong { display: block; margin-top: 12px; color: #fff; font-family: 'Space Grotesk'; }
.route-node small { display: block; margin-top: 7px; color: #9fb4cf; line-height: 1.45; }
.product-note { margin-top: 18px; padding: 16px 18px; border-left: 3px solid #5ee0cf; background: rgba(255,255,255,.06); color: #c8d7e9; font-size: .78rem; }

.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 64px; align-items: start; }
.case-story > section { padding: 0 0 58px; }
.case-story h2 { margin-bottom: 16px; font-size: clamp(2rem, 3.8vw, 3.05rem); }
.case-story h3 { margin: 28px 0 9px; font-size: 1.2rem; }
.case-story p, .case-story li { color: #465b74; text-wrap: pretty; }
.case-story ul { padding-left: 20px; }
.case-story li + li { margin-top: 9px; }
.case-aside { position: static; overflow: hidden; border: 1px solid var(--cs-line); border-radius: 20px; background: #fff; box-shadow: 0 12px 35px rgba(18, 38, 71, .07); }
.aside-head { padding: 18px 20px; background: var(--cs-ink); color: #fff; }
.aside-head span { color: #8fb7ea; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.aside-head strong { display: block; margin-top: 5px; font-family: 'Space Grotesk'; }
.aside-body { padding: 5px 20px 20px; }
.aside-row { padding: 14px 0; border-bottom: 1px solid var(--cs-line); }
.aside-row:last-child { border-bottom: 0; }
.aside-row b { display: block; color: var(--cs-ink); font-size: .72rem; }
.aside-row span { color: var(--cs-muted); font-size: .76rem; }

.outcome-record { overflow: hidden; border: 1px solid #b8dfd6; border-radius: 20px; background: #f1fbf8; }
.outcome-row { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 20px 22px; border-bottom: 1px solid #cce9e2; }
.outcome-row:last-child { border-bottom: 0; }
.outcome-row strong { color: #12645f; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.outcome-row p { margin: 0; color: #365a57; }
.source-card { padding: 24px; border: 1px solid #b9cde5; border-radius: 18px; background: var(--cs-sky); }
.source-card strong { display: block; color: var(--cs-ink); font-family: 'Space Grotesk'; font-size: 1.1rem; }
.source-card p { margin: 8px 0 16px; color: #4c6078; }
.source-card a { color: var(--cs-blue-dark); font-weight: 700; }
.boundary-note { padding: 20px 22px; border-left: 4px solid #d78a18; border-radius: 10px; background: #fff7e8; color: #5d4a2e; }

.case-cta { background: linear-gradient(135deg, #0b1830, #13366c); color: #fff; }
.case-cta .container { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 36px; }
.case-cta h2 { margin: 0 0 10px; color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.case-cta p { margin: 0; color: #b9cbe1; }

.site-footer { padding: 62px 0 24px; color: #b8c8dc; background: #061226; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr .7fr; gap: 54px; }
.footer-lockup { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.footer-logo-mark { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #36577f; border-radius: 14px; background: linear-gradient(145deg,#2563eb,#1746b4); }
.footer-logo-mark img { width: 28px; height: 28px; }
.footer-logo-copy strong { display: block; color: #fff; font-family: 'Space Grotesk','Plus Jakarta Sans',sans-serif; font-size: 1.15rem; line-height: 1.05; }
.footer-logo-copy span { display: block; margin-top: 4px; color: #8fb7ea; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-brand p { max-width: 420px; margin-top: 18px; }
.footer-brand address { color: #b8c8dc; font-style: normal; }
.site-footer h2 { color: #fff; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 9px; }
.site-footer a { color: #c8d6e8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid #203654; font-size: .76rem; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .mobile-menu { padding: 12px 20px 20px; border-top: 1px solid var(--cs-line); background: #fff; }
  .mobile-menu:not([hidden]) { display: grid; }
  .mobile-menu a { min-height: 46px; padding: 12px 4px; border-bottom: 1px solid #e7edf4; color: var(--cs-ink); text-decoration: none; font-weight: 700; }
  .hero-grid, .product-proof, .case-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 38px; min-height: 0; }
  .section-head, .standard-grid { grid-template-columns: 1fr; gap: 20px; }
  .case-record { grid-template-columns: 170px 1fr; }
  .record-action { grid-column: 1 / -1; flex-direction: row; border-top: 1px solid var(--cs-line); border-left: 0; }
  .case-aside { position: static; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1160px); }
  .service-line .container { justify-content: center; }
  .service-line span { display: none; }
  .brand img { width: 166px; }
  .case-hero h1 { font-size: clamp(2.45rem, 12vw, 3.6rem); text-wrap: balance; }
  .hero-grid { padding: 52px 0; }
  .proof-strip .container { grid-template-columns: 1fr 1fr; }
  .proof-stat:nth-child(2) { border-right: 0; }
  .proof-stat:nth-child(-n+2) { border-bottom: 1px solid var(--cs-line); }
  .section { padding: 64px 0; }
  .section-head h2, .product-proof h2, .case-story h2 { text-wrap: balance; }
  .case-record { grid-template-columns: 1fr; }
  .record-id { min-height: 0; }
  .record-copy { padding: 24px 22px; }
  .record-facts { grid-template-columns: 1fr; }
  .record-action { grid-column: auto; }
  .standard-item { grid-template-columns: 46px 1fr; padding: 19px 17px; }
  .product-route { grid-template-columns: 1fr 1fr; }
  .route-node:not(:last-child)::after { display: none; }
  .outcome-row { grid-template-columns: 1fr; gap: 7px; }
  .case-cta .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 390px) {
  .brand img { width: 150px; }
  .menu-toggle { width: 44px; height: 44px; }
  .proof-strip .container { grid-template-columns: 1fr; }
  .proof-stat { border-right: 0; border-bottom: 1px solid var(--cs-line); }
  .product-route { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
