/* WebFlip Media — North Carolina.
 *
 * Read by a contractor who was cold-called ninety seconds ago, usually on a
 * phone, often outside. So: high contrast, big tap targets, no carousels, no
 * hero video, nothing that needs explaining.
 *
 * The design job is credibility, not decoration. What makes a small agency site
 * look fake is uniformity — four identical cards, four identical icons, copy
 * that could belong to anyone. So the sections here deliberately differ in
 * shape: a ledger, a table, a two-column argument, a list of who we turn away.
 *
 * No build step and no dependencies beyond one webfont. A site that needs npm
 * to change a phone number is a site whose phone number goes stale.
 */

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  --ink: #101318;
  --ink-2: #444c59;
  --ink-3: #737d8c;
  --line: #e3e7ed;
  --line-strong: #cfd6e0;
  --paper: #ffffff;
  --paper-2: #f6f8fa;
  --night: #101318;
  --night-2: #1a1f27;

  --accent: #1d4ed8;
  --accent-ink: #12358f;
  --accent-wash: #eff4ff;
  --ok: #12805c;
  --warn: #b4530a;
  --bad: #b42318;

  --maxw: 1140px;
  --r: 12px;
  --shadow: 0 18px 40px -22px rgba(16, 19, 24, 0.35);
  --shadow-sm: 0 1px 2px rgba(16, 19, 24, 0.06);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.028em; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 650; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── Layout ──────────────────────────────────────────────────────────────── */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.narrow { max-width: 44rem; }
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.tint { background: var(--paper-2); border-block: 1px solid var(--line); }

/* Section headers carry a number. Numbering is the cheapest signal that a page
   was laid out by someone rather than assembled from a template. */
.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: attr(data-n);
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0;
  color: var(--accent);
}
.kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 4rem;
}
h2.head {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.8vw, 2.7rem);
  max-width: 22ch;
}
.sub { color: var(--ink-2); font-size: 1.05rem; margin-top: 0.95rem; max-width: 52ch; }
.section-top { margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.97rem;
  padding: 0.9rem 1.4rem; border-radius: 10px;
  text-decoration: none; border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn-line { border-color: var(--line-strong); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--ink-3); }
.btn-lg { padding: 1.05rem 1.75rem; font-size: 1.02rem; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 700; letter-spacing: -0.03em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--night); color: #fff;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px;
}
.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 0.92rem; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.head-actions { display: flex; align-items: center; gap: 0.85rem; }
.head-phone { font-weight: 650; font-size: 0.93rem; text-decoration: none; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .nav { display: none; }
  .head-actions { margin-left: auto; }
}
@media (max-width: 460px) { .head-phone { display: none; } }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 950px) { .hero-grid { grid-template-columns: 1fr; } }

.flag {
  display: inline-flex; align-items: center; gap: 0.55rem;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 0.4rem 0.9rem; font-size: 0.82rem; color: var(--ink-2);
  box-shadow: var(--shadow-sm); margin-bottom: 1.5rem;
}
.flag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.2rem, 5.4vw, 3.75rem);
  letter-spacing: -0.035em;
}
h1 .em { color: var(--accent); }
.lede { font-size: clamp(1.03rem, 1.8vw, 1.16rem); color: var(--ink-2); margin-top: 1.3rem; max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; }
.hero-fine { margin-top: 1.1rem; font-size: 0.87rem; color: var(--ink-3); }

/* The ledger. Not a stock photo: it is the problem, itemised. */
.ledger { border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.ledger-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 1.05rem; border-bottom: 1px solid var(--line);
  background: var(--paper-2); font-size: 0.78rem; font-weight: 650; color: var(--ink-2);
  letter-spacing: 0.02em;
}
.ledger-row { display: flex; align-items: center; gap: 0.8rem; padding: 0.72rem 1.05rem; border-bottom: 1px solid #f1f3f6; }
.ledger-row:last-of-type { border-bottom: 0; }
.ledger-ic {
  width: 28px; height: 28px; border-radius: 8px; flex: 0 0 auto; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; background: #fdecea; color: var(--bad);
}
.ledger-row.win .ledger-ic { background: #e6f5ef; color: var(--ok); }
.ledger-body { flex: 1; min-width: 0; }
.ledger-body b { display: block; font-size: 0.88rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.ledger-body span { font-size: 0.78rem; color: var(--ink-3); }
.ledger-tag { font-size: 0.74rem; font-weight: 700; color: var(--bad); }
.ledger-row.win .ledger-tag { color: var(--ok); }
.ledger-foot { padding: 0.85rem 1.05rem; border-top: 1px solid var(--line); background: var(--paper-2); font-size: 0.82rem; color: var(--ink-2); }

/* ── Two-column argument ─────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.reasons { display: grid; gap: 1.5rem; }
.reason { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.reason-n {
  font-family: var(--display); font-size: 0.95rem; font-weight: 600; color: var(--accent);
  border: 1px solid var(--line); border-radius: 8px; width: 34px; height: 34px;
  display: grid; place-items: center; background: #fff;
}
.reason h3 { font-size: 1.06rem; font-weight: 650; margin-bottom: 0.3rem; }
.reason p { color: var(--ink-2); font-size: 0.96rem; margin: 0; }

/* ── Services ────────────────────────────────────────────────────────────── */
.svc { display: grid; gap: 1rem; }
.svc-item {
  display: grid; grid-template-columns: 3.2rem 1fr 1.05fr; gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3vw, 2rem) 0; border-top: 1px solid var(--line);
  align-items: start;
}
.svc-item:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 820px) { .svc-item { grid-template-columns: 1fr; gap: 0.9rem; } }
.svc-n { font-family: var(--display); font-size: 1.05rem; font-weight: 600; color: var(--accent); padding-top: 0.15rem; }
.svc h3 { font-size: 1.22rem; font-weight: 650; margin-bottom: 0.45rem; }
.svc-lead { color: var(--ink-2); font-size: 0.99rem; margin: 0; }
.svc-list { display: grid; gap: 0.42rem; }
.svc-list li { position: relative; padding-left: 1.35rem; font-size: 0.93rem; color: var(--ink-2); }
.svc-list li::before {
  content: ""; position: absolute; left: 0; top: 0.58em;
  width: 6px; height: 6px; border-radius: 2px; background: var(--accent);
}

/* ── Comparison table ────────────────────────────────────────────────────── */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 0.94rem; }
table.cmp th, table.cmp td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
table.cmp thead th.us { color: var(--accent); }
table.cmp tbody th { font-weight: 600; color: var(--ink); width: 30%; }
table.cmp td { color: var(--ink-2); }
table.cmp td.us { background: var(--accent-wash); color: var(--ink); font-weight: 550; }

