:root {
  --bg: #f6f6f3;
  --fg: #2e332f;
  --muted: #6d766f;
  --ink: #20241f;
  --surface: #fdfdfc;
  --surface-alt: #edece6;
  --accent: #8a9a84;
  --accent-strong: #4a5d51;
  --shadow-soft: 0 1px 2px rgba(32, 36, 31, 0.04), 0 3px 10px rgba(32, 36, 31, 0.05);
  --shadow-medium: 0 10px 28px rgba(32, 36, 31, 0.08);
  --border-subtle: rgba(110, 118, 110, 0.2);
  --border-soft: rgba(110, 118, 110, 0.35);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --z-scrim: 9000;
  --z-header: 10000;
  --z-drawer: 11000;
  --header-height: 72px;
  --header-expanded-height: 72px;
  --header-offset: var(--header-expanded-height);
  --brand-max-height: 48px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (min-width: 1280px) {
  html {
    font-size: 18px;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: var(--header-offset, var(--header-expanded-height));
}

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

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}

a:hover,
a:focus-visible {
  border-bottom-color: var(--muted);
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 .6em;
  font-family: "Libre Franklin", "Raleway", sans-serif;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

h3 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

p {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2.4vw, 1.1rem);
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  font-size: clamp(1rem, 2.3vw, 1.1rem);
  margin: .3rem 0;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: .875rem;
}

.upper {
  text-transform: uppercase;
  letter-spacing: .18em;
}

.center {
  text-align: center;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.pad {
  padding: clamp(2rem, 4.5vw, 3rem) 0;
}

/* Vertical rhythm: padded page mains space their direct children evenly;
   FAQ accordions keep their own tighter spacing. */
main.pad > * + *:not(details) {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.section-sub + .grid-2,
.section-sub + .grid-3,
.section-sub + .grid-4,
.section-sub + .compare-wrap,
.section-sub + details {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
}

.section-title + .grid-2,
.section-title + .grid-3,
.section-title + .grid-4 {
  margin-top: clamp(1rem, 2.5vw, 1.5rem);
}

.grid-2 + .center,
.grid-3 + .center,
.grid-4 + .center {
  margin-top: clamp(1.5rem, 3.5vw, 2rem);
}

.page-heading {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.page-heading.center {
  text-align: center;
}

.section-title {
  margin-bottom: .35rem;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.25rem);
}

.lead {
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .75rem;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  font-size: .95rem;
  color: var(--ink);
}

.list {
  margin: 0;
  padding-left: 1.25rem;
}

.kicker {
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: .8rem;
}
