/* ==========================================================================
   ClientcareX — design system
   Palette, type scale and components recovered from the original
   WordPress/Elementor build (archived 2025-07-29).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand greens — from the logo wordmark and header/footer CSS */
  --brand-950: #052018;
  --brand-900: #06291f;
  --brand-800: #0a3a2c;
  --brand-700: #065845;
  --brand-600: #1a5346;
  --brand-500: #1f6e5b;

  /* Lime accent — the "X" in the wordmark */
  --lime-500: #88e64a;
  --lime-400: #a9ff9b;
  --lime-300: #c6ffbc;

  /* Amber — original CTA / highlight colour */
  --amber-500: #ffa012;
  --amber-400: #ffbb29;

  /* Neutrals */
  --ink: #101010;
  --ink-700: #35403c;
  --ink-500: #5c6a65;
  --ink-400: #7d8a85;
  --line: #e2e9e4;
  --paper: #f4f7f2;
  --mint-50: #ebfef6;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--white);
  --text: var(--ink);
  --muted: var(--ink-500);

  /* Type */
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Space + shape */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(6, 41, 31, .06), 0 1px 3px rgba(6, 41, 31, .05);
  --shadow: 0 4px 6px -2px rgba(6, 41, 31, .05), 0 12px 24px -6px rgba(6, 41, 31, .1);
  --shadow-lg: 0 24px 48px -12px rgba(6, 41, 31, .18);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.375rem); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--brand-700);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--brand-900);
  color: var(--white);
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--paper { background: var(--paper); }
.section--mint { background: var(--mint-50); }
.section--dark {
  background: var(--brand-900);
  color: var(--white);
}
.section--dark .section-head p,
.section--dark .muted { color: rgba(255, 255, 255, .72); }

.section-head {
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section-head p {
  color: var(--muted);
  font-size: 1.0625rem;
  margin: 0;
}
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: .875rem;
}
.section--dark .eyebrow { color: var(--lime-400); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

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

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand-700);
  --btn-fg: var(--white);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1;
  padding: .95rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--amber { --btn-bg: var(--amber-500); --btn-fg: var(--brand-950); }
.btn--amber:hover { --btn-bg: var(--amber-400); }

.btn--lime { --btn-bg: var(--lime-400); --btn-fg: var(--brand-950); }
.btn--lime:hover { --btn-bg: var(--lime-300); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand-900);
  --btn-border: rgba(6, 41, 31, .18);
}
.btn--ghost:hover { --btn-bg: var(--brand-900); --btn-fg: var(--white); --btn-border: var(--brand-900); }

/* Ghost buttons sit on dark backgrounds in two places: a `.section--dark`
   band, and the `.cta` panel (which can live inside a light section). */
.section--dark .btn--ghost,
.cta .btn--ghost {
  --btn-fg: var(--white);
  --btn-border: rgba(255, 255, 255, .3);
}
.section--dark .btn--ghost:hover,
.cta .btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--brand-900); }

.btn--sm { padding: .7rem 1.15rem; font-size: .875rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
  color: var(--brand-700);
}
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   5. Announcement bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--brand-950);
  color: rgba(255, 255, 255, .88);
  font-size: .8125rem;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-block: .6rem;
}
.topbar__promo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8125rem;
  margin: 0;
  color: var(--white);
}
.topbar__promo a { border-bottom: 1px solid rgba(169, 255, 155, .5); color: var(--lime-400); }
.topbar__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
}
.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  white-space: nowrap;
}
.topbar__contact a:hover { color: var(--lime-400); }
.topbar svg { width: 14px; height: 14px; flex: none; }

