:root {
  --bg: #ffffff;
  --surface: #f6f7fb;
  --surface-strong: #eef1f7;
  --ink: #101828;
  --muted: #475467;
  --line: #d0d5dd;
  --brand: #be123c;
  --brand-dark: #881337;
  --accent: #f79009;
  --dark: #101828;
  --dark-soft: #1d2939;
  --white: #ffffff;
  --focus: #005fcc;
  --radius: 1rem;
  --shadow: 0 18px 50px rgba(16, 24, 40, .10);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-dark); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.narrow { max-width: 900px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: .75rem;
  z-index: 9999;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  padding: .8rem 1rem;
  border: 2px solid var(--focus);
  border-radius: .5rem;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.funding-banner { background: #fff; border-bottom: 1px solid var(--line); padding: .8rem 0; }
.funding-banner img { width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border-radius: .75rem;
  background: var(--dark);
  color: #fff;
  font-weight: 900;
  letter-spacing: -.06em;
}
.brand-copy { display: grid; line-height: 1.18; }
.brand-copy strong { font-size: 1.05rem; }
.brand-copy small { color: var(--muted); font-size: .78rem; }
.nav-list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; padding: 0; margin: 0; }
.nav-list a { display: inline-block; padding: .55rem .7rem; border-radius: .55rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; }
.nav-list a:hover { background: var(--surface); }
.nav-list .nav-cta { background: var(--brand); color: #fff; padding-inline: 1rem; }
.nav-list .nav-cta:hover { background: var(--brand-dark); }

.hero { padding: clamp(4rem, 8vw, 8rem) 0; background: radial-gradient(circle at 85% 20%, #ffe4e6 0, transparent 30%), linear-gradient(135deg, #fff 0%, #f7f8fb 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.eyebrow { margin: 0 0 .6rem; color: var(--brand); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.eyebrow-light { color: #fda4af; }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.14; letter-spacing: -.025em; }
h1 { max-width: 13ch; margin-bottom: 1.25rem; font-size: clamp(2.6rem, 7vw, 5.8rem); }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 2.15rem); }
h4 { font-size: 1.08rem; }
p { margin-top: 0; }
.lead { max-width: 760px; font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--muted); }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .72rem 1.15rem; border: 2px solid transparent; border-radius: .7rem; text-decoration: none; font-weight: 850; }
.button-primary { background: var(--brand); color: #fff; }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { background: #fff; border-color: var(--line); color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); }
.status-card { padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.status-label { display: inline-block; margin-bottom: 1rem; padding: .28rem .6rem; border-radius: 99px; background: #dcfae6; color: #05603a; font-size: .78rem; font-weight: 900; }
.status-card h2 { font-size: 1.45rem; }
dl { margin: 1rem 0 0; }
dl > div { display: grid; grid-template-columns: 120px 1fr; gap: .75rem; padding: .72rem 0; border-top: 1px solid var(--line); }
dt { color: var(--muted); font-weight: 700; }
dd { margin: 0; font-weight: 750; overflow-wrap: anywhere; }

.section { padding: clamp(4rem, 7vw, 7rem) 0; scroll-margin-top: 90px; }
.section-muted { background: var(--surface); }
.section-dark { background: var(--dark); color: #fff; }
.section-intro { max-width: 800px; color: #cbd5e1; font-size: 1.08rem; }
.notice { margin-top: 2rem; padding: 1.25rem 1.4rem; border-left: 6px solid var(--accent); background: #fff; box-shadow: 0 5px 20px rgba(16, 24, 40, .06); }
.notice h3 { margin-bottom: .45rem; font-size: 1.18rem; }
.notice p { margin-bottom: 0; }

.segment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.segment-card { padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.segment-id { display: inline-block; margin-bottom: .8rem; color: var(--brand); font-size: .82rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.segment-card h3 { font-size: 1.25rem; }
.segment-card p:last-child { margin-bottom: 0; }
.amount { color: #067647; font-weight: 900; }
.small-note { margin-top: 1.25rem; color: var(--muted); font-size: .93rem; }

.solution-card { margin-top: 2rem; padding: clamp(1.3rem, 3.5vw, 2.3rem); border: 1px solid #344054; border-radius: 1.2rem; background: var(--dark-soft); box-shadow: 0 20px 50px rgba(0, 0, 0, .18); }
.solution-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: start; }
.solution-card h3 { margin-bottom: .7rem; }
.category { margin-bottom: .35rem; color: #fda4af; font-weight: 850; font-size: .86rem; text-transform: uppercase; letter-spacing: .04em; }
.solution-summary { max-width: 760px; color: #d0d5dd; font-size: 1.08rem; }
.price-box { min-width: 230px; padding: 1rem; border-radius: .8rem; background: #fff; color: var(--ink); text-align: right; }
.price-box span, .price-box small { display: block; color: var(--muted); font-size: .8rem; }
.price-box strong { display: block; margin: .2rem 0; color: var(--brand-dark); font-size: 1.4rem; }
.solution-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.5rem 0; }
.solution-meta p { margin: 0; padding: .85rem; border: 1px solid #475467; border-radius: .65rem; background: #273548; color: #e4e7ec; font-size: .94rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.feature-grid h4 { color: #fff; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.6rem; margin: .7rem 0; color: #e4e7ec; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #6ce9a6; font-weight: 900; }
details { margin-top: 1.5rem; border-top: 1px solid #475467; }
summary { cursor: pointer; padding: 1rem 0 .35rem; color: #fff; font-weight: 850; }
.details-content { padding-top: .7rem; color: #d0d5dd; }
.details-content p:last-child, .details-content li:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; min-width: 800px; border-collapse: collapse; }
caption { padding: 1rem; text-align: left; font-weight: 900; }
th, td { padding: 1rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--dark); color: #fff; border-top: 0; }
tbody th { width: 33%; }
tbody th span { color: var(--brand); font-size: .88rem; }
tbody tr:nth-child(even) { background: var(--surface); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.steps li { counter-increment: step; position: relative; padding: 3.2rem 1rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.steps li::before { content: counter(step); position: absolute; top: .9rem; left: 1rem; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 900; }

.contact-section { background: #fff1f2; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.contact-card { padding: 1.4rem; border: 1px solid #fecdd3; border-radius: var(--radius); background: #fff; font-style: normal; font-size: 1.05rem; }
.site-footer { padding: 3rem 0 1.5rem; background: #0c111d; color: #d0d5dd; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; }
.footer-grid strong { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid #344054; font-size: .85rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 980px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: .8rem; gap: .6rem; }
  .site-header { position: static; }
  .nav-list { gap: 0; }
  .nav-list a { padding: .45rem .55rem; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .segment-grid { grid-template-columns: 1fr; }
  .solution-heading { grid-template-columns: 1fr; }
  .price-box { text-align: left; }
  .solution-meta { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  body { font-size: .98rem; }
  .funding-banner { padding: .55rem 0; }
  .brand-copy small { display: none; }
  .nav-list { align-items: stretch; width: 100%; }
  .nav-list li { flex: 1 1 33%; }
  .nav-list a { width: 100%; text-align: center; font-size: .82rem; }
  h1 { font-size: clamp(2.35rem, 13vw, 3.9rem); }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid, .footer-bottom { display: block; }
  .footer-links { justify-content: flex-start; margin-top: 1.2rem; }
  .footer-bottom p + p { margin-top: .5rem; }
}

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

@media print {
  .site-header, .hero-actions, .contact-actions, .site-footer { display: none; }
  body { color: #000; background: #fff; font-size: 10pt; }
  .section, .hero { padding: 1.2rem 0; }
  .section-dark { background: #fff; color: #000; }
  .solution-card { break-inside: avoid; background: #fff; color: #000; border-color: #777; box-shadow: none; }
  .solution-summary, .check-list li, .details-content, .section-intro { color: #111; }
  .feature-grid, .solution-meta, .segment-grid { display: block; }
  .solution-meta p, .segment-card { margin-bottom: .5rem; background: #fff; color: #000; border-color: #aaa; }
  details { border-color: #aaa; }
  details > * { display: block; }
  summary { color: #000; }
}
