* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #0b0b0b;
    color: white;
    overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

/* CENTERED MINIMAL TRIANGLE BUTTON */
.more-btn {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;

    box-shadow: 0 0 12px rgba(255,255,255,0.08);
    transition: 0.25s ease;
}

.more-btn svg {
    display: block;           /* Ensures perfect centering */
    margin-top: 1px;          /* Optical centering for triangle shape */
}

.more-btn:hover {
    background: rgba(255,255,255,0.18);
    transform: translateX(-50%) scale(1.12);
}

.more-btn:active {
    transform: translateX(-50%) scale(0.92);
}

/* Auto-hide when footer is visible */
.hide-more-btn {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(16px);
}

/* FOOTER */
.footer {
    width: 100%;
    max-width: 1200px;
    padding: 60px 20px;
    margin: 40px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 10;
    position: relative;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-left p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
}

.footer-right {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}

.footer-col a:hover {
    color: white;
    text-shadow: 0 0 12px rgba(255,90,27,0.8);
}

/* MOBILE FOOTER */
@media (max-width: 800px) {
    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .footer-right {
        flex-direction: column;
        gap: 28px;
    }
}

/* PAGE WRAPPER */
.app-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    position: relative;
}

/* EXTREME NEON HEAT GLOW */
.heat-glow {
    position: fixed;            /* FIXED — no longer affects page height */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    pointer-events: none;
    z-index: 0;

    background: radial-gradient(circle at 50% 40%,
        rgba(255,90,27,1) 0%,
        rgba(255,122,48,0.8) 20%,
        rgba(255,146,80,0.45) 40%,
        rgba(255,146,80,0.2) 60%,
        rgba(0,0,0,0) 85%);

    filter: blur(120px);
    animation: heatBreath 6s ease-in-out infinite alternate;
}


/* BREATHING HEAT ANIMATION */
@keyframes heatBreath {
    0% { opacity: 0.45; transform: scale(0.85); }
    100% { opacity: 0.9; transform: scale(1.2); }
}

/* HERO */
.hero {
    text-align: center;
    z-index: 5;
}

.hero h1 {
    margin-top: 6px;
    font-size: 30px;
    font-weight: 600;
}

.subtitle {
    margin-top: 4px;
    margin-bottom: 40px;
    color: #dadada;
    font-size: 16px;
}

/* GLASSMORPHIC SEARCH BAR */
.search-box {
    width: 820px;
    max-width: 95%;
    height: 110px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(30px) saturate(180%);
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,0.13);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 26px;
    position: relative;
    animation: glassFloat 4s ease-in-out infinite alternate;
}

/* Floating effect */
@keyframes glassFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-6px); }
}

/* INPUT */
.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 19px;
    color: white;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.6);
}

/* ICONS */
.icon {
    opacity: 0.8;
    cursor: pointer;
}

.icon:hover {
    opacity: 1;
}

/* MIC PULSE */
.mic {
    animation: micPulse 2.2s ease-out infinite;
}

@keyframes micPulse {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(1); opacity: 0.85; }
}

/* BUTTONS */
.pill-btn {
    background: rgba(255,255,255,0.12);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.pill-btn:hover {
    background: rgba(255,255,255,0.22);
}

/* SEND BUTTON */
.send-btn {
    background: #FF5A1B;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: 0 0 18px rgba(255,90,27,0.5);
    position: relative; /* so spinner can center inside */

}

.send-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(255,90,27,0.9);
}

/* RESULTS */
.results {
    margin-top: 48px;
    width: 820px;
    max-width: 95%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.result-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}
.result-card {
    background: rgba(255,255,255,0.05);
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.2s;
}
.result-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;          /* vertically center title block + price */
  gap: 12px;
}
.result-card-header > div:first-child {
  flex: 1;
  text-align: left;             /* title + vendor nicely left-aligned */
}
.result-vendor {
  margin-top: 4px;
  font-size: 0.82rem;
  color: rgba(229, 231, 235, 0.8);
}
.result-price {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(252, 211, 77, 0.96); /* warm gold */
}

.result-price--unknown {
  font-weight: 400;
  color: rgba(156, 163, 175, 0.9);
}

.result-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 0.8rem;
  color: rgba(251, 146, 60, 0.96);
  text-decoration: none;
}

.result-link:hover {
  text-decoration: underline;
}

