/* Shieldline Auto Group — charcoal + steel-blue design.
 * Protective, solid, human. No SaaS sameness. */
:root {
  --charcoal: #181c21;
  --charcoal-2: #20252c;
  --charcoal-3: #272e38;
  --ink: #f1f4f8;
  --muted: #bcc6d1;
  --faint: #8d98a6;
  --steel-blue: #7db2e0;
  --steel-blue-deep: #4f86b8;
  --silver: #c9d1db;
  --steel-line: #3a4450;
  --accent-soft: rgba(125,178,224,.14);
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--charcoal);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--steel-blue); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #a9cdf0; }
img { max-width: 100%; height: auto; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.eyebrow {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--steel-blue); margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); }
section { padding: 64px 0; }
.section-soft { background: var(--charcoal-2); }

/* Skip link */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10000;
  background: var(--steel-blue); color: #10151b; font-weight: 700;
  padding: 10px 18px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--steel-blue); outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(24,28,33,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--steel-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1200px; margin: 0 auto; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 1.5px; font-size: 1.02rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: 0 0 auto; }
.brand .shield-word { color: var(--silver); }
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); background: var(--charcoal-3); }
.nav-links a.active, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--charcoal-3); }
.nav-cta {
  background: var(--steel-blue); color: #10151b !important; font-weight: 700; border-radius: 999px !important;
  padding: 9px 20px !important; margin-left: 8px;
}
.nav-cta:hover { background: #a9cdf0; }

/* Hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; padding: 96px 0 80px; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,20,26,.72) 0%, rgba(16,20,26,.55) 45%, rgba(16,20,26,.88) 100%); }
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--steel-blue); border: 1px solid var(--steel-line); border-radius: 999px; padding: 7px 18px; margin-bottom: 20px;
  background: rgba(24,28,33,.6);
}
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.6); max-width: 640px; }
.hero .lead { color: #dfe6ee; max-width: 600px; font-size: 1.25rem; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-block; background: var(--steel-blue); color: #10151b; font-weight: 700;
  padding: 14px 30px; border-radius: 999px; text-decoration: none; border: 2px solid var(--steel-blue);
}
.btn:hover { background: #a9cdf0; border-color: #a9cdf0; color: #10151b; }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--silver); }
.btn-outline:hover { background: rgba(201,209,219,.15); border-color: #fff; color: #fff; }
.hero-credit { position: relative; z-index: 2; margin-top: 34px; font-size: .8rem; color: var(--faint); }
.hero-credit a { color: var(--faint); }

/* Signal map */
.signalmap { background: #14181d; }
.signalmap .sm-kicker { display: block; text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--steel-blue); margin-bottom: 8px; }
.signalmap h2 { text-align: center; }
.signalmap p.sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 10px; }
.signalmap svg { display: block; width: 100%; height: auto; max-width: 1060px; margin: 0 auto; }
.signalmap .sm-core { animation: smpulse 3.2s ease-in-out infinite; }
@keyframes smpulse { 0%,100% { opacity: .75; } 50% { opacity: 1; } }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin: 32px 0; }
.card {
  background: var(--charcoal-2); border: 1px solid var(--steel-line); border-radius: var(--radius);
  padding: 28px 24px; position: relative;
}
.card:hover { border-color: var(--steel-blue-deep); }
.card h3 { margin-top: 0; color: var(--ink); }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: .6em; }
.card .card-ico { width: 44px; height: 44px; margin-bottom: 14px; display: block; }
.card a.more { font-weight: 700; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; margin-top: 32px; }
.step { border-left: 3px solid var(--steel-blue-deep); padding: 4px 0 4px 20px; }
.step-num { font-family: var(--serif); font-size: 2rem; color: var(--steel-blue); font-weight: 700; }
.step h3 { margin: .2em 0 .4em; }
.step p { color: var(--muted); font-size: .97rem; }

/* Stats */
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.stat { text-align: center; min-width: 170px; }
.stat .num { font-family: var(--serif); font-size: 2rem; color: var(--steel-blue); font-weight: 700; }
.stat .cap { color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* Transparency promise */
.transparency { border: 1px solid var(--steel-line); border-radius: var(--radius); background: var(--accent-soft); padding: 36px; margin-top: 8px; }
.transparency h2 { margin-top: 0; }
.transparency ul { margin: 0; padding-left: 22px; color: var(--muted); }
.transparency li { margin-bottom: .7em; }
.transparency strong { color: var(--ink); }

/* Founder */
.founder-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; margin-top: 28px; }
.founder-pic { border-radius: var(--radius); border: 1px solid var(--steel-line); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.founder-grid h2 { margin-top: 0; }

/* FAQ */
details.faq { border: 1px solid var(--steel-line); border-radius: 12px; margin-bottom: 12px; background: var(--charcoal-2); }
details.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--steel-blue); font-size: 1.4rem; font-weight: 400; flex: 0 0 auto; }
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 22px 22px; color: var(--muted); }
details.faq .faq-body p:last-child { margin-bottom: 0; }

/* Forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.form-card { background: var(--charcoal-2); border: 1px solid var(--steel-line); border-radius: var(--radius); padding: 32px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--steel-line); border-radius: 10px;
  background: var(--charcoal); color: var(--ink); font-size: 1rem; font-family: var(--sans);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--steel-blue); outline: none; box-shadow: 0 0 0 3px rgba(125,178,224,.35); }
.form-field textarea { min-height: 120px; resize: vertical; }
.direct-line { border: 1px solid var(--steel-line); border-radius: var(--radius); padding: 28px; background: var(--charcoal-2); margin-bottom: 20px; }
.direct-line h3 { margin-top: 0; }
.direct-line .phone-big { font-size: 1.5rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.direct-line .phone-big:hover { color: var(--steel-blue); }

/* Footer */
.site-footer { background: #111419; border-top: 1px solid var(--steel-line); padding: 48px 0 28px; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 26px; }
.footer-grid strong { color: var(--ink); }
.footer-grid a { color: var(--steel-blue); }
.nl-block { margin: 20px 0; }
.nl-block h4 { color: var(--ink); margin: 0 0 6px; }
.transparency-line { font-size: .88rem; }
.legal { border-top: 1px solid var(--steel-line); margin-top: 24px; padding-top: 20px; font-size: .82rem; color: var(--faint); }
.legal p { margin-bottom: .6em; }

/* Accessibility toolbar */
#a11y-toolbar {
  position: fixed; left: 16px; bottom: 16px; z-index: 9980;
  display: flex; gap: 6px; align-items: center;
  background: rgba(24,28,33,.95); border: 1px solid var(--steel-line); border-radius: 999px; padding: 8px 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
#a11y-toolbar button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--steel-line);
  background: var(--charcoal-3); color: var(--ink); font-size: .95rem; font-weight: 700; cursor: pointer;
}
#a11y-toolbar button:hover { border-color: var(--steel-blue); }
#a11y-toolbar button[aria-pressed="true"] { background: var(--steel-blue); color: #10151b; border-color: var(--steel-blue); }
#a11y-toolbar button:focus-visible { outline: 3px solid var(--steel-blue); outline-offset: 2px; }

/* High contrast mode */
body.hc { --ink: #ffffff; --muted: #e8eef5; --faint: #cfd8e3; --charcoal: #000; --charcoal-2: #0a0a0a; --charcoal-3: #1a1a1a; --steel-blue: #ffd23f; --steel-line: #6a6a6a; --accent-soft: rgba(255,210,63,.10); }
body.hc a { color: #ffd23f; }
body.hc .btn { background: #ffd23f; border-color: #ffd23f; color: #000; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .signalmap .sm-core { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body.rm .signalmap .sm-core { animation: none; }
body.rm { scroll-behavior: auto; }
body.rm *, body.rm *::before, body.rm *::after {
  animation-duration: .01ms !important;
  transition-duration: .01ms !important;
}

/* Affiliates grid */
.aff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin: 30px 0; }
.aff-card { border: 1px solid var(--steel-line); border-radius: var(--radius); padding: 24px; text-align: center; background: var(--charcoal-2); box-shadow: 0 4px 14px rgba(0,0,0,.25); position: relative; }
.aff-card:hover { border-color: var(--steel-blue-deep); }
.aff-mono { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; font-family: var(--serif); background: #14181d; color: var(--steel-blue); border: 2px solid var(--steel-blue-deep); }
.aff-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.aff-card p { color: var(--muted); font-size: .92rem; margin: 0 0 12px; }
.aff-card a.aff-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--steel-blue-deep); color: var(--ink); }
.aff-card a.aff-link:hover { color: var(--steel-blue); }
.aff-here { position: absolute; top: 10px; right: 12px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #10151b; background: var(--steel-blue); border-radius: 999px; padding: 3px 10px; }

/* Responsive */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-pic { max-width: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { flex-direction: column; align-items: flex-start; }
  .nav-links { gap: 2px; }
  section { padding: 48px 0; }
}


/* Tree of Life quote + donation match (site-wide footer) */
.tree-of-life{text-align:center;padding:20px 22px 8px;max-width:780px;margin:0 auto}
.tree-quote{font-style:italic;font-size:1.06rem;line-height:1.55;margin:0 0 6px}
.tree-match{font-size:.92rem;opacity:.85;margin:0;line-height:1.5}
