/* =============================
   Home page (ffizzi.com/)
   =============================
   Loaded only by the landingPage function's template, after theme.css,
   main.css, auth.css and weekly-highlights.css. Everything here is prefixed
   hp- so it cannot collide with the lp-* rules main.css still carries for
   www/app.html. The few lp-* and wh-* selectors below restyle fragments that
   other modules render into this page (featured-highlights.ts,
   local-events.ts) without changing their markup.

   Colors come from theme.css tokens so the light/dark toggle keeps working;
   the only new colors are the brand seal red and the three confetti dots
   from the app icon. */

:root {
  --hp-seal: #E8505B;
  --hp-seal-deep: #C8324A;
  --hp-seal-soft: rgba(232, 80, 91, 0.14);
  --hp-seal-text: #FF8A8F;
  --hp-mint: #4FD1A1;
  --hp-sky: #4C9BF0;
  --hp-sun: #F7C548;
  --hp-card: rgba(30, 41, 59, 0.72);
  --hp-card-solid: var(--bg-surface);
  --hp-line: var(--overlay-strong);
  --hp-muted: var(--text-muted-2);
  --hp-glow-a: rgba(232, 80, 91, 0.30);
  --hp-glow-b: rgba(76, 155, 240, 0.22);
  --hp-phone-shadow: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.5));
  --hp-display: "Fraunces", Georgia, "Times New Roman", serif;
  --hp-wrap: 1160px;
  --hp-gutter: 20px;
}

:root[data-theme="light"] {
  --hp-seal-text: #B4233B;
  --hp-card: rgba(255, 255, 255, 0.86);
  --hp-glow-a: rgba(232, 80, 91, 0.16);
  --hp-glow-b: rgba(76, 155, 240, 0.14);
  --hp-phone-shadow: drop-shadow(0 24px 30px rgba(15, 23, 42, 0.22));
}

/* main.css pins html/body to height:100% with overflow-x:hidden, which turns
   body into its own scroller and breaks the sticky header. The home page
   scrolls the viewport instead. */
html {
  height: auto;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body.hp-body {
  height: auto;
  min-height: 100%;
  overflow: visible;
}

/* ---------- Header (auth.js re-renders this bar in place) ---------- */

.hp-body .auth-header-bar {
  position: sticky;
  top: 0;
  min-height: 56px;
  padding: 8px var(--hp-gutter);
  background: var(--bg-page-translucent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--overlay-mid);
}

.hp-body .auth-header-btn {
  border-radius: 999px;
  padding: 8px 16px;
}

.hp-body .auth-header-btn.primary,
.hp-body .auth-header-btn.primary:hover {
  background: var(--hp-seal-deep);
  border-color: var(--hp-seal-deep);
  color: #fff;
}

.hp-body .auth-header-btn.primary:hover { filter: brightness(1.1); }

/* ---------- Shared pieces ---------- */

.hp { overflow-x: clip; }

.hp-wrap {
  width: 100%;
  max-width: var(--hp-wrap);
  margin: 0 auto;
  padding: 0 var(--hp-gutter);
}

.hp-section { padding: 72px 0; position: relative; }

.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hp-seal-text);
  margin-bottom: 14px;
}

.hp-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hp-seal);
  box-shadow: 12px 0 0 var(--hp-sun), 24px 0 0 var(--hp-mint);
  margin-right: 26px;
}

.hp-h2 {
  font-family: var(--hp-display);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  text-wrap: balance;
  margin-bottom: 16px;
}

.hp-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--hp-muted);
  max-width: 60ch;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hp-btn svg { flex: none; transition: transform 0.2s ease; }
.hp-btn:hover svg { transform: translateX(3px); }
.hp-btn:active { transform: scale(0.97); }

