/* ============================================================
   Guided Care — Symptom Intake & Triage
   Shared stylesheet. Theme inspired by OncoNavigator (AIM One Health).
   ============================================================ */

:root {
  /* Brand — fresh green */
  --navy-900: #15241a;   /* near-black forest: headings, footer, dark bands */
  --navy-800: #1a1d17;   /* near-black: primary pill button */
  --navy-700: #356b3f;   /* medium green: small accents */
  --accent:   #8bc34a;   /* leaf green */
  --accent-2: #5a932c;   /* deeper green: links, eyebrows */
  --lime:     #aedd6e;   /* bright lime: highlight pills / active */
  --lime-soft: #e9f6d4;  /* pale lime wash */

  /* Status / safety */
  --green:      #4a9e4f;
  --green-deep: #2f7a3a;
  --green-soft: #e1f3cf;
  --red:        #d23b3b;
  --red-bright: #ff6b5e;
  --red-soft:   #fdeceb;
  --amber:      #e9a417;
  --amber-soft: #fbf1d3;

  /* Neutrals */
  --bg:        #eef2e8;   /* light sage */
  --ink:       #20281f;   /* dark green-gray text */
  --muted:     #5f6b58;   /* green-gray */
  --line:      #e2e8d8;
  --card:      #ffffff;
  --card-alt:  #f2f5ec;

  /* System */
  --radius:   20px;
  --radius-sm: 12px;
  --shadow:   0 1px 2px rgba(30,45,25,.05), 0 10px 28px rgba(30,45,25,.07);
  --shadow-lg: 0 16px 48px rgba(30,45,25,.14);
  --maxw: 1440px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.narrow { max-width: 880px; margin-left: auto; margin-right: auto; }

.muted { color: var(--muted); }
.center { text-align: center; }

/* Eyebrow / section label */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: .6rem;
}

.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy-700); background: var(--lime-soft); border: 1px solid #d4e8b4;
  padding: .35rem .7rem; border-radius: 999px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238,242,232,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--navy-900); font-size: 1.08rem; }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--accent));
  color: #fff; flex: none;
}
.brand small { display: block; font-size: .66rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .94rem; }
.nav-links a:hover { color: var(--accent-2); text-decoration: none; }
.nav-links a.active { color: var(--accent-2); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-900); margin: 4px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .95rem; border-radius: 999px;
  padding: .7rem 1.3rem; cursor: pointer; border: 1px solid transparent;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: #000; box-shadow: var(--shadow); }
.btn-accent { background: var(--lime); color: var(--navy-900); }
.btn-accent:hover { background: var(--accent); box-shadow: var(--shadow); }
.btn-ghost { background: #fff; color: var(--navy-900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); background: var(--lime-soft); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(880px 440px at 80% -12%, rgba(139,195,74,.30), transparent 62%),
    radial-gradient(680px 420px at -2% 8%, rgba(174,221,110,.26), transparent 58%),
    linear-gradient(180deg, #e7efdc, var(--bg));
  padding: 84px 0 68px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 88px); align-items: center; }