.result-link-arrow {
  font-size: 0.8rem;
  transform: translateY(1px);
}

.result-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.78rem;
  color: rgba(209, 213, 219, 0.9);
}

.badge-sponsor {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  margin-left: 6px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(252, 211, 77, 0.8);
  background: radial-gradient(circle, rgba(255, 90, 27, 0.35), rgba(17, 17, 17, 0.95));
  color: #fef9c3;
}

.result-card--sponsored {
  border-color: rgba(251, 191, 36, 0.9);
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.25);
}

.result-description {
  margin-top: 6px;
  font-size: 0.88rem;
  color: rgba(243, 244, 246, 0.9);
}

.result-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: rgba(251, 146, 60, 0.96);
  text-decoration: none;
}

.result-link:hover {
  text-decoration: underline;
}

.result-tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.result-tags span {
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(31, 41, 55, 0.95);
  color: rgba(229, 231, 235, 0.9);
}

.result-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

/* RESPONSIVE */
@media (max-width: 700px) {
    .search-box {
        height: auto;
        flex-wrap: wrap;
        padding: 22px;
    }

    .pill-btn {
        padding: 10px 14px;
    }

    .heat-glow {
        width: 600px;
        height: 600px;
    }
}

/* My Vehicle */
.my-vehicle-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Highlight state when vehicle is required */
.my-vehicle-btn--required {
  box-shadow: 0 0 18px rgba(255, 90, 27, 0.9);
  border-color: rgba(251, 191, 36, 0.95);
  animation: myVehiclePulse 1.4s ease-in-out infinite;
}

@keyframes myVehiclePulse {
  0% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(255, 90, 27, 0.0);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(255, 90, 27, 0.85);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(255, 90, 27, 0.0);
  }
}

/* Dropdown-style modal under My Vehicle */
.vehicle-modal {
  position: absolute;
  top: 115%;
  right: 0;
  z-index: 40;
  min-width: 280px;
  max-width: 340px; /* smaller */
}

.vehicle-modal.hidden {
  display: none;
}

.vehicle-modal-card {
  background: rgba(10, 10, 10, 0.96);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  padding: 14px 16px 12px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.9),
    0 0 26px rgba(0, 0, 0, 0.85);
  font-size: 0.82rem;
  color: #e5e7eb;
}

.vehicle-modal-header h3 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.vehicle-modal-header p {
  color: #9ca3af;
  font-size: 0.76rem;
}

.vehicle-modal-body {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vehicle-modal-body label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}
.vehicle-modal-body input {
  margin-top: 2px;
  margin-bottom: 4px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(55, 65, 81, 0.9);
  color: #f9fafb;
  padding: 6px 8px;
  font-size: 0.8rem;
}

.vehicle-modal-body input[readonly] {
  opacity: 0.85;
  cursor: default;
}

.vehicle-modal-body input::placeholder {
  color: rgba(156, 163, 175, 0.9);
}

.vehicle-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 4px;
}

.vehicle-error {
  min-height: 16px;
  font-size: 0.72rem;
  color: #fecaca;
}

.vehicle-status {
  min-height: 16px;
  font-size: 0.72rem;
  color: #a5b4fc;
}

/* Actions */
.vehicle-modal-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.vehicle-btn-primary,
.vehicle-btn-ghost {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  cursor: pointer;
  border: 1px solid transparent;
}

.vehicle-btn-primary {
  background: #ff5a1b;
  border-color: #fb923c;
  color: #f9fafb;
}

.vehicle-btn-primary:hover {
  box-shadow: 0 0 16px rgba(248, 113, 22, 0.9);
}

.vehicle-btn-ghost {
  background: transparent;
  border-color: rgba(75, 85, 99, 0.9);
  color: #e5e7eb;
}

.vehicle-btn-ghost:hover {
  background: rgba(31, 41, 55, 0.9);
}

/* Disclaimer under buttons */
.vehicle-summary {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(55, 81, 81, 0.9);
  font-size: 0.74rem;
  color: #9ca3af;
}

/* Mobile: full width for vehicle modal */
@media (max-width: 700px) {
  .vehicle-modal {
    position: static;
    margin-top: 10px;
    width: 100%;
  }

  .my-vehicle-wrapper {
    width: 100%;
    justify-content: flex-start;
  }
}/* -----------------------------
   Deep Search overlay + modal
   (dark grey + orange, no blue)
------------------------------ */

