/* CURE Compliance — shared styles */
:root {
  --navy: #2b3350;
  --navy-deep: #1e2440;
  --slate: #587487;
  --slate-light: #8aa3b3;
  --cream: #fbf4df;
  --cream-deep: #f3e7c4;
  --gold: #c69a3c;
  --ink: #1d2233;
  --muted: #5b6275;
  --line: #e3e0d6;
  --white: #ffffff;
  --bg: #fcfbf8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 25, 45, .06), 0 8px 24px rgba(20, 25, 45, .07);
  --max: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--slate); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 251, 248, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 44px; height: 44px; flex: none; border-radius: 50%; box-shadow: 0 1px 3px rgba(20,25,45,.18); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: .12em; }
.brand-sub { font-size: .66rem; color: var(--muted); letter-spacing: .04em; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--slate); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); padding-bottom: 4px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font: 700 .95rem/1 var(--font); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: #d6aa4b; color: var(--navy-deep); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-deep); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(88,116,135,.55), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(198,154,60,.18), transparent 60%),
    var(--navy);
  color: #e9ecf3;
  padding: 96px 0 104px;
  position: relative; overflow: hidden;
}
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .lede { font-size: 1.18rem; max-width: 56ch; color: #cfd6e4; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 28px; backdrop-filter: blur(4px);
}
.hero-card h2 { color: var(--white); font-size: 1.05rem; letter-spacing: .02em; margin-bottom: 18px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: #dfe4ee; font-size: .97rem; }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }

.page-hero { background: var(--navy); color: #d6dcea; padding: 72px 0 64px; }
.page-hero h1 { color: var(--white); max-width: 20ch; }
.page-hero p { max-width: 62ch; font-size: 1.1rem; margin: 0; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; display: block; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cream); color: var(--navy); margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card-link { display: inline-block; margin-top: 14px; font-weight: 700; font-size: .92rem; text-decoration: none; }

.audience { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none;
}
a.chip:hover { border-color: var(--slate); color: var(--slate); }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-size: 2rem; font-weight: 800; color: var(--gold);
}
.step p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.why-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.why-list svg { width: 26px; height: 26px; color: var(--slate); margin-top: 2px; }
.why-list strong { display: block; color: var(--navy); }
.why-list span { color: var(--muted); }

.stat-panel {
  background: var(--navy); color: #dfe4ee; border-radius: 20px; padding: 40px;
  display: grid; gap: 26px;
}
.stat-panel h3 { color: var(--white); }
.stat-panel .row { display: flex; gap: 16px; align-items: flex-start; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; }
.stat-panel .row:first-of-type { border-top: 0; padding-top: 0; }
.stat-panel .num { font-size: 1.6rem; font-weight: 800; color: var(--gold); min-width: 64px; }

/* ---------- Service detail ---------- */
.service { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service:first-child { border-top: 0; padding-top: 0; }
.service h2 { font-size: 1.75rem; }
.service-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service-cols h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); margin-bottom: 12px; }
.service-cols ul { margin: 0; padding-left: 20px; color: var(--muted); }
.service-cols li { margin-bottom: 8px; }
.service-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }

/* ---------- Placeholder (owner must supply) ---------- */
.placeholder {
  border: 2px dashed var(--gold); background: #fffaf0; border-radius: var(--radius);
  padding: 22px; color: #7a5a17; font-size: .95rem;
}
.placeholder strong { display: block; color: #6b4e12; margin-bottom: 4px; }

/* ---------- Team ---------- */
.team-card { text-align: left; }
.avatar {
  width: 88px; height: 88px; border-radius: 50%; background: var(--cream-deep);
  display: grid; place-items: center; font-weight: 800; color: var(--navy); font-size: 1.6rem; margin-bottom: 16px;
}
.role { color: var(--slate); font-weight: 600; font-size: .92rem; margin-bottom: 10px; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #3a4a68 100%);
  color: #dfe4ee; border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1.5fr auto; gap: 32px; align-items: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item svg { width: 24px; height: 24px; color: var(--slate); flex: none; margin-top: 3px; }
.contact-item strong { display: block; color: var(--navy); }
.contact-item a { font-weight: 600; }
form .field { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px;
  border: 1px solid #cfd2da; background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(88,116,135,.2); }
textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* ---------- Checks list (two columns) ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b3350' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--cream-deep);
}
.service .btn { margin-top: 22px; }

/* ---------- Method / callouts ---------- */
.method { background: var(--navy); color: #d6dcea; border-radius: 20px; padding: 40px; margin: 8px 0 56px; }
.method h3 { color: var(--white); }
.method .kicker { color: var(--gold); }
.method .steps { margin-top: 24px; }
.method .step h3 { font-size: 1.1rem; }
.method .step p { color: #c4ccdc; }
.callout {
  border-left: 4px solid var(--gold); background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px; margin: 8px 0 56px;
}
.callout h3 { margin-bottom: 8px; }
.callout p { margin: 0; color: var(--muted); }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: .85fr 1.4fr; gap: 56px; align-items: start; }
.founder-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
img.avatar { object-fit: cover; object-position: 50% 30%; padding: 0; }
.founder-photo {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 22%;
  border-radius: 14px; margin-bottom: 20px; background: var(--cream-deep);
}
.contact-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; margin-top: 0 !important; }
.founder-card .avatar { width: 112px; height: 112px; font-size: 2rem; }
.founder-card h3 { font-size: 1.4rem; margin-bottom: 2px; }
.creds { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; font-size: .94rem; color: var(--muted); }
.creds li { padding-left: 18px; position: relative; }
.creds li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.founder-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.founder-strip .avatar { margin: 0; }
.founder-strip p { margin: 0; color: var(--muted); }
blockquote.quote {
  margin: 28px 0 0; padding: 0; font-size: 1.35rem; font-weight: 700; color: var(--navy); line-height: 1.4;
}
blockquote.quote footer { font-size: .9rem; font-weight: 600; color: var(--slate); margin-top: 8px; }
.tagline { font-style: italic; color: #d5dbe8; margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aab3c6; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #d5dbe8; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.site-footer .brand-sub { color: #aab3c6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .service, .contact-grid, .founder { grid-template-columns: 1fr; gap: 40px; }
  .founder-strip { grid-template-columns: auto 1fr; }
  .founder-strip .btn { grid-column: 1 / -1; justify-self: start; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 72px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 4px; }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--slate); }
  .nav-links li a.btn { display: flex; margin-top: 8px; width: 100%; padding: 14px; }
  .brand-sub { display: none; }
  .grid-2, .grid-3, .grid-4, .service-cols, .field-row, .footer-grid, .checks { grid-template-columns: 1fr; }
  .founder-strip { grid-template-columns: 1fr; }
  .method { padding: 28px 22px; }
  .callout { padding: 22px; }
  .cta-band { padding: 32px 24px; border-radius: 18px; }
  .stat-panel { padding: 28px; }
}
