:root {
  --paper: #f6f3ec;
  --ink: #1c1916;
  --muted: #5e584f;
  --line: #e3dcd0;
  --green: #0f6b52;
  --green-dark: #0b5340;
  --card: #fffcf7;
  --warn: #8a3d12;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, #efe4cf 0%, transparent 60%),
    var(--paper);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

a { color: var(--green-dark); }

.wrap {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 8px;
}

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

.mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--green);
  color: white;
  display: grid;
  place-items: center;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
  font-size: 16px;
}

nav { display: flex; gap: 18px; }

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

nav a:hover { color: var(--ink); }

h1, h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 { font-size: clamp(42px, 6vw, 68px); margin: 18px 0 12px; }

h2 { font-size: 32px; margin: 0 0 10px; }

.lede {
  font-size: 21px;
  max-width: 38rem;
  color: var(--muted);
  margin: 0 0 28px;
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

button, .button {
  appearance: none;
  border: 0;
  background: var(--green);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}

button:hover, .button:hover { background: var(--green-dark); }

.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

section { padding: 28px 0 8px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card, .price {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 14px;
}

.card strong, .price strong { display: block; margin-bottom: 6px; }

.card p, .price p, .note { margin: 0; color: var(--muted); }

.price .amount {
  font-family: "Newsreader", Georgia, serif;
  font-size: 36px;
  color: var(--ink);
  margin: 8px 0;
}

.price.featured { border-color: var(--green); }

form {
  display: grid;
  gap: 12px;
  max-width: 440px;
  margin-top: 16px;
}

label { display: grid; gap: 6px; font-size: 15px; color: var(--muted); }

input, select {
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.banner {
  background: #e7f3ee;
  border: 1px solid #b7dccf;
  color: var(--green-dark);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0;
}

.error { color: var(--warn); min-height: 1.2em; margin: 0; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 15px;
  padding: 36px 0 48px;
}

.prose { max-width: 40rem; padding-bottom: 48px; }

.prose h1 { font-size: 46px; }

.prose h2 { font-size: 26px; margin-top: 28px; }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  h1 { font-size: 40px; }
}
