
:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #15221b;
  background: #f2f6f3;
  font-synthesis: none;
  --ink: #15221b;
  --muted: #5d6d63;
  --line: #d5dfd8;
  --forest: #245c3d;
  --forest-dark: #19482f;
  --mint: #def1e5;
  --paper: rgb(255 255 255 / 88%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% -8%, rgb(193 229 207 / 80%), transparent 32rem),
    radial-gradient(circle at 96% 18%, rgb(225 238 219 / 70%), transparent 28rem),
    #f2f6f3;
}

a { color: inherit; }
button, input { font: inherit; }

.shell {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: var(--forest);
  box-shadow: 0 8px 22px rgb(36 92 61 / 20%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #526159;
  font-size: .9rem;
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--forest); }

.button-link,
button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--forest);
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button-link:hover,
button:hover { background: var(--forest-dark); }
button:disabled { cursor: wait; opacity: .65; }

.button-link.secondary,
button.secondary {
  color: var(--forest);
  background: #e6f0e9;
}

.button-link.secondary:hover,
button.secondary:hover { background: #d9e8de; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 42px;
  align-items: center;
  padding: 94px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #397454;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: .96;
  letter-spacing: -.06em;
}

h2 { margin-bottom: 8px; font-size: 1.35rem; letter-spacing: -.025em; }
h3 { margin-bottom: 8px; font-size: 1rem; }

.lede {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.68;
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.status-panel,
.card {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 55px rgb(39 68 50 / 8%);
  backdrop-filter: blur(14px);
}

.status-panel { padding: 24px; border-radius: 24px; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.status-row + .status-row { margin-top: 18px; padding-top: 18px; border-top: 1px solid #e0e7e2; }
.status-label { color: var(--muted); font-size: .85rem; }
.status-value { font-size: .88rem; font-weight: 750; text-align: right; }

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #3ca368;
  box-shadow: 0 0 0 4px rgb(60 163 104 / 12%);
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 68px; }
.feature { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgb(255 255 255 / 62%); }
.feature p { margin-bottom: 0; color: var(--muted); font-size: .92rem; line-height: 1.58; }
.feature-icon { display: grid; width: 38px; height: 38px; margin-bottom: 18px; place-items: center; border-radius: 12px; color: var(--forest); background: var(--mint); font-weight: 850; }

.page-header { max-width: 740px; padding: 76px 0 30px; }
.page-header h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }

.card { padding: 28px; border-radius: 22px; }
.card + .card { margin-top: 20px; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.card-heading p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }

.badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: #276546;
  background: var(--mint);
  font-size: .74rem;
  font-weight: 800;
}

.badge.warm { color: #765919; background: #fff0c7; }
label { display: block; margin-bottom: 8px; font-size: .84rem; font-weight: 750; }
.form-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }

input {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #bdc9c1;
  border-radius: 11px;
  color: var(--ink);
  background: white;
  outline: none;
}

input:focus { border-color: #367353; box-shadow: 0 0 0 3px rgb(54 115 83 / 15%); }
.form-note { margin: 10px 0 0; color: #6b786f; font-size: .78rem; }
.status { min-height: 1.35em; margin: 14px 0 -4px; color: var(--muted); font-size: .9rem; }
.status.success { color: #276546; }
.status.error { color: #a53535; }

.offer-grid { display: grid; grid-template-columns: minmax(220px, 310px) 1fr; gap: 34px; align-items: center; }
.qr-code { overflow: hidden; padding: 13px; border: 1px solid #d8e1db; border-radius: 18px; background: white; }
.qr-code svg { display: block; width: 100%; height: auto; }
.instructions ol { margin: 0 0 22px; padding-left: 1.35rem; color: #46564d; line-height: 1.65; }
.instructions li + li { margin-top: 7px; }
.expires { margin-bottom: 14px; color: #68776e; font-size: .9rem; }

details { margin-top: 24px; padding-top: 18px; border-top: 1px solid #dbe3de; }
summary { color: #4d5d53; cursor: pointer; font-size: .9rem; font-weight: 700; }
code { display: block; overflow-wrap: anywhere; margin-top: 12px; padding: 12px; border-radius: 9px; color: #3f5046; background: #f1f5f2; font-size: .75rem; line-height: 1.5; }

.prose { max-width: 780px; color: #46564d; line-height: 1.72; }
.prose h2 { margin-top: 30px; color: var(--ink); }
.prose li + li { margin-top: 8px; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #69776e;
  font-size: .8rem;
}

.footer-links { display: flex; gap: 16px; }
[hidden] { display: none !important; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .feature-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.button-link) { display: none; }
  .offer-grid { grid-template-columns: 1fr; }
  .qr-code { width: min(100%, 330px); margin: 0 auto; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1040px); }
  .form-row, .card-heading, footer { display: flex; flex-direction: column; }
  .form-row button, .badge { width: 100%; text-align: center; }
  .card { padding: 21px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