.deep-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: radial-gradient(circle at top, rgba(18,18,18,0.9), rgba(5,5,5,0.98));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.deep-search-overlay.hidden {
  display: none;
}

.deep-search-modal {
  width: min(960px, 100%);
  max-height: min(640px, 100%);
  border-radius: 24px;
  background:
    radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.22), transparent 55%),
    rgba(10, 10, 10, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.7);
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #e5e7eb;
  overflow: auto;
}

/* Header */

.deep-search-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.deep-search-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.deep-search-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.deep-search-subtitle {
  margin-top: 4px;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Plans */

.deep-search-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.deep-search-plan {
  border-radius: 18px;
  padding: 12px 14px 10px;
  border: 1px solid rgba(75, 85, 99, 0.8);
  background: radial-gradient(circle at top, rgba(24,24,24,0.98), rgba(17,17,17,0.96));
  font-size: 0.78rem;
  color: #d1d5db;
}

.deep-search-plan--pro {
  border-color: rgba(249, 115, 22, 0.9);
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.55), transparent 55%),
    radial-gradient(circle at bottom right, rgba(17, 17, 17, 1), rgba(10, 10, 10, 0.98));
  box-shadow:
    0 0 25px rgba(249, 115, 22, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.9);
}

.deep-search-plan-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f9fafb;
  margin-bottom: 6px;
}

.deep-search-price {
  font-size: 0.72rem;
  font-weight: 500;
  color: #fed7aa;
  margin-left: auto;
}

.deep-search-pill {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  border: 1px solid rgba(249, 250, 251, 0.5);
  background: rgba(24, 24, 27, 0.7);
  color: #fefce8;
}

.deep-search-plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.deep-search-plan-list li::before {
  content: "•";
  margin-right: 6px;
  color: rgba(249, 250, 251, 0.85);
}

/* Form */

.deep-search-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deep-search-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
}

.deep-search-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.deep-search-field--full {
  grid-column: 1 / -1;
}

.deep-search-field label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

.deep-search-field input,
.deep-search-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background: rgba(15, 15, 15, 0.98);
  padding: 7px 10px;
  font-size: 0.82rem;
  color: #e5e7eb;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.deep-search-field input::placeholder,
.deep-search-field textarea::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.deep-search-field input:focus,
.deep-search-field textarea:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 1px rgba(248, 113, 22, 0.45);
  background: rgba(15, 15, 15, 0.98);
}

.deep-search-field textarea {
  resize: vertical;
  min-height: 90px;
}

/* Actions */

.deep-search-actions {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.deep-search-note {
  margin: 0;
  margin-right: auto;
  font-size: 0.68rem;
  color: #9ca3af;
  max-width: 360px;
}

/* Buttons reuse your existing .vehicle-btn-primary / .vehicle-btn-ghost styles */

.deep-search-btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 6px 14px;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.1s ease,
    box-shadow 0.16s ease;
  white-space: nowrap;
}

.deep-search-btn--ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.55);
  color: #e5e7eb;
}

.deep-search-btn--ghost:hover {
  background: rgba(24, 24, 27, 0.9);
}

.deep-search-btn--primary {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #0f172a;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.45);
}

.deep-search-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.6);
}

/* Responsive */

@media (max-width: 900px) {
  .deep-search-modal {
    padding: 18px 14px 14px;
    border-radius: 20px;
  }

  .deep-search-plans {
    grid-template-columns: 1fr;
  }

  .deep-search-grid {
    grid-template-columns: 1fr;
  }

  .deep-search-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .deep-search-note {
    max-width: none;
    text-align: left;
  }
}

/* Location status text */

.location-status {
  margin-top: 8px;
  font-size: 0.72rem;
  color: #9ca3af;
  min-height: 16px;
}

.location-status--error {
  color: #fecaca;
}
/* Voice Search overlay */
.voice-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(0,0,0,0.8), rgba(0,0,0,0.96));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.voice-overlay.hidden {
  display: none;
}

.voice-modal {
  min-width: 260px;
  padding: 18px 20px 16px;
  border-radius: 20px;
  background: rgba(10, 10, 10, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.9);
  text-align: center;
}

.voice-pulse {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(249,115,22,0.9), rgba(249,115,22,0.15));
  animation: voicePulse 1.4s ease-in-out infinite;
}

