/* ImmediateRide Legal Pages — Shared Styles */
/* NOTE: Google Fonts @import removed — it was a render-blocking request on every
   legal page. Body/headings now use system-ui fallbacks (already declared in the
   font stacks below), which removes the blocking chain with no layout shift. */

:root {
  --bg-50: #ffffff;
  --bg-100: #f7f7f8;
  --bg-200: #ebebed;
  --fg-950: #0a0a0b;
  --fg-900: #1a1a1d;
  --fg-800: #2a2a2e;
  --fg-700: #4a4a50;
  --fg-600: #6a6a72;
  --fg-500: #8a8a94;
  --fg-400: #b0b0b8;
  --fg-300: #d0d0d6;
  --primary-50: #fef3ee;
  --primary-100: #fde6db;
  --primary-500: #e8602a;
  --primary-600: #cc4f1e;
  --primary-700: #a33d15;
  --accent-50: #f0faf0;
  --accent-100: #d9f2d9;
  --accent-500: #2d8a4e;
  --accent-900: #1a5530;
  --secondary-50: #f5f3f0;
  --secondary-100: #ebe7e1;
  --secondary-500: #8b7355;
  --secondary-900: #4a3c2c;
  --green-100: #d9f2d9;
  --green-500: #2d8a4e;
  --green-700: #1a6b33;
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-500: #ef4444;
  --red-600: #dc2626;
}

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

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}

