:root {
  --ink: #12211d;
  --ink-soft: #465a54;
  --paper: #ffffff;
  --paper-alt: #f1f7f3;
  --brand: #1f6f63;
  --brand-deep: #16564d;
  --brand-bright: #2e9182;
  --accent: #b6e06a;
  --line: #dbe6e1;
  --radius: 10px;
  --wrap: 1120px;
  --step: clamp(1rem, 0.6rem + 1.2vw, 1.125rem);
}

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

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--step);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 650; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); }
h4 { font-size: 1.0625rem; }
p { margin: 0 0 1em; }

a { color: var(--brand); }
a:hover { color: var(--brand-bright); }

:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 2px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.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: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 0.6rem 1rem;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); font-weight: 700; }
.brand__name { font-size: 1.15rem; letter-spacing: 0.02em; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); }
.site-nav a[aria-current="page"] { font-weight: 650; }

.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto; width: 44px; height: 44px;
    background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
    display: block; width: 20px; height: 2px; background: var(--ink); content: "";
  }
  .nav-toggle__bar::before { transform: translateY(-6px); }
  .nav-toggle__bar::after { transform: translateY(4px); }
  .site-nav { display: none; width: 100%; margin-left: 0; }
  .site-nav.is-open { display: block; padding-bottom: 1rem; }
  .site-header__inner { flex-wrap: wrap; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 0.7rem 1.35rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-size: 0.98rem; transition: background-color 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-bright); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--brand); background: #fff; }
.btn--ghost:hover { border-color: var(--brand); }
.btn--sm { padding: 0.45rem 0.9rem; font-size: 0.9rem; }

/* ---------- sections ---------- */
section { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section--alt { background: var(--paper-alt); }
.section__lede { max-width: 62ch; color: var(--ink-soft); }

.hero { padding-block: clamp(3rem, 2rem + 5vw, 6rem); background: linear-gradient(180deg, #eef7f1 0%, #ffffff 100%); }
.hero__inner { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.hero__media img { border-radius: var(--radius); box-shadow: 0 10px 40px rgba(18, 33, 29, 0.12); }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; } }

.split { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.split img { border-radius: var(--radius); box-shadow: 0 8px 28px rgba(18, 33, 29, 0.1); }
.hero__lede { font-size: 1.15rem; max-width: 60ch; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3, .card h4 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.stat { text-align: center; }
.stat__figure { display: block; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 700; color: var(--brand); }
.stat p { color: var(--ink-soft); margin: 0; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.checklist li { padding-left: 1.6rem; position: relative; }
.checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 700;
}

/* ---------- pricing ---------- */
.tiers { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }
.tier { display: flex; flex-direction: column; }
.tier--featured { border-color: var(--brand); box-shadow: 0 6px 24px rgba(31, 111, 99, 0.16); }
.tier__badge {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--brand); color: #fff; border-radius: 999px; padding: 0.15rem 0.6rem; margin-bottom: 0.6rem;
}
.tier__price { font-size: 1.9rem; font-weight: 700; margin: 0.25rem 0 0; }
.tier__period { font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; }
.tier__audience { color: var(--ink-soft); font-size: 0.95rem; }
.tier .checklist { margin-block: 1rem; font-size: 0.95rem; }
.tier__cta { margin-top: auto; padding-top: 1rem; }
.tier__cta .btn { width: 100%; text-align: center; }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
th { font-weight: 650; }

/* ---------- cta band ---------- */
.cta-band { background: var(--brand-deep); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 55ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.cta-band .btn--primary { background: #fff; color: var(--brand); }
.cta-band .btn--primary:hover { background: #e6f4ee; color: var(--brand-deep); }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.cta-band .btn--ghost:hover { border-color: #fff; color: #fff; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1rem; max-width: 34rem; }
.form label { font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 0.3rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.65rem 0.75rem; border: 1px solid var(--line);
  border-radius: var(--radius); font: inherit; background: #fff; color: var(--ink);
}
.form textarea { min-height: 8rem; resize: vertical; }
.form__hint { font-size: 0.85rem; color: var(--ink-soft); margin: 0.3rem 0 0; }

/* ---------- team ---------- */
.team { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); list-style: none; padding: 0; margin: 0; }
.team li { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.team strong { display: block; }
.team span { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- news ---------- */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.post-list time { color: var(--ink-soft); font-size: 0.85rem; }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 2rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cbdad4; padding-block: 2.5rem; }
.site-footer a { color: #cbdad4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__inner { display: grid; gap: 1.5rem; }
.site-footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.site-footer__brand p { margin: 0; }
.site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.site-footer__legal { margin: 0; font-size: 0.85rem; color: #90a49d; }

.footnote { font-size: 0.85rem; color: var(--ink-soft); }
