:root {
  color-scheme: light;
  --bg: #f6f4ef;
  --raised: #fffcf8;
  --ink: #1c1915;
  --muted: #5c564c;
  --line: #e3ddd2;
  --accent: #0e4d3c;
  --accent-ink: #f6f4ef;
  --danger: #8d2c2c;
  --ok: #0e4d3c;
  --focus: #0e4d3c;
  --sans: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --measure: 40rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.4rem 0.7rem;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-150%);
  z-index: 2;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--measure), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: inherit;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.header-nav a:not(.button) {
  color: var(--ink);
  font-weight: 600;
}

h1,
h2,
legend {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.4vw, 2.5rem);
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

p,
ul,
ol {
  margin: 0;
}

p + p,
ul + p,
p + ul,
ol + p {
  margin-top: 0.85rem;
}

a {
  color: var(--accent);
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.dek {
  font-size: 1.125rem;
}

.muted,
.hint {
  color: var(--muted);
}

.hint {
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

.hero {
  padding: 2.75rem 0 2.25rem;
}

section {
  padding: 1.85rem 0;
  border-top: 1px solid var(--line);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

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

.button-primary:hover {
  background: #0b3f31;
}

.button-secondary:hover,
.header-nav a:not(.button):hover {
  background: rgba(14, 77, 60, 0.06);
}

.button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.prose-list,
.price-list {
  padding-left: 1.2rem;
}

.prose-list li + li,
.price-list li + li {
  margin-top: 0.5rem;
}

.price-list strong {
  font-variant-numeric: tabular-nums;
}

.steps {
  padding-left: 1.3rem;
}

.steps li + li {
  margin-top: 0.55rem;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.fields {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-top: 1.15rem;
  padding-left: 0;
  list-style: none;
  counter-reset: field;
}

.fields > li {
  position: relative;
  padding-left: 1.7rem;
  counter-increment: field;
}

.fields > li::before {
  content: counter(field) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.fields > li > label {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

legend {
  float: none;
  width: 100%;
  margin-bottom: 0.4rem;
  padding: 0;
  font-size: 1.05rem;
}

.sublabel {
  display: block;
  margin: 0.65rem 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="date"],
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #cfc8bb;
  border-radius: 6px;
  background: var(--raised);
  color: inherit;
  font: inherit;
  font-size: 1rem;
}

textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.35rem;
  padding: 0.2rem 0;
  font-weight: 450;
}

.choice input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.form-actions {
  margin-top: 1.25rem;
}

.form-status {
  min-height: 1.4em;
  margin-top: 0.85rem;
  font-weight: 600;
}

.form-status[data-state="success"] {
  color: var(--ok);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p + p {
  margin-top: 0.35rem;
}

.site-footer a {
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.legal h1 {
  margin-bottom: 1rem;
}

.legal h2 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

.legal p + p {
  margin-top: 0.75rem;
}

.legal ul {
  margin-top: 0.75rem;
  padding-left: 1.2rem;
}

.legal li + li {
  margin-top: 0.4rem;
}
