/* TickrDash site chrome — the redesigned nav and footer, shared by every marketing page.
   - Pages already on the new look (index.html) get it through site.css's @import.
   - Pages still on style.css (pricing, venues, support, …) load it AFTER style.css:
       <link rel="stylesheet" href="style.css">
       <link rel="stylesheet" href="chrome.css">
     Every nav/footer selector is scoped under .nav / .footer so it beats style.css's own
     header/footer rules, and the "palette bridge" at the bottom re-points style.css's colour
     variables (page ground, panels, accent) at the new palette without touching its layout.
   js/nav.js drives the phone menu through the .nav-toggle / .nav-links / .open hooks.
   Inter is the app's self-hosted variable font: apps/web/public/fonts ships to the hosting
   root, so /fonts/inter-variable.woff2 resolves on staging and prod. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --gold: #ffc107;
  --gold-hover: #ffd454;
  --bg: #0b0c0e;
  --bg-alt: #0e0f11;
  --bg-deep: #0a0a0c;
  --rule: #1a1a1a;
  --card: #101114;
  --card-rule: #1f2024;
  --ink: #fff;
  --ink-2: #b9bcc2;
  --ink-3: #9aa0a6;
  --ink-4: #a8adb4;
  --ink-5: #7e8288;
}

/* ===== Nav ===== */
header.nav {
  position: relative;
  top: auto;
  width: auto;
  height: auto;
  z-index: 20;
  background: rgba(10, 10, 11, .9);
  border-bottom: 1px solid #1e1e1e;
  backdrop-filter: none;
}
.nav .nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav .nav-logo { display: block; }
.nav .nav-logo img { height: 40px; width: auto; display: block; }
.nav .nav-links { display: flex; align-items: center; gap: 26px; }
.nav .nav-links a:not(.btn) {
  color: #aaa;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding: 0;
}
.nav .nav-links a:not(.btn):hover,
.nav .nav-links a.is-current { color: var(--ink); }
.nav .btn-nav {
  display: inline-block;
  padding: 9px 18px;
  border: 0;
  border-radius: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  box-shadow: none;
  transform: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.nav .btn-nav.btn-gold { background: var(--gold); color: #111; }
.nav .btn-nav.btn-gold:hover { background: var(--gold-hover); color: #111; }
.nav .btn-nav.btn-ghost { background: transparent; border: 1px solid #333; color: var(--ink); font-weight: 700; }
.nav .btn-nav.btn-ghost:hover { border-color: #666; color: var(--ink); }
.nav .nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  width: 40px;
  height: 40px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav .nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-left: 10px;
  border-radius: 0;
  background: #aaa;
  opacity: 1;
  transition: transform .15s ease;
}
.nav .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 1; transform: translateY(-3px) rotate(-45deg); }

/* ===== Footer ===== */
footer.footer { background: var(--bg-deep); border-top: 1px solid var(--rule); padding: 0; }
.footer .wrap { max-width: 1280px; margin: 0 auto; padding: 56px 56px 30px; }
/* Five columns since the "Guides" column landed: brand, Products, Company, Guides, Created by. */
.footer .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; margin: 0; }
.footer .footer-logo { height: 30px; width: auto; display: block; margin-bottom: 14px; }
.footer .footer-about { color: var(--ink-3); font-size: 15px; line-height: 1.6; max-width: 300px; margin: 0 0 20px; }
.footer .footer-badge { display: inline-block; }
.footer .footer-badge img { height: 52px; width: auto; display: block; }
.footer .footer-head {
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.footer .footer-grid a:not(.footer-badge):not(.footer-maker) { display: block; color: var(--ink-3); font-size: 15px; line-height: 2.1; }
.footer .footer-grid a:not(.footer-badge):not(.footer-maker):hover { color: var(--ink); }
.footer .footer-maker { display: block; margin-bottom: 8px; }
.footer .footer-maker img { height: 30px; width: auto; display: block; }
.footer .footer-maker-url { color: var(--ink-3); font-size: 15px; line-height: 1.6; }
.footer .footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid #17181a;
  color: var(--ink-5);
  font-size: 13px;
  text-align: left;
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .nav .nav-links { gap: 20px; }
  .footer .wrap { padding: 56px 40px 30px; }
  .footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ---------- narrow nav (the six items no longer fit beside the logo) ---------- */
@media (max-width: 900px) {
  .nav .nav-toggle { display: flex; }
  .nav .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 20px;
    background: var(--bg-alt);
    border-bottom: 1px solid #1e1e1e;
  }
  .nav .nav-links.open { display: flex; }
  .nav .nav-links a:not(.btn) { color: var(--ink); font-size: 16px; padding: 10px 0; }
  .nav .nav-links .btn-nav { margin: 8px 0 0; padding: 13px 18px; font-size: 16px; border-radius: 10px; }
}

/* ---------- phone ---------- */
@media (max-width: 768px) {
  .nav .nav-inner { padding: 14px 20px; }
  .nav .nav-logo img { height: 26px; }

  .footer .wrap { padding: 28px 20px 30px; }
  .footer .footer-logo { height: 26px; margin-bottom: 14px; }
  .footer .footer-about, .footer .footer-maker-col { display: none; }
  .footer .footer-brand { grid-column: 1 / -1; }
  .footer .footer-brand .footer-badge { margin-bottom: 20px; }
  .footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer .footer-head { font-size: 12px; margin-bottom: 6px; }
  .footer .footer-legal { flex-direction: column; gap: 4px; margin-top: 24px; font-size: 12px; }
}

/* ===== Palette bridge for pages still on style.css =====
   Only colours change here: the page ground, panels/cards, text tones and the accent
   (orange → gold; the old cyan becomes a light neutral). Layout, type and components
   stay exactly as style.css defines them. The hard-coded orange/cyan rgba() tints that
   style.css bakes into specific components are re-tinted below. */
:root {
  --color-bg-dark: var(--bg);
  --color-bg-panel: var(--card);
  --color-bg-card: #16171b;
  --color-text-main: var(--ink);
  --color-text-muted: var(--ink-3);
  --color-primary-orange: var(--gold);
  --color-primary-orange-hover: var(--gold-hover);
  --color-accent-cyan: #e8eaed;
}
html { scroll-padding-top: 16px; }             /* the nav is in flow now, not fixed */
.page-header { padding-top: 0; min-height: 0; background: var(--bg-deep); border-bottom-color: var(--rule); }
.banner-section { padding-top: 0; }
.btn-primary { color: #111; box-shadow: none; }
.btn-primary:hover { color: #111; box-shadow: none; }
.feature-card:hover, .video-card:hover, .faq-item[open] { border-color: rgba(255, 193, 7, .3); }
.step-card:hover { border-color: rgba(255, 193, 7, .3); }
.step-number { background: rgba(255, 193, 7, .12); box-shadow: none; }
.pricing-card:hover { border-color: rgba(255, 193, 7, .4); box-shadow: 0 15px 35px rgba(0, 0, 0, .4); }
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(255, 193, 7, .07) 0%, var(--color-bg-panel) 45%);
  box-shadow: none;
}
.pricing-badge { color: #111; }
.pricing-savings { background: rgba(255, 193, 7, .12); color: var(--gold); }
.pricing-notice-bar { background: rgba(255, 193, 7, .06); border-color: rgba(255, 193, 7, .2); }
.pricing-notice-bar strong { color: var(--gold); }
.hero-banner-line { background: rgba(255, 193, 7, .08); border-color: rgba(255, 193, 7, .3); box-shadow: none; }
.faq-group-title { color: var(--ink); }
.text-cyan { color: var(--gold); }              /* inline link/heading accent; badges keep the neutral */
.support-cta { border-color: var(--card-rule); box-shadow: none; }
.video-placeholder { background: radial-gradient(circle at center, rgba(255, 193, 7, .08) 0%, rgba(11, 12, 14, 0) 70%); }
