:root {
  color-scheme: light;
  --ink: #11110f;
  --muted: #5e625f;
  --paper: #f7f3ea;
  --panel: #ffffff;
  --accent: #0d6b57;
  --accent-strong: #093f36;
  --field: #fbfaf6;
  --line: rgba(17, 17, 15, 0.14);
  --shadow: 0 18px 54px rgba(17, 17, 15, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(13, 107, 87, 0.15), transparent 32%),
    linear-gradient(180deg, #fbf8ef 0%, var(--paper) 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.hero {
  max-width: 900px;
  min-height: 76vh;
  padding: 88px 0 64px;
}

.kicker {
  margin: 0 0 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent-strong);
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
}

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

.lede,
.section-copy p {
  color: var(--muted);
}

.lede {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: 22px;
  line-height: 1.45;
}

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

.actions a,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
}

.actions a {
  padding: 0 18px;
}

button {
  width: fit-content;
  border: 0;
  padding: 0 20px;
  color: #fff;
  background: var(--accent);
}

.primary {
  color: #fff;
  background: var(--accent);
}

.secondary {
  color: var(--accent-strong);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 40px;
  align-items: start;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.section-copy {
  position: sticky;
  top: 24px;
}

.section-copy p:not(.kicker) {
  max-width: 460px;
  font-size: 19px;
  line-height: 1.5;
}

.panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.panel.compact {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

label {
  display: grid;
  gap: 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--accent-strong);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 12px;
  color: var(--ink);
  background: var(--field);
}

textarea {
  resize: vertical;
}

.checks,
.wide,
.form-note,
.result {
  grid-column: 1 / -1;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(247, 243, 234, 0.62);
}

.checks label,
.inline {
  display: flex;
  align-items: center;
  gap: 9px;
}

.checks input,
.inline input {
  width: auto;
}

.form-note {
  min-height: 22px;
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
}

.result {
  padding: 18px;
  border-radius: 8px;
  color: #f8fff9;
  background: var(--accent-strong);
}

.result strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.result p {
  margin: 0;
  line-height: 1.45;
}

.result dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 0;
}

.result div {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.result dt {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.result dd {
  margin: 4px 0 0;
  font-size: 24px;
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 28px, 1120px);
    padding-top: 42px;
  }

  .hero {
    min-height: auto;
    padding: 52px 0;
  }

  h1 {
    font-size: 44px;
  }

  .lede {
    font-size: 19px;
  }

  .band {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 46px 0;
  }

  .section-copy {
    position: static;
  }

  .panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .checks,
  .result dl {
    grid-template-columns: 1fr;
  }
}