/* ── Fit / not fit ───────────────────────────────────────────────────────── */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 780px) { .fit { grid-template-columns: 1fr; } }
.fit-card { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 1.9rem); background: #fff; }
.fit-card.no { background: var(--paper-2); }
.fit-card h3 { font-size: 1.05rem; margin-bottom: 0.9rem; }
.fit-card li { display: flex; gap: 0.65rem; font-size: 0.95rem; color: var(--ink-2); margin-bottom: 0.6rem; }
.mark { flex: 0 0 auto; font-weight: 700; }
.mark.y { color: var(--ok); }
.mark.n { color: var(--ink-3); }

/* ── Steps ───────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.step-k { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.step h3 { font-size: 1.1rem; margin: 0.45rem 0 0.5rem; }
.step p { color: var(--ink-2); font-size: 0.94rem; margin: 0; }

/* ── Dark band ───────────────────────────────────────────────────────────── */
.band { background: var(--night); color: #fff; }
.band h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 20ch; }
.band p { color: #a4adbb; margin-top: 1rem; }
.band-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 880px) { .band-grid { grid-template-columns: 1fr; } }
.band .btn-line { background: transparent; border-color: #2f3742; color: #fff; }
.band .btn-line:hover { border-color: #6b7280; }
.band-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.promise { display: grid; gap: 0.85rem; }
.promise li { display: flex; gap: 0.7rem; color: #ccd3de; font-size: 0.96rem; }
.promise .tick { color: #34d399; flex: 0 0 auto; font-weight: 700; }

/* ── Area ────────────────────────────────────────────────────────────────── */
.towns { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.4rem; }
.town { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.86rem; color: var(--ink-2); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 0.7rem; max-width: 46rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); padding: 1.05rem 1.25rem; background: #fff; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 620; font-size: 0.99rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { color: var(--ink-2); font-size: 0.95rem; margin: 0.8rem 0 0; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--paper-2); padding: 3rem 0 2.25rem; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.foot-contact { display: grid; gap: 0.3rem; font-size: 0.93rem; color: var(--ink-2); margin-top: 0.8rem; }
.foot-contact a { text-decoration: none; }
.foot-contact a:hover { text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.1rem; font-size: 0.9rem; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-legal { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--ink-3); }

/* Sticky call bar on phones. The visitor is holding a phone and was called
   ninety seconds ago; making them scroll to find the number is a lost job. */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; gap: 0.6rem; padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.callbar .btn { flex: 1; padding: 0.85rem 1rem; }
@media (max-width: 700px) {
  .callbar { display: flex; }
  body { padding-bottom: 4.6rem; }
}

/* ── Legal pages ─────────────────────────────────────────────────────────── */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 5rem; }
.legal .wrap { max-width: 45rem; }
.legal h1 { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 4.5vw, 2.6rem); }
.legal .updated { color: var(--ink-3); font-size: 0.89rem; margin: 0.6rem 0 2.4rem; }
.legal h2 { font-size: 1.25rem; margin: 2.2rem 0 0.65rem; }
.legal h3 { font-size: 1rem; margin: 1.5rem 0 0.35rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { list-style: disc; margin: 0.5rem 0 1.1rem 1.25rem; display: grid; gap: 0.35rem; }
.legal a { color: var(--accent); }
.callout { border: 1px solid #d5e0fb; background: var(--accent-wash); border-radius: var(--r); padding: 1.05rem 1.25rem; margin: 1.4rem 0; }
.callout p:last-child { margin-bottom: 0; }
