/* ──────────────────────────────────────────────
   Rover Fulfillment — shared design system
   Used by subpages (landing pages, blog).
   Homepage (index.html) keeps its own inline copy.
   ────────────────────────────────────────────── */

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

:root {
  --bg: #0A0A0A;
  --surface: #111111;
  --surface-2: #181818;
  --border: #1E1E1E;
  --border-2: #2A2A2A;
  --text: #F0F0F0;
  --text-sub: #A0A0A0;
  --text-muted: #606060;
  --accent: #FF6200;
  --accent-hi: #FF7A20;
  --accent-lo: rgba(255,98,0,0.08);
  --accent-ring: rgba(255,98,0,0.25);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800;
  color: #fff;
}

.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 4px;
  transition: background 0.15s !important;
}

.nav-cta:hover { background: var(--accent-hi) !important; }

/* ── Buttons ── */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover { background: var(--accent-hi); }

.btn-ghost {
  background: transparent;
  color: var(--text-sub);
  padding: 14px 32px;
  border-radius: 4px;
  border: 1px solid var(--border-2);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  display: inline-block;
}

.btn-ghost:hover { border-color: var(--border); color: var(--text); }

/* ── Sections ── */
section { padding: 96px 48px; max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 20px;
}

.section-body {
  font-size: 17px;
  color: var(--text-sub);
  max-width: 680px;
  line-height: 1.65;
}

.surface-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 48px;
}

.surface-inner { max-width: 1100px; margin: 0 auto; }

.full-divider { height: 1px; background: var(--border); width: 100%; }

/* ── Page hero (subpages) ── */
.page-hero {
  padding: 160px 48px 80px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,98,0,0.06) 0%, transparent 70%),
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  opacity: 0.5;
  pointer-events: none;
}

.page-hero > * { position: relative; }

.page-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 20px;
}

.page-hero-title span { color: var(--accent); }

.page-hero-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(17px, 2.4vw, 24px);
  font-weight: 400;
  color: var(--text-sub);
  max-width: 720px;
  line-height: 1.4;
}

.hero-cta-row { display: flex; align-items: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.15s;
}

.card:hover { border-color: var(--accent-ring); }

.card--stack { flex-direction: column; align-items: flex-start; gap: 12px; }

.card-icon {
  width: 36px; height: 36px;
  background: var(--accent-lo);
  border: 1px solid var(--accent-ring);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.card-icon--num {
  border-radius: 50%;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800;
  color: var(--accent);
}

.card-text h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 4px;
}

.card-text p { font-size: 13px; color: var(--text-sub); line-height: 1.55; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* ── Callout ── */
.callout {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--accent-lo);
  border: 1px solid var(--accent-ring);
  border-radius: 6px;
}

.callout p { font-size: 15px; color: var(--text-sub); line-height: 1.65; }
.callout strong { color: var(--text); }

/* ── Blog listing ── */
.post-list { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; }

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 32px;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s, background 0.15s;
}

.post-card:hover { border-color: var(--accent-ring); background: var(--surface-2); }

.post-card-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.post-card h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px; font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.post-card p { font-size: 14px; color: var(--text-sub); line-height: 1.6; }

/* ── Article / prose ── */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 48px 80px;
}

.article-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.article h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 24px;
}

.article-lede {
  font-size: 19px;
  color: var(--text-sub);
  line-height: 1.6;
  padding-bottom: 32px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.article h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px; font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text);
  margin: 48px 0 16px;
  line-height: 1.15;
}

.article h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 21px; font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 32px 0 12px;
}

.article p { font-size: 16px; color: var(--text-sub); line-height: 1.75; margin-bottom: 20px; }

.article strong { color: var(--text); font-weight: 600; }

.article a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-ring); }
.article a:hover { color: var(--accent-hi); }

.article ul, .article ol { margin: 0 0 24px 22px; color: var(--text-sub); }
.article li { margin-bottom: 10px; line-height: 1.7; }
.article li::marker { color: var(--accent); }

.article blockquote {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 24px;
  margin: 0 0 24px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

.article-table-wrap { overflow-x: auto; margin-bottom: 24px; }

.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 460px;
}

.article th {
  background: var(--surface-2);
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--border-2);
}

.article td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  color: var(--text-sub);
}

.article-cta {
  margin-top: 56px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--accent-ring);
  border-radius: 8px;
}

.article-cta h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px; font-weight: 800;
  color: var(--text);
  margin: 0 0 10px;
}

.article-cta p { font-size: 15px; color: var(--text-sub); margin-bottom: 20px; }

.back-link {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.15s;
}

.back-link:hover { color: var(--accent); }

/* ── Footer ── */
footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
}

.footer-info { display: flex; flex-direction: column; gap: 4px; text-align: center; }

.footer-addr {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer-addr a { color: var(--accent); text-decoration: none; }

.footer-copy {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { gap: 16px; }
  .nav-links li:not(.nav-always) { display: none; }
  section, .surface-section { padding: 64px 24px; }
  .page-hero { padding: 120px 24px 56px; }
  .article { padding: 110px 24px 64px; }
  .post-card { padding: 22px 24px; }
  footer { flex-direction: column; text-align: center; padding: 32px 24px; }
  .footer-info { text-align: center; }
}