.hp-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #D63C50 0%, var(--hp-seal-deep) 100%);
  box-shadow: 0 10px 28px rgba(200, 50, 74, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hp-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(200, 50, 74, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hp-btn--ghost {
  color: var(--text-primary);
  background: var(--overlay-soft);
  border-color: var(--hp-line);
}

.hp-btn--ghost:hover { background: var(--overlay-stronger); transform: translateY(-2px); }

.hp-link {
  color: var(--accent-link);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.hp-link:hover { text-decoration: underline; }

.hp a:focus-visible,
.hp button:focus-visible {
  outline: 2px solid var(--hp-sky);
  outline-offset: 3px;
  border-radius: 8px;
}

.hp-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hp-stores a {
  display: inline-flex;
  border-radius: 9px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.hp-stores a:hover { transform: translateY(-2px); opacity: 0.9; }
.hp-stores img { height: 44px; width: auto; display: block; }

/* Scroll reveal. home.js adds .hp-pre only to elements that start below the
   fold, so with no script (or in a renderer with a very tall viewport)
   everything is simply visible. */
.hp-pre {
  opacity: 0;
  transform: translateY(26px);
}

[data-reveal] {
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Hero ---------- */

.hp-hero {
  position: relative;
  padding: 44px 0 36px;
  overflow: hidden;
  isolation: isolate;
}

.hp-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% 0;
  z-index: -2;
  background:
    radial-gradient(620px 460px at 78% 34%, var(--hp-glow-a), transparent 70%),
    radial-gradient(560px 420px at 8% 0%, var(--hp-glow-b), transparent 70%);
}

.hp-hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hp-hero-copy { text-align: center; }

.hp-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--hp-line);
  background: var(--overlay-weak);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-faint-3);
  margin-bottom: 22px;
}

.hp-pill-dots { display: inline-flex; gap: 4px; }
.hp-pill-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--hp-mint); }
.hp-pill-dots i:nth-child(2) { background: var(--hp-seal); }
.hp-pill-dots i:nth-child(3) { background: var(--hp-sun); }

.hp-h1 {
  font-family: var(--hp-display);
  font-weight: 600;
  font-size: clamp(40px, 7.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  text-wrap: balance;
  margin-bottom: 20px;
}

.hp-h1 em {
  font-style: italic;
  color: var(--hp-seal-text);
}

.hp-hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-faint-3);
  max-width: 54ch;
  margin: 0 auto 28px;
}

.hp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 26px;
}

.hp-hero .hp-stores { justify-content: center; }

.hp-hero-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--hp-muted);
}

/* Three framed screenshots (the PNGs already include the device bezel). */
.hp-phones {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 54 / 56;
  margin: 0 auto;
  --px: 0;
  --py: 0;
}

.hp-phone {
  position: absolute;
  width: 36%;
  top: 13%;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hp-phone img {
  display: block;
  width: 100%;
  height: auto;
  filter: var(--hp-phone-shadow);
  animation: hp-float 7s ease-in-out infinite;
}

.hp-phone--l {
  left: 2%;
  transform: translate(calc(var(--px) * -10px), calc(var(--py) * -8px)) rotate(-9deg);
}

.hp-phone--r {
  right: 2%;
  transform: translate(calc(var(--px) * 10px), calc(var(--py) * -8px)) rotate(9deg);
}

.hp-phone--l img { animation-delay: -2.3s; }
.hp-phone--r img { animation-delay: -4.6s; }

.hp-phone--c {
  width: 43%;
  left: 28.5%;
  top: 0;
  z-index: 2;
  transform: translate(calc(var(--px) * 16px), calc(var(--py) * 12px));
}

@keyframes hp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Fizz: confetti-colored bubbles rising behind the phones. */
.hp-fizz {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hp-fizz i {
  position: absolute;
  bottom: -40px;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: var(--c);
  opacity: 0;
  animation: hp-rise var(--d) linear infinite;
  animation-delay: var(--w);
}

@keyframes hp-rise {
  0% { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  12% { opacity: 0.75; }
  60% { opacity: 0.55; }
  100% { transform: translate3d(var(--drift, 24px), -640px, 0) scale(1); opacity: 0; }
}

/* ---------- Occasion ticker ---------- */

.hp-ticker {
  border-block: 1px solid var(--overlay-mid);
  background: var(--overlay-weak);
  overflow: hidden;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hp-ticker-track {
  display: flex;
  width: max-content;
  animation: hp-marquee 48s linear infinite;
}

.hp-ticker:hover .hp-ticker-track { animation-play-state: paused; }

.hp-ticker ul {
  display: flex;
  flex: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hp-ticker li {
  display: flex;
  align-items: center;
  font-family: var(--hp-display);
  font-style: italic;
  font-size: 19px;
  color: var(--text-faint-3);
  white-space: nowrap;
}

.hp-ticker li::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hp-seal);
  margin: 0 22px;
}

.hp-ticker li:nth-child(3n+1)::after { background: var(--hp-mint); }
.hp-ticker li:nth-child(3n+2)::after { background: var(--hp-sun); }

@keyframes hp-marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Discover ---------- */

.hp-split {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hp-points {
  list-style: none;
  margin: 28px 0 30px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.hp-points li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.hp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--hp-seal-soft);
  color: var(--hp-seal-text);
}

.hp-points li:nth-child(2) .hp-icon { background: rgba(79, 209, 161, 0.14); color: var(--hp-mint); }
.hp-points li:nth-child(3) .hp-icon { background: rgba(76, 155, 240, 0.16); color: var(--hp-sky); }
[data-theme="light"] .hp-points li:nth-child(2) .hp-icon { color: #0E8F68; }
[data-theme="light"] .hp-points li:nth-child(3) .hp-icon { color: #1D6FD1; }

.hp-points h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.hp-points p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--hp-muted);
}

.hp-duo {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 10 / 12;
  margin: 0 auto;
}

.hp-duo::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--hp-glow-b), transparent);
  z-index: -1;
}

