:root {
  --ink: #13252f;
  --muted: #52636c;
  --paper: #fffefa;
  --warm: #f3f0e8;
  --lake: #087f8c;
  --lake-dark: #075d67;
  --line: rgba(19, 37, 47, 0.16);
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
button, a { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
.skip-link { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 20; padding: 0.7rem 1rem; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { max-width: var(--max); margin: auto; min-height: 84px; padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; font-size: 0.88rem; font-weight: 750; letter-spacing: 0.08em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--serif); letter-spacing: -0.08em; }
nav { display: flex; align-items: center; gap: 1.75rem; }
nav a { font-size: 0.92rem; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 0.35rem; }
.hero { max-width: var(--max); margin: auto; padding: 7rem 2rem 6rem; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); gap: 6rem; align-items: center; }
.eyebrow, .panel-kicker, .step { margin: 0 0 1rem; font-size: 0.76rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lake-dark); }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.045em; line-height: 1.02; }
h1 { max-width: 800px; font-size: clamp(3.2rem, 7vw, 6.25rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h3 { margin: 0 0 0.75rem; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; line-height: 1.15; }
.lead { max-width: 680px; margin: 2rem 0; color: var(--muted); font-size: 1.2rem; }
.actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.2rem; border: 1px solid var(--lake); border-radius: 3px; background: var(--lake); color: white; text-decoration: none; font-weight: 700; transition: background 160ms ease, transform 160ms ease; }
.button:hover { background: var(--lake-dark); border-color: var(--lake-dark); transform: translateY(-1px); }
.button-small { min-height: 40px; padding: 0.45rem 0.9rem; font-size: 0.88rem; }
.button-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.button-secondary:hover { background: var(--ink); border-color: var(--ink); }
.text-button { min-height: 48px; padding: 0.5rem 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); font-weight: 700; }
.microcopy { margin-top: 1.25rem; color: var(--muted); font-size: 0.78rem; }
.hero-panel { padding: 2.2rem; border-top: 5px solid var(--lake); background: var(--warm); }
.hero-panel ol { list-style: none; margin: 0; padding: 0; }
.hero-panel li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0 0.75rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.hero-panel li > span { grid-row: 1 / 3; color: var(--lake-dark); font-family: var(--serif); }
.hero-panel strong { font-size: 1rem; }
.hero-panel small { color: var(--muted); line-height: 1.4; }
.section { padding: 7rem max(2rem, calc((100vw - var(--max)) / 2)); }
.section-warm { background: var(--warm); }
.section-heading { max-width: 760px; margin-bottom: 4rem; }
.process { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--ink); }
.process article { padding: 2rem 2rem 0 0; }
.process article + article { padding-left: 2rem; border-left: 1px solid var(--line); }
.process p:last-child { color: var(--muted); }
.pricing-heading { max-width: none; display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 5rem; align-items: end; }
.pricing-heading > p { margin: 0; color: var(--muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.price-card { padding: 2rem; display: flex; flex-direction: column; border: 1px solid var(--line); }
.price-card.featured { border-top: 5px solid var(--lake); padding-top: calc(2rem - 4px); background: #f4fbfb; }
.plan { min-height: 2rem; margin: 0; font-weight: 750; }
.plan span { float: right; padding: 0.2rem 0.45rem; border-radius: 999px; background: var(--lake); color: white; font-size: 0.65rem; letter-spacing: 0.04em; text-transform: uppercase; }
.price { margin: 1.5rem 0 0; font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.price-note { margin: 0.5rem 0 1rem; color: var(--muted); font-size: 0.78rem; }
.price-card ul { flex: 1; margin: 1rem 0 2rem; padding: 0; list-style: none; }
.price-card li { padding: 0.65rem 0; border-top: 1px solid var(--line); }
.closing { padding: 7rem max(2rem, calc((100vw - var(--max)) / 2)); background: var(--ink); color: white; }
.closing .eyebrow { color: #8fd2d8; }
.closing h2 { max-width: 900px; }
.closing > p:not(.eyebrow) { max-width: 620px; margin: 2rem 0; color: #c3d0d5; }
.button-light { background: white; border-color: white; color: var(--ink); }
.button-light:hover { background: #e8f7f7; border-color: #e8f7f7; color: var(--ink); }
footer { max-width: var(--max); margin: auto; padding: 2rem; display: flex; justify-content: space-between; gap: 2rem; color: var(--muted); font-size: 0.8rem; }
dialog { max-width: 540px; padding: 2.5rem; border: 0; border-top: 5px solid var(--lake); color: var(--ink); box-shadow: 0 24px 80px rgba(19, 37, 47, 0.28); }
dialog::backdrop { background: rgba(19, 37, 47, 0.72); }
dialog h2 { font-size: 2.5rem; }
.dialog-close { position: absolute; top: 0.7rem; right: 0.8rem; width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.8rem; }
:focus-visible { outline: 3px solid #f2b84b; outline-offset: 3px; }

@media (max-width: 820px) {
  nav a { display: none; }
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 4rem; }
  .process, .pricing-grid { grid-template-columns: 1fr; }
  .process article, .process article + article { padding: 2rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .pricing-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  footer { flex-direction: column; gap: 0; }
}

@media (max-width: 520px) {
  .site-header, .hero, .section, .closing { padding-left: 1.2rem; padding-right: 1.2rem; }
  .brand > span:last-child { display: none; }
  h1 { font-size: 3rem; }
  .actions { align-items: stretch; flex-direction: column; }
  .text-button { text-align: left; }
}

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