:root {
  --bg: #f3efe4;
  --text: #1c2118;
  --muted: #3d4638;
  --accent: #7a2e14;
  --on-accent: #fffaf3;
  --rule: #c9c0b0;
  --focus: #0c4a6e;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", sans-serif;
  color-scheme: light;
}

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

html { background: var(--bg); }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }

h1 { font-size: clamp(2.35rem, 6.4vw, 4.35rem); margin-bottom: 0.75rem; }

h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); margin-bottom: 0.7rem; }

h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }

p { margin-bottom: 0.85rem; }

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

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

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

:focus:not(:focus-visible) { outline: none; }

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-160%);
  background: var(--bg);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  z-index: 30;
}

.skip:focus { transform: none; }

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

.mast-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.25rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--text);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.wordmark:hover span { text-decoration: underline; }

.mark { display: block; }

.nav, .foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
}

.nav a, .foot nav a {
  color: inherit;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.nav a:hover, .foot nav a:hover { text-decoration: underline; }

.nav a[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 700; }

.hero {
  display: grid;
  gap: 1.5rem;
  padding: 1.6rem 0 0.4rem;
}

.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.lede { font-size: 1.15rem; max-width: 40rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 1rem 0; }

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  border: 2px solid var(--text);
}

.button-quiet { background: transparent; color: var(--text); }

.button:hover, .button-quiet:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.ticket {
  position: relative;
  border: 2px solid var(--text);
  padding: 1rem 1rem 0.4rem 1.4rem;
}

.ticket::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.7rem;
  background: radial-gradient(circle at 0 0.55rem, transparent 0.28rem, var(--text) 0.31rem) 0 0 / 0.7rem 1.1rem repeat-y;
}

.ticket-kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0;
}

.ticket-price {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 10vw, 4.6rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin: 0.15rem 0;
}

.currency { font-size: 0.5em; vertical-align: super; }

.ticket-per { color: var(--muted); margin-top: 0; }

.block { padding: 1.6rem 0; }

.reasons, .own { list-style: none; padding: 0; }

.reasons li, .own li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule);
}

.reasons li:last-child, .own li:last-child { border-bottom: 1px solid var(--rule); }

.num {
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  margin-right: 0.35rem;
}

.cms-note {
  border-left: 4px solid var(--accent);
  padding: 0.15rem 0 0.15rem 0.8rem;
  color: var(--text);
  max-width: 42rem;
}

.demo-list { margin-top: 0.6rem; }

.demo-row {
  display: grid;
  grid-template-columns: 0.7rem 1fr;
  gap: 0.85rem;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--rule);
  padding: 0.95rem 0;
  min-height: 44px;
}

.demo-list .demo-row:last-child { border-bottom: 1px solid var(--rule); }

.demo-row:hover .demo-name, .demo-row:focus-visible .demo-name { text-decoration: underline; }

.swatch { display: block; min-height: 100%; }

.swatch-plumber { background: #0a3e44; }
.swatch-hvac { background: #0e4a5c; }
.swatch-electrician { background: #f0c14a; }
.swatch-roofer { background: #5c241c; }

.demo-trade {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.demo-name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
  color: var(--text);
}

.demo-city { display: block; color: var(--muted); margin-top: 0.2rem; }

.own { display: grid; gap: 0; }

.page-head { padding: 1.5rem 0 0.4rem; max-width: 44rem; }

.steps { list-style: none; padding: 0 0 1rem; counter-reset: step; }

.steps > li {
  counter-increment: step;
  padding: 1rem 0 0.3rem;
  border-top: 1px solid var(--text);
}

.steps > li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.closing { max-width: 40rem; }

.offer-block { padding-bottom: 0.5rem; }

.includes { padding-left: 1.15rem; max-width: 40rem; }

.includes li { margin: 0.35rem 0; }

.faq article {
  padding: 0.85rem 0;
  border-top: 1px solid var(--rule);
}

.pending {
  margin: 1.2rem auto 2rem;
  border: 3px solid var(--accent);
  padding: 1rem 1rem 0.4rem;
  background: #f7f1e4;
}

.contact-form { max-width: 36rem; padding-bottom: 2rem; }

.field { margin-bottom: 0.85rem; }

label { display: block; font-weight: 700; margin-bottom: 0.3rem; }

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

input, textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.7rem;
  border: 2px solid var(--text);
  border-radius: 0;
  background: var(--bg);
}

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

button {
  min-height: 44px;
  padding: 0.65rem 1rem;
  background: var(--text);
  color: var(--bg);
  border: 2px solid var(--text);
  cursor: pointer;
}

button:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.field-error {
  color: var(--accent);
  min-height: 1.2em;
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
}

.email-line { font-size: 1.2rem; overflow-wrap: anywhere; }

.missing { padding: 0 0 2rem 1.2rem; }

.missing li { margin: 0.35rem 0; }

.foot {
  border-top: 1px solid var(--text);
  padding: 1.2rem 0 2.2rem;
  margin-top: 1rem;
}

.foot p { color: var(--muted); max-width: 40rem; }

@media (min-width: 52rem) {
  .hero { grid-template-columns: 1.45fr 0.8fr; align-items: end; gap: 2rem; padding-top: 2.2rem; }
  .own { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .own li { border-top: 0; padding-top: 0; }
  .own li:last-child { border-bottom: 0; }
  .reasons { max-width: 46rem; }
}