body{
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  font-size:16px;
  line-height:1.6;
  color:var(--fg-700);
  background:var(--bg-50);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

h1,h2,h3,h4{font-family:'Poppins',system-ui,-apple-system,sans-serif;color:var(--fg-950)}
h1{font-size:2.5rem;line-height:1.15;font-weight:700}
h2{font-size:1.25rem;line-height:1.4;font-weight:700}
h3{font-size:1rem;line-height:1.5;font-weight:600}
@media(min-width:768px){h1{font-size:3rem}h2{font-size:1.5rem}}

a{color:var(--primary-500);text-decoration:none;transition:color .15s}
a:hover{color:var(--primary-600)}

strong{color:var(--fg-900);font-weight:600}

ul,ol{padding-left:1.25rem}
li{margin-bottom:.375rem;font-size:.875rem;color:var(--fg-700)}

code{font-family:'SF Mono','Fira Code','Consolas',monospace;font-size:.8125rem;background:var(--bg-100);padding:.125rem .375rem;border-radius:4px;color:var(--fg-800)}

.container{width:100%;max-width:1280px;margin:0 auto;padding:0 1rem}
@media(min-width:768px){.container{padding:0 2rem}}
@media(min-width:1024px){.container{padding:0 3rem}}

.max-w-3xl{max-width:48rem;margin-left:auto;margin-right:auto}
.max-w-2xl{max-width:42rem;margin-left:auto;margin-right:auto}
.max-w-4xl{max-width:56rem;margin-left:auto;margin-right:auto}
.max-w-6xl{max-width:72rem;margin-left:auto;margin-right:auto}
.max-w-xl{max-width:36rem}

/* Hero */
.hero{background:var(--fg-950);padding:4rem 0}
@media(min-width:768px){.hero{padding:6rem 0}}
.hero .eyebrow{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--fg-400)}
.hero h1{margin-top:1rem;color:#fff}
.hero p{margin-top:1rem;font-size:.875rem;color:var(--fg-300);max-width:36rem;line-height:1.7}
@media(min-width:768px){.hero p{font-size:1rem}}

/* Sections */
section{padding:3rem 0}
@media(min-width:768px){section{padding:4rem 0}}

.section-intro{background:var(--bg-50)}
.section-intro p{font-size:.875rem;color:var(--fg-700);line-height:1.7}
@media(min-width:768px){.section-intro p{font-size:1rem}}

.section-content{background:var(--bg-50)}
.section-content .section-block{margin-bottom:3rem}
.section-content .section-block:last-child{margin-bottom:0}
.section-content h2{margin-bottom:.75rem}
.section-content p{font-size:.875rem;color:var(--fg-700);line-height:1.7;margin-bottom:.75rem}
@media(min-width:768px){.section-content p{font-size:1rem}}

.section-content .subsection{margin-top:1rem}
.section-content .subsection h3{margin-bottom:.5rem;color:var(--fg-800)}

/* Contact list */
.contact-list{list-style:none;padding:0;margin-top:1rem}
.contact-list li{font-size:.875rem;color:var(--fg-700);margin-bottom:.375rem}

/* Dot list */
.dot-list{list-style:none;padding:0;margin-top:.75rem}
.dot-list li{display:flex;align-items:flex-start;gap:.5rem;font-size:.875rem;color:var(--fg-700);margin-bottom:.375rem}
.dot-list li::before{content:'';display:block;width:4px;height:4px;border-radius:50%;background:var(--primary-500);flex-shrink:0;margin-top:.5625rem}

/* Check list */
.check-list{list-style:none;padding:0;margin-top:.75rem}
.check-list li{display:flex;align-items:flex-start;gap:.5rem;font-size:.875rem;color:var(--fg-700);margin-bottom:.375rem}
.check-icon{color:var(--green-500);flex-shrink:0;font-weight:700}

/* Commitment */
.section-commitment{background:var(--bg-100);text-align:center}
.section-commitment p{font-size:.875rem;color:var(--fg-700);line-height:1.7;margin-bottom:1.5rem}
@media(min-width:768px){.section-commitment p{font-size:1rem}}
.section-commitment .tagline{font-size:.875rem;font-weight:600;color:var(--fg-900)}
.section-commitment .reviewed{font-size:.75rem;color:var(--fg-500);margin-top:1rem}

/* CTA */
.section-cta{background:var(--primary-50);text-align:center}
.section-cta h2{margin-bottom:1rem}
.section-cta p{font-size:.875rem;color:var(--fg-600);margin-bottom:1.5rem}
.section-cta .cta-row{display:flex;flex-direction:column;align-items:center;gap:1rem}
@media(min-width:640px){.section-cta .cta-row{flex-direction:row;justify-content:center}}

.btn-primary{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:.5rem;background:var(--primary-500);color:#fff;font-size:.875rem;font-weight:600;text-decoration:none;white-space:nowrap;transition:background .15s}
.btn-primary:hover{background:var(--primary-600);color:#fff}

.btn-outline{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:.5rem;border:1px solid var(--fg-200);color:var(--fg-950);font-size:.875rem;font-weight:600;text-decoration:none;white-space:nowrap;transition:background .15s}
.btn-outline:hover{background:var(--bg-100)}

.email-link{font-size:.875rem;color:var(--primary-500);font-weight:500}
.email-link:hover{color:var(--primary-600)}

/* Related Policies */
.section-related{background:var(--bg-50);padding:3rem 0}
.section-related h2{text-align:center;margin-bottom:.75rem}
.section-related .related-desc{text-align:center;font-size:.875rem;color:var(--fg-600);max-width:36rem;margin:0 auto 2rem;line-height:1.7}
.related-grid{display:grid;grid-template-columns:1fr;gap:1rem;max-width:48rem;margin:0 auto}
@media(min-width:640px){.related-grid{grid-template-columns:repeat(2,1fr)}}
.related-card{display:block;padding:1.25rem;border-radius:.5rem;background:var(--bg-100);text-decoration:none;transition:background .15s;border:1px solid var(--bg-200)}
.related-card:hover{background:var(--bg-200)}
.related-card h3{font-size:.875rem;color:var(--fg-950);margin-bottom:.375rem;transition:color .15s}
.related-card:hover h3{color:var(--primary-500)}
.related-card p{font-size:.8125rem;color:var(--fg-600);line-height:1.5}

/* Badges */
.badge{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600}
.badge-accent{background:var(--accent-100);color:var(--accent-900)}
.badge-primary{background:var(--primary-100);color:var(--primary-700)}
.badge-green{background:var(--green-100);color:var(--green-700)}

/* Value pills */
.value-pills{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-top:1.5rem}
.value-pill{padding:.5rem 1.25rem;border-radius:9999px;background:var(--accent-100);color:var(--accent-900);font-size:.875rem;font-weight:600}

/* Cards */
.card-grid{display:grid;grid-template-columns:1fr;gap:1rem}
@media(min-width:640px){.card-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.card-grid{grid-template-columns:repeat(4,1fr)}}

.card{background:var(--bg-50);border-radius:.75rem;padding:1.25rem;border:1px solid var(--bg-200)}
.card h3{font-size:.9375rem;margin-bottom:.5rem}

/* Feature cards */
.feature-card{background:var(--bg-100);border-radius:.75rem;padding:2rem;border:1px solid var(--bg-200)}
.feature-card h3{font-size:1.125rem;margin-bottom:.75rem}
.feature-card ul{list-style:none;padding:0;margin-top:.75rem}
.feature-card ul li{display:flex;align-items:flex-start;gap:.5rem;font-size:.875rem;color:var(--fg-700);margin-bottom:.5rem}
.feature-card ul li::before{content:'\25B8';color:var(--primary-400);flex-shrink:0;font-size:.75rem;margin-top:.125rem}

/* Callout box */
.callout{padding:1.5rem;border-radius:.75rem;margin-top:1rem}
.callout-accent{border-left:4px solid var(--accent-500);background:var(--accent-50)}
.callout-red{background:var(--red-50);border:1px solid var(--red-200)}
.callout-red p{color:var(--red-600);font-size:.8125rem}

/* Table */
.policy-table{width:100%;border-collapse:collapse;font-size:.8125rem}
.policy-table th,.policy-table td{text-align:left;padding:.75rem 1rem}
.policy-table thead{border-bottom:2px solid var(--bg-200)}
.policy-table thead th{font-family:'Poppins',system-ui,sans-serif;font-weight:600;color:var(--fg-950);font-size:.8125rem}
.policy-table tbody tr{border-bottom:1px solid var(--bg-200)}
.policy-table tbody tr:hover{background:var(--bg-100)}
.policy-table .status-badge{display:inline-flex;align-items:center;gap:.375rem;padding:.125rem .625rem;border-radius:9999px;background:var(--green-100);color:var(--green-700);font-size:.75rem;font-weight:600}
.policy-table .status-dot{display:inline-block;width:.375rem;height:.375rem;border-radius:50%;background:var(--green-500)}

/* Responsive table wrapper */
.table-wrap{overflow-x:auto;border-radius:.75rem;border:1px solid var(--bg-200)}

/* Footer */
.site-footer{text-align:center;padding:2rem;background:var(--bg-100);border-top:1px solid var(--bg-200)}
.site-footer p{font-size:.75rem;color:var(--fg-500)}
.site-footer a{color:var(--fg-500)}
.site-footer a:hover{color:var(--fg-700)}

/* Print */
@media print{
  .hero{background:#fff!important;padding:1rem 0}
  .hero h1{color:var(--fg-950)!important}
  .hero p{color:var(--fg-700)!important}
  .hero .eyebrow{color:var(--fg-500)!important}
  .section-cta,.site-footer{display:none}
}