/* =====================================================================
   Inject Digital — Design System
   One stylesheet, no framework. Optimised for fast first paint.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette: from the Inject Digital theme (calm, clinical, human) */
  --ink:        #0f1416;   /* primary: near-black */
  --ink-soft:   #2e2828;   /* body text: warm near-black */
  --muted:      #525e5f;   /* secondary grey-green */
  --line:       #e5ebe8;   /* soft sage hairline */
  --bg:         #ffffff;
  --surface:    #f4f7f5;   /* palest sage */
  --surface-2:  #e7f0ec;

  --brand:      #15857a;   /* deep teal: primary buttons + fills (accessible on white text) */
  --brand-dark: #0e6b62;   /* links, eyebrows, hover */
  --mint:       #3db6ae;   /* signature mint accent (the brand colour) */
  --brand-tint: #e6f4f1;   /* light mint wash */
  --accent:     #d3ddd9;   /* soft sage */

  --white: #ffffff;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  /* Spacing / shape */
  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11,26,23,.06), 0 1px 3px rgba(11,26,23,.05);
  --shadow:    0 10px 30px -12px rgba(11,26,23,.18);
  --shadow-lg: 0 30px 60px -20px rgba(11,26,23,.28);

  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 110px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-dark);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--mint); border-radius: 2px; }
.eyebrow--center { justify-content: center; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p + p { margin-top: 1em; }
.section > .wrap > .center { max-width: 720px; margin-inline: auto; }
.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #06110e; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.textlink { color: var(--brand-dark); font-weight: 600; display: inline-flex; align-items: center; gap: .35em; }
.textlink svg { width: 16px; height: 16px; transition: transform .15s ease; }
.textlink:hover { color: var(--brand); }
.textlink:hover svg { transform: translateX(3px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; color: var(--ink); letter-spacing: -.02em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: grid; place-items: center; color: #fff; font-family: var(--font-sans); font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
/* Official INJECT wordmark logo */
.brand-logo { height: 26px; width: auto; display: block; }
.site-footer .brand-logo { height: 30px; filter: brightness(0) invert(1); }
@media (max-width: 480px) { .brand-logo { height: 22px; } }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 12px; border-radius: 8px; font-size: .96rem; font-weight: 500; color: var(--ink-soft);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--surface); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--brand-dark); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; border-radius: 8px; }
.nav-toggle:hover { background: var(--surface); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav[data-open="true"] .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; left: 0; right: 0; top: 72px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px;
    box-shadow: var(--shadow);
  }
  .nav[data-open="true"] .nav-links a { padding: 13px 12px; font-size: 1.05rem; border-radius: 10px; }
  .nav[data-open="true"] .nav-links .btn { display: inline-flex; margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 78% -8%, var(--brand-tint), transparent 60%), var(--bg); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { margin-top: 18px; }
.hero h1 .hl { color: var(--brand-dark); }
.hero p.lead { margin-top: 22px; max-width: 52ch; }
.hero .btn-row { margin-top: 30px; }
.hero-trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--brand); }

/* Hero photo with floating proof card */
.hero-figure { position: relative; margin: 0; }
.hero-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-card-float { position: absolute; left: -16px; bottom: -22px; width: min(310px, 84%); padding: 16px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; }
  .hero-card-float { position: static; width: auto; margin-top: 16px; }
  .hero-photo { aspect-ratio: 16/10; }
}

/* ---------- Full-width banner hero ---------- */
.hero-banner { position: relative; display: grid; align-items: center; min-height: clamp(540px, 82vh, 780px); overflow: hidden; }
.hero-banner .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-banner::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(8,18,16,.88) 0%, rgba(8,18,16,.66) 45%, rgba(8,18,16,.32) 74%, rgba(8,18,16,.12) 100%); }
.hero-banner .wrap { position: relative; z-index: 2; }
.hero-banner-copy { max-width: 660px; padding-block: clamp(64px, 10vw, 120px); }
.hero-banner-copy .eyebrow { color: #7fd9cd; }
.hero-banner-copy .eyebrow::before { background: #7fd9cd; }
.hero-banner-copy h1 { color: #fff; margin-top: 18px; }
.hero-banner-copy h1 .hl { color: #7fd9cd; }
.hero-banner-copy .lead { color: rgba(255,255,255,.92); margin-top: 20px; max-width: 52ch; }
.hero-banner-copy .btn-row { margin-top: 30px; }
.hero-banner-copy .hero-trust { margin-top: 28px; color: rgba(255,255,255,.85); }
.hero-banner-copy .hero-trust svg { color: #7fd9cd; }
.hero-banner .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero-banner .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }

/* ---------- Hero visual card ---------- */
.glass-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 24px;
}
.rank-row { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 12px; background: var(--surface); margin-bottom: 10px; }
.rank-row:last-child { margin-bottom: 0; }
.rank-row.is-you { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.rank-row.is-you .rank-sub { color: rgba(255,255,255,.8); }
.rank-pos { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; width: 28px; flex: none; }
.rank-body { flex: 1; min-width: 0; }
.rank-name { display: block; font-weight: 600; font-size: .98rem; }
.rank-sub { display: block; font-size: .8rem; color: var(--muted); }
.rank-badge { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.2); padding: 5px 10px; border-radius: 999px; flex: none; }
.card-label { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.card-label .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--brand-tint); }

/* ---------- Logo / trust strip ---------- */
.trustbar { border-block: 1px solid var(--line); background: var(--surface); }
.trustbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px clamp(24px, 5vw, 56px); padding-block: 22px; }
.trustbar span { font-weight: 600; color: var(--ink-soft); font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; }
.trustbar svg { width: 18px; height: 18px; color: var(--brand); }

/* ---------- Stat figures ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 32px); }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); color: var(--brand-dark); line-height: 1; }
.stat .lab { margin-top: 8px; color: var(--muted); font-size: .92rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

/* Brand pillars */
.pillar { padding: 22px 0 6px; border-top: 2px solid var(--mint); }
.pillar h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pillar p { color: var(--ink-soft); font-size: .97rem; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand-dark); margin-bottom: 18px;
}
.card .ico svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card .textlink { margin-top: 16px; font-size: .92rem; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse .split-media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split-media { order: 0; } }
.split ul.ticks { margin-top: 22px; display: grid; gap: 13px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.ticks li svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 1px; }
.ticks li strong { color: var(--ink); font-weight: 600; }

