/* ================================================================
   CT Care Proof — Public Site CSS
   Product-selector design system
   ================================================================ */

/* ── Tokens — CT Care Proof palette ─────────────────────────── */
:root {
  --navy:      #0F1F2E;   /* logo dark ink */
  --navy-mid:  #1A3550;
  --blue:      #2699D8;   /* primary brand blue */
  --blue-dark: #1E7FBE;   /* hover / depth */
  --amber:     #d98c0a;
  --amber-bg:  rgba(217,140,10,.10);
  --green:     #4A8C5C;   /* desaturated — success only */
  --red:       #b52c2c;

  --ink:       #0F1F2E;   /* unified with logo dark ink */
  --body:      #3A5568;
  --muted:     #5A7080;
  --faint:     #8AAABB;

  --bg:        #ffffff;
  --surface:   #EBF4FB;   /* cool sky tint */
  --surface2:  #D7E8F6;   /* logo light blue */
  --border:    #C4D9EA;
  --border-hi: #9DC0DA;

  --shadow-sm: 0 1px 8px rgba(15,31,46,.07);
  --shadow-md: 0 4px 20px rgba(15,31,46,.10);
  --shadow-lg: 0 10px 40px rgba(15,31,46,.14);

  --r:   8px;
  --r-lg: 14px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; font-size: 16px; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font-family: var(--font); }

/* ── Shell ──────────────────────────────────────────────────── */
.site-shell { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

.container {
  width: min(1060px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* ── Typography ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow.amber { color: var(--amber); }
.eyebrow.white { color: rgba(255,255,255,.6); }

h1.pg-title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
}

h2.sec-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.on-dark h2.sec-title,
.on-dark .eyebrow { color: #fff; }
.on-dark .eyebrow { opacity: 0.65; }

h3.card-head {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--ink);
  line-height: 1.3;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--body);
}

.note {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--body);
}

.on-dark .lead { color: rgba(255,255,255,.68); }

/* ── Header — dark background so black-bg logo blends cleanly ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #0F1F2E;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

/* .brand-icon retained for fallback — replaced by .brand-logo-img in templates */
.brand-icon {
  display: none; /* hidden — real logo image used instead */
}

/* Real logo image in public nav */
.brand-logo-img {
  max-height: 64px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-sub {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  letter-spacing: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  padding: 0.45rem 0.85rem;
  border-radius: var(--r);
  transition: color .15s, background .15s;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,.08); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease),
              background .18s, color .18s, border-color .18s;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 3px 14px rgba(29,95,212,.28);
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 5px 20px rgba(29,95,212,.36); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 3px 12px rgba(12,31,51,.25);
}
.btn-navy:hover { background: var(--navy-mid); }

.btn-amber {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 3px 14px rgba(217,140,10,.32);
}
.btn-amber:hover { filter: brightness(1.06); box-shadow: 0 5px 20px rgba(217,140,10,.40); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-hi);
}
.btn-ghost:hover { background: var(--surface); }

.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.35);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.65); }

.btn-lg { padding: 0.9rem 2rem; font-size: 0.925rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.8rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

/* ── Path selector strips  (the core new component) ─────────── */
.path-selector {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
}

.path-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 2rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

/* Accent left bar — reveals on hover */
.path-strip::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  opacity: 0;
  transition: opacity .2s;
}

.path-strip:hover {
  border-color: var(--border-hi);
  box-shadow: var(--shadow-md);
  background: #fafcff;
}
.path-strip:hover::before { opacity: 1; }

.path-strip--care::before  { background: var(--amber); }
.path-strip--agency::before { background: var(--blue); }

.path-strip:hover .strip-arrow { transform: translateX(4px); }

.strip-body { display: flex; flex-direction: column; gap: 0.25rem; }

.strip-role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.path-strip--care  .strip-role { color: var(--amber); }
.path-strip--agency .strip-role { color: var(--blue); }

.strip-heading {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.022em;
  line-height: 1.25;
}

.strip-desc {
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.55;
  max-width: 56ch;
  margin-top: 0.3rem;
}

