/* TripREC guide pages. Isolated from privacy and homepage layouts. */
:root{color-scheme:light;--page:#faf9f6;--text:#202321;--muted:#646962;--rule:#e3e5df;--link:#a64f2d;--accent:#ab542f;--surface:#fffefa}
*{box-sizing:border-box}
html{background:var(--page);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;line-height:1.8;overflow-wrap:break-word}
body{margin:0}
a{color:var(--link);text-decoration-thickness:1px;text-underline-offset:4px}
a:hover{text-decoration-color:currentColor}
a:focus-visible,.table-scroll:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
.skip-link{position:absolute;top:-100px;left:24px;z-index:3;background:var(--surface);padding:12px 20px}
.skip-link:focus{top:12px}
.site-header{max-width:1248px;margin:auto;padding:24px 40px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;gap:15px;align-items:center;color:var(--text);text-decoration:none;line-height:1;font-size:29px;font-weight:750;letter-spacing:-1.2px}
.brand img{display:block;width:40px;height:48px;object-fit:contain}
.language-switch{display:flex;padding:4px;gap:3px;background:#edece7;border-radius:28px}
.language-switch a{display:flex;align-items:center;justify-content:center;min-width:60px;min-height:36px;padding:5px 15px;text-decoration:none;font-size:14px;color:var(--muted);line-height:1.4;border-radius:22px}
.language-switch a[aria-current]{background:var(--text);color:var(--surface)}
.guide-layout{display:grid;grid-template-columns:210px minmax(0,800px);gap:64px;max-width:1168px;padding:40px 0 80px;margin:0 auto}
.guide-sidebar{align-self:start;position:sticky;top:28px;max-height:calc(100svh - 56px);overflow-y:auto;scrollbar-width:thin;padding-top:6px;font-size:14px}
.nav-label{font-size:13px;color:var(--muted);font-weight:600;margin:0 0 16px;padding-left:14px}
.guide-sidebar ul,.guide-sidebar ol{list-style:none;margin:0;padding:0}
.guide-sidebar li+li{margin-top:5px}
.guide-sidebar a{display:block;text-decoration:none;color:var(--muted);padding:9px 14px;line-height:1.6;border-radius:8px}
.guide-sidebar a:hover{background:#eeeee8;color:var(--text)}
.guide-sidebar a[aria-current]{background:#f2e7dd;color:var(--accent);font-weight:650}
.contents{border-top:1px solid var(--rule);margin-top:28px;padding-top:26px}
.contents a{font-size:13px;padding:6px 14px}
article{min-width:0}
article header{margin:0 0 40px;padding:0 0 32px;border-bottom:1px solid var(--rule)}
.breadcrumb{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted);margin:0 0 22px}
.breadcrumb a{color:var(--muted);text-decoration:none}
h1,h2{color:var(--text);font-weight:650;letter-spacing:-.025em;line-height:1.3}
h1{font-size:clamp(32px,3.6vw,48px);margin:0 0 22px;max-width:24ch;text-wrap:balance}
.lede{font-size:19px;line-height:1.8;color:#535950;margin:0 0 22px;max-width:65ch}
.effective-date{font-size:12px;letter-spacing:.015em;color:var(--muted);margin:0}
h2{font-size:25px;margin:48px 0 18px;scroll-margin-top:30px}
article header+h2{margin-top:0}
p,li{font-size:16px}
article>p{margin:0 0 22px;max-width:70ch}
article>ul,article>ol{padding-left:24px;margin:0 0 24px}
article>ul li,article>ol li{padding-left:5px;margin-bottom:12px}
article>ol li::marker{color:var(--accent);font-weight:600}
.table-scroll{overflow-x:auto;margin:32px 0 44px;padding-bottom:2px;scrollbar-color:#c8cdc4 transparent}
table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px;min-width:510px;border:1px solid var(--rule);border-radius:12px;overflow:hidden;background:var(--surface)}
caption{text-align:left;font-size:13px;font-weight:600;color:var(--muted);margin-bottom:14px}
th,td{text-align:left;vertical-align:middle;padding:16px 19px;border-bottom:1px solid var(--rule);font-size:14px;line-height:1.65}
thead th{font-size:15px;padding-top:20px;padding-bottom:20px}
th:first-child{width:34%}
tbody th{font-weight:500}
th:nth-child(2),td:nth-child(2){background:#f4eee5;width:31%}
tr:last-child th,tr:last-child td{border-bottom:none}
figure{margin:32px 0 40px}
figure img{display:block;max-width:100%;height:auto;border-radius:12px;border:1px solid var(--rule)}
figure img[src*="windshield-mount"]{width:min(100%,480px)}
figcaption{margin-top:14px;color:var(--muted);font-size:13px;line-height:1.75;max-width:68ch}
.store-links{display:flex;flex-wrap:wrap;gap:12px;margin:42px 0}
.store-links a{padding:12px 21px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--rule);border-radius:9px;color:var(--text);background:var(--surface);text-decoration:none;font-size:14px;font-weight:550;line-height:1.5}
.store-links a:first-child{background:var(--text);border-color:var(--text);color:var(--surface)}
.store-links a:hover{filter:brightness(.94)}
footer{border-top:1px solid var(--rule);margin-top:48px;padding-top:28px;color:var(--muted)}
footer p{font-size:13px;line-height:1.85;margin:0 0 14px}
footer a{color:var(--muted)}
.related-guides{margin-bottom:32px}.related-guides h2{font-size:20px;margin:0 0 14px}.related-guides ul{list-style:none;padding:0;margin:0}.related-guides li+li{margin-top:0}.related-guides a{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--rule);padding:15px 0;font-size:15px;line-height:1.65;color:var(--text);text-decoration:none}.related-guides a:hover{color:var(--accent)}.related-guides a>span:first-child{min-width:0;overflow-wrap:anywhere}.related-guides a>span:last-child{flex-shrink:0;color:var(--accent)}
@media(max-width:1200px){.guide-layout{margin:0 40px;gap:44px;grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:850px){.site-header{padding:20px 24px}.guide-layout{display:block;margin:0 24px;padding-top:20px}.guide-sidebar{display:none}h1{font-size:36px}.lede{font-size:18px}.breadcrumb{margin-bottom:18px}}
@media(max-width:480px){.site-header{padding:18px 20px}.brand{gap:10px;font-size:26px}.brand img{width:33px;height:40px}.language-switch a{min-width:48px;min-height:34px;padding:4px 10px}.guide-layout{margin:0 20px;padding-top:16px;padding-bottom:44px}h1{font-size:30px;line-height:1.4;margin-bottom:18px}h2{font-size:22px;margin-top:36px}.lede{font-size:17px;line-height:1.85}article header{padding-bottom:26px;margin-bottom:30px}p,li{font-size:16px}.breadcrumb{font-size:12px}.table-scroll{margin-top:26px}th,td{padding:13px 14px}.store-links{flex-direction:column}.store-links a{width:100%}figure img{border-radius:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
