:root {
  --paper: #f7f1e4;
  --paper-deep: #eadfc8;
  --panel: #fffaf0;
  --panel-soft: #f7edd2;
  --ink: #2f2216;
  --muted: #62503b;
  --line: #d8d0bd;
  --line-strong: #8f7450;
  --accent: #0b5d59;
  --gold: #c39d4a;
  --danger: #8e2c1c;
  --shadow: rgba(47, 34, 22, .12);
  --font-serif: "Goudy Old Style", "Palatino Linotype", "Book Antiqua", Garamond, Georgia, "Liberation Serif", serif;
  --font-sans: Optima, "Gill Sans", "Trebuchet MS", Aptos, "Liberation Sans", sans-serif;
  --avestris-type-xs: .8rem;
  --avestris-type-sm: .875rem;
  --avestris-type-base: 1rem;
  --avestris-type-md: 1.25rem;
  --avestris-type-lg: 1.5625rem;
  --avestris-type-xl: 1.9375rem;
  --avestris-type-2xl: 2.4375rem;
  --avestris-type-3xl: 3.0625rem;
  --step-xs: var(--avestris-type-xs);
  --step-sm: var(--avestris-type-sm);
  --step-base: var(--avestris-type-base);
  --step-md: var(--avestris-type-md);
  --step-lg: var(--avestris-type-lg);
  --step-xl: var(--avestris-type-xl);
  --step-xxl: var(--avestris-type-2xl);
  --step-xxxl: var(--avestris-type-3xl);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 246, .95), transparent 34rem),
    radial-gradient(circle at 90% 28%, rgba(195, 157, 74, .13), transparent 24rem),
    linear-gradient(140deg, #f9f1df 0%, var(--paper) 50%, var(--paper-deep) 100%);
  font-family: var(--font-serif);
  line-height: 1.58;
}
a { color: var(--accent); }

.wrap,
main {
  width: min(1120px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}
main { margin-top: 34px; margin-bottom: 48px; }
.wrap main { width: auto; margin: 0; }

.nav,
nav,
.kicker,
.label,
.button,
.price,
.field label,
.check,
.meta,
footer,
.footer-note,
table {
  font-family: var(--font-sans);
}

.nav,
nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 24px 0;
  margin-bottom: 0;
  font-size: var(--step-sm);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav a,
nav a { color: var(--accent); text-decoration: none; }

.hero {
  min-height: 74vh;
  display: grid;
  align-items: center;
  padding: clamp(40px, 8vw, 96px) 0;
}
.wrap > .hero { min-height: 86vh; place-items: center; text-align: center; }
.logo {
  width: min(760px, 92vw);
  margin: 0 auto 24px;
  filter: drop-shadow(0 18px 24px rgba(47, 34, 22, .08));
}
.tagline {
  opacity: 0;
  margin: 0 auto;
  max-width: 760px;
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.42;
  text-transform: uppercase;
  animation: fade-up .9s ease 1s forwards;
}

.hero-card,
.panel,
main.legal-page,
body > main:not(.plain-main) {
  background: rgba(255, 250, 240, .9);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px var(--shadow);
}
body > main:not(.plain-main) { padding: clamp(24px, 5vw, 56px); }
.wrap .panel,
.wrap .hero-card,
main .panel,
main .hero { box-shadow: 0 24px 70px var(--shadow); }
.hero-card { padding: clamp(28px, 6vw, 72px); position: relative; overflow: hidden; }
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -38% 42%;
  height: 360px;
  background: radial-gradient(circle, rgba(195, 157, 74, .18), transparent 68%);
  pointer-events: none;
}
.panel { padding: clamp(22px, 4vw, 36px); }
section { padding: clamp(34px, 6vw, 72px) 0; }
main > section { padding: 0; margin-top: 18px; }

.kicker,
.label {
  font-size: var(--step-xs);
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--accent);
  text-transform: uppercase;
}
h1,
h2,
h3 { letter-spacing: -.018em; }
h1 {
  max-width: 14ch;
  margin: 16px 0 16px;
  font-size: clamp(2.4rem, 7vw, 4.9rem);
  line-height: .94;
}
.wrap h1 { margin: 18px auto 18px; }
.hero-card h1 { margin-left: 0; margin-right: 0; max-width: 13ch; line-height: .91; letter-spacing: -.025em; }
h2 { margin: 0 0 18px; font-size: clamp(1.55rem, 3.8vw, var(--step-xxl)); line-height: 1.04; }
h3 { margin: 12px 0 8px; font-size: var(--step-lg); line-height: 1.12; }
p,
li { font-size: var(--step-base); }
ul { padding-left: 1.15rem; margin: 10px 0 0; }
li { margin: .42rem 0; }
.lead,
.avestris-lead,
.note-meta,
main > p:first-of-type,
.panel p:first-of-type,
.card p,
.meta { color: var(--muted); }
.lead { max-width: 760px; font-size: clamp(1.15rem, 2.3vw, var(--step-lg)); }
.avestris-lead,
.note-meta { font-size: 1.2rem; }
.card p { text-align: justify; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.wrap .two { grid-template-columns: 1.08fr .92fr; align-items: stretch; }
.service-list { display: grid; gap: 14px; margin-top: 20px; }
.service,
.step,
.checklist li {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .32);
}
.service { padding: 18px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--panel);
  font-size: var(--step-sm);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.button.secondary { background: transparent; color: var(--accent); }

.steps { counter-reset: step; display: grid; gap: 14px; }
.step { position: relative; padding: 18px 18px 18px 58px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--panel);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
}
.quote,
.note,
.notice {
  border-left: 4px solid var(--gold);
  padding: 16px 18px;
  color: var(--muted);
  background: rgba(195, 157, 74, .09);
  border-radius: 12px;
}
.quote { font-size: var(--step-md); font-style: italic; background: transparent; border-radius: 0; }
.note { font-style: italic; }

.price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 26px 0 6px;
  color: var(--accent);
}
.price strong { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.price span { font-size: .86rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.checkout-form {
  display: grid;
  gap: 14px;
  max-width: 620px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .28);
}
.checkout-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 6px; }
.field label,
.check { font-size: .78rem; font-weight: 800; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fffdf7;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.2;
}
.check { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; text-transform: none; letter-spacing: 0; color: var(--muted); }
.check input { margin-top: 2px; }
.checkout-form .button { width: fit-content; margin-top: 4px; cursor: pointer; }

.checklist { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 11px 12px; }
.box { width: 18px; height: 18px; margin-top: 3px; border: 2px solid var(--accent); border-radius: 4px; }

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; }
th,
td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
th { background: rgba(11, 93, 89, .08); }

footer,
.footer-note {
  margin-top: 42px;
  padding: 20px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.4;
}
.footer-note { margin-top: 48px; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tagline { animation: none; opacity: 1; }
}
@media (max-width: 860px) {
  .grid,
  .two,
  .wrap .two { grid-template-columns: 1fr; }
  .nav,
  nav { align-items: flex-start; flex-direction: column; }
  .hero,
  .wrap > .hero { min-height: auto; }
  .tagline { font-size: 1.05rem; }
}
@media print {
  body { background: white; }
  main { width: auto; margin: 0; box-shadow: none; border: 0; }
  nav { display: none; }
}

main.plain-main > .hero {
  background: rgba(255, 250, 240, .9);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px var(--shadow);
  padding: clamp(28px, 6vw, 70px);
}