@media (max-width: 860px) {
  .topbar__contact { display: none; }
  .topbar__inner { justify-content: center; text-align: center; }
}

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.5rem;
}
.brand { flex: none; }
.brand img { height: 34px; width: auto; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.nav__link {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9375rem;
  padding: .55rem .8rem;
  border-radius: var(--radius-pill);
  color: var(--ink-700);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav__link:hover { background: var(--mint-50); color: var(--brand-800); }
.nav__link[aria-current="page"] { color: var(--brand-800); font-weight: 700; }
.nav__link--hot { color: #c2410c; font-weight: 600; }

.header-actions {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle__bar {
  position: relative;
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background-color .2s var(--ease);
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease);
}
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 4.5rem 0 auto;
    margin: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 1rem var(--gutter) 1.5rem;
    display: none;
  }
  .nav[data-open="true"] { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .125rem; }
  .nav__link { padding: .8rem 1rem; border-radius: var(--radius-sm); }
  .header-actions { display: none; }
  .nav__actions {
    display: flex;
    gap: .625rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }
  .nav__actions .btn { flex: 1; }
}
@media (min-width: 1021px) {
  .nav__actions { display: none; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 50% -8rem, var(--mint-50) 0%, transparent 70%),
    linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem);
  text-align: center;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 54rem;
  margin-inline: auto;
}
.hero h1 { margin-bottom: 1.125rem; }
.hero__lede {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--ink-500);
  max-width: 42rem;
  margin: 0 auto 2rem;
}
.hero .btn-row { justify-content: center; }
.hero__note {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-top: 1.5rem;
  font-size: .875rem;
  color: var(--ink-500);
}
.hero__note svg { color: var(--brand-700); flex: none; }

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .4rem .95rem .4rem .4rem;
  margin-bottom: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.trust-pill img { height: 32px; width: auto; border-radius: var(--radius-pill); }
.trust-pill__text { line-height: 1.25; }
.trust-pill__title {
  display: block;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 700;
  margin: 0;
}
.trust-pill__sub {
  display: block;
  font-size: .75rem;
  color: var(--ink-500);
}

/* --------------------------------------------------------------------------
   8. Logo cloud
   -------------------------------------------------------------------------- */
.logo-cloud__title {
  text-align: center;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  margin-bottom: 2.5rem;
}
/* Fixed column count so the eight client logos break evenly (4+4 on desktop,
   2+2+2+2 on mobile) rather than leaving an orphan row. */
.logo-cloud__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
  gap: clamp(1.75rem, 5vw, 3.5rem);
}
@media (min-width: 640px) {
  .logo-cloud__grid { grid-template-columns: repeat(4, 1fr); }
}
.logo-cloud__grid img {
  height: clamp(30px, 5vw, 44px);
  width: auto;
  opacity: .72;
  filter: grayscale(1);
  transition: opacity .2s var(--ease), filter .2s var(--ease);
}
.logo-cloud__grid img:hover { opacity: 1; filter: grayscale(0); }

/* --------------------------------------------------------------------------
   9. Feature split
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split + .split { margin-top: clamp(3.5rem, 8vw, 6rem); }
.split__media img { width: 100%; }
.split--flip .split__media { order: -1; }
@media (max-width: 800px) {
  .split--flip .split__media { order: 0; }
}
.split__body h2 { margin-bottom: .75rem; }
.split__body > p { color: var(--muted); font-size: 1.0625rem; }

.check-list { list-style: none; margin: 1.5rem 0; display: grid; gap: .75rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
}
.check-list svg { flex: none; margin-top: 2px; color: var(--brand-700); }

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.125rem);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin-bottom: 1.25rem;
  background: var(--mint-50);
  border-radius: var(--radius);
}
.card__icon img { width: 30px; height: 30px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .9375rem; margin: 0; }

/* --------------------------------------------------------------------------
   11. Integrations
   -------------------------------------------------------------------------- */