.hp-duo img {
  position: absolute;
  width: 50%;
  height: auto;
  filter: var(--hp-phone-shadow);
}

.hp-duo img:first-child { left: 4%; top: 0; transform: rotate(-5deg); }
.hp-duo img:last-child { right: 4%; top: 13%; transform: rotate(5deg); }

/* Live content blocks under the Discover intro. */
.hp-live { margin-top: 56px; }
.hp-live > * + * { margin-top: 44px; }

.hp-subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  margin-bottom: 16px;
}

.hp-subhead-title,
.hp .lp-featured h2 {
  font-family: var(--hp-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}

/* Weekly highlight carousel (markup from renderHighlightSection). */
.hp-highlights .wh-carousel,
.hp-highlights > .wh-teaser { margin-bottom: 0; }

.hp-highlights .wh-teaser {
  border-radius: 20px;
  background: var(--hp-card-solid);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-highlights .wh-teaser::before {
  background: linear-gradient(90deg, var(--hp-seal), var(--hp-sun), var(--hp-mint), var(--hp-sky));
}

.hp-highlights .wh-teaser-image img { transition: transform 0.6s ease; }
.hp-highlights .wh-teaser-link:hover .wh-teaser-image img { transform: scale(1.04); }
.hp-highlights .wh-teaser-image { overflow: hidden; }
.hp-highlights .wh-carousel-slide.active { animation: hp-fade 0.5s ease; }

@keyframes hp-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 720px) {
  .hp-highlights .wh-teaser-link { grid-template-columns: 300px 1fr; }
  .hp-highlights .wh-teaser-image { min-height: 210px; }
  .hp-highlights .wh-teaser-body { padding: 28px 76px 34px 32px; }
  .hp-highlights .wh-teaser-body h2 { font-size: 28px; }
}

/* "Happening today in <region>" strip (rendered by home.js). */
.hp-today-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px var(--hp-gutter) 14px;
  margin: 0 calc(var(--hp-gutter) * -1);
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--hp-gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--overlay-strong) transparent;
}

.hp-ev-card {
  flex: 0 0 210px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--hp-card-solid);
  border: 1px solid var(--hp-line);
  color: var(--text-primary);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hp-ev-card:hover {
  transform: translateY(-4px);
  border-color: var(--hp-seal);
  box-shadow: 0 14px 30px var(--scrim-mid);
}

.hp-ev-img {
  width: 100%;
  height: 132px;
  display: block;
  object-fit: cover;
  background: linear-gradient(135deg, var(--bg-surface-alt), var(--border-default));
}

.hp-ev-img--flag { object-fit: contain; padding: 18px; }

.hp-ev-body { padding: 12px 14px 16px; }

