:root {
  color-scheme: light;
  --background: #f4efe4;
  --foreground: #3d342c;
  --card: #fbf7f0;
  --muted: #6d6256;
  --line: #e2d5c3;
  --primary: #1f6f5b;
  --primary-ink: #f7fffb;
  --secondary: #efe4d4;
  --danger: #8a3b24;
  --danger-bg: #f8ebe6;
  --ok-bg: #e7f3ee;
  --shadow: 0 1px 0 rgb(61 52 44 / 4%);
  --focus: #0f4f40;
  font-family: "Segoe UI", ui-sans-serif, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--foreground);
  background:
    radial-gradient(900px 420px at -10% -20%, rgb(120 176 160 / 35%), transparent 55%),
    linear-gradient(180deg, #fbf7f0, #f0e6d6);
  line-height: 1.55;
}

a { color: var(--primary); }
a:hover { color: var(--focus); }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  background: var(--primary);
  color: var(--primary-ink);
  padding: 0.4rem 0.7rem;
  border-radius: 0.5rem;
}
.skip:focus { top: 0.75rem; }

.banner {
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--danger);
  color: #fff8f3;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  justify-content: space-between;
  align-items: center;
  width: min(72rem, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 0.85rem 0;
}
.brand {
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-weight: 560;
  color: inherit;
  text-decoration: none;
  font-size: 1.15rem;
}
.brand small {
  display: block;
  font-family: "Segoe UI", ui-sans-serif, sans-serif;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem 0.75rem; }
.nav-links a {
  color: inherit;
  text-decoration: none;
  min-height: 2.4rem;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 0.6rem;
  font-weight: 600;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--secondary); }
.nav-links a.cta-link {
  background: var(--primary);
  color: var(--primary-ink);
}
.nav-links a.cta-link:hover { background: var(--focus); color: var(--primary-ink); }

.wrap {
  width: min(72rem, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

h1, h2, h3 { font-family: Georgia, "Iowan Old Style", Palatino, serif; font-weight: 560; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(1.7rem, 3.5vw, 2.35rem); margin: 0 0 0.6rem; }
h2 { font-size: 1.45rem; margin: 0 0 0.5rem; }
h3 { font-size: 1.08rem; margin: 0 0 0.35rem; }

.lede, .muted, .note { color: var(--muted); }
.lede { margin: 0 0 1.1rem; font-size: 1.08rem; max-width: 42rem; }
.note { font-size: 0.92rem; }

.hero { padding: 1.2rem 0 1.6rem; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

.btn, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  background: var(--primary);
  color: var(--primary-ink);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover, button:hover, input[type="submit"]:hover { background: var(--focus); color: var(--primary-ink); }
.btn.secondary, button.secondary {
  background: transparent;
  color: var(--foreground);
  border-color: var(--line);
}
.btn.secondary:hover, button.secondary:hover { background: var(--secondary); color: var(--foreground); }
button:disabled { opacity: 0.55; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.05rem 1.1rem 1.15rem;
}
.card ol, .card ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.card li { margin: 0.4rem 0; }

.price {
  margin: 0.7rem 0 0;
  font-weight: 700;
}
.price-placeholder {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--secondary);
  font-size: 0.82rem;
  font-weight: 650;
}

.callout {
  border-color: #d8c7a8;
  background: #fff8ee;
}
.alert { border-color: #e7c2b6; background: #fff8f5; }
.ok { border-color: #b7d7cc; background: var(--ok-bg); }

.section { margin: 2rem 0; }
.investment {
  font-weight: 600;
  margin: 1rem 0 0;
}

label, .label { display: block; margin: 0.85rem 0 0; font-size: 0.95rem; font-weight: 650; }
label span, .hint { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.82rem; font-weight: 450; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="file"], select, textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: white;
  color: inherit;
  font: inherit;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select {
  min-height: 2.6rem;
}
textarea { min-height: 7rem; resize: vertical; }
.choice {
  display: block;
  margin: 0.55rem 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: white;
  font-weight: 550;
  cursor: pointer;
}
.choice input { margin-right: 0.5rem; accent-color: var(--primary); }
.choice:has(input:checked) { border-color: var(--primary); background: var(--ok-bg); }
.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 550;
  margin-top: 0.9rem;
}
.check input { margin-top: 0.25rem; accent-color: var(--primary); width: auto; }

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

.wizard-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
}
.wizard-progress li[aria-current="step"] { color: var(--foreground); font-weight: 700; }

.tech { margin-top: 1rem; }
.tech > summary { cursor: pointer; font-weight: 650; }
pre.plan {
  max-height: 22rem;
  overflow: auto;
  margin: 0.6rem 0 0;
  padding: 0.8rem;
  border-radius: 0.7rem;
  background: #241e1a;
  color: #f6efe6;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.errors { color: var(--danger); font-weight: 650; margin: 0.6rem 0 0; }
.errors:empty { display: none; }

table.leads {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.leads th, table.leads td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.45rem;
  border-bottom: 1px solid var(--line);
  word-break: break-word;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 640px) {
  .site-nav { align-items: flex-start; }
  .nav-links { width: 100%; }
  .nav-links a { flex: 1 1 auto; justify-content: center; }
}

.inline-form { display: inline; }

.video-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  margin: 1rem 0 0;
}
.video-card {
  margin: 0;
  max-width: 320px;
  width: 100%;
  flex: 1 1 240px;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #241e1a;
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card figcaption { margin-top: 0.55rem; }
.video-title {
  margin: 0 0 0.25rem;
  font-weight: 650;
  line-height: 1.3;
}
.video-card figcaption p { margin: 0; }
.template-video { margin: 1rem 0 0; }
.setup-with-videos {
  display: grid;
  gap: 1.25rem;
  margin: 1.1rem 0 0;
}
.setup-videos h2 { margin-top: 0; }
@media (min-width: 1100px) {
  .setup-with-videos {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
  .setup-videos .video-row {
    flex-wrap: nowrap;
  }
  .setup-videos .video-card {
    flex: 0 0 320px;
    width: 320px;
  }
}