.integration {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.integration__head {
  display: flex;
  align-items: center;
  gap: .875rem;
  margin-bottom: 1rem;
}
.integration__logo {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: none;
  background: var(--paper);
  border-radius: var(--radius-sm);
}
.integration__logo img { width: 26px; height: 26px; object-fit: contain; }
.integration__head h3 { margin: 0; font-size: 1.0625rem; }
.integration__tag {
  display: block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.integration p { flex: 1; margin-bottom: 1.25rem; }

/* --------------------------------------------------------------------------
   12. Risk-free / testimonial band
   -------------------------------------------------------------------------- */
.riskfree {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.quote-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.quote-card blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
}
.quote-card figcaption { display: flex; align-items: center; gap: .875rem; }
.quote-card cite {
  display: block;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: .9375rem;
}
.quote-card figcaption span { font-size: .8125rem; color: rgba(255, 255, 255, .65); }

.avatar {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: var(--radius-pill);
  background: var(--lime-400);
  color: var(--brand-950);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9375rem;
  letter-spacing: .02em;
}

/* --------------------------------------------------------------------------
   13. Pricing
   -------------------------------------------------------------------------- */
.pricing-note {
  max-width: 44rem;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--muted);
}
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  align-items: start;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.plan--featured {
  border-color: var(--brand-700);
  box-shadow: var(--shadow-lg);
}
.plan__badge {
  position: absolute;
  top: -.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .3rem .8rem;
  background: var(--amber-500);
  color: var(--brand-950);
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.plan__name { font-size: 1.375rem; margin-bottom: .25rem; }
.plan__tagline { font-size: .875rem; color: var(--ink-400); margin-bottom: 1.25rem; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin-bottom: .75rem;
}
.plan__amount {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.plan__period { font-size: .875rem; color: var(--ink-400); }
.plan__summary {
  font-size: .9375rem;
  color: var(--muted);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.plan__features {
  list-style: none;
  display: grid;
  gap: .625rem;
  margin-bottom: 1.5rem;
  font-size: .9375rem;
}
.plan__features li { display: flex; align-items: flex-start; gap: .6rem; }
.plan__features svg { flex: none; margin-top: 4px; color: var(--brand-700); }
.plan__features li strong { font-family: var(--font-display); font-weight: 700; }
.plan__cta { margin-top: auto; }
.plan__terms {
  margin-top: .875rem;
  font-size: .8125rem;
  color: var(--ink-400);
  text-align: center;
}

/* --------------------------------------------------------------------------
   14. Reviews
   -------------------------------------------------------------------------- */
.review {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 1.875rem);
}
.review__stars { display: flex; gap: .15rem; color: var(--amber-500); }
.review p { flex: 1; font-size: .9375rem; color: var(--ink-700); margin: 0; }
.review__person { display: flex; align-items: center; gap: .75rem; }
.review__person .avatar { background: var(--brand-700); color: var(--white); }
.review__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9375rem;
}
.review__role { display: block; font-size: .8125rem; color: var(--ink-400); }

/* --------------------------------------------------------------------------
   15. FAQ accordion
   -------------------------------------------------------------------------- */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: .75rem; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--brand-600); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--brand-700); }
.faq__icon {
  flex: none;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--mint-50);
  color: var(--brand-700);
  transition: transform .25s var(--ease);
}
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a {
  padding: 0 1.375rem 1.375rem;
  color: var(--muted);
  font-size: .9375rem;
}
.faq__a ul { margin: .75rem 0 0; padding-left: 1.1rem; list-style: disc; display: grid; gap: .3rem; }
.faq__a ol { margin: .75rem 0 0; padding-left: 1.25rem; display: grid; gap: .3rem; }

/* --------------------------------------------------------------------------
   16. Contact strip
   -------------------------------------------------------------------------- */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.375rem 1.5rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-card:hover { border-color: var(--brand-600); box-shadow: var(--shadow-sm); }
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  background: var(--mint-50);
  color: var(--brand-700);
  border-radius: var(--radius-pill);
}
.contact-card h3 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-400); margin: 0 0 .15rem; }
.contact-card p { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; margin: 0; }

