@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700;800&display=swap');

:root {
  --paper: #f1f4ef;
  --ink: #112b24;
  --dark: #0d2821;
  --mint: #a2edc5;
  --muted: #435d53;
  --rule: #cbd7cf;
  font: 400 16px/1.5 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, p, figure, dl, dd { margin: 0; }
h1, h2 { letter-spacing: -.055em; line-height: 1.03; }
h2 { font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 700; }
.site-wrap { width: min(100% - clamp(36px, 8vw, 120px), 1320px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; left: 1rem; top: 1rem; transform: translateY(-180%); background: white; padding: .5rem; }
.skip-link:focus { transform: none; }

.site-header { color: #fff; background: var(--dark); }
.header-inner, .header-inner nav, .wordmark { display: flex; align-items: center; }
.header-inner { justify-content: space-between; gap: 16px; min-height: 68px; }
.header-inner nav { gap: clamp(12px, 3vw, 44px); }
.header-inner a { text-decoration: none; }
.header-inner nav a { display: grid; place-items: center; min-height: 44px; font-weight: 600; }
.header-inner nav a:hover, .header-inner [aria-current=page] { text-decoration: underline; text-underline-offset: 5px; }
.wordmark { gap: 8px; font-weight: 800; white-space: nowrap; }
.wordmark span { padding: 2px 8px; background: var(--mint); color: var(--dark); border-radius: 4px; }
.header-access { color: var(--mint); }

.site-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px clamp(14px, 2.5vw, 36px); }
.site-button { display: inline-flex; align-items: center; gap: .8rem; width: fit-content; min-height: 48px; padding: .65rem 1rem; color: var(--dark); background: var(--mint); font-weight: 800; text-decoration: none; border-radius: 4px; }
.site-button:hover { background: #c4f7d9; }

.pricing-header { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end; gap: 14px 36px; padding-block: clamp(40px, 7vw, 86px) 28px; }
.pricing-header h1 { font-size: clamp(2.8rem, 6.2vw, 5.6rem); }
.pricing-header p { max-width: 42ch; font-size: clamp(1.125rem, 2vw, 1.25rem); }
.pricing-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); padding-bottom: clamp(40px, 6vw, 84px); }
.plan { display: flex; flex-direction: column; min-width: 0; padding: clamp(15px, 2.3vw, 30px); background: #e2ece4; }
.plan h2 { font-size: clamp(1.45rem, 3.2vw, 2.75rem); }
.plan-price { margin-top: 16px; }
.plan-price strong { font-size: clamp(1.15rem, 2.2vw, 1.8rem); }
.plan ul { margin: 0 0 24px; padding: 12px 0 0 1.2rem; }
.plan li + li { margin-top: 6px; }
.plan .site-button { margin-top: auto; }
.site-button-light { background: var(--paper); }
.plan-note { margin: -12px 0 14px; color: var(--muted); font-size: .875rem; }
.site-footer { color: #e0ebe3; background: var(--dark); padding: 23px 0; }
.site-footer nav { width: min(100% - clamp(36px, 8vw, 120px), 1320px); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .875rem; }
.site-footer a { text-underline-offset: 3px; }

@media (max-width: 770px) {
  .pricing-header, .pricing-layout { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .header-inner { gap: 7px; }
  .header-inner nav { gap: 9px; }
  .header-inner nav a, .wordmark { font-size: .91rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .pricing-header h1 { animation: settle-title 500ms ease-out both; }
  .site-button { transition: background-color 160ms ease; }
  @keyframes settle-title {
    from { transform: translateY(8px); opacity: .75; }
    to { transform: translateY(0); opacity: 1; }
  }
}
