/* Local Listing Lab: styles.css (no frameworks, system fonts) */
:root {
  --teal: #0E7C7B;
  --teal-dark: #0A5E5D;
  --teal-tint: #EEF6F6;
  --charcoal: #2B2B2B;
  --muted: #4A4A4A;
  --coral: #FF6B4A;
  --coral-hover: #FF8566;
  --line: #D6E4E4;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 20px rgba(14,124,123,.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --header-h: 112px;
}
@media (min-width: 1000px) { :root { --header-h: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--charcoal); color: var(--white); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); outline-color: var(--coral); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(6px)) {
  .site-header { background: rgba(255,255,255,.9); backdrop-filter: blur(6px); }
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand . cta" "nav nav nav";
  align-items: center;
  column-gap: 16px;
  padding-top: 10px;
}
.brand { grid-area: brand; display: inline-block; line-height: 0; border-radius: 6px; }
.brand img { height: 40px; width: auto; }
.header-cta { grid-area: cta; }
.site-nav { grid-area: nav; margin: 6px -20px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0 14px 6px; white-space: nowrap; }
.site-nav a {
  display: block; padding: 8px 10px; border-radius: 8px;
  color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.site-nav a:hover { background: var(--teal-tint); color: var(--teal-dark); }
@media (min-width: 1000px) {
  .header-inner { grid-template-areas: "brand nav cta"; grid-template-columns: auto 1fr auto; padding: 14px 20px; }
  .brand img { height: 52px; }
  .site-nav { margin: 0; overflow: visible; }
  .site-nav ul { justify-content: center; padding: 0; gap: 2px; }
  .site-nav a { padding: 8px 9px; font-size: .95rem; }
}

/* Buttons */
.btn {
  display: inline-block; text-align: center; text-decoration: none; font-weight: 700;
  font-size: 1.05rem; line-height: 1.3; padding: 14px 24px; border-radius: 999px;
  border: 2px solid transparent; transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--coral); color: var(--charcoal); border-color: var(--coral); }
.btn-primary:hover { background: var(--coral-hover); border-color: var(--coral-hover); color: var(--charcoal); }
.btn-secondary { background: var(--white); color: var(--teal); border-color: var(--teal); }
.btn-secondary:hover { background: var(--teal-tint); color: var(--teal-dark); border-color: var(--teal-dark); }
.btn:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 3px; }
.btn-sm { padding: 9px 16px; font-size: .95rem; }
.btn-lg { padding: 17px 30px; font-size: 1.12rem; }
.btn-block { display: block; width: 100%; }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }

.helper { font-size: .95rem; color: var(--muted); margin: 10px 0 0; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--teal-tint) 0%, var(--white) 100%); padding: 40px 0 48px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--charcoal); max-width: 38em; }
.cta-group { margin: 26px 0 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.cta-row .btn-primary { flex: 1 1 100%; }
.small-line { font-weight: 600; color: var(--teal-dark); margin: 0; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
@media (min-width: 480px) { .cta-row .btn-primary { flex: 0 1 auto; } }
@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
}

/* Sections */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 84px 0; } }
.tint { background: var(--teal-tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head p { font-size: 1.15rem; color: var(--muted); }
.emphasis { font-weight: 700; color: var(--teal-dark); }
.note { margin-top: 28px; font-weight: 600; color: var(--teal-dark); }

.problem h2 { color: var(--charcoal); }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 0 0 36px; padding: 0; display: grid; gap: 20px; }
.steps li {
  counter-increment: step; position: relative; background: var(--white); border-radius: var(--radius);
  padding: 64px 24px 24px; box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step); position: absolute; top: 20px; left: 24px;
  width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: var(--white);
  display: grid; place-items: center; font-weight: 800;
}
.steps p { margin: 0; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.cards .card h3 { color: var(--teal-dark); }
.cards .card p { margin: 0; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Free review */
.review-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .review-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.checklist { list-style: none; margin: 0 0 24px; padding: 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%; background: var(--teal);
}
.checklist li::after {
  content: ""; position: absolute; left: 8px; top: calc(.3em + 5px); width: 6px; height: 10px;
  border-right: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(45deg);
}
.review-card .helper { text-align: center; }

/* Pricing */
.pricing { margin: 0 0 32px; display: grid; gap: 20px; }
.price-item { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--teal); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.price-item dt { font-weight: 800; font-size: 1.15rem; margin-bottom: 8px; color: var(--teal-dark); }
.price-item dd { margin: 0; }
.price { font-size: 1.6rem; font-weight: 800; color: var(--charcoal); }
@media (min-width: 700px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pricing { grid-template-columns: repeat(4, 1fr); } }
.pricing-notes { margin: 0 auto; }
.pricing-notes .btn { margin-top: 8px; }

/* ASL */
.teal { background: var(--teal); color: var(--white); }
.teal h2 { color: var(--white); }
.teal a { color: var(--white); }
.teal :focus-visible { outline-color: var(--white); }

/* About */
.about-grid { display: grid; gap: 32px; align-items: start; }
.about-photo { margin: 0; max-width: 640px; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-photo figcaption { margin-top: 12px; font-size: .95rem; color: var(--muted); }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; } .about-photo { max-width: none; } }

/* FAQ */
.faq { margin-top: 28px; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-weight: 700; position: relative; border-radius: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--teal-dark); }
.faq details p { padding: 0 20px 18px; margin: 0; }

/* Contact */
.contact { background: linear-gradient(180deg, var(--white) 0%, var(--teal-tint) 100%); }
.contact .btn { margin-top: 8px; }
.contact .helper { margin-bottom: 18px; }

/* Footer */
.site-footer { background: var(--white); border-top: 4px solid var(--teal); padding: 44px 0 28px; font-size: .98rem; }
.footer-grid { display: grid; gap: 24px; }
.footer-name { margin-bottom: 14px; }
.footer-name img { height: 44px; width: auto; }
.footer-brand p { margin-bottom: .5em; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { font-weight: 600; }
.footer-legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.footer-legal p { margin: 0 0 .3em; }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
  .footer-nav ul { flex-direction: column; gap: 8px; }
}

/* Simple pages (privacy, 404) */
.page { padding: 48px 0 64px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.page h2 { font-size: 1.35rem; margin-top: 1.8em; }
.page .meta { color: var(--muted); font-weight: 600; }
.notfound { text-align: center; padding: 80px 0 96px; }
