@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #dbeafe;
  --blue-pale: #eff6ff;
  --ink: #0a1626;
  --charcoal: #1e293b;
  --text: #475569;
  --muted: #64748b;
  --border: #e2e8f0;
  --soft: #f8fafc;
  --white: #ffffff;
  --max: 1160px;
  --shadow: 0 20px 55px rgba(10, 22, 38, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Manrope", system-ui, sans-serif;
  letter-spacing: -.025em;
  line-height: 1.15;
}
p { color: var(--text); }

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.96);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand img { width: 24px; height: 36px; object-fit: contain; }
.brand span { font-family: "Manrope", sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.document-title { color: var(--muted); font-size: 14px; }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  right: -220px;
  top: -310px;
  background: rgba(37,99,235,.24);
  filter: blur(8px);
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: linear-gradient(rgba(96,165,250,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(96,165,250,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, transparent, black 30%, black 70%, transparent);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px 28px 116px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
  gap: 82px;
  align-items: center;
}
.hero-context { color: #93c5fd; font-weight: 700; margin-bottom: 20px; }
.hero h1 { max-width: 820px; font-size: clamp(42px, 6vw, 72px); margin-bottom: 28px; }
.hero-lead { max-width: 760px; font-size: 19px; line-height: 1.65; color: rgba(255,255,255,.74); margin-bottom: 0; }
.hero-summary {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}
.hero-summary h2 { font-size: 21px; margin-bottom: 12px; }
.hero-summary > p { color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.65; }
.hero-summary dl { margin: 24px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
.hero-summary dl div { padding: 13px 0; display: grid; grid-template-columns: 70px 1fr; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.hero-summary dt { color: #93c5fd; font-size: 12px; font-weight: 700; }
.hero-summary dd { margin: 0; color: rgba(255,255,255,.83); font-size: 13px; }

.section { padding: 96px 28px; }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 48px; }
.section-heading.narrow { grid-template-columns: minmax(0, 650px) minmax(280px, 1fr); }
.section-heading h2, .outcome-copy h2, .closing h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 0; }
.section-heading p { margin: 4px 0 0; font-size: 17px; }
.intro-section { padding-bottom: 72px; }
.statement { border-left: 4px solid var(--blue); padding: 6px 0 6px 24px; max-width: 880px; margin-top: 16px; }
.statement p { margin: 0; color: var(--charcoal); font-size: 19px; line-height: 1.55; }
.soft-section { background: var(--soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.journey { counter-reset: journey; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.journey li {
  counter-increment: journey;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 25px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.journey li::before {
  content: counter(journey);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--blue-pale);
  color: var(--blue-dark);
  font: 700 14px/1 "Inter", sans-serif;
}
.journey h3 { margin: 3px 0 8px; font-size: 17px; }
.journey p { margin: 0; font-size: 14px; line-height: 1.55; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.feature-card h3 { margin-bottom: 16px; font-size: 19px; }
.feature-card ul, .trust-panel ul { margin: 0; padding-left: 20px; color: var(--text); }
.feature-card li { margin: 9px 0; font-size: 14px; line-height: 1.5; }
.feature-card li::marker, .trust-panel li::marker { color: var(--blue); }

.dark-section { background: var(--ink); color: var(--white); }
.section-heading.light h2 { color: var(--white); }
.section-heading.light p { color: rgba(255,255,255,.68); }
.system-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 14px; align-items: center; }
.flow-node { min-height: 128px; padding: 24px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.flow-node.active { border-color: rgba(96,165,250,.65); background: rgba(37,99,235,.2); }
.flow-node strong, .flow-node span { display: block; }
.flow-node strong { font-family: "Manrope"; margin-bottom: 10px; }
.flow-node span { color: rgba(255,255,255,.61); font-size: 13px; line-height: 1.5; }
.flow-arrow { color: #60a5fa; font-size: 24px; }
.flow-note { margin: 30px auto 0; max-width: var(--max); color: rgba(255,255,255,.66); font-size: 14px; }

.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.route-grid article { padding: 28px 28px 24px; border-top: 3px solid var(--blue); background: var(--soft); }
.route-number { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--blue); color: white; font-weight: 700; font-size: 13px; }
.route-grid h3 { margin: 16px 0 9px; font-size: 19px; }
.route-grid p { margin: 0; font-size: 14px; }
.trust-panel { margin-top: 54px; padding: 38px 42px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: center; background: var(--blue-pale); border: 1px solid var(--blue-light); border-radius: 16px; }
.trust-panel h3 { margin-bottom: 12px; font-size: 24px; }
.trust-panel p { margin: 0; }
.trust-panel li { margin: 9px 0; font-size: 14px; }

.product-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.product-list article { padding: 30px; background: var(--white); }
.product-list h3 { margin-bottom: 8px; font-size: 19px; }
.product-list p { margin: 0; font-size: 14px; }

.outcome-section { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.outcome-copy p { margin: 20px 0 0; font-size: 17px; }
.outcome-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); }
.outcome-grid div { padding: 24px; min-height: 128px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.outcome-grid div:nth-child(2n) { border-right: 0; }
.outcome-grid div:nth-child(n+3) { border-bottom: 0; }
.outcome-grid strong, .outcome-grid span { display: block; }
.outcome-grid strong { font-family: "Manrope"; margin-bottom: 10px; }
.outcome-grid span { color: var(--muted); font-size: 13px; }

.closing { padding: 72px 28px; background: var(--blue); color: white; }
.closing > div { max-width: 900px; margin: 0 auto; text-align: center; }
.closing h2 { margin-bottom: 20px; }
.closing p { margin: 0; color: rgba(255,255,255,.86); font-size: 18px; }

.site-footer { min-height: 170px; padding: 52px max(28px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto auto; gap: 36px; align-items: center; position: relative; overflow: hidden; background: var(--ink); color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.1); }
.site-footer::before { content: ""; position: absolute; width: 420px; height: 420px; right: -150px; top: -230px; border-radius: 50%; background: radial-gradient(circle, rgba(96,165,250,.16), transparent 65%); pointer-events: none; }
.site-footer > * { position: relative; z-index: 1; }
.footer-brand img { width: 20px; height: 30px; }
.footer-brand .codaric-logo-inverted { filter: brightness(0) invert(1); }
.footer-brand span { color: var(--white); font-size: 19px; }
.site-footer p { margin: 0; color: rgba(255,255,255,.52); font-size: 13px; }
.site-footer p span { color: #93c5fd; }

@media (max-width: 900px) {
  .document-title { display: none; }
  .hero-content, .section-heading, .section-heading.narrow, .outcome-section { grid-template-columns: 1fr; gap: 32px; }
  .hero-content { padding-top: 78px; padding-bottom: 82px; }
  .journey, .feature-grid { grid-template-columns: 1fr 1fr; }
  .system-flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .route-grid { grid-template-columns: 1fr; }
  .trust-panel { grid-template-columns: 1fr; gap: 20px; }
  .site-footer { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 620px) {
  .site-header { height: 66px; }
  .hero h1 { font-size: 40px; }
  .section { padding: 70px 20px; }
  .journey, .feature-grid, .product-list, .outcome-grid { grid-template-columns: 1fr; }
  .outcome-grid div { border-right: 0; border-bottom: 1px solid var(--border) !important; }
  .outcome-grid div:last-child { border-bottom: 0 !important; }
  .trust-panel { padding: 28px; }
}

@media print {
  .site-header { position: static; }
  .hero, .dark-section { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .section { padding-top: 54px; padding-bottom: 54px; }
  .hero-content { padding-top: 72px; padding-bottom: 72px; }
  .feature-card, .journey li, .route-grid article, .trust-panel, .product-list article { break-inside: avoid; }
}