.hero h1 span { color: var(--accent-2); }
.hero p.lead { font-size: clamp(1.08rem, 1.2vw, 1.3rem); color: #3c4838; max-width: 600px; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-checklist { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .6rem; }
.hero-checklist li { display: flex; align-items: flex-start; gap: .6rem; color: #33455a; font-weight: 500; }
.hero-checklist svg { flex: none; margin-top: 3px; }

/* Hero panel — patient quote / flow card */
.hero-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 26px;
}
.quote-card {
  background: var(--card-alt); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; font-size: 1.02rem; color: #2b3c50; font-style: italic;
}
.flow-mini { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.flow-mini li {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.flow-mini .step-ic {
  width: 36px; height: 36px; border-radius: 9px; flex: none; display: grid; place-items: center;
  background: var(--card-alt); color: var(--navy-700);
}
.flow-mini b { display: block; color: var(--navy-900); font-size: .95rem; }
.flow-mini span { font-size: .82rem; color: var(--muted); }

/* How it works — numbered step cards */
.steps-grid { position: relative; }
.step-card { position: relative; }
.step-card .step-no {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--lime)); color: var(--navy-900);
  font-weight: 800; font-size: 1.1rem; margin-bottom: 14px;
}
.step-card .ic { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; margin: 0; background: var(--lime-soft); }
.step-card h3 { margin-bottom: .35rem; }
/* connector arrow between steps (desktop only) */
@media (min-width: 901px) {
  .steps-grid .step-card:not(:last-child)::after {
    content: "→"; position: absolute; top: 50%; right: -16px; transform: translateY(-50%);
    color: var(--accent); font-weight: 800; font-size: 1.1rem; z-index: 2;
  }
}

/* AIM One Health tools — under the hero image */
.hero-right { display: flex; flex-direction: column; }
.hero-tools {
  margin-top: 30px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #eef7df, #ffffff);
  border: 1.5px solid #c7e0a3; border-radius: 18px;
  box-shadow: 0 12px 30px rgba(30,45,25,.12); padding: 18px;
}
.hero-tools::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--lime));
}
.hero-tools .tools-label {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-deep); margin-bottom: 12px;
}
.hero-tools .tools-label::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--lime));
}
.hero-tools-list { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tools-list a {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--card-alt); border: 1px solid var(--line); color: var(--navy-900);
  font-weight: 600; font-size: .86rem; padding: .42rem .85rem; border-radius: 999px;
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
}
.hero-tools-list a span { color: var(--accent-2); font-weight: 700; }
.hero-tools-list a:hover {
  text-decoration: none; border-color: var(--accent); background: var(--lime-soft); transform: translateY(-1px);
}

/* AIM One Health tools cards */
.tool-card { display: flex; flex-direction: column; color: var(--ink); }
.tool-card:hover { text-decoration: none; }
.tool-card h3 { margin-bottom: 2px; }
.tool-card .tool-domain { font-size: .8rem; font-weight: 700; color: var(--accent-2); margin-bottom: 10px; }
.tool-card p { flex: 1 1 auto; }
.tool-card .tool-link { margin-top: 14px; font-weight: 700; color: var(--accent-2); display: inline-flex; align-items: center; gap: .3rem; }
.tool-card:hover .tool-link { text-decoration: underline; }