.hp-ev-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-ev-city {
  margin-top: 5px;
  font-size: 13px;
  color: var(--hp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-ev-more {
  flex: 0 0 150px;
  scroll-snap-align: start;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px dashed var(--border-strong);
  color: var(--accent-link);
  font-weight: 600;
  text-decoration: none;
}

.hp-ev-more:hover { background: var(--overlay-weak); }

#lp-today-container:not(:empty) { animation: hp-fade 0.5s ease; }

/* "Featured highlights" (markup from featured-highlights.ts). */
.hp .lp-featured { padding: 0; }

.hp .lp-featured .lp-container {
  max-width: none;
  margin: 0;
  padding: 0;
}

.hp .lp-featured h2 { margin-bottom: 16px; }

.hp .lp-featured-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.hp .lp-featured-list li {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 16px 18px 18px;
  border-radius: 16px;
  background: var(--hp-card-solid);
  border: 1px solid var(--hp-line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hp .lp-featured-list li:hover {
  transform: translateY(-3px);
  border-color: var(--hp-seal);
}

.hp .lp-featured-list a {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
}

/* Whole card is the link target. */
.hp .lp-featured-list a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
}

.hp .lp-featured-region {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hp-seal-text);
}

/* ---------- Plan & host showcase ---------- */

.hp-manage {
  background:
    radial-gradient(700px 380px at 85% 20%, var(--hp-glow-a), transparent 70%),
    var(--overlay-weak);
  border-block: 1px solid var(--overlay-mid);
}

.hp-manage-head { margin-bottom: 36px; }

.hp-show-list {
  list-style: none;
  margin: 0 calc(var(--hp-gutter) * -1);
  padding: 4px var(--hp-gutter) 16px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--hp-gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hp-show-list::-webkit-scrollbar { display: none; }

.hp-show-item {
  position: relative;
  flex: 0 0 min(78%, 300px);
  scroll-snap-align: start;
  padding: 22px 20px 22px;
  border-radius: 20px;
  background: var(--hp-card);
  border: 1px solid var(--hp-line);
  overflow: hidden;
}

.hp-show-thumb {
  display: block;
  width: 72%;
  height: auto;
  margin: 0 auto 18px;
  filter: var(--hp-phone-shadow);
}

.hp-show-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }

.hp-show-btn {
  font: inherit;
  color: var(--text-primary);
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: default;
}

.hp-show-item p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--hp-muted);
}

.hp-show-stage { display: none; }

.hp-manage-cta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.hp-manage-cta span { font-size: 14px; color: var(--hp-muted); }

@media (min-width: 900px) {
  .hp-show {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    column-gap: 56px;
    row-gap: 18px;
    align-items: start;
  }

  .hp-show-stage { grid-column: 2; grid-row: 1 / span 2; }
  .hp-manage-cta { grid-column: 1; }

  .hp-show-list {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    overflow: visible;
  }

  .hp-show-thumb { display: none; }

  .hp-show-item {
    padding: 20px 22px 24px;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  }

  .hp-show-item:hover { transform: translateY(-2px); }

  .hp-show-btn { cursor: pointer; }

  /* Whole card activates the feature. */
  .hp-show-btn::after {
    content: "";
    position: absolute;
    inset: 0;
  }

  .hp-show-item.is-active {
    border-color: var(--hp-seal);
    background: var(--hp-card-solid);
    box-shadow: 0 14px 34px var(--scrim-weak);
  }

  /* Auto-advance progress along the active card's bottom edge. */
  .hp-show-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--hp-seal), var(--hp-sun));
    transform: scaleX(0);
    transform-origin: left;
  }

  .hp-show.is-auto .hp-show-item.is-active::after {
    animation: hp-progress var(--hp-show-ms, 4500ms) linear forwards;
  }

  .hp-show-stage {
    display: block;
    position: sticky;
    top: 92px;
    height: 560px;
  }

  .hp-show-stage::before {
    content: "";
    position: absolute;
    inset: 6% -4%;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--hp-glow-a), transparent);
  }

  .hp-show-stage img {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: auto;
    filter: var(--hp-phone-shadow);
    opacity: 0;
    transform: translateX(-50%) translateY(14px) scale(0.97);
    transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .hp-show-stage img.is-active {
    opacity: 1;
    transform: translateX(-50%);
  }
}

@keyframes hp-progress {
  to { transform: scaleX(1); }
}

/* ---------- How it works ---------- */

.hp-how-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.hp-steps {
  list-style: none;
  counter-reset: hp-step;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.hp-steps li {
  counter-increment: hp-step;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  position: relative;
}

.hp-steps li::before {
  content: counter(hp-step);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--hp-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--hp-seal-text);
  background: var(--hp-seal-soft);
  border: 1px solid var(--hp-seal);
}

