/* Homepage only (index.html): Tesla-style top panels + light neutral restyle.
   Loaded after variant-a.css. Every rule is scoped to html.tp-home so no other page changes.
   Gold appears only in the logo and the dot of "Ask a Question". */

html.tp-home {
  --accent: #171a20;
  --gold: #171a20;
  --header-h: 64px;
  --tp-carbon: #171a20;
  --tp-graphite: #393c41;
  --tp-pewter: #5c5e62;
  --tp-ash: #f4f4f4;
  --tp-ease: .33s cubic-bezier(.5, 0, 0, .75);
  scroll-snap-type: y proximity;
  scroll-padding-top: 64px;
}
.tp-home body.va {
  --va-paper: #fff;
  --va-ink: #171a20;
  --va-ink-2: #393c41;
  --va-muted: #5c5e62;
  --va-line: #e8e8e8;
  --va-pill-line: #e2e2e2;
  --va-accent: #171a20;
  --va-blue: #393c41;
  --va-head: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-head: "Inter", system-ui, sans-serif;
  background: #fff;
  font-family: "Inter", system-ui, sans-serif;
}
.tp-home .va h1, .tp-home .va h2 { font-weight: 500; letter-spacing: -.2px; }
.tp-home .va h3 { font-weight: 600; }

/* ── Header: transparent over the video, frosted after scroll ── */
.tp-home .va .top-header {
  position: fixed; top: 0; left: 0; right: 0; width: 100%;
  height: 64px; background: transparent; border-bottom: 0; box-shadow: none !important;
  transition: background var(--tp-ease);
}
.tp-home .top-header::after { display: none; }
.tp-home.tp-scrolled .va .top-header {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.tp-home .logo-color { height: 46px; border-radius: 4px; }
.tp-home .logo-tagline-x { border-left-color: #d0d0d0; font-weight: 600; }
.tp-home .va .site-nav a, .tp-home .va .nav-drop-btn { font-weight: 500; }
.tp-home .va .btn-call-sm, .tp-home .va .btn-sched-sm {
  background: transparent !important; color: var(--tp-carbon) !important;
  border: 0 !important; border-radius: 4px; font-weight: 500; box-shadow: none; padding: 8px 12px;
}
.tp-home .va .btn-call-sm:hover, .tp-home .va .btn-sched-sm:hover { background: rgba(0, 0, 0, .06) !important; transform: none; filter: none; }
.tp-home #ao-chat-top { border: 0; background: transparent; color: var(--tp-carbon); font-weight: 500; border-radius: 4px; }
.tp-home #ao-chat-top:hover { background: rgba(0, 0, 0, .06); }
.tp-home .ao-dot { background: var(--tp-pewter); animation: none; }

/* At the very top the header sits on the dark video: white text, white logo */
.tp-home:not(.tp-scrolled) .logo-tagline-x { color: rgba(255, 255, 255, .85); border-left-color: rgba(255, 255, 255, .4); }
.tp-home:not(.tp-scrolled) .va .btn-call-sm,
.tp-home:not(.tp-scrolled) .va .btn-sched-sm,
.tp-home:not(.tp-scrolled) #ao-chat-top { color: #fff !important; }
.tp-home:not(.tp-scrolled) .va .btn-call-sm:hover,
.tp-home:not(.tp-scrolled) .va .btn-sched-sm:hover,
.tp-home:not(.tp-scrolled) #ao-chat-top:hover { background: rgba(255, 255, 255, .15) !important; }
.tp-home:not(.tp-scrolled) .nav-burger span { background: #fff; }
@media (min-width: 1025px) {
  .tp-home:not(.tp-scrolled) .va .site-nav > a,
  .tp-home:not(.tp-scrolled) .va .site-nav .nav-drop-btn { color: #fff; }
}

/* ── Panels ── */
.tp-home .tp { position: relative; }
.tp-panel {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 600px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: calc(64px + 8vh) 24px 12vh; text-align: center; color: var(--tp-carbon);
}
.tp-bg { position: absolute; inset: 0; z-index: -1; }
.tp-bg picture { display: block; height: 100%; }
.tp-bg img, .tp-bg video { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.tp-dark { color: #fff; }
.tp-dark .tp-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, .15) 60%, rgba(0, 0, 0, .6));
}
.tp-head { max-width: 760px; }
.tp-home .va .tp-panel h1, .tp-home .va .tp-panel h2 {
  margin: 0; color: inherit; font-family: "Inter", system-ui, sans-serif;
  font-size: 40px; font-weight: 500; line-height: 1.2; letter-spacing: -.2px; text-wrap: balance;
}
.tp-kicker { margin: 0 0 10px; font-size: 14px; font-weight: 500; opacity: .9; }
.tp-sub { margin: 8px auto 0; max-width: 620px; font-size: 15px; line-height: 1.5; color: var(--tp-graphite); }
.tp-sub strong { font-weight: 600; color: inherit; }
.tp-dark .tp-sub { color: rgba(255, 255, 255, .9); }
#ovens .tp-head, #fridges .tp-head {
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 16px 24px; border-radius: 4px;
}
.tp-foot { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; max-width: 760px; }
.tp-btns { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.tp-btn {
  min-width: 264px; height: 40px; padding: 0 20px; gap: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px; font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background var(--tp-ease), color var(--tp-ease);
}
.tp-btn svg { width: 16px; height: 16px; }
.tp-btn-p { background: var(--tp-carbon); color: #fff; }
.tp-btn-p:hover { background: var(--tp-graphite); }
.tp-dark .tp-btn-p { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.tp-first { justify-content: flex-start; gap: 32px; }
.tp-btn-s { background: rgba(244, 244, 244, .65); color: var(--tp-carbon); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tp-btn-s:hover { background: #fff; }
.tp-specs {
  display: flex; gap: 56px; justify-content: center; flex-wrap: wrap;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 4px; padding: 14px 32px; color: var(--tp-carbon);
}
.tp-specs b { display: block; font-size: 28px; font-weight: 500; line-height: 1.25; }
.tp-specs span { font-size: 13px; color: var(--tp-graphite); }

/* Callback form in panel 1: frosted dark strip */
.tp-home .va .tp-panel .hero-callback {
  margin: 0; width: 100%; max-width: 552px; text-align: left;
  background: rgba(23, 26, 32, .5); border: 1px solid rgba(255, 255, 255, .14); border-radius: 4px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: none; padding: 14px 16px;
}
.tp-home .va .tp-panel .hero-callback-title { color: #fff; font-weight: 500; font-size: 14px; }
.tp-home .va .tp-panel .hero-callback input[type="tel"] { border: 1px solid rgba(255, 255, 255, .3); border-radius: 4px; background: rgba(255, 255, 255, .95); color: var(--tp-carbon); }
.tp-home .va .tp-panel .hero-callback button { background: #fff; color: var(--tp-carbon); border-radius: 4px; font-weight: 500; box-shadow: none; }
.tp-home .va .tp-panel .hero-callback button:hover { background: var(--tp-ash); }

/* ── Ask a Question pill (only while the top panels are on screen) ── */
.tp-ask {
  position: fixed; left: 50%; bottom: 18px; z-index: 950; transform: translate(-50%, 0);
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: #fff; color: var(--tp-carbon); border-radius: 4px; font-size: 14px; font-weight: 500;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); text-decoration: none;
  opacity: 0; pointer-events: none; transition: opacity var(--tp-ease);
}
.tp-dot { width: 8px; height: 8px; border-radius: 50%; background: #c99a2e; }
.tp-in .tp-ask { opacity: 1; pointer-events: auto; }
.tp-home .sticky-banner { transition: transform var(--tp-ease); }
.tp-in .sticky-banner { transform: translateY(110%); }
.tp-in #ao-cb-pill { visibility: hidden; }

/* ── Below the panels: neutral, flat ── */
.tp-after { padding: 28px 0 0; background: #fff; }
.tp-after .va-ratings { justify-content: center; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.tp-home .va .va-ratings .rating-pill { border-radius: 4px; border-color: #e2e2e2; }
.tp-home .va-topbar { background: #fff; color: var(--tp-pewter); font-size: 13px; }
.tp-home .va-topbar .va-wrap { justify-content: center; gap: 24px; }
.tp-home .va-trust { background: #fff; border-color: #eee; }
.tp-home .va-kicker { color: var(--tp-pewter); }
.tp-home .va-picker, .tp-home .va-fridge { background: var(--tp-ash); }
.tp-home .va .va-btn { border-radius: 4px; font-weight: 500; }
.tp-home .va .va-btn-accent { background: var(--tp-carbon); color: #fff; }
.tp-home .va .va-btn-accent:hover, .tp-home .va .va-btn-dark:hover { background: var(--tp-graphite); }
.tp-home .va-cta { background: var(--tp-ash); }
.tp-home .va-cta h2, .tp-home .va-cta p { color: var(--tp-carbon); }
.tp-home .section { box-shadow: none; }
.tp-home .svc-card, .tp-home .rev-card, .tp-home .coupon-banner { box-shadow: none; border-radius: 4px; }
.tp-home .sticky-banner { background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: none; }
.tp-home .sticky-banner .sticky-call, .tp-home #ao-chat-sticky, .tp-home #ao-cb-pill {
  background: var(--tp-carbon) !important; color: #fff !important; border-radius: 4px; box-shadow: none; border: 0;
}
.tp-home .sticky-banner .sticky-text-btn { border-radius: 4px; }
.tp-home #ao-cb-pill svg { fill: #fff; }
.tp-home .sticky-free { color: var(--tp-carbon); }

@media (max-width: 760px) {
  .tp-panel { padding: calc(64px + 4vh) 16px 11vh; }
  .tp-home .va .tp-panel h1, .tp-home .va .tp-panel h2 { font-size: 28px; }
  .tp-btns { width: 100%; flex-direction: column; gap: 10px; }
  .tp-btn { min-width: 0; width: 100%; }
  .tp-specs { gap: 20px; padding: 12px 16px; }
  .tp-specs b { font-size: 20px; }
  .tp-specs span { font-size: 12px; }
  .tp-first { justify-content: space-between; gap: 16px; }
  .tp-ask { bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html.tp-home { scroll-snap-type: none; }
  .tp-home .top-header, .tp-ask, .tp-home .sticky-banner { transition: none; }
}

/* Neutral pass on lower sections (gold and green accents to carbon/grey) */
.tp-home .sec-tag { background: var(--tp-ash); color: var(--tp-graphite); border-radius: 4px; }
.tp-home .stat-num, .tp-home .disc-amount { color: var(--tp-carbon); font-weight: 500; }
.tp-home .disc-card { border-top: 1px solid #e5e7eb; border-radius: 4px; box-shadow: none; }
.tp-home .disc-card strong { color: var(--tp-carbon); }
.tp-home .coupon-banner { background: var(--tp-ash); border: 1px dashed #c8c8c8; border-radius: 4px; }
.tp-home .coupon-tag, .tp-home .coupon-code { color: var(--tp-carbon); border-color: #d6d6d6; border-radius: 4px; }
.tp-home .coupon-copy { background: var(--tp-carbon); border-radius: 4px; }
.tp-home .why-section .feat-card { border-top: 1px solid #e5e7eb; border-radius: 4px; box-shadow: none; }
.tp-home .why-section .feat-card:hover { background: var(--tp-ash); }
.tp-home .btn-call-hero { background: var(--tp-carbon) !important; color: #fff !important; border-radius: 4px; box-shadow: none !important; font-weight: 500; }
.tp-home .btn-call-hero:hover { background: var(--tp-graphite) !important; transform: none; }
.tp-home .cf-coupon-note { background: var(--tp-ash); border-color: #e2e2e2; border-radius: 4px; }
.tp-home .cf-coupon-note strong { color: var(--tp-carbon); }
.tp-home .irvine-brand-card { border-left-color: #d6d6d6; }
.tp-home .sec-tag-dark { background: var(--tp-ash); color: var(--tp-graphite); border-radius: 4px; }
