/* County Wide Web — HQ marketing site
   Letterpress / local print-shop aesthetic — distinct from demo skins */

:root {
  --ink: #1c1917;
  --ink-soft: #3f3a34;
  --muted: #6b645c;
  --paper: #faf7f2;
  --paper-2: #f0ebe3;
  --paper-3: #e5ddd2;
  --white: #ffffff;
  --brick: #9a3412;
  --brick-dark: #7c2d12;
  --brick-light: #f3e4dc;
  --prairie: #3f5d4a;
  --prairie-dark: #2f4638;
  --prairie-light: #e6eee9;
  --copper: #b87333;
  --line: rgba(28, 25, 23, 0.12);
  --shadow: 0 8px 24px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 18px 48px rgba(28, 25, 23, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1080px;
  --header-h: 68px;
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.05rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brick); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brick-dark); }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
}
p + p { margin-top: 0.9rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 2000;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

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

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}
.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
}
.brand-tag {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle:focus-visible { outline: 2px solid var(--brick); outline-offset: 2px; }
.nav-toggle-bars {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brick);
  border-bottom-color: var(--brick);
}
.nav-cta {
  background: var(--prairie);
  color: #fff !important;
  border-bottom: none !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 999px;
  font-size: 0.9rem !important;
}
.nav-cta:hover {
  background: var(--prairie-dark);
  color: #fff !important;
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.65rem 0.4rem; border-bottom: none; }
  .nav-cta { text-align: center; margin-top: 0.35rem; }
}

main { flex: 1; }

/* Hero */
.hero {
  padding: 3.25rem 0 2.75rem;
  background:
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 280px;
  background: radial-gradient(closest-side, var(--brick-light), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; }
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prairie);
  margin-bottom: 0.85rem;
}
.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  margin-bottom: 1rem;
  max-width: 18ch;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.35rem 1.4rem;
  position: relative;
}
.hero-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.hero-card ol {
  list-style: none;
  counter-reset: steps;
  display: grid;
  gap: 0.85rem;
}
.hero-card li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.hero-card li::before {
  content: counter(steps);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--prairie-light);
  color: var(--prairie-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
.btn-primary {
  background: var(--brick);
  color: #fff;
  border-color: var(--brick);
}
.btn-primary:hover { background: var(--brick-dark); border-color: var(--brick-dark); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--paper-3);
}
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-prairie {
  background: var(--prairie);
  color: #fff;
  border-color: var(--prairie);
}
.btn-prairie:hover { background: var(--prairie-dark); border-color: var(--prairie-dark); color: #fff; }

/* Sections */
.section { padding: 3.25rem 0; }
.section-tight { padding: 2.25rem 0; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}
.section-head h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-bottom: 0.65rem; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--prairie-light);
  color: var(--prairie-dark);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Pricing cards */
.price-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 800px) {
  .price-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.6rem 1.45rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--prairie);
  box-shadow: var(--shadow-lg);
}
.price-badge {
  position: absolute;
  top: -0.7rem;
  left: 1.25rem;
  background: var(--prairie);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.price-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.price-amount {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--ink);
  margin: 0.4rem 0 0.25rem;
  line-height: 1.1;
}
.price-amount span {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}
.price-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}
.price-list {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  flex: 1;
}
.price-list li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.price-list li::before {
  content: "✓";
  color: var(--prairie);
  font-weight: 700;
}
.price-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.85rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: flow;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  counter-increment: flow;
  position: relative;
}
.step::before {
  content: "0" counter(flow);
  display: block;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--copper);
  font-weight: 700;
  margin-bottom: 0.55rem;
  letter-spacing: 0.04em;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* About / prose */
.prose { max-width: 42rem; }
.prose h2 { margin: 1.75rem 0 0.7rem; font-size: 1.45rem; }
.prose p { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 700; }

