:root {
  --ink: #12171f;
  --muted: #5c6572;
  --paper: #fafaf8;
  --surface: #ffffff;
  --trust: #0f4c5c;
  --trust-dark: #0a3a46;
  --approve: #2a9d8f;
  --rule: #e2dfd8;
  --soft: #edf5f3;
  --max: 1120px;
  --face: "Bricolage Grotesque", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--face);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--ink);
  background: color-mix(in srgb, var(--approve) 22%, white);
}

a {
  color: var(--trust);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--approve);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2.25rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  color: #fff;
  background: var(--trust);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  padding: 1.35rem 0;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--rule);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
}

.nav-link {
  color: var(--trust);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1.2rem;
  color: #fff;
  background: var(--trust);
  border: 1px solid var(--trust);
  border-radius: 999px;
  font-family: var(--face);
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
}

.button:hover,
.nav-cta:hover {
  color: #fff;
  background: var(--trust-dark);
  border-color: var(--trust-dark);
}

.nav-cta {
  min-height: 2.5rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
}

.button-secondary {
  color: var(--trust);
  background: transparent;
}

.button-secondary:hover {
  color: var(--trust);
  background: color-mix(in srgb, var(--trust) 7%, white);
  border-color: var(--trust);
}

.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--rule);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--trust);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.7rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
}

h2 {
  max-width: 22ch;
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.1;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.lede {
  max-width: 57ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-bottom: 1px solid var(--rule);
}

.section-heading {
  margin-bottom: 2.25rem;
}

.section-heading p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
}

.price-card.featured {
  border-color: var(--approve);
  box-shadow: 0 18px 50px rgba(15, 76, 92, 0.1);
}

.badge {
  align-self: flex-start;
  margin: 0 0 1rem;
  padding: 0.28rem 0.7rem;
  color: #0d5c54;
  background: color-mix(in srgb, var(--approve) 15%, white);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-for {
  min-height: 3em;
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.price {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 550;
  letter-spacing: 0;
}

.price-guide {
  margin: 0.45rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.feature-list {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.94rem;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--approve);
  content: "✓";
  font-weight: 800;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.fine-print {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.add-on {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--trust);
  border-radius: 24px;
  color: #fff;
}

.add-on h2,
.add-on h3 {
  color: #fff;
}

.add-on p {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.add-on-price {
  min-width: 12rem;
  text-align: right;
}

.add-on-price strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.add-on-price span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.entry-offer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 24px;
}

.entry-offer h2 {
  margin: 0 0 0.6rem;
}

.entry-offer p:last-child {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
}

.entry-offer .button {
  white-space: nowrap;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 18px;
}

.comparison {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: var(--surface);
}

.comparison th,
.comparison td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.comparison th:first-child,
.comparison td:first-child {
  text-align: left;
}

.comparison thead th {
  color: var(--trust);
  font-size: 0.9rem;
  font-weight: 800;
}

.comparison tbody tr:last-child td {
  border-bottom: 0;
}

.check {
  color: var(--approve);
  font-weight: 900;
}

.faq-list {
  max-width: 52rem;
}

.faq-list details {
  padding: 1.1rem 0;
  border-top: 1px solid var(--rule);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--rule);
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 750;
}

.faq-list p {
  max-width: 65ch;
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.status-note {
  max-width: 62rem;
  margin: 0 0 2.5rem;
  padding: 1rem 1.15rem;
  color: var(--trust);
  background: var(--soft);
  border: 1px solid color-mix(in srgb, var(--approve) 35%, var(--rule));
  border-radius: 14px;
  font-size: 0.94rem;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.principle {
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 18px;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.prose {
  max-width: 48rem;
}

.prose h2 {
  max-width: none;
  margin-top: 2.75rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.45rem;
}

.prose strong {
  color: var(--ink);
}

.prose .updated {
  color: var(--trust);
  font-size: 0.9rem;
  font-weight: 700;
}

.cta-band {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--soft);
  border-bottom: 1px solid var(--rule);
}

.cta-band p {
  max-width: 50ch;
  color: var(--muted);
}

.site-footer {
  padding: 2.25rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 0.3rem;
}

.footer-brand strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem 1rem;
}

.footer-links a {
  text-underline-offset: 3px;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plan-for {
    min-height: auto;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav {
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.55rem 0.8rem;
  }

  .nav-link {
    font-size: 0.82rem;
  }

  .nav-cta {
    width: 100%;
  }

  .add-on,
  .entry-offer {
    grid-template-columns: 1fr;
  }

  .add-on-price {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
