:root {
  color-scheme: light;
  --ink: #171a1f;
  --muted: #656b76;
  --line: #d9dde5;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --green: #24594b;
  --green-2: #d9eee6;
  --gold: #c58a32;
  --blue: #293b64;
  --shadow: 0 24px 70px rgba(23, 26, 31, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  background: var(--green);
  color: white;
  border-radius: 4px;
  font-family: Arial, sans-serif;
}

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

nav a {
  text-decoration: none;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

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

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 24px;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-weight: 700;
  border-radius: 4px;
}

.button.primary,
.button.full {
  background: var(--ink);
  color: white;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.full {
  width: 100%;
}

.story-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
}

.panel-top {
  display: flex;
  gap: 8px;
  margin-bottom: auto;
}

.panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.scene-card {
  padding: 24px;
  background: var(--green-2);
  border-left: 5px solid var(--green);
}

.scene-card h2 {
  font-size: 34px;
}

.scene-card p,
.message-row,
.section p,
.legal-page p,
.legal-page li {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--muted);
}

.scene-label {
  margin: 0 0 8px;
  color: var(--green);
  font-weight: 700;
}

.message-row {
  max-width: 88%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: white;
}

.message-row.user {
  align-self: flex-end;
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.message-row.assistant {
  align-self: flex-start;
}

.section {
  padding: clamp(54px, 8vw, 94px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

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

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

.price-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
}

.price-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-2);
}

.price {
  margin: 0;
  font-size: 42px;
  color: var(--green);
}

.price-card .button {
  margin-top: auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 36px;
}

.steps {
  margin: 0;
  padding-left: 22px;
  font-size: 20px;
}

.steps li {
  margin-bottom: 18px;
  padding-left: 8px;
}

.policy-band {
  background: var(--green);
  color: white;
}

.policy-band p {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.82);
}

.policy-band .button {
  border-color: white;
  color: white;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
}

footer a {
  text-decoration: none;
}

.legal-page {
  max-width: 860px;
  padding: clamp(48px, 8vw, 90px) clamp(20px, 5vw, 72px);
}

.legal-page h1 {
  font-size: clamp(42px, 6vw, 76px);
  margin-bottom: 28px;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 28px;
}

.checkout-page {
  min-height: calc(100vh - 76px);
  padding: clamp(48px, 8vw, 90px) clamp(20px, 5vw, 72px);
}

.checkout-shell {
  max-width: 920px;
}

.checkout-shell h1 {
  font-size: clamp(42px, 6vw, 78px);
}

.checkout-card {
  margin-top: 34px;
  padding: clamp(24px, 5vw, 42px);
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.checkout-card h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.checkout-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  font-family: Arial, sans-serif;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.checkout-status {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 5px solid var(--gold);
  background: #fff7e8;
  font-family: Arial, sans-serif;
  color: var(--muted);
}

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

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

  .story-panel {
    min-height: 420px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
