/* Shared design system — Bolding family sites (Boldingbroke / Theia AR)
   Per-brand accent is set inline on :root via --accent in each page. */

:root {
  --accent: #1d4ed8;
  --accent-ink: #172554;
  --ink: #0b1220;
  --slate: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0b1220;
  --radius: 14px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .74rem;
  font-weight: 700; color: var(--accent); margin-bottom: .9rem;
}
.lead { font-size: 1.22rem; color: var(--slate); max-width: 46ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block; font-weight: 650; font-size: 1rem;
  padding: .82rem 1.4rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .08s ease, box-shadow .15s ease, background .15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -6px var(--accent); }
.btn-primary:hover { box-shadow: 0 10px 26px -8px var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: .55rem 1rem; font-size: .92rem; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -.02em; display: flex; align-items: center; gap: .5rem; }
.brand:hover { text-decoration: none; }
.brand .dot { width: 11px; height: 11px; border-radius: 3px; background: var(--accent); display: inline-block; transform: rotate(45deg); }
.brand small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--slate); font-weight: 550; font-size: .95rem; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-toggle { display: none; }

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero { padding: 84px 0 72px; }
.hero .lead { margin-top: 1.1rem; font-size: 1.28rem; }
.hero .btn-row { margin-top: 2rem; }
.kicker-note { margin-top: 1.1rem; font-size: .95rem; color: var(--muted); }

/* Grid + cards */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: box-shadow .18s ease, transform .18s ease, border-color .18s;
}
.card:hover { box-shadow: 0 14px 40px -22px rgba(15,23,42,.35); transform: translateY(-2px); border-color: #cbd5e1; }
.card h3 { margin-bottom: .35rem; }
.card p { font-size: .98rem; margin: 0; }
.num { font-weight: 800; color: var(--accent); font-size: 1.05rem; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .badge {
  flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--accent);
  color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.05rem;
}

/* Feature list */
.checks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/13px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/13px no-repeat;
}

/* Split / about */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.about-photo { width: 100%; max-width: 320px; border-radius: var(--radius); filter: grayscale(1); border: 1px solid var(--line); }

/* Availability pills */
.pill { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: .18rem .55rem; border-radius: 999px; text-transform: uppercase; }
.pill-now { background: #dcfce7; color: #166534; }
.pill-soon { background: #fef9c3; color: #854d0e; }

/* CTA band */
.cta-band { background: var(--bg-dark); color: #cbd5e1; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #94a3b8; margin: 0 auto 1.6rem; }

/* Contact / form */
.form { display: grid; gap: 14px; max-width: 560px; }
.form.center { margin: 0 auto; }
.form label { font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: -6px; }
.form input, .form textarea, .form select {
  font-family: inherit; font-size: 1rem; padding: .8rem .9rem; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.hp { position: absolute; left: -9999px; }

/* Footer */
footer.site { background: var(--bg-dark); color: #94a3b8; padding: 54px 0 40px; font-size: .93rem; }
footer.site a { color: #cbd5e1; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer.site .brand { color: #fff; margin-bottom: .6rem; }
footer.site .brand small { color: #64748b; }
footer.site h4 { color: #e2e8f0; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8rem; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.relationship { border-top: 1px solid #1e293b; margin-top: 34px; padding-top: 20px; font-size: .88rem; color: #64748b; max-width: 62ch; }

/* Responsive */
@media (max-width: 860px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  footer.site .cols { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .g2, .g4 { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