.about-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.about-panel h3 { margin-bottom: 0.6rem; }
.about-meta {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

/* Contact form */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}
label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--paper-3);
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--prairie);
  outline-offset: 1px;
  border-color: var(--prairie);
  background: var(--white);
}
textarea { min-height: 140px; resize: vertical; }
.form-actions { margin-top: 0.35rem; }
.form-hint {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.85rem;
}
.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* Go / checkout stub */
.go-banner {
  background: var(--prairie-light);
  border: 1px solid rgba(63, 93, 74, 0.25);
  color: var(--prairie-dark);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.go-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.go-summary dl {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.go-summary dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
.go-summary dd {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.15rem;
}
.plan-choice {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
}
.plan-option {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
  background: var(--paper);
}
.plan-option:has(input:checked) {
  border-color: var(--prairie);
  background: var(--prairie-light);
}
.plan-option input { margin-top: 0.2rem; width: auto; }
.plan-option strong { display: block; color: var(--ink); }
.plan-option span { color: var(--muted); font-size: 0.9rem; }
.stripe-stub {
  background: var(--paper-2);
  border: 1px dashed var(--paper-3);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  background: var(--ink);
  color: #f5f0e8;
  padding: 2.75rem 0;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 0.6rem;
}
.cta-band p {
  color: rgba(245, 240, 232, 0.82);
  max-width: 38rem;
  margin-bottom: 1.25rem;
}
.cta-band .btn-primary {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}
.cta-band .btn-primary:hover {
  background: #a4652c;
  border-color: #a4652c;
  color: #fff;
}

/* Page hero (inner) */
.page-hero {
  padding: 2.5rem 0 1.75rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  margin-bottom: 0.55rem;
}
.page-hero p {
  color: var(--ink-soft);
  max-width: 42rem;
  font-size: 1.08rem;
}

/* Footer */
.site-footer {
  background: #151311;
  color: rgba(245, 240, 232, 0.78);
  padding: 2.25rem 0 1.75rem;
  margin-top: auto;
  font-size: 0.95rem;
}
.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
  }
}
.footer-brand {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}
.site-footer a {
  color: rgba(245, 240, 232, 0.9);
  text-decoration: none;
}
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-nav {
  display: grid;
  gap: 0.4rem;
}
.footer-nav strong {
  color: #fff;
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-bottom {
  width: min(100% - 2rem, var(--max));
  margin: 1.5rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.88rem;
  color: rgba(245, 240, 232, 0.55);
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.mt-1 { margin-top: 1rem; }
.center { text-align: center; }
.fine-print {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 46rem;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
}


/* === Checkout (full) === */
.checkout-section { padding-top: 1.75rem; }
.checkout-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1.35fr 0.9fr;
    gap: 2rem;
  }
}
.checkout-card { padding: 1.6rem 1.5rem 1.75rem; }
.checkout-card-title {
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}
.checkout-fieldset {
  border: 0;
  padding: 0;
  margin: 1.35rem 0 0.5rem;
}
.checkout-fieldset legend {
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
}
.optional {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.85rem;
}
input.is-readonly,
input[readonly] {
  background: var(--paper-2);
  color: var(--ink-soft);
  cursor: default;
}
.domain-block { margin-top: 0.35rem; }
.domain-note { margin-top: 0.45rem; margin-bottom: 0.35rem; }
.domain-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.domain-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--prairie-dark);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.domain-chip:hover {
  background: var(--prairie-light);
  border-color: var(--prairie);
  color: var(--prairie-dark);
}
.domain-chip:focus {
  outline: 2px solid var(--prairie);
  outline-offset: 2px;
}
.form-error {
  background: #fde8e4;
  border: 1px solid rgba(154, 52, 18, 0.35);
  color: var(--brick-dark);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  margin-top: 1rem;
}
.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.checkout-actions .btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}
.checkout-summary { position: relative; }
.summary-panel {
  background: #1c1917;
  color: #f5f0e8;
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 900px) {
  .summary-panel {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}
.summary-panel h2 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.summary-panel dl {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}
.summary-panel dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(245, 240, 232, 0.55);
  font-weight: 700;
}
.summary-panel dd {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.15rem;
  word-break: break-word;
}
.summary-totals {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1rem;
  display: grid;
  gap: 0.55rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 1rem;
}
.summary-row strong {
  font-size: 1.2rem;
  color: #fff;
  font-family: var(--font-serif);
}
.summary-then {
  color: rgba(245, 240, 232, 0.75);
  font-size: 0.95rem;
}
.summary-then strong {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #e6eee9;
}
.summary-note {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(245, 240, 232, 0.55);
}
.checkout-result p { color: var(--ink-soft); }
