/* Shared styles for RideOut blog (cached across all posts) */
:root {
  --bg: #0A0A0F; --bg-2: #0B0B14; --bg-3: #10101C; --surface: #13131F;
  --violet: #A855F7; --violet-deep: #7C3AED; --blue: #3B82F6; --blue-deep: #1E3A8A; --cyan: #06B6D4;
  --text: #F5F5FA; --text-soft: #D2D2DC; --text-muted: #9A9AAC; --text-dim: #7E7E92;
  --line: rgba(255,255,255,0.08); --line-soft: rgba(255,255,255,0.04); --line-bright: rgba(255,255,255,0.14);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body); background: var(--bg); color: var(--text);
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; position: relative;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 900px 600px at 12% -10%, rgba(124,58,237,0.22), transparent 60%),
    radial-gradient(ellipse 700px 500px at 92% 4%, rgba(59,130,246,0.16), transparent 65%),
    radial-gradient(ellipse 1100px 700px at 50% 100%, rgba(124,58,237,0.10), transparent 70%);
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--surface); color: var(--text); padding: 10px 18px;
  border-radius: 10px; border: 1px solid var(--line-bright); font-size: 14px; font-weight: 500;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.container { max-width: 760px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

/* nav */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: rgba(10,10,15,0.62); border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; max-width: 1240px; margin: 0 auto; }
.logo .brand { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); line-height: 1; }
.logo .brand em, .footer-brand .brand em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(135deg,#A855F7 0%,#6366F1 50%,#3B82F6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-back { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--text-muted); transition: color 0.2s; }
.nav-back:hover { color: var(--text); }
@media (max-width: 600px) { .logo .brand { font-size: 26px; } }

/* article header */
.post-head { padding: 80px 0 36px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-muted); } .breadcrumb a:hover { color: var(--text); }
.eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  background: linear-gradient(90deg,#A855F7,#6366F1,#3B82F6); -webkit-background-clip: text; background-clip: text;
  color: transparent; font-weight: 600; margin-bottom: 18px; display: inline-block;
}
h1 { font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 52px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; color: var(--text); margin-bottom: 20px; text-wrap: balance; }
h1 em { font-style: italic; font-weight: 300; background: linear-gradient(135deg,#A855F7 0%,#6366F1 50%,#3B82F6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.post-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-muted); }

/* prose */
article.prose { padding: 48px 0 24px; position: relative; z-index: 2; }
.prose .lede { font-size: 19px; color: var(--text-soft); margin-bottom: 28px; }
.prose h2 { font-family: var(--font-display); font-size: clamp(23px, 2.5vw, 29px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; color: var(--text); margin: 40px 0 16px; }
.prose h2 em { font-style: italic; font-weight: 400; }
.prose p { color: var(--text-soft); margin-bottom: 18px; font-size: 16.5px; }
.prose ul { color: var(--text-soft); margin: 0 0 18px 22px; }
.prose li { margin-bottom: 10px; padding-left: 4px; }
.prose li::marker { color: var(--violet); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a.inline { color: var(--text); border-bottom: 1px solid rgba(168,85,247,0.45); transition: color 0.2s, border-color 0.2s; }
.prose a.inline:hover { color: var(--violet); border-color: var(--violet); }

/* CTA card */
.cta-card {
  margin: 40px 0 8px; padding: 32px 34px; border-radius: 18px;
  border: 1px solid rgba(168,85,247,0.28);
  background: radial-gradient(ellipse 420px 220px at 0% 0%, rgba(168,85,247,0.12), transparent 70%), rgba(20,20,35,0.55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.cta-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 10px; }
.cta-card p { color: var(--text-soft); margin-bottom: 20px; }
.btn-primary {
  display: inline-block; padding: 14px 26px; border-radius: 12px; font-size: 15px; font-weight: 600; color: #FFFFFF;
  background: linear-gradient(135deg,#7C3AED 0%,#A855F7 45%,#3B82F6 100%);
  border: 1px solid rgba(168,85,247,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 24px -6px rgba(124,58,237,0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 16px 40px -10px rgba(124,58,237,0.7); }

/* tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--text-muted); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }

/* blog index cards */
.post-list { padding: 40px 0 24px; display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 2; }
.post-card { display: block; padding: 28px 30px; border-radius: 16px; border: 1px solid var(--line); background: rgba(20,20,35,0.5); transition: border-color 0.2s, background 0.2s, transform 0.2s; }
.post-card:hover { border-color: rgba(168,85,247,0.4); background: rgba(30,30,55,0.6); transform: translateY(-2px); }
.post-card .date { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 10px; }
.post-card h2 { font-family: var(--font-display); font-size: 23px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 10px; color: var(--text); }
.post-card p { color: var(--text-muted); font-size: 15px; }

/* footer */
footer { padding: 48px 0 36px; background: var(--bg); color: var(--text-muted); border-top: 1px solid var(--line); font-size: 13px; position: relative; z-index: 2; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.footer-brand .brand { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); line-height: 1; display: inline-block; }
footer a { transition: color 0.2s; } footer a:hover { color: var(--text); }
@media (max-width: 600px) { .post-head { padding: 56px 0 28px; } .container { padding: 0 22px; } }