/* --------------------------------------------------------------------------
   17. Big CTA
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--brand-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 24rem;
  background: radial-gradient(closest-side, rgba(136, 230, 74, .22), transparent);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { max-width: 26ch; margin-inline: auto; }
.cta p { color: rgba(255, 255, 255, .72); max-width: 44rem; margin: 0 auto 2rem; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--brand-950);
  color: rgba(255, 255, 255, .7);
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
  font-size: .9375rem;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(9rem, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer__brand img {
  height: 34px;
  width: auto;
  margin-bottom: 1.125rem;
  filter: brightness(0) invert(1);
}
.footer__brand p { max-width: 24rem; margin-bottom: 1.25rem; }
.footer__col h2 {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0;
  margin-bottom: 1rem;
}
.footer__col ul { list-style: none; display: grid; gap: .625rem; }
.footer__col a { transition: color .18s var(--ease); }
.footer__col a:hover { color: var(--lime-400); }

.social { display: flex; gap: .5rem; }
.social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-pill);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.social a:hover { background: var(--lime-400); color: var(--brand-950); border-color: var(--lime-400); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .875rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; }
.footer__legal a:hover { color: var(--lime-400); }

/* --------------------------------------------------------------------------
   19. Inner page hero
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(50rem 24rem at 50% -6rem, var(--mint-50) 0%, transparent 70%),
    var(--paper);
  padding-block: clamp(3rem, 7vw, 5rem);
  text-align: center;
}
.page-hero__inner { max-width: 48rem; margin-inline: auto; }
.page-hero p { color: var(--muted); font-size: 1.0625rem; margin: 0 auto; max-width: 42rem; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: .5rem;
  list-style: none;
  font-size: .8125rem;
  color: var(--ink-400);
  margin-bottom: 1rem;
}
.breadcrumb a:hover { color: var(--brand-700); }

/* --------------------------------------------------------------------------
   20. Steps (how it works)
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); counter-reset: step; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.step__num {
  counter-increment: step;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  background: var(--brand-900);
  color: var(--lime-400);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--muted); margin: 0; }
.step__meta {
  display: inline-block;
  margin-bottom: .5rem;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-700);
}

/* --------------------------------------------------------------------------
   21. Feature list page
   -------------------------------------------------------------------------- */
.module {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  height: 100%;
}
.module h3 { display: flex; align-items: center; gap: .625rem; margin-bottom: 1rem; font-size: 1.125rem; }
.module h3 svg { flex: none; color: var(--brand-700); }
.module ul { list-style: none; display: grid; gap: .5rem; font-size: .9375rem; color: var(--ink-700); }
.module li { display: flex; align-items: flex-start; gap: .55rem; }
.module li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  margin-top: .55em;
  border-radius: 50%;
  background: var(--lime-500);
}

/* --------------------------------------------------------------------------
   22. Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--brand-700);
}
.section--dark .stat__value { color: var(--lime-400); }
.stat__label { display: block; margin-top: .5rem; font-size: .875rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   23. Blog
   -------------------------------------------------------------------------- */
.post {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post__thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
  color: var(--lime-400);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  padding: 1.5rem;
  text-align: center;
}
.post__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.post__meta {
  display: flex;
  gap: .5rem;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: .625rem;
}
.post h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.post p { flex: 1; font-size: .9375rem; color: var(--muted); margin-bottom: 1.25rem; }

/* --------------------------------------------------------------------------
   24. Forms
   -------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: 1.125rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1.125rem; }
.field { display: grid; gap: .4rem; }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .875rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem 1rem;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--white);
  border-color: var(--brand-600);
  outline: none;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field__hint { font-size: .8125rem; color: var(--ink-400); }

/* --------------------------------------------------------------------------
   25. Prose (legal pages)
   -------------------------------------------------------------------------- */
.prose { max-width: 46rem; margin-inline: auto; }
.prose h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; }
.prose p, .prose li { color: var(--ink-700); }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.25rem; display: grid; gap: .4rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.notice {
  display: flex;
  gap: .875rem;
  background: #fff8ea;
  border: 1px solid #ffe0a8;
  border-radius: var(--radius);
  padding: 1.125rem 1.375rem;
  margin-bottom: 2rem;
  font-size: .9375rem;
  color: #6b4b12;
}
.notice svg { flex: none; margin-top: 2px; color: var(--amber-500); }

/* --------------------------------------------------------------------------
   26. Scroll reveal
   -------------------------------------------------------------------------- */
/* Only hide content when JavaScript is present to bring it back — otherwise a
   no-JS visitor gets a blank page. `.js` is set by an inline script in <head>. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}