@keyframes voicePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(249,115,22,0.3);
  }
  70% {
    transform: scale(1.08);
    box-shadow: 0 0 0 12px rgba(249,115,22,0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(249,115,22,0);
  }
}

.voice-main {
  font-size: 0.9rem;
  font-weight: 500;
}

.voice-sub {
  margin-top: 4px;
  font-size: 0.75rem;
  color: #9ca3af;
}
/* Search loading spinner */
.search-spinner {
  position: absolute;
  inset: 0;                       /* center within button */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.search-spinner.visible {
  opacity: 1;
}

.search-spinner-circle {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: #ff5a1b;
  animation: searchSpinnerRotate 0.7s linear infinite;
}

@keyframes searchSpinnerRotate {
  to {
    transform: rotate(360deg);
  }
}

/* When loading, hide the arrow icon and dim the button */
.send-btn.is-loading svg {
  opacity: 0;
}

.send-btn.is-loading {
  cursor: default;
  opacity: 0.7;
}
/* =============================
   Global smooth scrolling
============================= */

html {
  scroll-behavior: smooth;
}

/* =============================
   Legal / Policy Page Layout
============================= */

.app-wrapper--page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 40px 16px 72px;
  position: relative;
}

/* Page hero (header) */
.hero.hero--page {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 20px;
  z-index: 5;
}

.hero.hero--page h1 {
  margin-top: 6px;
  font-size: 30px;
  font-weight: 600;
}

.hero.hero--page .subtitle {
  margin-top: 4px;
  font-size: 14px;
  opacity: 0.9;
}

/* Back to main page link */
.page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: rgba(249, 250, 251, 0.9);
  text-decoration: none;
  font-size: 13px;
  background: radial-gradient(circle at top left, rgba(249,115,22,0.25), rgba(15,23,42,0.85));
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.8);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease,
    color 0.15s ease;
}

.page-back-link span {
  font-size: 16px;
  line-height: 1;
}

.page-back-link:hover {
  border-color: rgba(249, 115, 22, 0.9);
  color: #ffffff;
  box-shadow: 0 0 24px rgba(249, 115, 22, 0.5);
  transform: translateY(-1px);
}

/* Two-column layout: sidebar + content */
.tos-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 32px;
  color: #e5e7eb;
  z-index: 5;
}

/* Sidebar */
.tos-sidebar {
  position: relative;
}

.tos-sidebar-card {
  position: sticky;
  top: 110px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.9),
    0 0 26px rgba(0, 0, 0, 0.85);
  font-size: 0.85rem;
}

.tos-sidebar-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 8px;
}

.tos-sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tos-sidebar-links a {
  text-decoration: none;
  color: #e5e7eb;
  padding: 6px 0;
  border-radius: 10px;
  font-size: 0.85rem;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    padding-left 0.15s ease;
}

.tos-sidebar-links a:hover {
  color: #ffffff;
  background: rgba(249, 115, 22, 0.12);
  padding-left: 6px;
}

/* Main content */
.tos-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tos-content h2 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.tos-section + .tos-section {
  padding-top: 12px;
  border-top: 1px solid rgba(55, 65, 81, 0.7);
}

.tos-section p {
  margin-bottom: 8px;
  color: #d1d5db;
}

.tos-section ul {
  margin-left: 1em;
  padding-left: 0.5em;
}

.tos-section li {
  margin-bottom: 4px;
}

/* Highlighted section after clicking sidebar link */
.tos-section--highlight {
  background: radial-gradient(circle at left, rgba(249,115,22,0.25), rgba(15,23,42,0.35));
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(249,115,22,0.5);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Mobile */
@media (max-width: 900px) {
  .tos-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .tos-sidebar-card {
    position: static;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .tos-sidebar-links {
    flex-direction: row;
  }

  .hero.hero--page {
    text-align: center;
  }
}
/* =============================
   About page section styling
============================= */

.about-content {
  gap: 28px;
}

.about-section {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(10, 10, 10, 0.96);
  padding: 18px 20px 20px;
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.95),
    0 0 26px rgba(15, 23, 42, 0.9);
}

/* Remove the plain top border used for legal sections */
.about-content .tos-section + .tos-section {
  border-top: none;
  padding-top: 0;
}

.about-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.about-section-header h2 {
  font-size: 1.1rem;
}

.about-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
  opacity: 0.95;
}