.media-panel {
  border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--surface-2)); box-shadow: var(--shadow);
}
.media-figure { margin: 0; }
.media-img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; }
.media-figure figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-size: .92rem; }
.media-panel .media-img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; height: auto; }
.prose figcaption { margin-top: 10px; text-align: center; color: var(--muted); font-size: .9rem; }

/* Screenshot / dashboard frame (matches the clean clinical style) */
.shot { margin: 0; }
.shot .frame { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: #fff; }
.shot .frame .bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.shot .frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6ddda; display: block; }
.shot .frame img { display: block; width: 100%; height: auto; }
.shot figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-size: .9rem; }
.cap-logo { height: 20px; width: auto; display: inline-block; vertical-align: -5px; filter: brightness(0); opacity: .55; margin-right: 7px; }

/* Logo strip (trusted brands) */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px clamp(30px, 6vw, 64px); }
.logos img { height: 38px; width: auto; opacity: .7; filter: grayscale(1); transition: opacity .15s ease; }
.logos img:hover { opacity: 1; }

/* ---------- Packages ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 920px) { .pkg-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.pkg {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px; transition: transform .18s ease, box-shadow .18s ease;
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pkg--featured { border-color: var(--brand); box-shadow: var(--shadow); position: relative; }
.pkg--featured::before {
  content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.pkg .tier { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-dark); }
.pkg h3 { margin: 12px 0 8px; font-size: 1.45rem; }
.pkg .blurb { color: var(--ink-soft); font-size: .95rem; min-height: 48px; }
.pkg .price { font-family: var(--font-display); font-size: 1.05rem; color: var(--muted); margin: 18px 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pkg .price b { color: var(--ink); font-size: 1.6rem; }
.pkg ul.feat { display: grid; gap: 12px; margin-bottom: 26px; }
.pkg ul.feat li { display: flex; gap: 11px; align-items: flex-start; font-size: .94rem; color: var(--ink-soft); }
.pkg ul.feat svg { width: 19px; height: 19px; color: var(--brand); flex: none; margin-top: 2px; }
.pkg .btn { margin-top: auto; width: 100%; }

/* ---------- Testimonials / case studies ---------- */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .quote-grid { grid-template-columns: 1fr; } }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
}
.quote .result { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--brand-dark); line-height: 1.15; }
.quote p { margin-top: 14px; color: var(--ink-soft); }
.quote .who { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.quote .who .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.clinic-logo { height: 30px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.clinic-logo--ink { filter: brightness(0); opacity: .82; }
.quote .who .loc { color: var(--muted); }
.quote .who b { display: block; color: var(--ink); }
.quote .who span { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(150deg, var(--ink), #0a2422 68%, var(--brand-dark)); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 120%, rgba(61,182,174,.40), transparent 60%); pointer-events: none; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 560px; margin: 16px auto 0; position: relative; }
.cta-band .btn-row { margin-top: 30px; position: relative; }

/* ---------- Academy ---------- */
.academy-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--brand-tint); border: 1px solid #cce8e1; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.academy-cta > div { max-width: 640px; }
.academy-cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.module { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .18s ease, box-shadow .18s ease; }
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.module .mnum { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; background: var(--brand-tint); color: var(--brand-dark); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 16px; }
.module h3 { margin-bottom: 6px; }
.module .mwhat { font-style: italic; color: var(--muted); margin-bottom: 14px; }
.module ul.ticks { margin-top: 0; }
.module .outcome { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); }
.module .outcome b { color: var(--brand-dark); }
.join-card { background: #fff; border: 1.5px solid var(--brand); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); }
.join-card .price-big { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.2rem); color: var(--ink); line-height: 1; }
.join-card .price-big span { font-family: var(--font-sans); font-size: 1rem; font-weight: 500; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border-radius: var(--radius); padding: 28px; position: relative; }
.step .n { counter-increment: step; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: #fff; background: var(--brand); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; }
.step .n::before { content: "0" counter(step); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 20px; height: 20px; flex: none; transition: transform .2s ease; color: var(--brand); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .ans { padding: 0 22px 20px; color: var(--ink-soft); }
.faq .ans a { color: var(--brand-dark); font-weight: 600; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 920px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16/9; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; padding: 20px; text-align: center; }
.post-thumb.g1 { background: linear-gradient(135deg, #3db6ae, #15857a); }
.post-thumb.g2 { background: linear-gradient(135deg, #2aa39a, #0e5a53); }
.post-thumb.g3 { background: linear-gradient(135deg, #15857a, #0e6b62); }
.post-thumb.g4 { background: linear-gradient(135deg, #4cbcb4, #1a8f86); }
.post-thumb.g5 { background: linear-gradient(135deg, #15857a, #0c4f4a); }
.post-thumb.g6 { background: linear-gradient(135deg, #34b0b6, #0e6b62); }
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.tag { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand-dark); background: var(--brand-tint); padding: 5px 11px; border-radius: 999px; }
.post-body h3 { margin: 14px 0 8px; font-size: 1.2rem; }
.post-body p { color: var(--ink-soft); font-size: .94rem; flex: 1; }
.post-body .meta { margin-top: 16px; font-size: .85rem; color: var(--muted); display: flex; gap: 14px; }
.post-card a.stretch { position: absolute; inset: 0; }

/* ---------- Article (blog post) ---------- */
.breadcrumb { font-size: .88rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.breadcrumb a:hover { color: var(--brand-dark); }
.breadcrumb .sep { opacity: .5; }
.article { max-width: 760px; margin-inline: auto; }
.article-head { max-width: 760px; margin-inline: auto; text-align: center; }
.article-head h1 { margin: 18px 0 16px; }
.article-meta { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.prose { font-size: 1.08rem; color: var(--ink-soft); }
.prose h2 { margin: 1.7em 0 .5em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prose h3 { margin: 1.4em 0 .4em; }
.prose p { margin-bottom: 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.1em; display: grid; gap: .55em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { padding-left: .2em; }
.prose a { color: var(--brand-dark); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand-tint); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--brand); }
.prose strong { color: var(--ink); }
.prose blockquote { border-left: 4px solid var(--brand); background: var(--surface); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 1.4em 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.callout { background: var(--brand-tint); border: 1px solid #c7e7dc; border-radius: var(--radius); padding: 22px 24px; margin: 1.6em 0; }
.callout h3 { margin-bottom: 8px; color: var(--brand-dark); }
.callout p { margin-bottom: 0; color: var(--ink-soft); }

/* Mid-article CTA (blog posts) */
.mid-cta { background: var(--brand-tint); border: 1px solid #cce8e1; border-radius: var(--radius); padding: 26px; margin: 2.4em 0; text-align: center; }
.mid-cta h3 { margin: 0 0 8px; color: var(--brand-dark); }
.mid-cta p { color: var(--ink-soft); margin: 0 0 16px; font-size: 1rem; }
/* Buttons inside prose must keep button styling, not inherit link styling */
.prose .btn { text-decoration: none; }
.prose .btn--primary, .prose .btn--dark { color: #fff; }
.prose .btn--ghost, .prose .btn--light { color: var(--ink); }
.prose .btn--primary:hover, .prose .btn--dark:hover { color: #fff; }

/* ---------- Author byline box ---------- */
.author-box { display: flex; gap: 18px; align-items: center; max-width: 760px; margin: 44px auto 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.author-box img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box .ab-name { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.author-box .ab-role { color: var(--brand-dark); font-size: .88rem; font-weight: 600; }
.author-box p { margin: 8px 0 0; color: var(--ink-soft); font-size: .94rem; }
@media (max-width: 520px) { .author-box { flex-direction: column; text-align: center; align-items: center; } }

/* ---------- Related / internal-link blocks ---------- */
.related { background: var(--surface); }
.linklist { display: grid; gap: 2px; }
.linklist a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; transition: color .15s ease, padding .15s ease; }
.linklist a:hover { color: var(--brand-dark); padding-left: 8px; }
.linklist a svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: var(--surface); transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-tint); }
.field textarea { resize: vertical; min-height: 120px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 18px; margin-top: 26px; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: center; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-dark); display: grid; place-items: center; flex: none; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list b { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.contact-list span { font-weight: 600; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: clamp(48px, 7vw, 80px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer .f-about { margin-top: 16px; max-width: 34ch; font-size: .94rem; }
.site-footer h4 { font-family: var(--font-sans); color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer .f-links { display: grid; gap: 10px; }
.site-footer .f-links a { color: rgba(255,255,255,.72); font-size: .95rem; transition: color .15s ease; }
.site-footer .f-links a:hover { color: #fff; }
.f-social { display: flex; gap: 10px; margin-top: 20px; }
.f-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .15s ease; }
.f-social a:hover { background: var(--brand); }
.f-social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Utilities ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; z-index: 100; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.bg-surface { background: var(--surface); }
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
