/* ==================================================================
   BikeZap — Legal & Policy Centre (root dashboard ONLY)
   Scope: html.pro-home. App-linked standalone policy pages, site.css
   and site.js are never touched by this file.
   Design: light, premium, high-contrast. No black footer, no dark-mode
   overrides that can leave dark text on a black surface.
   ================================================================== */

html.pro-home {
  --ink:        #0c2a30;
  --ink-2:      #35515a;
  --ink-3:      #5c7780;
  --brand:      #003b40;
  --brand-2:    #006a75;
  --brand-3:    #0097a7;
  --accent:     #c2410c;
  --accent-2:   #f59e0b;
  --canvas:     #f4f8fa;
  --surface:    #ffffff;
  --surface-2:  #eef5f7;
  --line:       #dde8ec;
  --line-2:     #c8d9df;
  --shadow-sm:  0 2px 8px rgba(9, 54, 61, .06);
  --shadow:     0 12px 30px rgba(9, 54, 61, .10);
  --shadow-lg:  0 22px 55px rgba(9, 54, 61, .15);
  --radius:     18px;
  color-scheme: light;
  background: var(--canvas);
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

html.pro-home body {
  color-scheme: light;
  color: var(--ink);
  background-color: var(--canvas);
  background-image:
    radial-gradient(1000px 480px at 6% -8%, rgba(0, 151, 167, .10), transparent 62%),
    radial-gradient(900px 460px at 98% 4%, rgba(245, 158, 11, .08), transparent 60%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html.pro-home a { color: var(--brand-2); }
html.pro-home a:hover { text-decoration: none; }
html.pro-home .wrap { max-width: 1120px; }

/* ------------------------------------------------------------ top bar */
html.pro-home .topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(9, 54, 61, .07);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html.pro-home .topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, #003b40 0%, #0097a7 45%, #f59e0b 78%, transparent 100%);
  opacity: 1;
}
html.pro-home .topbar-in { height: 70px; gap: 16px; }
html.pro-home .brand { gap: 12px; }
html.pro-home .brand img {
  width: 42px; height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 59, 64, .22);
}
html.pro-home .brand-name {
  display: block;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--brand);
  background: none;
}
html.pro-home .brand-tag {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.3;
}

/* EN/HI segmented control — SOLID colours, visible in every mode. */
html.pro-home .langbar { margin: 0; gap: 4px; }
html.pro-home .langbar button {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  padding: 9px 18px;
  border-radius: 999px;
  background-color: #ffffff !important;
  background-image: none !important;
  color: var(--brand) !important;
  border: 1.5px solid var(--brand-2) !important;
  box-shadow: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
html.pro-home .langbar button:hover:not(.active) {
  background-color: var(--surface-2) !important;
  transform: translateY(-1px);
}
html.pro-home .langbar button.active {
  background-color: var(--brand) !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: var(--brand) !important;
  box-shadow: 0 6px 16px rgba(0, 59, 64, .28);
}

/* --------------------------------------------------------------- hero */
/* Light marketplace hero — clean like Amazon/OLX, no heavy dark panel. */
html.pro-home .hero {
  position: relative;
  overflow: hidden;
  margin: 28px 0 0;
  padding: 46px 44px;
  border-radius: 24px;
  background-color: #002f34;
  background-image: linear-gradient(135deg, #002f34 0%, #004d54 58%, #006a75 100%);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}
html.pro-home .hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #0097a7 0%, #f59e0b 100%);
}
html.pro-home .hero > * { position: relative; z-index: 1; }
html.pro-home .hero-content { min-width: 0; }
html.pro-home .hero-logo { display: none; }

html.pro-home .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .11em;
  color: #ffffff;
}
html.pro-home .eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, .20);
}
html.pro-home .hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.14;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
}
html.pro-home .hero .lede {
  margin: 0 0 22px;
  max-width: 640px;
  font-size: 16px;
  font-weight: 500;
  color: #eaf7f9;
  -webkit-text-fill-color: #eaf7f9;
}

html.pro-home .playstore { display: inline-block; margin: 0; }
html.pro-home .playstore-badge {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 9px 18px 9px 15px;
}