/* Grid layout inside sections */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.about-grid-2col {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

/* Pill-style cards */
.about-pill-card {
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), rgba(15, 23, 42, 0.95));
  font-size: 0.9rem;
}

.about-pill-card h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

/* Stats row */
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.about-stat {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

.about-stat-number {
  font-size: 1.1rem;
  font-weight: 600;
}

.about-stat-label {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Steps / list formatting */
.about-steps {
  list-style: none;
  counter-reset: about-step;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.about-steps li {
  position: relative;
  padding-left: 32px;
}

.about-steps li::before {
  counter-increment: about-step;
  content: counter(about-step);
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.about-steps p {
  margin-top: 2px;
  color: #d1d5db;
}

/* Callout card */
.about-callout {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(96, 165, 250, 0.5);
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.18), rgba(15, 23, 42, 0.96));
  font-size: 0.9rem;
}

.about-callout h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

/* Principles and lists */
.about-principles {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.about-principles li p {
  margin-top: 2px;
  color: #d1d5db;
}

.about-subheading {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.about-list {
  font-size: 0.9rem;
  padding-left: 1.1em;
}

/* Mobile tweak */
@media (max-width: 900px) {
  .about-grid-2col {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* =============================
   Vendor page styling
   Distinct look, same system
============================= */

.vendors-content {
  gap: 28px;
}

/* Base vendor section card */
.vendor-section {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.08), rgba(10, 10, 10, 0.98));
  padding: 20px 22px 22px;
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.95),
    0 0 32px rgba(15, 23, 42, 0.9);
}

/* make sure vendor sections don't inherit the legal top-border pattern */
.vendors-content .tos-section + .tos-section {
  border-top: none;
  padding-top: 0;
}

/* Section header */
.vendor-section-top {
  margin-bottom: 12px;
}

.vendor-section-top h2 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.vendor-section-top p {
  color: #d1d5db;
  font-size: 0.95rem;
}

.vendor-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

/* Metrics strip under hero section */
.vendor-metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.vendor-metric {
  padding: 12px 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.96);
  font-size: 0.86rem;
}

.vendor-metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.vendor-metric-value {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Small badges row in hero */
.vendor-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.vendor-badge {
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  background: rgba(15, 23, 42, 0.9);
}

/* Audience persona cards */
.vendor-persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.vendor-persona-card {
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top, rgba(96, 165, 250, 0.16), rgba(15, 23, 42, 0.98));
  font-size: 0.9rem;
}

.vendor-persona-card h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.vendor-persona-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid rgba(249, 115, 22, 0.85);
  margin-bottom: 6px;
}

/* Placement mock layout */
.vendor-placement-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 18px;
  margin-top: 12px;
}

.vendor-placement-main {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.98);
  padding: 14px 14px 10px;
  font-size: 0.88rem;
}

.vendor-placement-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.vendor-placement-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

.vendor-placement-meta {
  font-size: 0.8rem;
  color: #d1d5db;
}

.vendor-placement-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vendor-placement-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(15, 23, 42, 0.96);
}

.vendor-placement-row--featured {
  border-color: rgba(249, 115, 22, 0.8);
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.4);
}

.vendor-placement-left {
  flex: 1;
}

.vendor-placement-right {
  flex-shrink: 0;
  text-align: right;
  font-size: 0.8rem;
}

.vendor-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  font-size: 0.7rem;
  margin-bottom: 4px;
}

.vendor-chip--featured {
  border-color: rgba(249, 115, 22, 0.9);
  background: rgba(249, 115, 22, 0.12);
}

.vendor-placement-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.vendor-placement-sub {
  font-size: 0.8rem;
  color: #9ca3af;
}

.vendor-placement-vendor {
  font-weight: 500;
  font-size: 0.86rem;
}

.vendor-placement-cta {
  font-size: 0.78rem;
  color: #93c5fd;
}

/* Placement side panel */
.vendor-placement-side {
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.98);
  font-size: 0.88rem;
}

.vendor-placement-side h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

/* Simple generic list style for vendor sections */
.vendor-list {
  list-style: disc;
  padding-left: 1.2em;
  font-size: 0.9rem;
}

.vendor-list li {
  margin-bottom: 4px;
  color: #d1d5db;
}

/* Two-column cards */
.vendor-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.vendor-card {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.98);
  padding: 14px 14px 12px;
  font-size: 0.9rem;
}

