/* DrivePath article template (2026 redesign).
   Shared by the guides, the privacy policy, the terms of use and the 404 page.
   Loaded after site.css, so it reuses its tokens (--ink, --blue, --line, ...) and classes
   (.wrap, .display, .crumbs, .phone, .guides, .guide, .faq, .cta-band, .reveal ...).
   Derived from the night-driving guide design (Web-Guide-Night). */

/* ---------- Hero: the calm variant (the night guide has its own sky hero) ---------- */
.art-hero{position:relative;overflow:hidden;padding:44px 0 176px;background:radial-gradient(90% 60% at 85% 0%,#EEF2FF 0%,#FFFFFF 62%)}
.art-hero-in{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.art-kicker{margin:24px 0 0;font-size:17px;font-weight:600;color:var(--blue)}
.art-title{margin:0;max-width:1000px;font-size:clamp(40px,5.8vw,80px)}
.art-meta{margin:2px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:15px;color:var(--muted-2)}
.art-meta .sep{color:#B9B9C2}
/* Bigger touch targets for the breadcrumb links without moving them */
.art-hero .crumbs a,.night-hero .crumbs a{display:inline-block;padding:12px 0;margin:-12px 0}

/* ---------- Quick answer ---------- */
.answer-sec{position:relative;z-index:2}
.answer{max-width:960px;margin-top:-128px;padding:clamp(26px,4vw,48px);border-radius:32px;background:rgba(255,255,255,.92);-webkit-backdrop-filter:saturate(180%) blur(24px);backdrop-filter:saturate(180%) blur(24px);border:1px solid rgba(17,17,20,.06);box-shadow:0 1px 2px rgba(17,17,20,.05),0 50px 90px -40px rgba(17,17,40,.32)}
.answer-label{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--blue)}
.answer-label::before{content:"";width:8px;height:8px;border-radius:4px;background:currentColor;animation:beacon 1.8s ease-out infinite}
@keyframes beacon{0%{box-shadow:0 0 0 0 rgba(27,78,255,.5)}70%{box-shadow:0 0 0 9px rgba(27,78,255,0)}100%{box-shadow:0 0 0 0 rgba(27,78,255,0)}}
.answer-lead{margin:14px 0 0;font-family:var(--display);font-size:clamp(21px,2.1vw,27px);line-height:1.4;font-weight:500;letter-spacing:-.014em;color:var(--ink);text-wrap:pretty}
.answer-lead strong{font-weight:700}
.answer-more{margin:14px 0 0;max-width:780px;font-size:17px;line-height:1.55;color:var(--muted)}
.answer-more strong{font-weight:600;color:var(--ink)}
.answer a{text-decoration:underline;text-decoration-color:rgba(27,78,255,.35);text-underline-offset:4px}
.answer a:hover{text-decoration-color:var(--blue)}
.glance{margin-top:26px;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.glance>*{display:flex;flex-direction:column;gap:2px;padding:18px 20px 0 0;color:var(--ink);text-decoration:none!important}
.glance>*+*{padding-left:20px;border-left:1px solid var(--line)}
.glance b{font-family:var(--display);font-size:22px;line-height:1.25;font-weight:700;letter-spacing:-.02em}
.glance small{font-size:14px;color:var(--muted-2)}
.glance .chev-link{color:var(--blue)}

/* ---------- Article body: contents list + reading column ---------- */
.art-body{padding:96px 0 140px}
.art{display:flex;flex-wrap:wrap;gap:48px 80px;align-items:flex-start}
.art-side{flex:0 1 210px;min-width:180px;display:flex;flex-direction:column;gap:18px}
.art-side.sticky{position:sticky;top:84px}
.art-main{flex:999 1 560px;min-width:0;max-width:720px}
.toc-title{margin:0;font-size:13px;font-weight:600;color:var(--ink)}
.toc ol{display:flex;flex-direction:column;margin:0;padding:0;list-style:none;border-left:1px solid var(--line)}
.toc a{display:block;padding:7px 0 7px 16px;margin-left:-1px;border-left:1px solid transparent;color:var(--muted-2);text-decoration:none;font-size:14px;line-height:1.4;transition:color .2s,border-color .2s}
.toc a:hover,.toc a[aria-current]{color:var(--ink);border-left-color:var(--blue)}
.side-note{margin:6px 0 0;font-size:13px;line-height:1.5;color:var(--muted-2)}

/* ---------- Reading typography ---------- */
.prose{font-size:19px;line-height:1.65;color:#2E2E35}
.prose>section+section{margin-top:88px}
.prose>section>:last-child{margin-bottom:0}
.prose h2{margin:0 0 20px;font-family:var(--display);font-size:clamp(30px,3.1vw,40px);line-height:1.12;font-weight:700;letter-spacing:-.032em;color:var(--ink);text-wrap:balance}
.prose h3{margin:44px 0 10px;font-family:var(--display);font-size:23px;line-height:1.25;font-weight:700;letter-spacing:-.015em;color:var(--ink)}
.prose p{margin:0 0 22px}
.prose strong{font-weight:600;color:var(--ink)}
.prose a{color:var(--blue);text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:rgba(27,78,255,.35);text-underline-offset:4px;transition:text-decoration-color .2s,color .2s}
.prose a:hover{text-decoration-color:var(--blue)}
.prose a.src{display:inline-flex;align-items:center;gap:5px;font-size:15px;font-weight:500;text-decoration:none}
.prose a.src:hover{text-decoration:underline}
.prose ul{list-style:none;margin:0 0 26px;padding:0;display:flex;flex-direction:column;gap:14px}
.prose ul>li{position:relative;padding-left:28px}
.prose ul>li::before{content:"";position:absolute;left:5px;top:.66em;width:7px;height:7px;border-radius:50%;background:var(--blue)}
.prose ol:not(.steps){margin:0 0 26px;padding-left:1.4em;display:flex;flex-direction:column;gap:12px}

/* Numbered steps */
.steps{list-style:none;margin:8px 0 36px;padding:0;counter-reset:step;display:flex;flex-direction:column}
.steps>li{counter-increment:step;position:relative;padding:24px 0 24px 76px;border-top:1px solid var(--line)}
.steps>li:last-child{border-bottom:1px solid var(--line)}
.steps>li::before{content:counter(step,decimal-leading-zero);position:absolute;left:0;top:20px;font-family:var(--display);font-size:32px;line-height:1.1;font-weight:700;letter-spacing:-.04em;color:#8E8E96;transition:color .3s}
.steps>li:hover::before{color:var(--blue)}

/* Tip and note callouts */
.callout{margin:36px 0;padding:26px 28px;border-radius:22px;background:var(--bg-2)}
.callout-label{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-size:14px;font-weight:600;color:var(--blue)}
.callout-label svg{flex-shrink:0}
.callout p{margin:0;font-size:18px;line-height:1.6}
.callout p+p{margin-top:12px}
.callout.note{background:var(--night-tint)}
.callout.note .callout-label{color:var(--night)}

/* Big statistic */
.pull{margin:4px 0 40px;padding:34px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:auto minmax(0,1fr);gap:32px;align-items:center}
.pull-num{font-family:var(--display);font-size:clamp(80px,8.4vw,124px);line-height:.86;font-weight:800;letter-spacing:-.06em;background:linear-gradient(135deg,var(--night) 10%,var(--blue) 90%);-webkit-background-clip:text;background-clip:text;color:transparent}
.pull p{margin:0;font-size:20px;line-height:1.5;color:var(--ink)}
.pull small{display:block;margin-top:10px;font-size:14px;color:var(--muted-2)}

/* State rule rows (name on the left, rule and source on the right) */
.rules{margin:30px 0}
.rule{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;padding:26px 0;border-top:1px solid var(--line)}
.rule:last-child{border-bottom:1px solid var(--line)}
.rule-name{display:flex;flex-direction:column;gap:2px}
.rule-name b{font-family:var(--display);font-size:26px;line-height:1.15;font-weight:700;letter-spacing:-.025em;color:var(--ink)}
.rule-name small{font-size:14px;color:var(--muted-2)}
.rule p{margin:0 0 8px}

/* Tables */
.table-wrap{margin:30px 0 36px;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:20px}
.prose table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.5;font-variant-numeric:tabular-nums}
.prose thead th{padding:14px 20px;text-align:left;font-size:13px;font-weight:600;color:var(--muted-2);background:var(--bg-2)}
.prose tbody th,.prose tbody td{padding:16px 20px;text-align:left;vertical-align:top;border-top:1px solid var(--line)}
.prose tbody th{font-weight:600;color:var(--ink)}
.prose tbody tr{transition:background-color .2s}
.prose tbody tr:hover{background:rgba(244,244,246,.6)}

/* Figures with real app screenshots */
.fig{margin:44px 0;padding:40px;border-radius:28px;background:var(--bg-2);display:grid;grid-template-columns:auto minmax(0,1fr);gap:40px;align-items:center}
.fig .phone{width:240px;height:auto;aspect-ratio:330/690;border-radius:42px;padding:8px}
.fig .phone{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.14),inset 0 0 0 4px #0A0A0B,0 30px 50px -24px rgba(17,17,40,.4)}
.fig .screen{border-radius:34px}
.fig .shot-card{width:100%;max-width:420px}
.fig.wide{grid-template-columns:1fr;justify-items:center;text-align:center}
.fig.wide figcaption{align-items:center;max-width:520px}
.fig figcaption{display:flex;flex-direction:column;gap:8px;font-size:17px;line-height:1.55;color:var(--muted)}
.fig-label{font-size:14px;font-weight:600;color:var(--blue)}
.fig figcaption b{font-family:var(--display);font-size:21px;line-height:1.3;font-weight:700;letter-spacing:-.015em;color:var(--ink)}
.fig-fine{font-size:14px;color:var(--muted-2)}

/* ---------- Questions (visible FAQ, kept in sync with the FAQPage JSON-LD) ---------- */
.faq-sec{padding:140px 0}
.art-body+.faq-sec{padding-top:0}
.faq-wrap{display:flex;flex-direction:column;gap:48px;max-width:900px}
.faq-title{margin:0;font-size:clamp(42px,5.6vw,80px)}
.faq-list{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.faq-list details{border-bottom:1px solid var(--line)}
.faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:80px;padding:12px 0}
.faq-list summary h3{margin:0;font-family:var(--display);font-size:22px;line-height:1.3;font-weight:600;letter-spacing:-.3px;color:var(--ink)}
.faq-list .plus{flex-shrink:0}
.faq-list details>p{margin:0 0 28px;max-width:720px;font-size:18px;line-height:1.6;color:var(--muted)}
.faq-list details>p a{text-underline-offset:3px}

/* ---------- Related guides ---------- */
.related{padding:120px 0;background:var(--bg-2)}
.related-in{display:flex;flex-direction:column;gap:44px}
.related-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px}
.related-head h2{margin:0;font-size:clamp(36px,4.4vw,60px)}
.related-head .chev-link{font-size:17px}
.rel-card{display:flex;flex-direction:column;justify-content:space-between;gap:28px;min-height:190px;padding:28px;border-radius:24px;background:rgba(255,255,255,.6);text-decoration:none;color:var(--ink)}
.rel-card:hover{color:var(--ink)}
.rel-kind{font-size:14px;font-weight:600;color:var(--muted-2)}
.rel-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.rel-name{font-family:var(--display);font-size:22px;line-height:1.2;font-weight:700;letter-spacing:-.4px}
.rel-card .arrow{flex-shrink:0}
.guides.four{grid-template-columns:repeat(4,minmax(0,1fr))}

/* ---------- Closing call to action (extends site.css .cta-band) ---------- */
.cta-title{margin:0;font-size:clamp(44px,7vw,100px)}
.cta-title .hl{color:var(--blue-soft)}
.cta-sub{margin:0;max-width:620px;font-size:clamp(19px,1.8vw,23px);line-height:1.45;color:var(--on-dark-2)}
.cta-badge{margin-top:12px;box-shadow:0 0 0 1px rgba(255,255,255,.25)}
.cta-badge img{width:180px;height:60px}
.cta-fine{margin:0;font-size:14px;color:var(--on-dark-2)}

/* ---------- Legal reading style (privacy policy, terms of use) ---------- */
.legal .art-title{font-size:clamp(40px,5vw,68px)}
.legal .prose{font-size:18px;line-height:1.7}
.legal .prose>section+section{margin-top:60px;padding-top:44px;border-top:1px solid var(--line)}
.legal .prose h2{font-size:clamp(24px,2.4vw,30px);letter-spacing:-.022em}
.legal .prose h2 .n{margin-right:.35em;color:var(--muted-2);font-variant-numeric:tabular-nums}
.legal .answer-lead{font-size:clamp(19px,1.8vw,23px);line-height:1.5}

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .guides.four{grid-template-columns:1fr 1fr}
  .rule{grid-template-columns:1fr;gap:6px}
}
@media (max-width:900px){
  .art{gap:40px}
  .art-side,.art-side.sticky{position:static;flex:1 1 100%;min-width:0;padding:22px 24px 14px;border-radius:22px;background:var(--bg-2)}
  .toc ol{border-left:0}
  .toc li+li a{border-top:1px solid #E1E1E6}
  .toc a{display:flex;align-items:center;min-height:46px;margin:0;padding:10px 0;border-left:0;font-size:15px;color:var(--ink-2)}
  .toc a:hover,.toc a[aria-current]{color:var(--blue)}
  .side-note{font-size:14px}
  .toc-title{font-size:14px}
}
@media (max-width:640px){
  .art-hero{padding:32px 0 150px}
  .art-kicker{margin-top:12px}
  .answer{margin-top:-112px;border-radius:26px}
  .answer-lead{font-size:20px}
  .answer-more{font-size:16px}
  .glance{grid-template-columns:1fr}
  .glance>*+*{padding-left:0;border-left:0;border-top:1px solid var(--line);margin-top:18px}
  .art-body{padding:64px 0 96px}
  .prose{font-size:18px}
  .prose>section+section{margin-top:64px}
  .prose h3{margin-top:36px;font-size:21px}
  .steps>li{padding-left:56px}
  .steps>li::before{font-size:26px;top:22px}
  .callout{padding:22px}
  .callout p{font-size:17px}
  .pull{grid-template-columns:1fr;gap:14px}
  .pull p{font-size:19px}
  .prose thead th{font-size:14px;padding:12px 16px}
  .prose tbody th,.prose tbody td{padding:14px 16px;font-size:15px}
  .fig{grid-template-columns:1fr;justify-items:center;gap:28px;padding:32px 20px;margin:36px 0}
  .fig .phone{width:min(240px,66vw)}
  .fig.pdf-fig{padding:24px 14px}
  .fig figcaption{text-align:center;align-items:center}
  .faq-sec{padding:96px 0}
  .faq-wrap{gap:32px}
  .faq-list summary h3{font-size:20px}
  .faq-list details>p{font-size:17px}
  .related{padding:88px 0}
  .related-in{gap:32px}
  .guides.four{grid-template-columns:1fr}
  .rel-card{min-height:150px;padding:24px}
  .legal .prose{font-size:17px}
  .legal .prose>section+section{margin-top:44px;padding-top:36px}
}

@media (prefers-reduced-motion: reduce){
  .answer-label::before{animation:none!important}
  .toc a,.steps>li::before,.prose a,.prose tbody tr{transition:none!important}
}
