/* LocoRides – Shared Styles */

:root {
  --primary: #ffb300; /* fire yellow */
  --primary-dark: #f29300;
  --bg: #050505;
  --bg-soft: #111111;
  --card-bg: #181818;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: #27272a;
  --accent: #22c55e;
  --danger: #f97316;
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #1f2937 0, #020617 45%, #020617 100%);
  color: var(--text-main);
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  flex: 1;
  width: 100%;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px 10px;
  border-bottom: 1px solid rgba(39, 39, 42, 0.9);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), #020617);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  max-height: 52px;
  width: auto;
  height: auto;
  max-width: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(249, 250, 251, 0.16);
  padding: 4px 10px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(255, 179, 0, 0.8);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
}

.nav-link {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-muted);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.15s ease;
}

.nav-link:hover {
  background: rgba(24, 24, 27, 0.8);
  border-color: rgba(63, 63, 70, 0.9);
  color: var(--text-main);
  text-decoration: none;
  transform: translateY(-1px);
}

.nav-link.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #020617;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(255, 179, 0, 0.45);
}

.nav-link.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 179, 0, 0.6);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 32px;
  margin-bottom: 32px;
  align-items: center;
}

.hero-main-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero-highlight {
  color: var(--primary);
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 520px;
  font-size: 0.98rem;
}

.hero-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-card {
  background: radial-gradient(circle at top left, #1f2937 0, #020617 60%);
  border-radius: 24px;
  border: 1px solid rgba(63, 63, 70, 0.9);
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -120px;
  background: radial-gradient(circle at top, rgba(255, 179, 0, 0.12), transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}

.hero-card-inner {
  position: relative;
  z-index: 1;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-chip {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 4px 10px;
  color: var(--text-muted);
}

.hero-tagline {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.hero-mini-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  header.site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .policy-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.policy-card {
  background: linear-gradient(145deg, rgba(24, 24, 27, 0.98), #020617);
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  padding: 18px 18px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.policy-card::before {
  content: "";
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle at top right, rgba(255, 179, 0, 0.16), transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}

.policy-card-inner {
  position: relative;
  z-index: 1;
}

.policy-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.policy-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.7rem;
  border: 1px solid rgba(34, 197, 94, 0.7);
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent);
  margin-bottom: 8px;
}

.policy-description {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  min-height: 60px;
}

.policy-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pill-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 3px 9px;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(255, 179, 0, 0.9);
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  color: #020617;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 28px rgba(255, 179, 0, 0.45);
  cursor: pointer;
}

.primary-btn span.icon {
  font-size: 0.9rem;
}

.primary-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(255, 179, 0, 0.6);
}

.primary-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(255, 179, 0, 0.4);
}

.content-shell {
  margin-top: 24px;
  background: linear-gradient(145deg, #020617, #111827);
  border-radius: 24px;
  border: 1px solid rgba(63, 63, 70, 0.95);
  padding: 24px 22px 26px;
  box-shadow: var(--shadow-soft);
}

.content-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(39, 39, 42, 0.9);
  padding-bottom: 14px;
}

.content-title-block {
  max-width: 520px;
}

.content-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.content-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.content-lede {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.content-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: right;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.8rem;
}

.toc-link {
  border-radius: 999px;
  border: 1px solid rgba(63, 63, 70, 0.9);
  padding: 4px 10px;
  color: var(--text-muted);
  background: rgba(24, 24, 27, 0.85);
}

.toc-link:hover {
  color: var(--text-main);
  text-decoration: none;
}

.policy-content {
  font-size: 0.94rem;
  color: var(--text-main);
  line-height: 1.6;
}

.policy-content h2,
.policy-content h3 {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 1rem;
}

.policy-content p {
  margin: 6px 0;
}

.policy-content ul {
  margin: 6px 0 10px 20px;
  padding-left: 0;
}

.policy-content li {
  margin-bottom: 4px;
}

.policy-note {
  margin-top: 18px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(63, 63, 70, 0.9);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.84rem;
  color: var(--text-muted);
}

footer.site-footer {
  margin-top: auto;
  padding: 18px 20px 26px;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(24, 24, 27, 0.9);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.back-link {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.back-link a {
  color: var(--primary);
}

.back-link a:hover {
  text-decoration: underline;
}