.hp-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 54px;
  bottom: -16px;
  width: 2px;
  background: linear-gradient(var(--hp-seal), transparent);
  opacity: 0.5;
}

.hp-steps h3 { font-size: 18px; font-weight: 700; margin: 2px 0 4px; }
.hp-steps p { font-size: 15px; line-height: 1.55; color: var(--hp-muted); }

.hp-video {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--hp-line);
  background: #000;
  box-shadow: 0 30px 60px var(--scrim-mid);
  aspect-ratio: 16 / 9;
}

.hp-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-sample {
  margin-top: 48px;
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 26px 24px;
  border-radius: 22px;
  border: 1px solid var(--hp-line);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(79, 209, 161, 0.16), transparent 70%),
    var(--hp-card-solid);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hp-sample:hover { transform: translateY(-3px); border-color: var(--hp-mint); }
.hp-sample h3 { font-family: var(--hp-display); font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.hp-sample p { font-size: 15px; line-height: 1.55; color: var(--hp-muted); max-width: 62ch; }
.hp-sample .hp-link { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Region directory ---------- */

.hp-regions { border-top: 1px solid var(--overlay-mid); }
.hp-regions .hp-lead { margin-bottom: 30px; }

.hp-regions section + section { margin-top: 28px; }

.hp-regions section > h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hp-muted);
  margin-bottom: 12px;
}

.hp-regions .le-region-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
}

.hp-regions .le-region-grid a {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--overlay-mid);
  background: var(--overlay-weak);
  color: var(--text-faint-3);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hp-regions .le-region-grid a:hover {
  background: var(--hp-seal-soft);
  border-color: var(--hp-seal);
  color: var(--text-primary);
}

/* ---------- Closing call to action ---------- */

.hp-final { padding-top: 24px; }

.hp-final-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 56px 24px;
  border-radius: 28px;
  border: 1px solid var(--hp-line);
  background:
    radial-gradient(520px 300px at 50% 0%, var(--hp-glow-a), transparent 70%),
    var(--hp-card-solid);
}

.hp-final-card > img {
  width: 84px;
  height: 84px;
  margin-bottom: 8px;
}

.hp-final-card .hp-lead { margin: 0 auto 28px; }
.hp-final-card .hp-hero-cta { margin-bottom: 22px; }
.hp-final-card .hp-stores { justify-content: center; }

/* ---------- Footer ---------- */

.hp-footer {
  border-top: 1px solid var(--overlay-mid);
  padding: 26px 0 34px;
  margin-top: auto;
}

.hp-footer .hp-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hp-footer p,
.hp-footer a {
  font-size: 13px;
  color: var(--text-muted);
}

.hp-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.hp-footer nav a { text-decoration: none; }
.hp-footer nav a:hover { color: var(--text-primary); text-decoration: underline; }

/* ---------- Larger screens ---------- */

@media (min-width: 640px) {
  :root { --hp-gutter: 28px; }
  .hp-sample { grid-template-columns: 1fr auto; padding: 30px 34px; }
}

@media (min-width: 960px) {
  .hp-section { padding: 104px 0; }
  .hp-hero { padding: 64px 0 72px; }

  .hp-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px; }
  .hp-hero-copy { text-align: left; }
  .hp-hero-sub { margin-left: 0; }
  .hp-hero .hp-hero-cta,
  .hp-hero .hp-stores { justify-content: flex-start; }
  .hp-phones { max-width: 580px; }

  .hp-split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 64px; }
  .hp-how-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 64px; }
  .hp-final { padding-top: 40px; }
  .hp-final-card { padding: 80px 40px; }

  .hp-footer .hp-wrap { flex-direction: row; justify-content: space-between; }
}

@media (max-width: 480px) {
  .hp-btn { width: 100%; }
  .hp-hero-sub,
  .hp-lead { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hp-phone img,
  .hp-ticker-track,
  .hp-fizz i,
  .hp-highlights .wh-carousel-slide.active,
  #lp-today-container:not(:empty) { animation: none; }

  .hp-fizz i { opacity: 0.35; bottom: var(--rest, 30%); }
  .hp-ticker-track { flex-wrap: wrap; width: auto; }
  .hp-ticker ul[aria-hidden="true"] { display: none; }
  .hp-ticker ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; }

  [data-reveal],
  .hp-btn,
  .hp-phone,
  .hp-show-stage img { transition: none; }
}
