/*
Theme Name: I Hate Bookkeeping
Theme URI: https://ihatebookkeeping.com/
Author: 7th Street Brands, LLC
Description: A lightweight one-page campaign theme that introduces business owners to 7th Street Financial.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: ihatebookkeeping
*/

:root {
  --navy: #062a57;
  --navy-2: #0b3f78;
  --steel: #557b9e;
  --mist: #edf4f8;
  --paper: #ffffff;
  --ink: #122033;
  --muted: #5d6a79;
  --line: #d8e1e8;
  --accent: #d9a441;
  --max: 1160px;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(6, 42, 87, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); }
a:hover { color: var(--navy); }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(216,225,232,.85);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 50%;
  font-size: 1.05rem;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: .95rem;
}
.site-nav a:hover { color: var(--navy-2); }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 140px) 0 90px;
  background:
    radial-gradient(circle at 87% 18%, rgba(85,123,158,.18), transparent 28%),
    linear-gradient(135deg, #f8fbfd 0%, #eef5f8 54%, #ffffff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -170px;
  border: 1px solid rgba(6,42,87,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(6,42,87,.035), 0 0 0 88px rgba(6,42,87,.025);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(6,42,87,.07);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 900px;
  margin: 22px 0 18px;
  color: var(--navy);
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: .96;
  letter-spacing: -.065em;
}
.hero .lead {
  max-width: 760px;
  margin: 0 0 32px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--muted);
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(6,42,87,.18);
}
.button-primary:hover { color: #fff; background: var(--navy-2); }
.button-secondary {
  color: var(--navy);
  border: 1px solid rgba(6,42,87,.22);
  background: rgba(255,255,255,.7);
}

.section { padding: clamp(66px, 8vw, 105px) 0; }
.section-muted { background: var(--mist); }
.section-dark { color: #fff; background: var(--navy); }
.section-kicker {
  color: var(--steel);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-dark .section-kicker { color: #b9d2e7; }
.section h2 {
  margin: 10px 0 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.section-intro {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}
.section-dark .section-intro { color: #d8e4ee; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(6,42,87,.06);
}
.card h3 { margin: 10px 0 8px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }
.card-number {
  color: var(--steel);
  font-weight: 900;
  font-size: .9rem;
}

.story {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.quote-panel {
  padding: 34px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.quote-panel blockquote {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.quote-panel p { margin-bottom: 0; color: var(--muted); }

.transition {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.transition-logo {
  max-width: 390px;
  margin-inline: auto;
  filter: drop-shadow(0 16px 32px rgba(6,42,87,.12));
}
.logo-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  border: 2px dashed rgba(6,42,87,.22);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 900;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #edf4f8);
  box-shadow: var(--shadow);
}
.cta-box h2 { margin-top: 0; }
.cta-box p { margin-bottom: 0; color: var(--muted); }

.content-wrap {
  width: min(calc(100% - 40px), 860px);
  margin: 70px auto;
}
.entry-title {
  color: var(--navy);
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.05;
}
.entry-content h2, .entry-content h3 { color: var(--navy); }

.site-footer {
  padding: 36px 0;
  color: #c9d8e4;
  background: #041f40;
  font-size: .92rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #fff; text-decoration: none; }

@media (max-width: 840px) {
  .site-nav { display: none; width: 100%; padding-bottom: 18px; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 12px; }
  .header-inner { flex-wrap: wrap; }
  .menu-toggle { display: inline-block; }
  .grid-3, .story, .transition, .cta-box { grid-template-columns: 1fr; }
  .cta-box { text-align: left; }
}
@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-top: 62px; }
  .hero h1 { font-size: clamp(3rem, 18vw, 4.8rem); }
}
