/* MotorAI look: strict black and white, no accent color, one font (Switzer), thin borders, no glow. */
@font-face {
  font-family: "Switzer";
  src: url("../assets/fonts/Switzer-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --panel: #0b0b0b;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #fff;
  --soft: #d6d6d6;
  --muted: #8c8c8c;
  --font: "Switzer", -apple-system, "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; font-style: normal; }
h2 { font-size: clamp(1.75rem, 4.4vw, 2.6rem); }
h3 { font-size: 1.08rem; letter-spacing: -0.015em; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 0.82rem; margin-top: 18px; }
.eyebrow {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.link { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.link:hover { border-bottom-color: var(--text); }
.lede { color: var(--soft); font-size: clamp(1.02rem, 2.2vw, 1.14rem); max-width: 58ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font: 600 0.98rem/1 var(--font);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--soft); border-color: var(--soft); }
.btn:focus-visible, summary:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}
.btn-small { min-height: 38px; padding: 0 16px; font-size: 0.88rem; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px var(--gutter);
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 22px; width: auto; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 28px 110px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* Phones get a fixed button that jumps back to the calendar. */
.mobile-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 30;
  min-height: 52px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-cta.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }

@media (min-width: 1080px) {
  :root { --gutter: 32px; }
  .mobile-cta { display: none; }
  .foot { padding-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: flex-end; }