.strip-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface2);
  color: var(--navy);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform .2s var(--ease), background .2s;
}
.path-strip:hover .strip-arrow { background: var(--surface); }
.path-strip--care:hover  .strip-arrow { background: var(--amber-bg); color: var(--amber); }
.path-strip--agency:hover .strip-arrow { background: rgba(29,95,212,.1); color: var(--blue); }

/* ── Page sections ──────────────────────────────────────────── */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section.bg-surface,  .section-sm.bg-surface  { background: var(--surface); }
.section.bg-surface2, .section-sm.bg-surface2 { background: var(--surface2); }
.section.bg-dark, .section-sm.bg-dark {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
}

.sec-header { margin-bottom: 2.75rem; }
.sec-header .eyebrow  { display: block; margin-bottom: 0.7rem; }
.sec-header .sec-title { margin-top: 0; }
.sec-header .lead { margin-top: 0.6rem; max-width: 54ch; }

/* ── Two-column layout ──────────────────────────────────────── */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.cols-60-40 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* ── Card ───────────────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}
.card.raised {
  box-shadow: var(--shadow-md);
  border-color: var(--border-hi);
}
.card.raised-lg {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hi);
}
.card.border-amber { border-top: 3px solid var(--amber); }
.card.border-blue  { border-top: 3px solid var(--blue); }

/* Cards on dark backgrounds */
.dark-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: background .2s, border-color .2s;
}
.dark-card:hover {
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.22);
}
.dark-card h3 { color: #fff; }
.dark-card p, .dark-card li { color: rgba(255,255,255,.7); }

/* ── Stats row (agency section) ─────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.stat-item {
  padding: 1.75rem;
  border-right: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
.stat-item:last-child { border-right: 0; }
.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 0.78rem 0.95rem;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.5;
  transition: border-color .18s, box-shadow .18s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--faint); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3.5px rgba(29,95,212,.13);
}
.form-group textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.form-group .hint { font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }

.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Alert ──────────────────────────────────────────────────── */
.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--r);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.15rem;
  border: 1.5px solid transparent;
  line-height: 1.5;
}
.alert-error   { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }
.alert-success { background: #f0fdf4; border-color: #86efac; color: #166534; }

/* ── Check list ─────────────────────────────────────────────── */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.check-list li {
  display: flex;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--body);
  line-height: 1.5;
  align-items: flex-start;
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    rgba(29,95,212,.1)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%231d5fd4' fill-rule='evenodd' d='M12.416 3.376a.75.75 0 0 1 .208 1.04l-5 7.5a.75.75 0 0 1-1.154.114l-3-3a.75.75 0 0 1 1.06-1.06l2.353 2.353 4.493-6.74a.75.75 0 0 1 1.04-.207z'/%3E%3C/svg%3E")
    no-repeat center / 10px;
}
.check-list.on-dark li { color: rgba(255,255,255,.75); }
.check-list.on-dark li::before {
  background-color: rgba(255,255,255,.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' fill-rule='evenodd' d='M12.416 3.376a.75.75 0 0 1 .208 1.04l-5 7.5a.75.75 0 0 1-1.154.114l-3-3a.75.75 0 0 1 1.06-1.06l2.353 2.353 4.493-6.74a.75.75 0 0 1 1.04-.207z'/%3E%3C/svg%3E");
}

/* ── Module grid ────────────────────────────────────────────── */
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.7rem; }
.mod-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color .18s, background .18s;
}
.mod-chip:hover { border-color: var(--blue); background: #eff5ff; }
.mod-num {
  width: 28px; height: 28px; min-width: 28px;
  border-radius: 50%;
  background: rgba(29,95,212,.1);
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.mod-name { font-size: 0.85rem; font-weight: 600; color: var(--ink); }

/* ── Portal block ───────────────────────────────────────────── */
.portal-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 1.75rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg);
  flex-wrap: wrap;
}
.portal-block h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.portal-block p  { color: rgba(255,255,255,.65); font-size: 0.86rem; margin: 0; }

