/* ============================================================
   Fairlight Accounting — fairlightaccounting.com
   Palette: harbor ink, sea teal, beacon amber, coastal mist
   Type: Fraunces (display) + Public Sans (body)
   ============================================================ */

:root {
  --ink: #11293c;
  --ink-2: #18374f;
  --sea: #2b5d74;
  --beacon: #e8a33b;
  --beacon-deep: #c9821a;
  --beacon-soft: #fbeed2;
  --mist: #f4f8f9;
  --paper: #ffffff;
  --text: #2e3d48;
  --muted: #5c6b75;
  --line: #e1e9ec;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 41, 60, 0.08);
  --container: 1120px;
}

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

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

body {
  font-family: "Public Sans", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }

p + p { margin-top: 1em; }

a { color: var(--sea); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--beacon);
  outline-offset: 2px;
  border-radius: 4px;
}

em.accent { font-style: italic; color: var(--beacon-deep); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Eyebrow with beam rule (signature) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--beacon-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--beacon), transparent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--beacon); color: var(--ink); }
.btn-primary:hover { background: #f0b157; box-shadow: 0 8px 20px rgba(232, 163, 59, 0.35); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand svg { height: 40px; width: auto; }
.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: "Public Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--beacon-deep);
  margin-top: 3px;
}

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  position: relative;
  content: "";
}
.nav-toggle-label span::before { position: absolute; top: -7px; }
.nav-toggle-label span::after { position: absolute; top: 7px; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--sea); text-decoration: none; }
.site-nav .btn { padding: 10px 20px; font-size: 0.92rem; }

@media (max-width: 920px) {
  .nav-toggle-label { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    gap: 14px;
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #e8eef2;
  overflow: hidden;
}
.hero::before {
  /* the beacon: a soft sweep of light across the harbor-dark hero */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(232, 163, 59, 0.28), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(43, 93, 116, 0.45), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 88px 0;
}
.hero h1 { color: #fff; margin: 14px 0 18px; }
.hero h1 em { font-style: italic; color: var(--beacon); }
.hero .lead { font-size: 1.15rem; color: #c9d6dd; max-width: 34em; }
.hero .eyebrow { color: var(--beacon); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-proof {
  margin-top: 26px;
  font-size: 0.92rem;
  color: #a9bac4;
}
.hero-proof strong { color: var(--beacon); letter-spacing: 0.08em; }

.hero-card {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  padding: 26px;
}
.hero-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1c7a4d;
  background: #e4f5ec;
  border-radius: 999px;
  padding: 4px 12px;
}
.hero-card h3 { margin: 14px 0 4px; font-family: "Public Sans", sans-serif; font-size: 1rem; }
.hero-card .sub { font-size: 0.85rem; color: var(--muted); }
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.stat-row:last-of-type { border-bottom: 0; }
.stat-row .label { font-size: 0.92rem; color: var(--muted); }
.stat-row .value { font-weight: 700; color: var(--ink); font-size: 1.2rem; }
.stat-row .delta { font-size: 0.82rem; color: #1c7a4d; font-weight: 700; margin-left: 8px; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0; }
  .hero-card { max-width: 440px; }
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
section.alt { background: var(--mist); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin-top: 12px; }

/* ---------- Tools strip ---------- */
.tools { text-align: center; }
.tools .section-head { margin-left: auto; margin-right: auto; }
.tool-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 820px; margin: 0 auto; }
.tool-chips span {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.tools .note { margin-top: 22px; font-size: 0.92rem; color: var(--muted); }

/* ---------- Split feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 44px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row .visual {
  background: linear-gradient(150deg, var(--ink) 0%, var(--sea) 100%);
  border-radius: var(--radius);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--beacon);
}
.feature-row .visual svg { width: 96px; height: 96px; }
.feature-row p { color: var(--muted); }
.feature-row .more { display: inline-block; margin-top: 16px; font-weight: 700; }
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; gap: 24px; }
  .feature-row .visual { min-height: 160px; order: -1; }
}

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--beacon-deep);
  margin-bottom: 10px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.card .more { margin-top: 18px; font-weight: 700; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { padding-left: 32px; position: relative; color: var(--text); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--beacon-soft);
  border: 2px solid var(--beacon);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--beacon-deep);
  border-bottom: 2px solid var(--beacon-deep);
  transform: rotate(-45deg);
}
.checklist strong { color: var(--ink); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  counter-increment: step;
}
.step::before {
  content: "Step " counter(step);
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--beacon-deep);
  margin-bottom: 12px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  padding: 18px 0;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.4rem;
  color: var(--beacon-deep);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.quote .stars { color: var(--beacon); letter-spacing: 2px; margin-bottom: 12px; }
.quote blockquote { font-size: 0.98rem; color: var(--text); }
.quote .who { margin-top: 16px; font-size: 0.88rem; color: var(--muted); font-weight: 600; }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #dbe6ec;
  border-radius: var(--radius);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(640px 300px at 90% -20%, rgba(232, 163, 59, 0.3), transparent 65%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { max-width: 38em; }
.cta-band .hero-ctas { margin-top: 24px; }
@media (max-width: 640px) { .cta-band { padding: 40px 26px; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--ink);
  color: #d7e2e9;
  position: relative;
  overflow: hidden;
  padding: 72px 0;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 360px at 85% -20%, rgba(232, 163, 59, 0.24), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin: 12px 0 16px; max-width: 18em; }
.page-hero .lead { font-size: 1.12rem; color: #c2d0d8; max-width: 36em; }
.page-hero .eyebrow { color: var(--beacon); }
.page-hero .hero-ctas { margin-top: 26px; }
.breadcrumbs { font-size: 0.85rem; margin-bottom: 18px; color: #93a7b3; position: relative; }
.breadcrumbs a { color: #b9c9d3; }

/* ---------- Locations grid ---------- */
.loc-links { display: flex; flex-wrap: wrap; gap: 10px; }
.loc-links a {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.loc-links a:hover { border-color: var(--beacon); text-decoration: none; background: var(--beacon-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info .item { margin-bottom: 22px; }
.contact-info .item strong { display: block; color: var(--ink); margin-bottom: 4px; }
form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 700; font-size: 0.9rem; color: var(--ink); margin-bottom: 6px; }
form input, form select, form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--text);
}
form input:focus, form select:focus, form textarea:focus {
  outline: 3px solid var(--beacon-soft);
  border-color: var(--beacon);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #aebfc9;
  padding: 64px 0 32px;
  margin-top: 80px;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #aebfc9; }
.site-footer a:hover { color: var(--beacon); }
.footer-brand svg { height: 44px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 26em; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: #7e93a0;
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 20px; }
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--beacon);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 12px; }
