/* Owen Bates Solutions, site styles */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --ink: #1d2129;
  --muted: #5c6370;
  --accent: #235d94;        /* Ledger Blue: primary accent */
  --accent-dark: #163f68;   /* Ledger Blue Dark: hover/pressed */
  --accent-tint: #e8f0f9;   /* Ledger Blue Tint: subtle fills/badges */
  --paper: #fbfaf7;
  --rule: #e3e0d8;
  --rule-dark: #c9c5ba;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--rule-dark);
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: var(--accent); }

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 22px;
  padding-bottom: 20px;
}

.wordmark {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover { color: var(--ink); }

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

/* Sections */

main { padding-bottom: 40px; }

.section {
  padding: 56px 24px 8px;
}

.section + .section {
  border-top: 1px solid var(--rule);
  margin-top: 48px;
}

.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
}

/* Hero */

.hero { padding: 72px 24px 56px; }

.hero h1 { max-width: 15em; }

.hero .lede { margin-bottom: 28px; }

.hero-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 20px;
}

/* Buttons */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 3px;
  text-decoration: none;
}
.btn:hover { background: var(--accent-dark); }

.btn-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.btn-row .text-link { font-size: 0.95rem; }

/* Two-column definition layout */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 56px;
}

.split > div {
  border-top: 1px solid var(--rule);
  padding: 20px 0 12px;
}

.split h3 { margin-bottom: 6px; }

.split p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Numbered steps */

ol.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  max-width: 40em;
}

ol.steps li {
  counter-increment: step;
  border-top: 1px solid var(--rule);
  padding: 18px 0 16px 58px;
  position: relative;
}

ol.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 20px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--rule-dark);
}

ol.steps h3 { margin-bottom: 4px; }

ol.steps p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* Tables */

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 12px 0 28px;
}

th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 16px 10px 0;
  border-bottom: 1px solid var(--rule-dark);
}

td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

td.num, th.num { text-align: right; padding-right: 0; white-space: nowrap; }

.tier-price {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
}

.tier-price small {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}

td .yes { color: var(--accent); font-weight: 600; }
td .no { color: var(--rule-dark); }

.footnote {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 44em;
}

/* Prose pages */

.prose { max-width: 40em; }

.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

/* Contact block */

.contact-card {
  border: 1px solid var(--rule-dark);
  border-radius: 3px;
  padding: 24px 28px;
  max-width: 34em;
  margin: 8px 0 24px;
}

.contact-card p { margin-bottom: 0.5em; }
.contact-card p:last-child { margin-bottom: 0; }

.intake-card {
  background: var(--accent-tint);
  border-color: var(--accent);
}

.intake-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.intake-card .btn { margin-top: 6px; }

/* CTA band */

.cta-band {
  border-top: 1px solid var(--rule);
  margin-top: 64px;
  padding: 48px 0 16px;
}

.cta-band h2 { max-width: 20em; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 48px;
  padding: 28px 0 40px;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer a { color: var(--muted); }

/* Small screens */

@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  .split { grid-template-columns: 1fr; }
  .hero { padding: 48px 24px 40px; }
  .section { padding: 40px 24px 8px; }
  table { font-size: 0.88rem; }
  td, th { padding-right: 10px; }
}