/* Hero visual: a stack of document cards (decorative, CSS only). */
html.pro-home .hero-visual {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
html.pro-home .mock-stack {
  position: relative;
  width: 100%;
  max-width: 330px;
  height: 270px;
}
html.pro-home .mock-card {
  position: absolute;
  left: 12px; right: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 15px;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 16px 34px rgba(0, 20, 24, .28);
  color: var(--ink);
  transform: rotate(-2deg);
}
html.pro-home .mock-card.mc-1 { top: 6px;  transform: rotate(-3deg) translateX(-8px); }
html.pro-home .mock-card.mc-2 { top: 66px; transform: rotate(2deg)  translateX(8px); }
html.pro-home .mock-card.mc-3 { top: 126px; transform: rotate(-2deg) translateX(-4px); }
html.pro-home .mock-card.mc-4 { top: 186px; transform: rotate(2deg)  translateX(6px); }
html.pro-home .mock-card .mc-ic {
  flex: 0 0 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--surface-2);
  font-size: 18px;
}
html.pro-home .mock-card .mc-t {
  font-size: 13.5px; font-weight: 800; color: var(--ink);
  line-height: 1.25;
}
html.pro-home .mock-card .mc-s {
  display: block;
  font-size: 11px; font-weight: 600; color: var(--ink-3);
}
html.pro-home .mock-seal {
  position: absolute;
  right: -6px; bottom: 4px;
  width: 76px; height: 76px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent-2);
  border: 4px solid #ffffff;
  box-shadow: 0 10px 24px rgba(0, 20, 24, .3);
  color: #4a2a00;
  font-size: 22px; font-weight: 900;
  line-height: 1;
}
html.pro-home .mock-seal small {
  font-size: 8.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------- trust strip */
html.pro-home .trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 20px 0 0;
  padding: 20px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
html.pro-home .trust-strip .ts-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid var(--line);
}
html.pro-home .trust-strip .ts-item:last-child { border-right: 0; }
html.pro-home .trust-strip strong {
  font-size: 22px; font-weight: 800; color: var(--brand);
  line-height: 1.2;
}
html.pro-home .trust-strip span {
  font-size: 11.5px; font-weight: 600; color: var(--ink-3);
}

/* ------------------------------------------------------- section heads */
html.pro-home .section-head { margin: 46px 0 18px; }
html.pro-home .section-kicker {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2);
}
html.pro-home .section-head h2,
html.pro-home .contact-head h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--brand);
}
html.pro-home .section-head p,
html.pro-home .contact-head p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-3);
}

/* ------------------------------------------------------- document cards */
html.pro-home .doc-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
}
html.pro-home .doc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 22px 20px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
html.pro-home .doc-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand-2), var(--brand-3));
  opacity: 0;
  transition: opacity .2s ease;
}
html.pro-home .doc-card:hover,
html.pro-home .doc-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}
html.pro-home .doc-card:hover::before { opacity: 1; }
html.pro-home .doc-card .dc-ic {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 21px;
  margin-bottom: 4px;
}
html.pro-home .doc-card:nth-child(2) .dc-ic { background: #e7f4f6; }
html.pro-home .doc-card:nth-child(3) .dc-ic { background: #fff4e5; }
html.pro-home .doc-card:nth-child(4) .dc-ic { background: #fdeeee; }
html.pro-home .doc-card .dc-t {
  font-size: 15.5px; font-weight: 800; color: var(--ink);
  line-height: 1.35;
}
html.pro-home .doc-card .dc-d {
  font-size: 12.5px; color: var(--ink-2); line-height: 1.5;
}
html.pro-home .doc-card .dc-go {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12.5px; font-weight: 800; color: var(--accent);
}
/* Dots are mobile-only; shown inside the max-width:560px block. */
html.pro-home .slider-dots { display: none; }

/* ----------------------------------------------------------------- tabs */
html.pro-home .tabs {
  position: sticky;
  top: 70px;
  z-index: 40;
  display: flex;
  gap: 6px;
  margin: 40px 0 22px;
  padding: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  scrollbar-width: none;
}
html.pro-home .tabs::-webkit-scrollbar { display: none; }
html.pro-home .tabs a,
html.pro-home .tabs button {
  flex: 1 0 auto;
  text-align: center;
  white-space: nowrap;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  color: var(--ink-2);
}
html.pro-home .tabs a:hover { background: var(--surface-2); color: var(--brand); }
html.pro-home .tabs .active,
html.pro-home .tabs a.active:hover {
  background-color: var(--brand) !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 59, 64, .24);
}

/* --------------------------------------------------------- policy docs */
html.pro-home .doc {
  padding: 30px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
html.pro-home .doc::before { display: none; }
html.pro-home .doc > h2 {
  margin: 0 0 14px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--surface-2);
  font-size: clamp(22px, 3vw, 29px);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--brand);
}
html.pro-home .doc-meta {
  margin: 0 0 24px !important;
  font-size: 12.5px;
  color: var(--ink-3);
}
html.pro-home .doc h3 {
  margin: 26px 0 10px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.4;
}
html.pro-home .doc h3 .n {
  display: inline-block;
  min-width: 30px;
  padding: 2px 9px;
  border-radius: 8px;
  background-color: var(--brand-2) !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}
html.pro-home .doc h4 { color: var(--ink); font-weight: 800; }
html.pro-home .doc p,
html.pro-home .doc li,
html.pro-home .doc td,
html.pro-home .doc th { color: var(--ink-2); font-size: 14px; }
html.pro-home .doc p strong { color: var(--ink); }
html.pro-home .doc a { color: var(--brand-2); font-weight: 600; }
html.pro-home .doc ul li::marker,
html.pro-home .doc ol li::marker { color: var(--brand-3); }
html.pro-home .doc .callout {
  background: #fff8ec;
  border: 1px solid #fde3b8;
  border-left: 4px solid var(--accent-2);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0;
}
html.pro-home .doc .callout-title {
  color: #8a5200;
  font-weight: 800;
  font-size: 13px;
}
html.pro-home .doc .callout p { margin: 6px 0 0; color: #5c420f; }
html.pro-home .doc table { border-color: var(--line); }
html.pro-home .doc th { background: var(--surface-2); color: var(--brand); }
html.pro-home .doc hr { border-color: var(--line); }

/* -------------------------------------------------------------- contact */
html.pro-home .contact {
  margin: 34px 0 0;
  padding: 30px 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
html.pro-home .contact-head { margin-bottom: 20px; }
html.pro-home .contact #contact { margin-top: 0; }
html.pro-home .contact dl {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 0;
  margin: 0;
}
html.pro-home .contact dt {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
}
html.pro-home .contact dd {
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}
html.pro-home .contact dd a { color: var(--brand-2); font-weight: 600; }
html.pro-home .contact .muted { color: var(--ink-3); }

/* --------------------------------------------------------------- footer */
html.pro-home .foot {
  margin: 30px 0 44px;
  padding: 26px 30px;
  background: #eaf2f5;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-2);
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: 12.5px;
}
html.pro-home .foot p { margin: 5px 0 0; color: var(--ink-2); }
html.pro-home .foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 12px;
}
html.pro-home .foot-links a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-2);
}

