/* Driver's Manual page — loaded after base.css */

body { font-family: 'Exo 2', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; display: flex; flex-direction: column; }

/* PAGE HERO */
.page-hero { position: relative; height: 320px; display: flex; align-items: flex-end; padding-bottom: 48px; overflow: hidden; margin-top: var(--nav-height); }
.page-hero-bg { position: absolute; inset: 0; background-image: url('https://i.imgur.com/DrgApaf.png'); background-size: cover; background-position: center; filter: brightness(0.25); }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,20,20,0.2) 0%, rgba(20,20,20,0.9) 100%); }
.page-hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; width: 100%; padding: 0 24px; animation: fadeup 0.8s ease both; }
@keyframes fadeup { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.page-eyebrow { font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.page-hero h1 { font-family: 'Rajdhani', sans-serif; font-size: clamp(32px, 5vw, 56px); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #fff; }
.page-hero p { font-size: 15px; color: #909090; margin-top: 10px; line-height: 1.6; }

/* BUTTON */
.m-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  background: var(--orange);
  color: #000;
  font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.m-btn:hover { background: #ffad33; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,153,0,0.35); }
.hero-btn { margin-top: 18px; }

/* MAIN */
main { flex: 1; padding: 56px 24px 64px; }
.content { max-width: 900px; margin: 0 auto; }
.content a { color: var(--orange); }
.content a.m-btn { color: #000; }

/* CONTENTS */
.toc { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 24px; margin-bottom: 56px; scroll-margin-top: calc(var(--nav-height) + 16px); }
.toc-title { font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.toc-list { list-style: none; counter-reset: toc; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px 24px; }
.toc-list li { counter-increment: toc; }
.toc-list a { display: grid; grid-template-columns: 28px 1fr; padding: 8px 6px; border-radius: 6px; text-decoration: none; transition: background 0.15s; }
.toc-list a::before { content: counter(toc); grid-row: span 2; font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--orange); }
.toc-list a:hover { background: var(--orange-glow); }
.toc-list span { font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700; color: #fff; }
.toc-list small { font-size: 12px; color: var(--text-dim); }

/* SECTIONS */
.m-section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--nav-height) + 16px); }
.m-section h3[id] { scroll-margin-top: calc(var(--nav-height) + 16px); }
.m-eyebrow { font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.m-section h2 { font-family: 'Rajdhani', sans-serif; font-size: clamp(26px, 4vw, 38px); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.m-section h3 { font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: 1px; color: #fff; margin: 32px 0 10px; }
.m-section p { font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.m-lead { font-size: 17px !important; color: #a8a8a8; margin-bottom: 20px !important; }
.m-seealso { font-size: 13px !important; color: var(--text-dim); }

/* LISTS */
.m-list { list-style: none; margin: 8px 0 16px; }
.m-list li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 15px; line-height: 1.7; }
.m-list li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.m-steps { list-style: none; counter-reset: step; margin: 8px 0 16px; }
.m-steps li { counter-increment: step; position: relative; padding-left: 40px; margin-bottom: 12px; font-size: 15px; line-height: 1.7; }
.m-steps li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange-glow); border: 1px solid var(--orange); color: var(--orange); font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }

strong { color: #fff; }

kbd {
  display: inline-block;
  min-width: 22px;
  padding: 1px 7px;
  border: 1px solid #3a3a3a;
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--bg3);
  color: #fff;
  font-family: 'Rajdhani', sans-serif; font-size: 14px; font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

/* TABLES */
.table-wrap { overflow-x: auto; margin: 8px 0 16px; border: 1px solid var(--border); border-radius: 8px; }
.m-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.m-table th, .m-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); line-height: 1.55; }
.m-table tr:last-child th, .m-table tr:last-child td { border-bottom: none; }
.m-table thead th { background: var(--bg3); color: var(--orange); font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; }
.m-table tbody tr:nth-child(even), .m-table.kv tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.m-table th[scope="row"] { color: #fff; font-weight: 600; white-space: nowrap; width: 1%; }
.m-table.num td:not(:first-child), .m-table.num th:not(:first-child) { text-align: right; white-space: nowrap; }
.nowrap { white-space: nowrap; }

.m-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.m-split .table-wrap { margin: 8px 0 0; }
.m-split + * { margin-top: 16px; }

/* CALLOUTS */
.m-callout { background: linear-gradient(135deg, #1a1000, #1f1600); border: 1px solid #3a2800; border-left: 4px solid var(--orange); border-radius: 8px; padding: 16px 20px; margin: 20px 0 8px; }
.m-callout.warn { background: linear-gradient(135deg, #1f0b0b, #241010); border-color: #4a1c1c; border-left-color: #ff6060; }
.m-callout-label { font-family: 'Rajdhani', sans-serif; font-size: 12px !important; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 4px !important; }
.m-callout.warn .m-callout-label { color: #ff6060; }
.m-callout p:last-child { margin-bottom: 0; }

.m-top { display: inline-block; margin-top: 16px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-family: 'Rajdhani', sans-serif; font-weight: 600; text-decoration: none; opacity: 0.7; }
.m-top:hover { opacity: 1; }

/* DOWNLOAD */
.m-download { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 24px; }
.m-download-title { font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.m-download p:not(.m-download-title) { font-size: 14px; color: var(--text-dim); }

@media (max-width: 700px) {
  .m-split { grid-template-columns: 1fr; gap: 0; }
  .m-split .table-wrap { margin-bottom: 8px; }
  .toc { padding: 16px; }
  .m-table th, .m-table td { padding: 9px 10px; font-size: 13px; }
}
