/* Layout idea: Charleston-green ink on a haint-blue hero band; one bold color moment up top, quiet typographic rows below. */
:root {
  --ink: #1c2a23;          /* Charleston green: near-black green of downtown shutters */
  --ink-soft: #3e4d45;
  --haint: #bfe0d9;        /* haint blue: Lowcountry porch-ceiling color */
  --haint-deep: #2c6a63;
  --paper: #f6f8f6;
  --line: #d5ddd8;
  --white: #ffffff;
  --display: "Young Serif", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--haint-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--haint-deep); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.prose { max-width: 68ch; display: grid; gap: 1rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1rem; }

/* Header */
.site-header { background: var(--haint); border-bottom: 1px solid rgba(28, 42, 35, 0.12); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand-name { font-family: var(--display); font-size: 1.4rem; }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; }
.nav .call { background: var(--ink); color: var(--haint); padding: 9px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.nav .call:hover { background: var(--haint-deep); color: var(--white); text-decoration: none; }

/* Hero */
.hero { background: var(--haint); padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.hero-copy { display: grid; gap: 22px; padding-top: 8px; }
.hero-lead { font-size: 1.2rem; max-width: 36ch; color: var(--ink-soft); }
.promise { display: flex; flex-wrap: wrap; gap: 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.promise span { flex: 1 1 140px; padding: 12px 14px 12px 0; font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }
.promise span + span { padding-left: 14px; border-left: 1px solid rgba(28, 42, 35, 0.3); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn { display: inline-block; font: inherit; font-weight: 700; border: 0; cursor: pointer; text-decoration: none; padding: 14px 24px; border-radius: 6px; background: var(--ink); color: var(--haint); }
.btn:hover { background: var(--haint-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--haint); }

/* Form card */
.card { background: var(--white); border-radius: 10px; padding: 28px; box-shadow: 0 18px 40px -24px rgba(28, 42, 35, 0.45); }
.card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.card .note { font-size: 0.88rem; color: var(--ink-soft); }
form { display: grid; gap: 14px; margin-top: 16px; }
.field { display: grid; gap: 5px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--haint-deep); outline-offset: 0; border-color: var(--haint-deep); background: var(--white); }
.form-status { font-size: 0.95rem; font-weight: 600; color: var(--haint-deep); min-height: 1.2em; }
.fineprint { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.consent input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--haint-deep); }
.consent label { font-size: 0.9rem; line-height: 1.55; }
.consent strong { display: block; font-size: 1rem; margin-bottom: 4px; }

/* Sections */
section.block { padding: 80px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; max-width: 60ch; margin-bottom: 40px; }
.kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--haint-deep); }

.situations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.situation { display: grid; align-content: start; grid-template-columns: 3rem 1fr; gap: 6px 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.situation .num { font-family: var(--display); font-size: 1.6rem; color: var(--haint-deep); line-height: 1.1; grid-row: span 2; }
.situation p { color: var(--ink-soft); }
.situation.wide { grid-column: 1 / -1; }

/* Time band */
.time-band { background: var(--ink); color: var(--paper); padding: 80px 0; }
.time-band h2 { color: var(--haint); }
.time-band .kicker { color: var(--haint); }
.time-band .lead { color: #d6e2dc; max-width: 58ch; font-size: 1.15rem; }
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 28px 28px 0 0; border-top: 2px solid var(--haint); display: grid; gap: 8px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: -17px; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--haint); color: var(--ink); font-weight: 800; display: grid; place-items: center; font-size: 0.95rem; }
.steps h3 { color: var(--white); }
.steps p { color: #c9d6cf; }

/* Compare */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 1rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
tbody th { font-weight: 600; }
td.us { background: rgba(191, 224, 217, 0.45); font-weight: 600; }

/* CTA */
.cta { background: var(--haint); padding: 64px 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

/* Page head for inner pages */
.page-head { background: var(--haint); padding: 48px 0 56px; }
.page-head .wrap { display: grid; gap: 14px; }
.page-head p { max-width: 58ch; color: var(--ink-soft); font-size: 1.12rem; }
.effective { font-size: 0.95rem; color: var(--ink-soft); }

.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { display: grid; gap: 18px; }
.contact-list div { display: grid; gap: 2px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--haint-deep); }
.contact-list dd { margin: 0; font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d6cf; padding: 48px 0 32px; font-size: 0.95rem; }
.site-footer .wrap { display: grid; gap: 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { font-family: var(--display); font-size: 1.3rem; color: var(--haint); }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer a { color: var(--haint); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom { border-top: 1px solid rgba(191, 224, 217, 0.25); padding-top: 20px; font-size: 0.85rem; color: #9fb1a8; }

.placeholder { background: #fff3c4; color: #5b4500; padding: 0 4px; border-radius: 3px; }

@media (max-width: 860px) {
  .hero .wrap, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .situations { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  section.block { padding: 56px 0; }
  .time-band { padding: 56px 0; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .card { padding: 20px; }
  .nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