/* ── Progress bar (training / exam pages) ───────────────────── */
.progress-row {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.progress-track {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 440px;
}
.prog-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.prog-step.done   { color: var(--green); }
.prog-step.active { color: var(--blue); }
.prog-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}
.prog-step.done   .prog-dot { background: var(--green); border-color: var(--green); color: #fff; }
.prog-step.active .prog-dot { background: var(--blue);  border-color: var(--blue);  color: #fff; }
.prog-line { flex: 1; height: 2px; background: var(--border); margin: 0 0.5rem; min-width: 32px; }
.prog-line.done { background: var(--green); }

/* ── Learner chips ──────────────────────────────────────────── */
.learner-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.5rem;
}
.learner-chip {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.55rem 0.95rem;
}
.learner-chip .lc-label {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.learner-chip .lc-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

/* ── Step timeline ──────────────────────────────────────────── */
.step-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.step-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: var(--border);
}
.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--bg);
}
.step-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
  letter-spacing: -0.015em;
}
.step-item p { font-size: 0.875rem; color: var(--body); line-height: 1.6; }

/* ── Exam cards ─────────────────────────────────────────────── */
.exam-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.exam-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color .18s, transform .15s;
}
.exam-card:hover { border-color: var(--blue); transform: translateX(3px); }
.ec-badge {
  width: 34px; height: 34px; min-width: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy-mid));
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.ec-text { font-size: 0.9rem; font-weight: 600; color: var(--ink); line-height: 1.4; }

/* ── Info callout ───────────────────────────────────────────── */
.info-callout {
  background: rgba(29,95,212,.05);
  border: 1px solid rgba(29,95,212,.18);
  border-radius: var(--r);
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.6;
}
.info-callout strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--blue);
  margin-bottom: 0.3rem;
}

/* ── Divider ────────────────────────────────────────────────── */
.divider     { height: 1px; background: var(--border); margin: 1.75rem 0; }
.divider.dim { background: rgba(255,255,255,.1); }

/* ── Inline link ────────────────────────────────────────────── */
.ilink { color: var(--blue); font-weight: 600; border-bottom: 1.5px solid rgba(29,95,212,.25); transition: border-color .15s; }
.ilink:hover { border-color: var(--blue); }
.ilink.white { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.25); }
.ilink.white:hover { color: #fff; border-color: rgba(255,255,255,.65); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 1.6rem 0;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-inner p { margin: 0; font-size: 0.86rem; color: rgba(255,255,255,.5); }

/* ── Hero — light mode, Stripe-inspired restraint ────────────── */
.hero {
  background:
    radial-gradient(ellipse 75% 60% at 85% -5%, rgba(29,95,212,.055) 0%, transparent 100%),
    radial-gradient(ellipse 50% 40% at 10% 110%, rgba(29,95,212,.035) 0%, transparent 100%),
    #ffffff;
  padding: 5.5rem 0 7rem;
  position: relative;
}

.hero-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.hero-h1 {
  font-size: clamp(2.7rem, 5.2vw, 4.4rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin-bottom: 1.35rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--body);
  line-height: 1.72;
  max-width: 44ch;
  margin: 0 auto 3.75rem;
}

/* ── Decision grid — the central product interface ──────────── */
.decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  text-align: left;
  max-width: 840px;
  margin: 0 auto;
}

.decision-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2.25rem 2.25rem;
  background: #fff;
  border: 1.5px solid #dce8f4;
  border-radius: 1.1rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  gap: 1rem;
  transition: border-color .22s var(--ease),
              box-shadow .22s var(--ease),
              transform .22s var(--ease);
}

/* Top accent stripe — appears on hover */
.decision-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  border-radius: 1.1rem 1.1rem 0 0;
  transition: opacity .22s;
}
.decision-card--care::before  { background: var(--amber); }
.decision-card--agency::before { background: var(--blue); }

.decision-card:hover {
  border-color: #b2cee8;
  box-shadow: 0 12px 40px rgba(12,31,51,.09), 0 2px 8px rgba(12,31,51,.05);
  transform: translateY(-4px);
}
.decision-card:hover::before { opacity: 1; }

