/* vedatrics.com, new design (October 2026). Black, gold and teal, with the light gold and
   light teal of the Vedatrics PDFs for reading sections. Built for a 360px phone first. */

@font-face{font-family:'Playfair Display';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/playfair-display.woff2) format('woff2')}
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:700;font-display:swap;src:url(/fonts/playfair-display-italic.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/inter.woff2) format('woff2')}

:root {
  --ink: #0D0D0D;
  --ink-2: #131313;
  --ink-3: #1B1B1B;
  --gold: #B8975A;
  --gold-2: #CFB27A;
  --gold-deep: #7A5C26;
  --teal: #2D6B7A;
  --teal-2: #3F96AB;
  --teal-pale: #E8F2F4;
  --paper: #F7F0E3;
  --paper-2: #FBF8F2;
  --text: #2A2A2A;
  --text-2: #555555;
  --light: #F5F1E8;
  --light-2: rgba(245, 241, 232, 0.74);
  --line: rgba(42, 42, 42, 0.12);
  --line-dark: rgba(184, 151, 90, 0.24);
  --green: #3E9B4F;
  --amber: #E08A00;
  --red: #D64235;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 10px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--paper-2);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.05; }
h2 { font-size: clamp(31px, 4.4vw, 50px); }
h3 { font-size: clamp(21px, 2.1vw, 25px); line-height: 1.25; }
h1 em, h2 em { font-style: italic; color: var(--gold-deep); }
.dark h1 em, .dark h2 em { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 88px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: 6px; text-decoration: none; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Layout ── */
.wrap { max-width: var(--wrap); margin: 0 auto; }
.sec { padding: 80px 20px; }
@media (min-width: 900px) { .sec { padding: 120px 40px; } }
.dark { background: var(--ink); color: var(--light); }
.paper { background: var(--paper); }
.white { background: var(--paper-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.dark .eyebrow { color: var(--gold); }
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.6; color: var(--text-2); max-width: 640px; }
.dark .lead { color: var(--light-2); }
.head { max-width: 760px; margin-bottom: 48px; }
.head h2 { margin-bottom: 18px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 24px; border-radius: 8px; border: 1.5px solid transparent; background: none;
  font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-line { border-color: rgba(245, 241, 232, 0.4); color: var(--light); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-ink { background: var(--ink); color: var(--light); }
.btn-ink:hover { background: var(--teal); }
.btn-out { border-color: var(--text); color: var(--text); }
.btn-out:hover { background: var(--text); color: var(--paper-2); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  color: var(--teal); border-bottom: 1.5px solid transparent;
}
.link:hover { border-bottom-color: currentColor; }
.link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.link:hover svg { transform: translateX(3px); }
.dark .link { color: var(--gold); }

/* ── Header ── */
.top {
  position: sticky; top: 0; z-index: 100; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 20px; background: rgba(13, 13, 13, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark); color: var(--light);
}
@media (min-width: 900px) { .top { height: 76px; padding: 0 40px; } }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--light); flex: none; }
.brand img { width: 38px; height: 38px; }
.brand-name { display: block; font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: 0.16em; line-height: 1.1; }
.brand-sub { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.menu { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; color: var(--light); font: 600 15px var(--sans); cursor: pointer;
}
.menu-btn span { display: grid; gap: 5px; }
.menu-btn i { display: block; width: 22px; height: 2px; background: currentColor; transition: transform 0.25s, opacity 0.25s; }
.menu-open .menu-btn i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn i:nth-child(2) { opacity: 0; }
.menu-open .menu-btn i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* A blurred header would trap the full-screen menu inside it, so the blur goes while the menu is open */
.menu-open { overflow: hidden; }
.menu-open .top { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
.menu-open .menu {
  display: flex; flex-direction: column; position: fixed; inset: 68px 0 0 0; z-index: 99;
  padding: 24px 20px 120px; background: var(--ink); overflow-y: auto;
}
.menu a { color: var(--light); text-decoration: none; }
.menu > a:not(.btn), .menu-group > a, .menu-group > button { display: block; padding: 14px 0; font: 600 22px/1.3 var(--serif); border-bottom: 1px solid var(--line-dark); }
.menu-group > button { display: none; }
.menu-sub { display: grid; padding: 4px 0 10px 14px; border-bottom: 1px solid var(--line-dark); }
.menu-sub a { padding: 9px 0; font-size: 17px; color: var(--light-2); }
.menu .btn { display: flex; margin-top: 24px; font-size: 17px; }
.menu a[aria-current="page"] { color: var(--gold); }
@media (min-width: 1100px) {
  .menu-btn { display: none; }
  .menu { display: flex; align-items: center; gap: 2px; }
  .menu > a:not(.btn), .menu-group > button {
    padding: 10px 12px; border: 0; background: none; color: var(--light-2); cursor: pointer;
    font: 500 15px/1.2 var(--sans); border-radius: 6px;
  }
  .menu > a:not(.btn):hover, .menu-group > button:hover, .menu > a[aria-current="page"] { color: var(--light); }
  .menu-group { position: relative; }
  .menu-group > a { display: none; }
  .menu-group > button { display: inline-flex; align-items: center; gap: 6px; }
  .menu-group > button svg { width: 14px; height: 14px; transition: transform 0.2s; }
  .menu-sub {
    display: none; position: absolute; top: calc(100% + 8px); left: -8px; min-width: 260px; padding: 10px;
    background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }
  .menu-sub a { padding: 10px 12px; font-size: 15px; border-radius: 6px; }
  .menu-sub a:hover { background: var(--ink-3); color: var(--light); }
  .menu-group.open .menu-sub { display: grid; }
  .menu-group.open > button svg { transform: rotate(180deg); }
  .menu .btn { display: inline-flex; margin: 0 0 0 12px; min-height: 44px; padding: 10px 18px; font-size: 15px; }
}

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 64px 20px 0; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(45, 107, 122, 0.28), transparent 70%),
    radial-gradient(45% 45% at 95% 40%, rgba(184, 151, 90, 0.13), transparent 70%);
}
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; max-width: var(--wrap); margin: 0 auto; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 32px; }
@media (min-width: 980px) {
  .hero { padding: 96px 40px 0; }
  .hero-grid { grid-template-columns: 1.32fr 0.68fr; gap: 56px; }
}
.report {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-dark); border-radius: 14px; padding: 26px 24px 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.report-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 16px; }
.report-title { font-family: var(--serif); font-size: 21px; }
.report-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.report ul { list-style: none; margin: 0; padding: 0; }
.report li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(245, 241, 232, 0.08); font-size: 15px; }
.report-note { margin: 14px 0 0; font-size: 13px; color: var(--light-2); }
.rate { display: inline-flex; align-items: center; gap: 7px; flex: none; font-size: 13px; font-weight: 600; }
.rate::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.rate.g { color: #6CC27A; } .rate.a { color: #F2A93B; } .rate.r { color: #F07A6E; }
.stats {
  position: relative; display: grid; grid-template-columns: repeat(2, 1fr); max-width: var(--wrap);
  margin: 64px auto 0; border-top: 1px solid var(--line-dark);
}
.stat { padding: 26px 8px 30px 0; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(34px, 4vw, 46px); line-height: 1; color: var(--gold); }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--light-2); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); margin-top: 88px; } }