/* Hero image figure (right column) */
.hero-figure {
  margin: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; box-shadow: var(--shadow-lg); padding: 16px;
}
.hero-figure img { width: 100%; height: auto; display: block; border-radius: 14px; }
.hero-figure figcaption {
  font-size: .82rem; color: var(--muted); text-align: center; margin-top: 12px;
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.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(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  transition: transform .1s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: #cfe0f3; }
.card .ic {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: var(--card-alt); color: var(--accent-2); margin-bottom: 14px;
}
.card h3 { margin-bottom: .3rem; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }

.surface {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Tinted band */
.band-navy {
  background: linear-gradient(135deg, #15241a, #2c4a32);
  color: #e7f1dc;
}
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .muted, .band-navy p { color: #c4d6b3; }
.band-soft { background: #e6ecdc; }

/* ---------- Pathway flow ---------- */
.pathway { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.pathway .node {
  flex: 1 1 150px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 16px; text-align: center; position: relative;
}
.pathway .node .n-ic {
  width: 44px; height: 44px; border-radius: 11px; margin: 0 auto 10px; display: grid; place-items: center;
  background: var(--card-alt); color: var(--navy-700);
}
.pathway .node b { display: block; color: var(--navy-900); font-size: .98rem; }
.pathway .node span { font-size: .82rem; color: var(--muted); }
.pathway .arrow { display: grid; place-items: center; color: var(--accent); flex: 0 0 36px; }

/* ---------- Bias control modules ---------- */
.bm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bm {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px;
}
.bm .tag {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  color: #fff; background: var(--navy-700); border-radius: 6px; padding: .15rem .5rem; margin-bottom: .6rem;
}
.bm h4 { font-size: 1rem; margin: 0 0 .35rem; }
.bm p { font-size: .88rem; color: var(--muted); margin: 0 0 .6rem; }
.bm .why { font-size: .82rem; color: var(--navy-700); border-top: 1px dashed var(--line); padding-top: .55rem; }

/* ---------- Safety floor ---------- */
.safety-row {
  display: grid; grid-template-columns: 110px 1fr 200px; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--line);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 14px;
}
.safety-row.sf1 { border-left-color: var(--red-bright); }
.safety-row.sf2 { border-left-color: var(--amber); }
.safety-row.sf3 { border-left-color: var(--green); }
.safety-row .lvl { font-weight: 800; color: var(--navy-900); }
.safety-row .lvl small { display: block; font-weight: 600; color: var(--muted); font-size: .78rem; }
.safety-row .action { text-align: right; font-weight: 700; }
.safety-row.sf1 .action { color: var(--red); }
.safety-row.sf2 .action { color: #b8860b; }
.safety-row.sf3 .action { color: var(--green-deep); }

/* ---------- Lens chips (multidisciplinary) ---------- */
.lens-wrap { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lens {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem .9rem; font-weight: 600; font-size: .9rem; color: var(--navy-800);
}
.lens .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.principle { text-align: left; }
.principle .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: #fff; margin-bottom: 12px; }
.principle h4 { color: #fff; font-size: 1.02rem; margin-bottom: .25rem; }
.principle p { color: #c4d6ea; font-size: .9rem; margin: 0; }

/* ---------- Sources strip ---------- */
.sources { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.source-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px;
  min-width: 150px; text-align: center;
}
.source-chip b { display: block; color: var(--navy-900); font-size: 1rem; }
.source-chip span { font-size: .8rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .surface { padding: 48px 32px; }

/* ---------- Contact form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy-800); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .98rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .7rem .85rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139,195,74,.25);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .84rem; color: var(--muted); }
.form-status { margin-top: 12px; font-weight: 600; display: none; }
.form-status.ok { display: block; color: var(--green-deep); }
.form-status.err { display: block; color: var(--red); }

/* ---------- Notices ---------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--amber-soft); border: 1px solid #f3dca0; border-radius: 12px;
  padding: 14px 16px; color: #6b531a; font-size: .92rem;
}
.notice.danger { background: var(--red-soft); border-color: #f1c2cb; color: #7a1626; }
.notice.info { background: #e7f1fb; border-color: #c4ddf5; color: #1c4a78; }
.notice b { color: inherit; }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; gap: 20px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px;
}
.step .num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-800); color: #fff; font-weight: 800; font-size: 1.1rem;
}
.step h3 { margin-bottom: .25rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c2d2b3; padding: 56px 0 28px; margin-top: 24px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.site-footer a { color: #c2d2b3; display: block; margin-bottom: .55rem; font-size: .92rem; }
.site-footer a:hover { color: var(--lime); }
.footer-brand p { color: #93a585; font-size: .9rem; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .84rem; color: #93a585;
}
.footer-emergency { color: #ffb4ad; font-weight: 600; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 68px 0 44px; position: relative; overflow: hidden; background:
  radial-gradient(720px 360px at 88% -24%, rgba(139,195,74,.26), transparent 60%),
  linear-gradient(180deg, #e9f0de, var(--bg)); }
.page-hero .eyebrow { color: var(--accent-2); }
.page-hero p { font-size: 1.12rem; color: #3c4838; max-width: 680px; position: relative; z-index: 1; }
.page-hero .container { position: relative; z-index: 1; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.list-check li { display: flex; gap: .6rem; align-items: flex-start; }
.list-check svg { flex: none; margin-top: 4px; }
.pill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-tags span { background: var(--green-soft); color: var(--green-deep); border-radius: 999px;
  padding: .3rem .75rem; font-size: .85rem; font-weight: 600; }

/* ---------- Hero decoration & app-style panel ---------- */
.hero-grid { position: relative; z-index: 1; }
.hero-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-decor span {
  position: absolute; display: block; opacity: .9;
}
.shape-cross {
  width: 26px; height: 26px;
  background:
    linear-gradient(var(--accent),var(--accent)) center/9px 26px no-repeat,
    linear-gradient(var(--accent),var(--accent)) center/26px 9px no-repeat;
  border-radius: 4px;
}
.shape-cross.lime { background:
    linear-gradient(var(--lime),var(--lime)) center/9px 26px no-repeat,
    linear-gradient(var(--lime),var(--lime)) center/26px 9px no-repeat; }
.shape-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--lime); }
.shape-ring { width: 30px; height: 30px; border-radius: 50%; border: 5px solid var(--accent); }
.shape-diamond { width: 18px; height: 18px; background: var(--accent); border-radius: 4px; transform: rotate(45deg); }
.shape-pill { width: 46px; height: 22px; border-radius: 999px; background: rgba(174,221,110,.55); }

/* Highlight pill above headline */
.hl-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--navy-900); color: #fff; font-weight: 600; font-size: .82rem;
  padding: .4rem .85rem .4rem .5rem; border-radius: 999px; margin-bottom: 1rem;
}
.hl-pill .hl-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--lime);
  display: grid; place-items: center; color: var(--navy-900); flex: none; }
.hl-pill b { color: var(--lime); }

/* Specialty showcase cards */
#specialties { scroll-margin-top: 84px; }
.spec-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  scroll-margin-top: 96px;
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
.spec-card:target { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139,195,74,.30), var(--shadow-lg); }
.spec-card::after {
  content: ""; position: absolute; top: -28px; right: -28px; width: 90px; height: 90px;
  border-radius: 50%; background: var(--lime-soft); opacity: .7;
}
.spec-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfe3ad; }
.spec-card > * { position: relative; z-index: 1; }
.spec-card .spec-ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--lime)); color: #fff; margin-bottom: 14px;
}
.spec-card h3 { margin-bottom: .35rem; }
.spec-card p { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.spec-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.spec-steps span {
  background: var(--card-alt); border: 1px solid var(--line); color: var(--navy-900);
  font-size: .74rem; font-weight: 600; padding: .26rem .55rem; border-radius: 8px;
}
.spec-steps i { color: var(--accent); font-style: normal; font-weight: 800; }
.spec-card.more {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background: linear-gradient(135deg, #15241a, #2c4a32); border-color: transparent; color: #e7f1dc;
}
.spec-card.more::after { background: rgba(174,221,110,.18); }
.spec-card.more h3 { color: #fff; }
.spec-card.more p { color: #c4d6b3; }
.spec-card.more a { color: var(--lime); font-weight: 700; }

/* Specialty pointer row in hero */
.hero-specialties { margin-top: 22px; }
.hero-specialties .spec-label {
  display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .55rem;
}
.spec-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-jump a {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #fff; border: 1px solid var(--line); color: var(--navy-900);
  font-size: .86rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px;
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
}
.spec-jump a::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none;
}
.spec-jump a:hover {
  text-decoration: none; background: var(--lime-soft); border-color: var(--accent); transform: translateY(-1px);
}
.spec-jump a.more { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.spec-jump a.more::before { display: none; }
.spec-jump a.more:hover { background: #000; }

/* Stat strip under hero CTA */
.hero-stats { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--navy-900); line-height: 1; }
.hero-stats .stat span { font-size: .82rem; color: var(--muted); }

/* App-style hero panel header */
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.panel-head .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--lime)); display: grid; place-items: center; color: #fff;
}
.panel-head b { display: block; color: var(--navy-900); font-size: .98rem; }
.panel-head span { font-size: .82rem; color: var(--muted); }
.panel-head .rating { margin-left: auto; background: var(--lime-soft); color: var(--green-deep);
  font-weight: 700; font-size: .8rem; padding: .25rem .6rem; border-radius: 999px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-4, .bm-grid, .principles, .form-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .safety-row { grid-template-columns: 1fr; text-align: left; }
  .safety-row .action { text-align: left; }
}
@media (max-width: 620px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px; gap: .4rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .55rem 0; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4, .bm-grid, .principles, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .pathway .arrow { display: none; }
  .pathway .node { flex-basis: 100%; }
}