.vendor-card--compact {
  font-size: 0.88rem;
}

.vendor-card h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.vendor-tier-sub {
  font-size: 0.88rem;
  color: #d1d5db;
  margin-bottom: 6px;
}

/* Tiers */
.vendor-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.vendor-tier-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.98);
  padding: 14px 14px 12px;
  font-size: 0.9rem;
}

.vendor-tier-card--highlight {
  border-color: rgba(249, 115, 22, 0.9);
  box-shadow: 0 0 22px rgba(249, 115, 22, 0.4);
  background: radial-gradient(circle at top, rgba(249, 115, 22, 0.16), rgba(15, 23, 42, 0.98));
}

.vendor-tier-tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

/* Proof / quote layout */
.vendor-proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 14px;
  margin-top: 10px;
}

.vendor-quote-card {
  border-radius: 16px;
  border: 1px solid rgba(96, 165, 250, 0.75);
  background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.25), rgba(15, 23, 42, 0.98));
  padding: 14px 16px;
  font-size: 0.92rem;
}

.vendor-quote-text {
  font-style: italic;
  margin-bottom: 8px;
}

.vendor-quote-attrib {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* CTA band */
.vendor-cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 18px;
  border-radius: 18px;
  border: 1px solid rgba(249, 115, 22, 0.85);
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.25), rgba(15, 23, 42, 0.98));
  padding: 18px 18px 16px;
}

.vendor-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  justify-content: center;
}

.vendor-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.9);
  background: #f97316;
  color: #0b0b0f;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.9);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.vendor-cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.95);
  background: #fb923c;
}

.vendor-cta-caption {
  font-size: 0.8rem;
  color: #111827;
  opacity: 0.92;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .vendor-placement-layout,
  .vendor-grid-2,
  .vendor-proof-layout,
  .vendor-cta-band {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* =============================
   Auth / Account top-right UI
============================= */

.top-nav {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  padding: 0 20px;
  pointer-events: none; /* let underlying page receive clicks unless on account shell */
}

.top-nav-right {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

.account-shell {
  position: relative;
  pointer-events: auto;
}

.account-btn {
  border: none;
  background: rgba(15, 15, 15, 0.9);
  border-radius: 999px;
  padding: 4px 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.85),
    0 0 12px rgba(255, 90, 27, 0.25);
  transition:
    background 0.15s ease,
    transform 0.1s ease,
    box-shadow 0.15s ease;
}

.account-btn:hover {
  background: rgba(24, 24, 27, 0.98);
  transform: translateY(-1px);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.9),
    0 0 18px rgba(255, 90, 27, 0.4);
}

.account-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.7), rgba(15, 23, 42, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(253, 230, 138, 0.7);
  overflow: hidden;
}

.account-avatar-initial {
  opacity: 0.9;
}

/* Dropdown */

.account-dropdown {
  position: absolute;
  top: 44px;
  right: 0;
  min-width: 260px;
  max-width: 320px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.18), rgba(10, 10, 10, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.96),
    0 0 26px rgba(15, 23, 42, 0.95);
  font-size: 0.85rem;
  color: #e5e7eb;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.account-dropdown--hidden {
  display: none;
}

.account-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account-section--hidden {
  display: none;
}

.account-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.account-subtitle {
  font-size: 0.78rem;
  color: #9ca3af;
}

.account-premium-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(252, 211, 77, 0.85);
  background: radial-gradient(circle, rgba(251, 191, 36, 0.2), rgba(15, 23, 42, 0.95));
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fef3c7;
}

.account-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.account-action-btn {
  flex: 1;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 7px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.1s ease,
    box-shadow 0.15s ease;
}

.account-action-btn--primary {
  background: linear-gradient(135deg, #f97316, #fb923c);
  border-color: rgba(249, 250, 251, 0.9);
  color: #0b0b0b;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(249, 115, 22, 0.55);
}

.account-action-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(249, 115, 22, 0.75);
}

.account-action-btn--ghost {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.account-action-btn--ghost:hover {
  background: rgba(24, 24, 27, 0.98);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.9);
}

.account-footnote {
  margin-top: 4px;
  font-size: 0.72rem;
  color: #9ca3af;
}

/* Mobile tweak */
@media (max-width: 700px) {
  .top-nav {
    padding: 8px 12px 0;
  }
}