/* ----------------------------------------------------------- responsive */
@media (max-width: 900px) {
  html.pro-home .hero { grid-template-columns: 1fr; padding: 38px 30px; }
  html.pro-home .hero-visual { display: none; }
  html.pro-home .doc-cards { grid-template-columns: repeat(2, 1fr); }
  html.pro-home .trust-strip { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  html.pro-home .trust-strip .ts-item:nth-child(2) { border-right: 0; }
  html.pro-home .contact dl { grid-template-columns: 150px 1fr; }
}
@media (max-width: 560px) {
  html.pro-home .topbar-in { height: 62px; }
  html.pro-home .brand img { width: 36px; height: 36px; }
  html.pro-home .brand-name { font-size: 17px; }
  html.pro-home .brand-tag { font-size: 9.5px; }
  html.pro-home .langbar button { padding: 8px 12px; font-size: 12px; }
  html.pro-home .hero { margin-top: 18px; padding: 30px 22px; border-radius: 20px; }
  html.pro-home .hero h1 { font-size: 29px; }
  html.pro-home .hero .lede { font-size: 15px; }
  html.pro-home .trust-strip { padding: 16px 6px; }

  /* --- mobile: Amazon/OLX-style horizontal swipe slider --------------- */
  html.pro-home .cards-section .section-head { padding-inline: 2px; }
  html.pro-home .doc-cards {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    margin: 0 -20px;                 /* bleed to screen edges */
    padding: 4px 20px 16px;          /* first card lines up with text */
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  html.pro-home .doc-cards::-webkit-scrollbar { display: none; }
  html.pro-home .doc-card {
    flex: 0 0 min(278px, calc(100vw - 72px));
    max-width: 278px;
    scroll-snap-align: start;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px;
    min-height: 190px;
  }
  html.pro-home .doc-card .dc-ic { flex: 0 0 auto; width: 44px; height: 44px; margin: 0 0 2px; }
  html.pro-home .doc-card .dc-d { display: block; font-size: 12px; }
  html.pro-home .doc-card .dc-go { margin: auto 0 0; padding: 8px 0 0; white-space: nowrap; }

  /* swipe dots — small, high-contrast, below the slider */
  html.pro-home .slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
  }
  html.pro-home .slider-dots .sdot {
    width: 7px; height: 7px;
    border-radius: 999px;
    background: var(--line-2);
    transition: width .2s ease, background-color .2s ease;
  }
  html.pro-home .slider-dots .sdot.active {
    width: 22px;
    background: var(--brand-2);
  }

  html.pro-home .tabs { top: 62px; margin-top: 28px; }
  html.pro-home .tabs a { flex: 0 0 auto; padding: 10px 13px; font-size: 12px; }
  html.pro-home .doc { padding: 22px 18px; }
  html.pro-home .doc > h2 { font-size: 21px; }
  html.pro-home .contact { padding: 22px 18px; }
  html.pro-home .contact dl { grid-template-columns: 1fr; }
  html.pro-home .contact dt { padding-bottom: 2px; border-bottom: 0; }
  html.pro-home .contact dd { padding-top: 2px; }
  html.pro-home .foot { padding: 20px; }
}