/* ── Cards ── */
.grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-gap { gap: 24px; } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
a.card:hover { border-color: var(--gold); box-shadow: 0 14px 40px rgba(42, 42, 42, 0.08); transform: translateY(-2px); }
.card h3 { color: var(--ink); }
.card p { margin: 0; color: var(--text-2); }
.card .link { margin-top: auto; padding-top: 6px; }
.ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--paper); color: var(--gold-deep);
}
.ico svg { width: 24px; height: 24px; }
.card-tag { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.dark .card h3 { color: var(--light); }
.dark .card p { color: var(--light-2); }
.dark .ico { background: rgba(184, 151, 90, 0.12); color: var(--gold); }

/* Problems */
.pain { flex-direction: row; align-items: flex-start; gap: 16px; padding: 22px 20px; }
.pain .ico { width: 44px; height: 44px; flex: none; }
.pain-body { display: grid; gap: 6px; }
.pain-body strong { font-size: 17.5px; line-height: 1.4; color: var(--ink); }
.pain-body .link { font-size: 15px; }

/* Two layers */
.layers { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .layers { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.layer { padding: 28px 0; border-top: 1px solid var(--line-dark); }
.layer:last-child { border-bottom: 1px solid var(--line-dark); }
.layer-n { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.layer h3 { margin-bottom: 10px; }
.layer p { color: var(--light-2); margin: 0; }
.quote {
  margin: 40px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold);
  font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; color: var(--light);
}
.stack svg { width: 100%; max-width: 540px; margin: 0 auto; }

/* Steps */
.steps { display: grid; gap: 0; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding-bottom: 36px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold); font: 700 20px var(--serif); background: var(--ink);
  position: relative; z-index: 1;
}
.step::after { content: ''; position: absolute; left: 26px; top: 52px; bottom: 0; width: 1px; background: var(--line-dark); }
.step:last-child::after { display: none; }
.step h3 { margin: 10px 0 8px; }
.step p { margin: 0; color: var(--light-2); }
@media (min-width: 980px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .step { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .step::after { left: 52px; right: -28px; top: 26px; bottom: auto; width: auto; height: 1px; }
  .step h3 { margin-top: 22px; }
}

/* Boxes in a row stretch to the tallest; keep their contents at the top */
.step, .prog, .person { align-content: start; }

/* Programs */
.progs { display: grid; gap: 16px; margin-bottom: 40px; }
@media (min-width: 900px) { .progs { grid-template-columns: repeat(3, 1fr); } }
.prog { display: grid; gap: 10px; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); border-top: 4px solid var(--gold); }
.prog:nth-child(2) { border-top-color: var(--teal); }
.prog:nth-child(3) { border-top-color: var(--ink); }
.prog-len { font-size: 14px; font-weight: 600; color: var(--teal); }
.prog h3 { font-size: 26px; color: var(--ink); }
.prog-kind { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 18px; margin-top: -4px; }
.prog p { margin: 0; color: var(--text-2); font-size: 16px; }
.compare { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.compare-row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.compare-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.compare-row:first-child { border-top: 0; }
.compare-row > * { padding: 12px 10px; text-align: center; font-size: 15px; }
.compare-row .what { grid-column: 1 / -1; padding: 14px 16px 2px; text-align: left; font-weight: 600; color: var(--ink); }
/* Column names stay in view while a long table scrolls past on a phone */
.compare-head { position: sticky; top: 68px; z-index: 2; background: var(--ink); color: var(--light); border-radius: var(--radius) var(--radius) 0 0; }
@media (min-width: 900px) { .compare-head { top: 76px; } }
.compare-head > * { font: 700 17px var(--serif); padding: 16px 10px; }
.compare-head .what { display: none; }
.yes { color: var(--teal); font-weight: 600; }
.yes svg { width: 20px; height: 20px; margin: 0 auto; }
.no { color: rgba(42, 42, 42, 0.35); }
@media (min-width: 760px) {
  .compare-row { grid-template-columns: 2fr repeat(3, 1fr); align-items: center; }
  .compare-row .what { grid-column: auto; padding: 14px 20px; }
  .compare-head .what { display: block; text-align: left; font: 600 14px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
  .compare-row:nth-child(even):not(.compare-head) { background: var(--paper-2); }
}
.compare-note { margin: 16px 0 0; font-size: 15px; color: var(--text-2); }

/* Health check band */
.check-band { position: relative; overflow: hidden; background: linear-gradient(120deg, #123A43 0%, var(--ink) 70%); }
.check-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .check-grid { grid-template-columns: 1.2fr 0.8fr; gap: 64px; } }
.check-dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 360px; }
.check-dots span {
  display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px; font-weight: 600; text-align: center; padding: 6px; color: var(--light-2); line-height: 1.25;
}
.check-dots span::before { content: ''; display: block; width: 14px; height: 14px; border-radius: 50%; margin: 0 auto 6px; background: currentColor; }
.check-dots .g { color: #6CC27A; } .check-dots .a { color: #F2A93B; } .check-dots .r { color: #F07A6E; }
.check-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 30px; padding: 0; list-style: none; color: var(--light-2); font-size: 16px; }
.check-points li { display: flex; align-items: center; gap: 8px; }
.check-points svg { width: 18px; height: 18px; color: var(--gold); }

/* Team */
.team { display: grid; gap: 24px; }
@media (min-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.person { display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.person-photo { aspect-ratio: 4 / 3.4; background: var(--paper); overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.person-body { padding: 26px 24px 28px; }
.person-role { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.person h3 { font-size: 28px; color: var(--ink); }
.person-org { font-family: var(--serif); font-style: italic; color: var(--gold-deep); margin: 2px 0 14px; }
.person-body p { color: var(--text-2); font-size: 16.5px; }
.person-stats { display: flex; gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.person-stats div { flex: 1; padding: 14px 8px 0 0; }
.person-stats b { display: block; font-family: var(--serif); font-size: 24px; color: var(--gold-deep); line-height: 1.1; }
.person-stats span { font-size: 13px; color: var(--text-2); }
.partner {
  display: grid; gap: 18px; align-items: center; margin-top: 32px; padding: 24px;
  background: var(--paper); border-radius: var(--radius);
}
.partner img { width: 64px; height: 64px; border-radius: 12px; }
.partner p { margin: 0; color: var(--text-2); font-size: 16px; }
.partner strong { color: var(--ink); }
@media (min-width: 760px) { .partner { grid-template-columns: auto 1fr auto; gap: 24px; padding: 24px 28px; } }

/* Videos */
.videos { display: grid; gap: 20px; }
@media (min-width: 700px) { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .videos { grid-template-columns: repeat(3, 1fr); } }
.video { display: grid; gap: 12px; }
.yt {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; background: #000 center / cover no-repeat;
}
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s, opacity 0.3s; opacity: 0.88; }
.yt:hover img { transform: scale(1.03); opacity: 1; }
.yt-play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(13, 13, 13, 0.72); border: 1.5px solid var(--gold); color: var(--gold);
}
.yt-play svg { width: 24px; height: 24px; margin-left: 3px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.4; }
.video small { color: var(--light-2); font-size: 14px; }
.white .video small, .paper .video small { color: var(--text-2); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px;
  font-weight: 600; font-size: 17.5px; color: var(--ink); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details > div { padding: 0 22px 20px; color: var(--text-2); }
.faq details > div p:last-child { margin: 0; }

/* Contact and form */
.contact { display: grid; gap: 48px; }
@media (min-width: 980px) { .contact { grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; } }
.ways { display: grid; gap: 4px; margin: 32px 0 0; padding: 0; list-style: none; }
.ways.flush { margin-top: 0; }
.ways.flush > :first-child { border-top: 0; }
.ways a, .ways div { display: flex; align-items: center; gap: 16px; padding: 14px 0; text-decoration: none; border-top: 1px solid var(--line-dark); }
.ways .ico { width: 44px; height: 44px; flex: none; }
.ways small { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.ways span { font-size: 17px; }
.form { background: var(--paper-2); color: var(--text); border-radius: 14px; padding: 28px 22px; }
@media (min-width: 600px) { .form { padding: 36px 34px; } }
.form h3, .form h2 { color: var(--ink); margin-bottom: 6px; }
.form h2 { font-size: clamp(21px, 2.1vw, 25px); line-height: 1.25; }
.form > p { color: var(--text-2); font-size: 16px; }
.fields { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 600px) { .fields { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.field label span { font-weight: 400; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid rgba(42, 42, 42, 0.22); border-radius: 8px;
  background: #fff; color: var(--text); font: 400 17px/1.4 var(--sans);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45, 107, 122, 0.18); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; margin-top: 20px; }
.form-note { margin: 14px 0 0; font-size: 14px; color: var(--text-2); }
.form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 8px; font-size: 16px; }
.form-msg.ok { display: block; background: #E7F3EA; color: #1E5A2A; }
.form-msg.err { display: block; background: #FBE9E7; color: #8A2219; }
.form.sent .fields, .form.sent .btn, .form.sent .form-note { display: none; }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding: 64px 20px 64px; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(55% 60% at 10% 0%, rgba(45, 107, 122, 0.3), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(38px, 6vw, 64px); margin-bottom: 18px; }
@media (min-width: 900px) { .page-hero { padding: 100px 40px 90px; } }

/* Health check quiz */
.quiz { max-width: 760px; margin: 0 auto; }
.quiz-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; box-shadow: 0 20px 60px rgba(42, 42, 42, 0.07); }
@media (min-width: 600px) { .quiz-card { padding: 40px 40px 34px; } }
.quiz-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: var(--teal); }
.quiz-bar { height: 6px; margin: 12px 0 28px; border-radius: 6px; background: var(--paper); overflow: hidden; }
.quiz-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 0.3s; }
.quiz-q { font-family: var(--serif); font-size: clamp(23px, 3vw, 30px); line-height: 1.25; color: var(--ink); margin: 0 0 24px; }
.quiz-opts { display: grid; gap: 12px; }
.quiz-opts button {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 14px 18px; text-align: left;
  background: var(--paper-2); border: 1.5px solid rgba(42, 42, 42, 0.16); border-radius: 10px; cursor: pointer;
  font: 500 17px/1.35 var(--sans); color: var(--text); transition: border-color 0.15s, background 0.15s;
}
.quiz-opts button:hover { border-color: var(--gold); background: #fff; }
.quiz-opts button[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-pale); }
.quiz-opts button::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(42, 42, 42, 0.3); }
.quiz-opts button[aria-pressed="true"]::before { border: 6px solid var(--teal); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.quiz-nav button { background: none; border: 0; font: 600 16px var(--sans); color: var(--text-2); cursor: pointer; padding: 10px 0; }
.quiz-nav button:disabled { opacity: 0; pointer-events: none; }
.results { display: none; }
.quiz.done .quiz-card { display: none; }
.quiz.done .results { display: block; }
.res-chip { flex: none; padding: 5px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.g .res-chip { background: #E5F2E7; color: #1E5A2A; } .a .res-chip { background: #FFF1DC; color: #7A4A00; } .r .res-chip { background: #FBE6E3; color: #8A2219; }
.res-small { margin-top: 18px; font-size: 14px; color: var(--text-2); text-align: center; }

/* Footer */
.foot { background: var(--ink); color: var(--light-2); padding: 64px 20px 110px; border-top: 1px solid var(--line-dark); font-size: 16px; }
@media (min-width: 900px) { .foot { padding: 80px 40px 40px; } }
.foot-grid { display: grid; gap: 36px; max-width: var(--wrap); margin: 0 auto; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot .brand { margin-bottom: 16px; }
.foot p { margin: 0; max-width: 300px; }
.foot h2 { font: 600 13px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--light); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; max-width: var(--wrap); margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.foot-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* Phone action bar and floating WhatsApp */
.actbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--ink); border-top: 1px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom);
}
.actbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 62px; color: var(--light); text-decoration: none; font-size: 13px; font-weight: 600; }
.actbar a + a { border-left: 1px solid rgba(245, 241, 232, 0.08); }
.actbar svg { width: 22px; height: 22px; color: var(--gold); }
.actbar .wa svg { color: #25D366; }
.wa-float { display: none; }
@media (min-width: 900px) {
  .actbar { display: none; }
  .wa-float {
    display: grid; place-items: center; position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 56px; height: 56px;
    border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); transition: transform 0.2s;
  }
  .wa-float:hover { transform: scale(1.06); }
  .wa-float svg { width: 28px; height: 28px; }
}

/* Gentle entrance, only when scripts run and the reader has not asked for less motion */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .rise.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── Inner pages ── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; padding: 0; list-style: none; }
.chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 99px;
  background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none;
}
.chips a:hover { border-color: var(--gold); color: var(--gold-deep); }
.intro { max-width: 780px; margin: 0 0 48px; font-size: clamp(18px, 1.5vw, 20px); color: var(--text-2); }
.intro a { color: var(--teal); font-weight: 600; }
.offer { display: grid; gap: 28px; padding: 56px 0; border-top: 1px solid var(--line); }
.offer:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 980px) {
  .offer { grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
  .offer-info { position: sticky; top: 110px; align-self: start; }
}
.offer-len { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.offer h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--ink); }
.offer-kind { display: block; margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-deep); }
.offer-info p { margin: 16px 0 24px; color: var(--text-2); }
.built { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.built-row { display: grid; gap: 4px; padding: 15px 18px; border-top: 1px solid var(--line); }
.built-row:first-child { border-top: 0; }
.built-row b { font-weight: 600; font-size: 16.5px; color: var(--ink); }
.built-row span { font-size: 16px; color: var(--text-2); }
.built-head { display: none; }
@media (min-width: 760px) {
  .built-row { grid-template-columns: 210px 1fr; gap: 24px; padding: 15px 22px; }
  .built-head { display: grid; background: var(--ink); border-radius: var(--radius) var(--radius) 0 0; }
  .built-head b, .built-head span { font: 600 13px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
}
.points { display: grid; gap: 12px; margin: 0; padding: 22px 22px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16.5px; color: var(--text); }
.points svg { width: 20px; height: 20px; margin-top: 3px; color: var(--teal); }
.timeline { display: grid; grid-template-columns: 1fr 1fr 2fr; margin: 0 0 56px; border-radius: var(--radius); overflow: hidden; }
.timeline a { display: grid; gap: 2px; padding: 16px 14px; color: var(--light); text-decoration: none; }
.timeline a:nth-child(1) { background: var(--gold-deep); }
.timeline a:nth-child(2) { background: var(--teal); }
.timeline a:nth-child(3) { background: var(--ink); }
.timeline b { font-family: var(--serif); font-size: clamp(17px, 2vw, 22px); }
.timeline span { font-size: 13px; opacity: 0.85; }
.sess { display: grid; gap: 14px; }
@media (min-width: 700px) { .sess { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sess { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.sess .card { gap: 8px; }
.sess-num { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.sess h2 { font-size: 21px; line-height: 1.3; color: var(--ink); }
.closing { display: grid; gap: 20px; margin-top: 56px; padding: 32px 26px; background: var(--ink); color: var(--light); border-radius: 14px; }
.closing h2 { font-size: clamp(26px, 3vw, 34px); }
.closing p { margin: 0; color: var(--light-2); max-width: 680px; }
@media (min-width: 900px) { .closing { padding: 44px 48px; } }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.flip > :first-child { order: 2; } }
.split h2 { margin-bottom: 20px; }
.split p { color: var(--text-2); }
.dark .split p { color: var(--light-2); }
.portrait { border-radius: 14px; overflow: hidden; background: var(--paper); }
.portrait img { width: 100%; }
.big-stats { display: flex; flex-wrap: wrap; margin-top: 28px; border-top: 1px solid var(--line); }
.big-stats div { flex: 1 1 25%; min-width: 110px; padding: 16px 12px 0 0; }
.big-stats b { display: block; font-family: var(--serif); font-size: 30px; line-height: 1.1; color: var(--gold-deep); }
.big-stats span { font-size: 14px; color: var(--text-2); }
.report.light { background: #fff; border-color: var(--line); box-shadow: 0 24px 60px rgba(42, 42, 42, 0.08); color: var(--text); }
.report.light .report-title { color: var(--ink); }
.report.light .report-tag { color: var(--teal); }
.report.light li { border-top-color: var(--line); }
.report.light .report-note { color: var(--text-2); }
.report.light .rate.g { color: #2E7D32; } .report.light .rate.a { color: #A86200; } .report.light .rate.r { color: #C62828; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 12px; font-size: 14px; color: var(--text-2); }
.box-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .box-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.nf { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.menu-group.current > button { color: var(--light); }

/* ── Health check, version 2 ── */
.quiz.done { max-width: 980px; }
.quiz-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 18px; padding: 10px 14px; background: var(--teal-pale); border-radius: 8px; font-size: 15px; }
.quiz-note[hidden] { display: none; }
.quiz-note button { padding: 0; background: none; border: 0; font: 600 15px var(--sans); color: var(--teal); text-decoration: underline; cursor: pointer; }
.quiz-help { margin: -8px 0 22px; }
.quiz-help summary { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; color: var(--teal); }
.quiz-help summary::-webkit-details-marker { display: none; }
.quiz-help summary::before { content: "?"; display: grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 12px; }
.quiz-help p { margin: 10px 0 0; padding: 12px 14px; background: var(--paper-2); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; font-size: 16px; color: var(--text-2); }
.quiz-opts button.unsure { min-height: 50px; background: transparent; border-style: dashed; color: var(--text-2); font-size: 16px; }
.quiz-keys { display: none; font-size: 13px; color: var(--text-2); }
@media (hover: hover) and (min-width: 900px) { .quiz-keys { display: inline; } }
.res-top { display: grid; gap: 24px; align-items: center; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
@media (min-width: 700px) { .res-top { grid-template-columns: 170px 1fr; gap: 36px; padding: 32px 36px; } }
.res-score { position: relative; width: 160px; height: 160px; margin: 0 auto; }
.res-score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--paper); stroke-width: 10; }
.ring-val { fill: none; stroke: var(--gold); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 0 327; transition: stroke-dasharray 1s ease; }
.res-score > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.res-num { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--ink); }
.res-score span { font-size: 13px; color: var(--text-2); }
.res-level .eyebrow { margin-bottom: 8px; }
.res-level h2 { margin: 0 0 10px; color: var(--ink); }
.res-desc { margin: 0 0 14px; color: var(--text-2); }
.res-counts { display: flex; flex-wrap: wrap; gap: 8px; }
.cnt { padding: 5px 12px; border-radius: 99px; font-size: 14px; font-weight: 700; }
.cnt.g { background: #E5F2E7; color: #1E5A2A; } .cnt.a { background: #FFF1DC; color: #7A4A00; } .cnt.r { background: #FBE6E3; color: #8A2219; }
.res-mid { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 860px) { .res-mid { grid-template-columns: 1fr 1fr; } }
.res-prio { padding: 26px 24px; background: var(--ink); color: var(--light); border-radius: 14px; }
.res-prio h3 { margin-bottom: 12px; }
.res-prio ol { margin: 0 0 22px; padding-left: 22px; color: var(--light-2); }
.res-prio li { margin-bottom: 10px; }
.res-prio li a { color: var(--gold); }
.res-unsure { margin: 20px 0 0; padding: 16px 18px; background: var(--teal-pale); border-radius: 10px; font-size: 16px; }
.res-unsure[hidden] { display: none; }
.res-h { margin: 36px 0 14px; color: var(--ink); }
.res-areas { display: grid; gap: 10px; }
.res-area { background: #fff; border: 1px solid var(--line); border-left: 6px solid; border-radius: 10px; }
.res-area.g { border-left-color: var(--green); } .res-area.a { border-left-color: var(--amber); } .res-area.r { border-left-color: var(--red); }
.res-area summary { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; }
.res-area summary::-webkit-details-marker { display: none; }
.res-area summary strong { flex: 1; font-size: 17px; color: var(--ink); }
.res-pct { font-size: 15px; font-weight: 600; color: var(--text-2); }
.res-area > div { padding: 0 18px 18px; }
.answers { display: grid; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.ans { display: grid; gap: 4px; padding: 12px 14px; background: var(--paper-2); border-radius: 8px; }
.ans-q { font-size: 15.5px; }
.ans-a { font-size: 14px; font-weight: 700; }
.ans.y .ans-a { color: #1E5A2A; } .ans.p .ans-a { color: #7A4A00; } .ans.n .ans-a { color: #8A2219; } .ans.u .ans-a { color: var(--teal); }
.ans-next, .green { font-size: 15px; color: var(--text-2); }
.ans-next b, .green b { color: var(--ink); }
.green { margin: 0 0 10px; }
.res-actions { margin-top: 24px; }
.print-only { display: none; }

@media print {
  @page { margin: 14mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; box-shadow: none !important; }
  body { background: #fff; font-size: 11pt; }
  .top, .foot, .actbar, .wa-float, .page-hero, #enquire, .quiz-card, .res-actions, .res-prio .btns, .skip { display: none !important; }
  .sec { padding: 0 !important; background: #fff !important; }
  .print-only { display: block; }
  .print-head { margin: 0 0 12px; font-size: 10pt; color: #555; }
  .res-top, .res-bars-box, .res-prio, .ans { break-inside: avoid; }
  .res-report { display: none !important; }
  .res-area summary, .res-h { break-after: avoid; }
  .print-foot { margin-top: 18px; padding-top: 12px; border-top: 1px solid #ccc; font-size: 10.5pt; color: #222; }
  .res-prio { background: #fff !important; color: #222; border: 1px solid #ccc; }
  .res-prio ol, .res-prio li a { color: #222; }
}

/* ── Health check, version 3 ── */
.quiz-profile .quiz-q { font-size: clamp(21px, 2.6vw, 26px); }
.quiz-profile[hidden], .quiz-step[hidden] { display: none; }
.pick { margin: 0 0 22px; padding: 0; border: 0; }
.pick legend { margin-bottom: 10px; font-weight: 600; color: var(--ink); }
.pick legend span { font-weight: 400; color: var(--text-2); }
.pick button {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0 8px 8px 0; padding: 8px 14px; border-radius: 99px;
  background: var(--paper-2); border: 1.5px solid rgba(42, 42, 42, 0.16); font: 500 15px var(--sans); color: var(--text); cursor: pointer;
}
.pick button:hover { border-color: var(--gold); }
.pick button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.quiz-nav .btn { min-height: 48px; }
.quiz-anon { margin: 18px 0 0; font-size: 13.5px; color: var(--text-2); }
.res-change { margin: 12px 0 0; font-size: 15px; color: var(--text-2); }
.res-change[hidden] { display: none; }
.res-bars-box { padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.res-bars-box h3 { margin-bottom: 16px; color: var(--ink); }
.bar-row { display: grid; grid-template-columns: 84px 1fr 76px; gap: 10px; align-items: center; padding: 7px 0; font-size: 15px; }
.bar-name { font-weight: 600; color: var(--ink); }
.bar-track { position: relative; height: 12px; background: var(--paper); border-radius: 6px; }
.bar-track i { display: block; height: 100%; border-radius: 6px; }
.bar-row.g .bar-track i { background: var(--green); } .bar-row.a .bar-track i { background: var(--amber); } .bar-row.r .bar-track i { background: var(--red); }
.bar-avg { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1px; background: var(--gold-deep); border-radius: 2px; }
.bar-val { text-align: right; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.bar-val em { font-style: normal; font-size: 12.5px; margin-left: 4px; }
.bar-val .up { color: #1E5A2A; } .bar-val .down { color: #8A2219; }
.res-bench { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--text-2); }
.res-bench[hidden] { display: none; }
.res-plan h4, .res-help h4 { margin: 0 0 6px; font: 600 13px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.res-plan ul, .res-help ul { margin: 0 0 18px; padding-left: 20px; color: var(--light-2); }
.res-plan li, .res-help li { margin-bottom: 8px; }
.res-help a { color: var(--gold); }
.res-plan p { color: var(--light-2); }
.tag { display: inline-block; margin-right: 4px; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 700; vertical-align: 1px; }
.tag.quick { background: #E5F2E7; color: #1E5A2A; } .tag.project { background: var(--teal-pale); color: var(--teal); }
.res-report { display: grid; gap: 18px; margin-top: 28px; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
@media (min-width: 860px) { .res-report { grid-template-columns: 0.8fr 1.2fr; gap: 32px; padding: 32px; } }
.res-report h3 { color: var(--ink); margin-bottom: 8px; }
.res-report p { margin: 0; color: var(--text-2); font-size: 16px; }
.res-report .fields { margin-top: 0; }
.res-report .form-msg { grid-column: 1 / -1; }
.report-form[hidden] { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 15.5px; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.report-form .btn { margin-top: 16px; }

/* ── Glossary ── */
.term-find { max-width: 520px; margin: 0 0 24px; }
.term-find label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--ink); }
.term-find input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid rgba(42, 42, 42, 0.22); border-radius: 8px; background: #fff; font: 400 17px var(--sans); }
.term-find input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45, 107, 122, 0.18); }
.terms { padding-top: 36px; }
.terms[hidden] { display: none; }
.terms h2 { font-size: clamp(26px, 3vw, 34px); color: var(--ink); margin-bottom: 18px; }
.term-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .term-grid { grid-template-columns: repeat(2, 1fr); } }
.term { display: grid; gap: 8px; align-content: start; padding: 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.term[hidden] { display: none; }
.term h3 { font-size: 21px; color: var(--ink); }
.term h3 span { display: block; margin-top: 4px; font: 500 14px var(--sans); color: var(--teal); }
.term p { margin: 0; color: var(--text-2); font-size: 16.5px; }
.term .link { font-size: 15px; }
.term:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 151, 90, 0.25); }
.term-none { margin-top: 24px; color: var(--text-2); }
.term-none[hidden] { display: none; }

/* ── Phone audit fixes, 7 Oct 2026 ── */
.brand { min-height: 44px; }
.brand-sub { font-size: 12px; letter-spacing: 0.14em; }
@media (max-width: 360px) {
  .brand-sub { display: none; }               /* the header fits a 320 px phone without sideways scrolling */
  .brand-name { font-size: 18px; }
}
@media (max-width: 340px) {  /* icon only on the narrowest phones; the word stays for screen readers */
  .menu-btn { min-width: 44px; justify-content: center; }
  .menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.menu .btn-gold, .menu .btn-gold:hover { color: var(--ink); }   /* dark text on gold, not light (contrast 2.4 → 7) */
.menu-open .actbar { display: none; }                           /* the open menu has its own button; the bar covered it */
a.link { min-height: 44px; }
.quiz-help summary { min-height: 44px; }
.quiz-nav button { min-height: 44px; padding: 10px 6px; }
.foot ul { gap: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 40px; }
@media (max-width: 900px) { .foot li a { min-height: 44px; } }
/* iPhone draws drop-downs at its own 26 px height unless the native look is switched off */
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A2A2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
@media (max-width: 380px) {
  .bar-row { grid-template-columns: 70px 1fr 66px; gap: 8px; font-size: 14px; }
}
/* On a phone the health check starts on the first screen, not below a tall heading */
@media (max-width: 600px) {
  .page-hero.compact { padding: 32px 20px 28px; }
  .page-hero.compact h1 { font-size: 36px; margin-bottom: 10px; }
  .page-hero.compact .lead { font-size: 16px; }
  .page-hero.compact + .sec { padding-top: 24px; }
}
.privacy .term h2 { font-size: 21px; color: var(--ink); }
.form-note a, .foot-bottom a[href="/privacy.html"] { text-decoration: underline; text-underline-offset: 3px; }
/* The three optional business questions fold away, so the form is shorter on a phone */
.more-fields { border: 1.5px dashed rgba(42, 42, 42, 0.22); border-radius: 8px; padding: 0 14px; }
.more-fields > summary { display: flex; align-items: center; min-height: 52px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--teal); list-style: none; }
.more-fields > summary::-webkit-details-marker { display: none; }
.more-fields > summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 15px; line-height: 1; }
.more-fields[open] > summary::before { content: "−"; }
.more-fields > summary span { margin-left: 6px; font-weight: 400; color: var(--text-2); }
.more-fields .fields { margin: 0 0 16px; }

/* ── Learning and digital partner home, 8 Oct 2026 ── */
.stats-note { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 0 28px; font-size: 13px; color: var(--light-2); }
.pillars { display: grid; gap: 16px; }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.pillar {
  display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 26px; scroll-margin-top: 96px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius);
}
.pillar-n { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.pillar h3 { margin: 0; color: var(--ink); }
.pillar > p { margin: 0; color: var(--text-2); }
.pillar ul { list-style: none; margin: 4px 0 10px; padding: 0; }
.pillar li { border-top: 1px solid var(--line); }
.pillar li > a, .pillar li > div { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 12px 0; color: inherit; text-decoration: none; }
.pillar li > a > span, .pillar li > div > span { flex: 1; }
.pillar li strong { color: var(--ink); font-size: 16.5px; font-weight: 600; }
.pillar li small { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.pillar li svg { flex: none; width: 18px; height: 18px; color: var(--gold-deep); transition: transform 0.2s; }
.pillar li a:hover strong { color: var(--teal); }
.pillar li a:hover svg { transform: translateX(3px); }
.pillar .btn { margin-top: auto; align-self: flex-start; }
.badge {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; vertical-align: 2px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: #E5F2E7; color: #1E5A2A;
}
.badge.soon { background: var(--paper); color: var(--gold-deep); }
.badge.talk { background: var(--teal-pale); color: var(--teal); }
.pillars-foot { margin: 28px 0 0; color: var(--text-2); }
/* Eight menu entries since 8 Oct 2026: keep each on one line, and tighten them on narrow desktops */
@media (min-width: 1100px) { .menu > a, .menu-group > button { white-space: nowrap; } }
@media (min-width: 1100px) and (max-width: 1279px) {
  .menu > a:not(.btn), .menu-group > button { padding: 10px 9px; }
  .menu .btn { margin-left: 8px; padding: 10px 16px; }
}
