:root {
  --ink: #14201b;
  --muted: #53635d;
  --line: #d7ded9;
  --paper: #fbfcfb;
  --soft: #edf4f0;
  --white: #ffffff;
  --accent: #126149;
  --accent-dark: #0a4434;
  --danger: #9a2a1c;
  --focus: rgba(18, 97, 73, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(18px, 5vw, 64px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(251, 252, 251, 0.97);
  border-bottom: 1px solid var(--line);
}

.brand,
.site-header nav,
.site-footer nav,
.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  text-decoration: none;
  font-weight: 700;
}

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

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

.hero,
.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  gap: 26px;
  padding: 52px 0 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 8vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

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

.button.secondary {
  color: var(--accent);
  background: var(--white);
}

.button:hover {
  border-color: var(--accent-dark);
}

.hero-panel,
.price-box,
article,
form,
details,
.generated {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.hero-panel,
.price-box,
article,
form,
.generated {
  padding: 20px;
}

.price,
.price-large {
  margin: 0 0 12px;
  font-weight: 700;
}

.price {
  color: var(--accent);
}

.price-large {
  font-size: 42px;
  color: var(--accent-dark);
}

.section-band {
  margin: 34px 0;
  padding: 38px 0;
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.two-column,
.pricing,
.order {
  display: grid;
  gap: 24px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.steps {
  padding: 4px 0 16px;
}

ol,
ul {
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

label {
  display: block;
  margin: 14px 0 6px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #b9c4be;
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-message,
#paymentWarning {
  min-height: 24px;
  color: var(--danger);
  font-weight: 700;
}

dt {
  margin-top: 12px;
  font-weight: 700;
}

dd {
  margin: 4px 0 0;
}

details {
  padding: 16px;
}

details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.site-footer {
  margin-top: 34px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  align-items: flex-start;
}

@media (min-width: 800px) {
  .hero {
    min-height: 72vh;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    align-items: end;
  }

  .two-column,
  .pricing,
  .order {
    grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
    align-items: start;
  }

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

@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .form-actions {
    display: none;
  }

  body {
    background: var(--white);
  }
}
