body.site {
  min-height: 100vh;
  background: var(--canvas);
  color: var(--type);
}

body.site main {
  height: auto;
  overflow: visible;
  padding: 0;
}

body.site main a {
  text-underline-offset: 0.15em;
}

.site-wrap {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.site-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  min-height: 4.25rem;
  padding: 0.75rem 0;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.site-mark {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 0.9;
  color: var(--heading);
}

.site-mark span { display: block; }

.site-product {
  color: var(--mute);
  font-size: 0.85rem;
  font-weight: 600;
}

.site-links,
.site-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.1rem;
}

.site-links { flex: 1; }

.site-actions { margin-left: auto; }

.site-links a,
.site-actions a:not(.button) {
  color: var(--nav);
  font-weight: 500;
  text-decoration: none;
}

.site-links a:hover,
.site-links a.active,
.site-actions a:not(.button):hover,
.site-actions a:not(.button).active {
  color: var(--heading);
}

body.site a.button.ghost {
  background: transparent;
  color: var(--heading);
  border-color: var(--heading);
}

body.site a.button.ghost:hover { background: var(--outline-hover); }

.site-pill {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--type);
  font-size: 0.8rem;
  font-weight: 600;
}

html[data-theme="light"] body.site .site-pill {
  background: var(--signal-wash);
  color: #000;
}

body.site mark {
  background: #67fff0;
  color: #000;
  padding: 0 0.06em;
  border-radius: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero { padding: 4.5rem 0 3rem; }

.hero-grid,
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 3rem;
  align-items: center;
}

.hero-grid > *,
.form-layout > * { min-width: 0; }

body.site .hero h1 {
  max-width: 11ch;
  font-size: clamp(2.7rem, 5vw, 4.25rem);
  line-height: 1.05;
}

body.site .page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.08;
}

.lede {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: var(--support);
  font-size: 1.125rem;
}

.hero-actions,
.close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.sample {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.25rem;
}

.sample h2 { margin-bottom: 0.2rem; }

.sample dl { margin: 1.25rem 0 0; }

.sample dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.sample dt { color: var(--mute); font-size: 0.85rem; font-weight: 600; }
.sample dd {
  margin: 0;
  color: var(--heading);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.sample-note {
  margin: 1rem 0 0;
  color: var(--support);
  font-size: 0.95rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.25rem 1.5rem;
}

.facts li + li { border-left: 1px solid var(--line); }
.facts strong { color: var(--heading); font-size: 1.05rem; }
.facts span { color: var(--mute); font-size: 0.9rem; }

.site-section { padding: 5rem 0; }
.site-section.tight { padding-top: 1rem; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2,
.site-section > .site-wrap > h2,
.partner-close h2,
.faq h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.15;
}

.note { margin: -0.5rem 0 1.5rem; color: var(--mute); }

.card-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card-grid article,
.price-grid article,
.feature-list article,
.insight-list article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
}

.card-grid h3,
.price-grid h2,
.price-grid h3 {
  margin: 0 0 0.6rem;
  color: var(--heading);
  font-size: 1.2rem;
}

.card-grid h3.with-icon,
.price-grid :is(h2, h3).with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list h2,
.insight-list h2 {
  margin: 0 0 0.6rem;
  color: var(--heading);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.15;
}

.card-grid p,
.feature-list p,
.insight-list p,
.price-grid p { margin: 0; color: var(--support); }

.card-grid h3 a,
.insight-list h2 a {
  color: var(--heading);
  text-decoration: none;
}

.meta {
  margin: 0 0 0.45rem;
  color: var(--mute);
  font-size: 0.8rem;
  font-weight: 600;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.steps span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--heading);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
}

.steps h3 { margin: 0 0 0.4rem; }
.steps p { margin: 0; color: var(--support); }

.price-grid article {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.price-grid .figure {
  color: var(--heading);
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1;
}

.price-grid .figure span {
  display: block;
  margin-top: 0.35rem;
  color: var(--mute);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
}

.price-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--support);
}

.price-grid li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}

.price-grid .button { width: 100%; margin-top: auto; }

.price-grid .featured {
  border-width: 2px;
  border-color: var(--heading);
}

.page-hero { padding: 4rem 0 1rem; }

.narrow-copy { max-width: 40rem; }

.feature-list,
.insight-list {
  display: grid;
  gap: 1rem;
}

.prose { max-width: 40rem; }
.prose h1 { max-width: 18ch; margin-bottom: 1.5rem; }
.prose p { font-size: 1.125rem; }

.faq { margin-top: 4rem; max-width: 42rem; }
.faq h2 { margin-bottom: 1rem; }
.faq dt {
  margin-top: 1.25rem;
  color: var(--heading);
  font-weight: 700;
}
.faq dd { margin: 0.35rem 0 0; color: var(--support); }

.form-layout { align-items: start; }
.form-layout .card { margin: 0; }

.partner-close {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
}

.partner-close p { max-width: 36rem; color: var(--support); }

.split-note {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.split-note h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.15;
}

.split-note p { max-width: 36rem; color: var(--support); }

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.site-footer .theme-switch {
  margin-top: 1rem;
  padding: 0;
}

.site-footer .muted { margin-top: 0.8rem; }

body.site .messages {
  width: min(72rem, calc(100% - 2rem));
  margin: 1rem auto 0;
}

@media (max-width: 800px) {
  .site-wrap { width: min(72rem, calc(100% - 1.5rem)); }
  .hero-grid,
  .form-layout,
  .card-grid,
  .price-grid,
  .steps,
  .facts,
  .site-footer-grid { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .site-links { flex-basis: 100%; order: 3; }
  .hero { padding-top: 2.5rem; }
  .site-section { padding: 3rem 0; }
  body.site .hero h1,
  body.site .page-hero h1,
  body.site .prose h1 {
    max-width: 100%;
    font-size: 1.9rem;
  }
}
