/* American Garage Inc — site.css (single stylesheet, no JS) */

:root {
  --blue: #2563eb;
  --blue-dark: #1e40af;
  --navy: #0f2547;
  --navy-2: #16325c;
  --red: #b22234;
  --ink: #1f2937;
  --muted: #5b6b7f;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --line: #e3e9f2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 37, 71, .08);
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: 2.4rem; font-weight: 600; }
h2 { font-size: 1.8rem; font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header / nav (CSS-only mobile menu) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 1rem;
  max-width: var(--maxw); margin: 0 auto; padding: .65rem 1.25rem;
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; margin-left: auto; cursor: pointer; padding: .4rem; }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block; width: 24px; height: 2px; background: var(--navy);
  position: relative; content: ""; transition: transform .2s;
}
.nav-toggle-label span::before { position: absolute; top: -7px; }
.nav-toggle-label span::after  { position: absolute; top: 7px; }
.nav-menu {
  display: flex; align-items: center; gap: 1.5rem;
  margin-left: auto; list-style: none; padding: 0;
}
.nav-menu a { color: var(--ink); font-size: .95rem; }
.nav-menu a:hover { color: var(--blue); text-decoration: none; }
.btn {
  display: inline-block; padding: .6rem 1.4rem; border-radius: 999px;
  font-size: .95rem; font-weight: 500; transition: transform .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff !important; box-shadow: 0 6px 16px rgba(37, 99, 235, .35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border: 1.5px solid var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { padding: .45rem 1.1rem; font-size: .875rem; }

@media (max-width: 800px) {
  .nav-toggle-label { display: block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-menu li { width: 100%; padding: 0 1.25rem; }
  .nav-menu a { display: block; padding: .8rem 0; }
  .nav-toggle:checked ~ .nav-menu { max-height: 22rem; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(105deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 45%, rgba(15,37,71,.55) 100%),
    url("../img/flag-run.jpg") right center / cover no-repeat;
  padding: 5rem 0 5.5rem;
}
.hero-inner { max-width: 620px; }
.hero .eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); font-weight: 600; margin-bottom: .75rem;
}
.hero h1 { font-size: 2.7rem; }
.hero p.lead { font-size: 1.1rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
@media (max-width: 800px) {
  .hero { padding: 3rem 0; background:
    linear-gradient(rgba(255,255,255,.95), rgba(255,255,255,.95)), url("../img/flag-run.jpg") center/cover; }
  .hero h1 { font-size: 2rem; }
}

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue-dark) 100%);
  color: #fff; padding: 3.5rem 0; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head .eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); font-weight: 600;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2rem; display: flex; flex-direction: column;
}
.card .app-icon { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 1.2rem; box-shadow: var(--shadow); }
.card p { color: var(--muted); flex: 1; }
.card .card-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.badge {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; margin-left: .5rem; vertical-align: middle;
}
.badge-live { background: #e7f6ee; color: #14804a; }
.badge-soon { background: #fdeeee; color: var(--red); }
.badge-beta { background: #fdf3e2; color: #92600a; }

/* Non-square product marks */
.app-icon-tile {
  width: 96px; height: 96px; border-radius: 22px; margin-bottom: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; font-weight: 600; color: #fff; box-shadow: var(--shadow);
}
.tile-socius { background: linear-gradient(135deg, #5b21b6, var(--blue)); }
.app-wordmark { height: 96px; display: flex; align-items: center; margin-bottom: 1.2rem; }
.app-wordmark img { max-height: 72px; width: auto; }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Screenshot strip */
.screens { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.screens img {
  width: 220px; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow);
}

/* Checklist (privacy commitments) */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 1.8rem; position: relative; margin-bottom: .7rem; color: var(--muted); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #14804a; font-weight: 700;
}

/* Steps (partner onboarding) */
.step { display: flex; gap: 1.25rem; margin-bottom: 2rem; align-items: flex-start; }
.step-num {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.step-body h3 { margin-bottom: .3rem; }
.step-body p { color: var(--muted); }
.step-body img.qr { width: 220px; border: 1px solid var(--line); border-radius: 10px; padding: .5rem; background: #fff; }

/* Quote */
.quote {
  border-left: 4px solid var(--blue); background: var(--bg-alt);
  padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted); font-style: italic; margin: 0 0 2rem;
}
.quote footer { font-style: normal; font-weight: 600; color: var(--navy); margin-top: .5rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--blue-dark), var(--navy));
  color: #fff; text-align: center; padding: 4rem 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto 1.5rem; }

/* Contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.contact-card {
  text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.25rem 1.5rem;
}
.contact-card .icon {
  width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%;
  background: #e8effd; color: var(--blue); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.contact-card p { color: var(--muted); margin: 0; }

/* ---------- Roadmap ---------- */
.roadmap-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.roadmap-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.roadmap-col header { padding: 1.1rem 1.5rem; color: #fff; }
.roadmap-col header h3 { color: #fff; margin: 0; }
.roadmap-col header p { color: rgba(255,255,255,.85); margin: 0; font-size: .85rem; }
.rm-now header { background: var(--blue); }
.rm-next header { background: var(--navy-2); }
.rm-later header { background: var(--navy); }
.roadmap-col ul { list-style: none; margin: 0; padding: 1.25rem 1.5rem; }
.roadmap-col li { padding: .55rem 0; border-bottom: 1px dashed var(--line); color: var(--muted); font-size: .95rem; }
.roadmap-col li:last-child { border-bottom: none; }
.roadmap-col li strong { color: var(--navy); display: block; font-size: .95rem; }
.rm-tag {
  display: inline-block; font-size: .7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; border-radius: 4px; padding: 0 .45rem; margin-right: .4rem;
}
.rm-jogmate { background: #e8effd; color: var(--blue-dark); }
.rm-socius { background: #f1eefd; color: #5b21b6; }
.rm-balanced { background: #e7f6ee; color: #14804a; }
.rm-platform { background: #eef2f7; color: var(--navy-2); }
.roadmap-note { text-align: center; color: var(--muted); font-size: .875rem; max-width: 640px; margin: 2rem auto 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c6d3e6; padding: 3.5rem 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #c6d3e6; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .85rem;
}
.footer-social { display: flex; gap: .9rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 600;
}
.footer-social a:hover { background: rgba(255,255,255,.1); text-decoration: none; }

/* Legal / long-form article */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 2rem; }

/* Video embed */
.video-wrap { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Utility */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--muted); }