/* Inner structure */
.dc-tag {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.decision-card--care  .dc-tag { color: var(--amber); }
.decision-card--agency .dc-tag { color: var(--blue); }

.dc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.dc-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.dc-desc {
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.65;
  max-width: 32ch;
}

.dc-foot {
  margin-top: auto;
  padding-top: 1.25rem;
}

/* CTA spans styled as buttons — the card itself is the <a> tag */
.dc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--r);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition: filter .18s, box-shadow .18s, transform .15s var(--ease);
}
.dc-btn:hover { transform: translateY(-1px); }

.dc-btn--care {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 2px 12px rgba(217,140,10,.28);
}
.decision-card--care:hover .dc-btn--care {
  filter: brightness(1.06);
  box-shadow: 0 4px 18px rgba(217,140,10,.38);
}

.dc-btn--agency {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 12px rgba(12,31,51,.22);
}
.decision-card--agency:hover .dc-btn--agency {
  background: var(--navy-mid);
  box-shadow: 0 4px 18px rgba(12,31,51,.30);
}

/* ── Section intro block ────────────────────────────────────── */
.section-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

/* ── Feature icon ───────────────────────────────────────────── */
.feat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.feat-icon.amber { background: rgba(217,140,10,.12); }
.feat-icon.blue  { background: rgba(29,95,212,.1); }
.feat-icon.navy  { background: rgba(12,31,51,.08); }

/* ── Agency benefit list ────────────────────────────────────── */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.benefit-item:last-child { border-bottom: 0; padding-bottom: 0; }
.benefit-num {
  width: 28px; height: 28px; min-width: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255,255,255,.5);
  margin-top: 1px;
}
.benefit-text {
  font-size: 0.92rem;
  line-height: 1.62;
  color: rgba(255,255,255,.65);
}

/* ── Intake card (caregiver form wrapper) ───────────────────── */
.intake-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intake-form-col {
  padding: 2.5rem;
  border-right: 1.5px solid var(--border);
}

.intake-info-col {
  padding: 2.5rem;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intake-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.intake-sub {
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* ── Refined form fields ────────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 0.82rem 1rem;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.5;
  transition: border-color .18s, box-shadow .18s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(29,95,212,.1);
}
.field .hint {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}
.field textarea { min-height: 120px; resize: vertical; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }

/* ── Module mini list ───────────────────────────────────────── */
.module-mini {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.module-mini-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--r);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .15s;
}
.module-mini-item:hover { border-color: var(--amber); }
.module-mini-num {
  width: 22px; height: 22px; min-width: 22px;
  border-radius: 5px;
  background: rgba(217,140,10,.12);
  color: var(--amber);
  font-size: 0.66rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .cols-2, .cols-60-40, .cols-3, .form-2col { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:last-child { border-bottom: 0; }
  .step-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .step-row::before { display: none; }
  .step-item { text-align: left; display: flex; align-items: flex-start; gap: 1rem; }
  .step-num { margin: 0; flex-shrink: 0; }
  .exam-grid { grid-template-columns: 1fr; }
  .portal-block { flex-direction: column; align-items: flex-start; }
  .decision-grid { grid-template-columns: 1fr; max-width: 100%; }
  .decision-card { min-height: auto; }
  .dc-desc { max-width: 100%; }
  .intake-wrap { grid-template-columns: 1fr; }
  .intake-form-col { border-right: 0; border-bottom: 1.5px solid var(--border); }
  .section-intro { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .path-strip { grid-template-columns: 1fr; gap: 1rem; }
  .strip-arrow { display: none; }
  .section, .section-sm { padding: 3.5rem 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .header-nav .nav-item { display: none; }
  .header-nav .nav-item.always-show { display: inline-flex; }
  .hero { padding: 3.5rem 0 5rem; }
  .hero-h1 { letter-spacing: -0.04em; }
  .field-row { grid-template-columns: 1fr; }
  .intake-form-col, .intake-info-col { padding: 1.75rem; }
}
