:root {
  --ink: #16272d;
  --muted: #53646a;
  --navy: #123d4a;
  --blue: #1f6b7d;
  --mist: #eaf0ee;
  --paper: #fafbf9;
  --white: #ffffff;
  --line: #c7d2cf;
  --green: #3b7654;
  --amber: #a86718;
  --red: #a34236;
  --sans: "Aptos", "Segoe UI", Arial, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); }
a { color: inherit; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 20; background: var(--white); padding: .75rem 1rem; outline: 3px solid var(--blue); }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .8rem clamp(1rem, 4vw, 4.5rem); background: rgba(250, 251, 249, .95); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { text-decoration: none; font: 800 .88rem var(--mono); letter-spacing: .11em; color: var(--navy); }
.brand span { color: var(--blue); }
nav { display: flex; gap: 1.25rem; align-items: center; }
nav a { text-decoration: none; font-size: .91rem; }
nav a:hover, nav a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.hero, .section { width: min(100%, 1440px); margin: auto; padding: clamp(3.5rem, 7vw, 7rem) clamp(1rem, 5.5vw, 5.5rem); }
.hero { min-height: 72vh; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; background: linear-gradient(120deg, #f8faf8 52%, #e5eeea); }
.eyebrow { margin: 0; color: var(--blue); font: 700 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 15ch; margin: .55rem 0 1.3rem; font-size: clamp(2.55rem, 5.2vw, 5.5rem); line-height: 1.02; letter-spacing: -.045em; }
h2 { margin: .45rem 0 1rem; font-size: clamp(1.9rem, 3.2vw, 3.4rem); line-height: 1.08; letter-spacing: -.03em; }
h3 { margin: .55rem 0 .65rem; line-height: 1.2; }
.lead { max-width: 64ch; color: #3d5057; font-size: clamp(1.12rem, 1.45vw, 1.4rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1rem; border: 1px solid var(--navy); font-weight: 700; text-decoration: none; }
.button.primary { color: var(--white); background: var(--navy); }
.button.secondary { color: var(--navy); background: transparent; }
.button:hover, .button:focus-visible { outline: 3px solid #80afba; outline-offset: 2px; }
.scope { padding: 1.7rem; background: var(--white); border: 1px solid var(--line); border-top: 6px solid #779b82; box-shadow: 0 22px 56px rgba(18, 61, 74, .09); }
.scope dl { margin-bottom: 0; }
.scope dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .72rem 0; border-top: 1px solid var(--line); }
.scope dt { color: var(--muted); }
.scope dd { margin: 0; font-weight: 700; text-align: right; }
.section-head { max-width: 850px; margin-bottom: 2.7rem; }
.section-head > p:last-child { color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { min-width: 0; padding: 1.7rem; background: var(--white); }
.card p { color: var(--muted); }
.card-index { color: var(--blue); font: 700 .72rem var(--mono); }
.process-section { color: var(--white); background: var(--navy); }
.process-section .section-head > p:last-child { color: #d8e2e4; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 2rem 0 0; border-top: 1px solid #708d96; list-style: none; }
.process li { padding: 1.25rem; border-right: 1px solid #708d96; }
.process b, .process span { display: block; }
.process b { margin-bottom: .55rem; font-size: 1.18rem; }
.process span { color: #d8e2e4; }
.matcher { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; background: var(--mist); }
.choices { display: grid; gap: .55rem; }
.choice { min-height: 50px; padding: .85rem 1rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); font: 600 1rem var(--sans); text-align: left; cursor: pointer; }
.choice:hover, .choice:focus-visible, .choice.selected { border-color: var(--blue); box-shadow: inset 5px 0 var(--blue); outline: none; }
.recommendation { grid-column: 2; padding: 1rem 1.2rem; background: var(--white); border-left: 5px solid var(--amber); }
.catalogue-hero { min-height: 48vh; }
.catalogue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.demo-card { display: flex; flex-direction: column; min-width: 0; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); }
.demo-card p { color: var(--muted); }
.demo-card .button { align-self: flex-start; margin-top: auto; }
.meta { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.tag, .health { display: inline-flex; align-items: center; min-height: 28px; padding: .28rem .48rem; border: 1px solid var(--line); font: 700 .68rem var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.health::before { width: .55rem; height: .55rem; margin-right: .38rem; background: #758489; border-radius: 50%; content: ""; }
.health[data-state="available"]::before { background: var(--green); }
.health[data-state="unavailable"]::before { background: var(--red); }
.notice { padding: 1rem 1.2rem; background: #f5eddf; border-left: 5px solid var(--amber); }
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; background: #e7efec; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; padding: 1.6rem; background: var(--white); border: 1px solid var(--line); }
.contact-card p { margin: 0; }
footer { display: flex; justify-content: space-between; gap: 2rem; padding: 1.4rem clamp(1rem, 5.5vw, 5.5rem); color: #dae5e7; background: #102e38; font-size: .82rem; }
footer p { margin: 0; }
@media (max-width: 900px) {
  nav { display: none; }
  .hero, .matcher, .contact { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recommendation { grid-column: 1; }
}
@media (max-width: 620px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  body { font-size: 16px; }
  .hero, .section { padding: 3.2rem 1rem; }
  .hero > *, .matcher > *, .contact > * { min-width: 0; }
  .grid, .process, .catalogue-grid { grid-template-columns: 1fr; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; text-align: center; }
  .scope { padding: 1.2rem; }
  .scope dl div { display: block; }
  .scope dd { margin-top: .2rem; text-align: left; }
  h1 { font-size: 2.6rem; }
  .demo-card .button { align-self: stretch; }
  footer { display: block; }
  footer p + p { margin-top: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
