/* Local Oak Digital — shared styles
   Layout idea: warm editorial paper, deep oak-green bands for the AI section, acorn-gold accents. */
:root {
  --ink: #15261e;          /* deep forest, primary text */
  --oak: #2c5a43;          /* brand green */
  --oak-deep: #10221a;     /* dark band background */
  --paper: #f5f3ee;        /* page background */
  --card: #ffffff;
  --acorn: #c8892a;        /* accent */
  --sage: #dfe7df;         /* soft fill */
  --muted: #5b6b62;
  --line: #d9ddd5;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --wrap: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--oak); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--acorn); outline-offset: 2px; border-radius: 6px;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.3rem; font-weight: 650; }
p { margin: 0; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oak);
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 650; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--font-body);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--oak); color: #fff; }
.btn-primary:hover { background: #234a37; }
.btn-gold { background: var(--acorn); color: #1b1408; }
.btn-gold:hover { background: #d89b3d; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,243,238,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { 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; color: var(--ink); }
.brand img { height: 44px; width: auto; }
.brand .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 550; font-size: .95rem; }
.nav-links a:hover { color: var(--oak); }
.nav-cta { padding: 10px 18px; font-size: .92rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
@media (max-width: 920px) {
  .menu-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1.05rem; }
  .nav-desktop-cta { display: none; }
}

/* Footer */
.site-footer { background: var(--oak-deep); color: #c9d6cd; padding: 56px 0 36px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer a { color: #e9efe9; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; font-family: var(--font-body); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand .wordmark { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #93a59a; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin: 10px 0 8px; }
.legal .meta { color: var(--muted); margin-bottom: 36px; }
.legal h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { color: #2c3a33; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; margin: 12px 0; }
.legal .callout { background: var(--sage); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0; }
.legal address { font-style: normal; line-height: 1.7; }

/* Logo */
.brand .logo-img, .logo-img { height: 58px; width: auto; display: block; }
.footer-logo { height: 54px; width: auto; display: block; margin-bottom: 14px; }
@media (max-width: 520px) { .brand .logo-img, .logo-img { height: 46px; } }

.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.nav { min-height: 78px; }
@media (max-width: 920px) { .nav-links { top: 78px; } }
