:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --surface: #fffefa;
  --tint: #edf2eb;
  --ink: #26352c;
  --muted: #6c776e;
  --line: #e6e9e1;
  --accent: #58775f;
  --forest: #355342;
  --section-inset: 42px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(224, 232, 218, .5), transparent 34rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.site-header {
  width: min(1200px, 88%);
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(38, 53, 44, .1);
}

.wordmark {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.04em;
}
.wordmark span { color: var(--accent); }

nav { display: flex; gap: 34px; color: #59675d; font-size: 14px; font-weight: 600; }
nav a, .email-link, .hero-link { transition: color .2s ease; }
nav a:hover, .email-link:hover, .hero-link:hover { color: var(--accent); }

main { width: min(1120px, 88%); margin: 0 auto; }

.hero {
  min-height: 450px;
  padding: 86px 0 96px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-copy { width: min(100%, 1000px); padding: 12px 0; text-align: center; }
.eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: clamp(29px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.2;
  text-align: center;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 680;
  letter-spacing: -.065em;
  line-height: .99;
  white-space: normal;
}
h1 span { color: var(--accent); }
.intro {
  max-width: 610px;
  margin: 0 auto;
  color: #657168;
  font-size: 17px;
  line-height: 1.85;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 14px 18px;
  border: 1px solid var(--forest);
  border-radius: 7px;
  background: var(--forest);
  color: #f7f6f2;
  font-size: 14px;
  font-weight: 700;
}
.hero-link:hover { background: #456850; color: #fff; }
.hero-link span { color: #d3dfc5; font-size: 19px; }
.hero-risk { margin: 11px 0 0; color: #7a847b; font-size: 12px; line-height: 1.6; }

.card {
  padding: 34px;
  border: 1px solid rgba(38, 53, 44, .08);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(39, 59, 43, .035);
}
h2 { margin: 0 0 12px; font-size: 23px; font-weight: 680; letter-spacing: -.045em; }
.model-card {
  padding: 42px var(--section-inset);
  background: var(--surface);
}
.model-card h2 { font-size: 27px; }
.model-card p {
  max-width: 850px;
  margin: 0 0 16px;
  color: #58685d;
  font-size: 15px;
  line-height: 1.9;
}
.model-card p:last-child { margin-bottom: 0; }

.tiers-section {
  margin-top: 84px;
  padding: 34px var(--section-inset);
  border: 1px solid rgba(38, 53, 44, .08);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(39, 59, 43, .035);
}
.tiers-section .card.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}
.tiers-section .disclaimer {
  margin-bottom: 0;
}
.section-heading h2 { margin-bottom: 10px; font-size: 29px; }
.section-intro { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tiers-section .tier-grid > .tier-card {
  display: grid;
  min-height: 112px;
  place-items: center;
  min-width: 0;
  padding: 16px 10px;
  border: 1px solid #dce5d9;
  border-radius: 10px;
  background: var(--tint);
}
.tiers-section .tier-grid > .tier-card::after { content: none; }
.tier-amount { margin: 0; color: #3f6149; font-size: clamp(24px, 3vw, 42px); font-weight: 700; letter-spacing: -.06em; white-space: nowrap; }
.tier-amount span { margin-left: 3px; color: #637a66; font-size: .42em; letter-spacing: .08em; }
.disclaimer { margin: 16px 0 0; color: #758077; font-size: 14px; line-height: 1.8; }

.hint { margin: 14px 0 0; color: #778279; font-size: 14px; line-height: 1.8; }

.email-link { display: inline-flex; align-items: center; gap: 9px; color: var(--forest); font-size: 17px; font-weight: 750; white-space: nowrap; }
.email-link span { color: var(--accent); font-size: 19px; }

.allocation-card {
  margin-top: 28px;
  padding-inline: var(--section-inset);
}
.allocation-card h2 { font-size: 26px; }
.allocation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.allocation-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: #5d6b61;
  font-size: 14px;
  line-height: 1.5;
}
.allocation-list strong { flex: 0 0 auto; color: var(--forest); font-size: 16px; font-weight: 750; }

.contact {
  margin-top: 72px;
  padding: 40px var(--section-inset);
  border-radius: 15px;
  background: var(--forest);
  color: #f7f6f2;
}
.setup-card {
  border-color: rgba(38, 53, 44, .08);
  background: var(--surface);
  color: var(--ink);
}
.contact h2 { margin-bottom: 16px; font-size: 27px; }
.contact-copy { max-width: 720px; margin: 0 0 20px; color: #dce6dc; font-size: 16px; line-height: 1.9; }
.setup-card .contact-copy { color: #58685d; }
.contact-safety { margin: 0 0 18px; color: #cfdbcf; font-size: 14px; line-height: 1.8; }
.setup-card .contact-safety { color: #69766c; }
.contact .email-link { color: #dce8cf; }
.contact .email-link:hover { color: #fff; }
.contact .email-link span { color: #dce8cf; }
.setup-card .email-link { color: var(--forest); }
.setup-card .email-link:hover { color: var(--accent); }
.setup-card .email-link span { color: var(--accent); }

.back-to-top {
  position: fixed;
  right: max(24px, calc((100vw - 1200px) / 2));
  bottom: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(53, 83, 66, .96);
  box-shadow: 0 8px 24px rgba(24, 43, 31, .2);
  color: #f7f6f2;
  font-size: 13px;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(8px);
  transition: background .2s ease, transform .2s ease, opacity .2s ease, visibility .2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top.is-visible:hover { transform: translateY(-2px); background: #456850; }
.back-to-top span:first-child { color: #d3dfc5; font-size: 19px; line-height: 1; }

footer {
  width: min(1120px, 88%);
  margin: 60px auto 0;
  padding: 24px 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(38, 53, 44, .12);
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
footer span:first-child { color: var(--forest); font-weight: 800; }

@media (max-width: 700px) {
  :root { --section-inset: 28px; }
  .site-header { width: 88%; height: 70px; }
  nav { gap: 16px; font-size: 12px; }
  main { width: 88%; }
  .hero { min-height: 0; padding: 72px 0 70px; }
  .eyebrow { font-size: clamp(23px, 5vw, 34px); }
  h1 { font-size: clamp(21px, 3.8vw, 28px); }
  .model-card { padding: 30px var(--section-inset); }
  .tiers-section { margin-top: 64px; padding-block: 30px; }
  .tiers-section .card.tier-grid { gap: 10px; }
  .tiers-section .tier-grid > .tier-card { min-height: 92px; padding: 12px 6px; }
  .tier-amount { font-size: clamp(20px, 5.5vw, 34px); }
  .content-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact { margin-top: 56px; padding: 32px var(--section-inset); }
  .allocation-card { margin-top: 22px; }
  footer { width: 88%; margin-top: 48px; gap: 8px; }
}

@media (min-width: 701px) and (max-width: 900px) {
  .hero { min-height: 0; padding: 72px 0 70px; }
  .tiers-section { margin-top: 64px; }
}

@media (max-width: 420px) {
  :root { --section-inset: 24px; }
  .site-header { width: 90%; }
  .wordmark { font-size: 16px; }
  nav { gap: 11px; font-size: 11px; }
  main { width: 90%; }
  .eyebrow { font-size: clamp(22px, 6vw, 25px); }
  h1 { font-size: clamp(21px, 5vw, 24px); }
  .card { padding: 26px; }
  .model-card { padding: 28px var(--section-inset); }
  .tiers-section .card.tier-grid { gap: 7px; }
  .tiers-section .tier-grid > .tier-card { min-height: 78px; padding: 10px 4px; }
  .tier-amount { font-size: clamp(18px, 5vw, 30px); }
  .allocation-list li { gap: 12px; }
  .contact { padding: 28px var(--section-inset); }
  footer { width: 90%; }
}
