:root {
  color-scheme: light;
  --ink: #151311;
  --paper: #faf8f3;
  --panel: #ffffff;
  --line: #d8d0c3;
  --muted: #645e55;
  --forest: #1f5d50;
  --amber: #c47a2c;
  --blue: #315c93;
  --red: #a23d35;
  --shadow: 0 24px 70px rgba(45, 37, 25, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(216, 208, 195, 0.86);
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--forest);
  color: white;
  font-size: 13px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

.section,
.section-grid {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  min-height: calc(100vh - 67px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.78fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--forest);
  font-weight: 760;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  background: var(--forest);
  color: white;
}

.button.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.button[aria-busy="true"] {
  cursor: wait;
  opacity: 0.74;
}

.button.full {
  width: 100%;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 34px 0 0;
}

.proof-strip div,
.receipt-panel,
.feature-grid article,
.package-card,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.proof-strip div {
  padding: 14px;
}

dt {
  color: var(--muted);
  font-size: 12px;
}

dd {
  margin: 4px 0 0;
  font-weight: 780;
}

.receipt-panel {
  padding: 18px;
  box-shadow: var(--shadow);
}

.panel-head,
.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.panel-head {
  padding-top: 0;
}

.panel-head strong {
  color: var(--amber);
}

.receipt-row span {
  color: var(--muted);
}

.pass {
  color: var(--forest);
}

.review {
  color: var(--amber);
}

pre {
  margin: 18px 0 0;
  padding: 16px;
  overflow-x: auto;
  border-radius: 8px;
  background: #1d1a17;
  color: #f6eee4;
  font-size: 13px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.feature-grid,
.pricing-grid,
.runtime-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.runtime-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid article,
.runtime-grid article,
.price-card {
  padding: 22px;
}

.runtime-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.runtime-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 8px;
  border: 1px solid rgba(49, 92, 147, 0.24);
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 790;
}

.icon {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 790;
}

.feature-grid p,
.runtime-grid p,
.price-card p,
.package-card p,
.split p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 48px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--forest);
}

.package-card {
  padding: 24px;
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f5eadc;
  color: var(--amber);
  font-size: 12px;
  font-weight: 790;
}

.price {
  margin: 10px 0;
  color: var(--ink) !important;
  font-size: 38px;
  font-weight: 790;
  line-height: 1;
}

.featured {
  border-color: rgba(31, 93, 80, 0.48);
  box-shadow: var(--shadow);
}

.fine-print {
  font-size: 13px;
}

.notice {
  display: inline-flex;
  margin-top: 22px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--muted);
  font-size: 14px;
}

.notice[data-tone="success"] {
  border-color: rgba(31, 93, 80, 0.32);
  background: #f4fbf7;
  color: var(--forest);
}

.notice[data-tone="error"] {
  border-color: rgba(162, 61, 53, 0.32);
  background: #fff6f4;
  color: var(--red);
}

.text-block {
  max-width: 820px;
  margin-top: 40px;
}

.text-block h2 {
  margin-top: 28px;
  font-size: 24px;
}

.legal-page .feature-grid {
  margin-top: 36px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 32px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer p {
  flex-basis: 100%;
  margin: 0;
  text-align: center;
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split,
  .feature-grid,
  .runtime-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 32px;
  }

  h1 {
    font-size: 42px;
  }
}

@media (max-width: 520px) {
  .section,
  .section-grid {
    width: min(100% - 28px, 1120px);
    padding: 54px 0;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }
}
