/* ============================================================
   hellodilly.com front door — viral consumer homepage
   Show the app. One CTA. Calm, premium, direct.

   Stolen patterns (Mobbin — cite these, do not copy art):
   Hero
   - Partiful: split copy + phone + one primary CTA
     https://mobbin.com/sites/sections/5472e9d8-de81-40dc-ba9e-a2d6f4e71fe1
   - Zipline: punchy headline, App Store under the lede, phone in action
     https://mobbin.com/sites/sections/72430cf1-eea0-4855-956d-de0aac1e8454
   - Aave: Apple-logo pill + product on device
     https://mobbin.com/sites/sections/f0e38c54-5f72-4579-9265-fd254ee6f17d
   - Duolingo: one action, nothing competing with GET STARTED
     https://mobbin.com/sites/sections/ac10aadd-d55a-4144-ab7d-8777e3bb4e5e
   How it works
   - ClassPass: numbered circles, first filled, rest outline, “Here’s how it works”
     https://mobbin.com/sites/sections/193363c3-3373-49a5-a1d0-00ff01f07b4d
   - Clay: four step cards + Get started under the heading
     https://mobbin.com/sites/sections/28c16d19-1b1c-4c38-b06e-660c77901cbc
   Product beats
   - incident.io: phone + floating labels that name what you’re seeing
     https://mobbin.com/sites/sections/c11ccc48-4f3a-41ae-a89b-62155ee8b946
   - PayPal: check list under the benefit, QR for desktop → app
     https://mobbin.com/sites/sections/779990c5-bf1c-43f3-9f95-2e2f74aade46
   Pricing
   - Headspace: two cards, highlighted paid plan, cancel anytime, Get the app
     https://mobbin.com/sites/sections/a94d32f9-490d-4c2d-b3fe-a9beaa1e5044
   - Flo (in-app supplement): monthly price large, no fake ratings on the site
     https://mobbin.com/screens/a86fb028-c74c-4c20-91ec-4502da19b60a
   Close / download
   - DICE: GET THE APP + QR for desktop
     https://mobbin.com/sites/sections/f3231b90-c895-47aa-855f-597c52ecfa09
   - Square: dark split, phone + download headline + App Store
     https://mobbin.com/sites/sections/fad611b5-d51b-4419-9a48-4efa9cc451c1
   - Craft: serif close line, download again after the story
     https://mobbin.com/sites/sections/d2575917-32dd-426a-b9af-db4465948f3c
   Footer
   - Headspace: Get the app column with store badge
     https://mobbin.com/sites/sections/f0e38c54-5f72-4579-9265-fd254ee6f17d
   ============================================================ */

body.hf-home .rv2-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Hero ── */
.hf-hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--hc-nav) + 28px) 24px 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 60% at 50% -12%, rgba(16, 89, 191, 0.34), transparent 55%),
    radial-gradient(ellipse 70% 45% at 18% 28%, rgba(255, 255, 255, 0.28), transparent 65%),
    linear-gradient(180deg,
      #4f8fcf 0%,
      #6fa8dc 16%,
      #93bee4 36%,
      #c5daf0 60%,
      #e4eef8 80%,
      var(--hc-bg) 100%);
}

.hf-hero .hc-sky { z-index: 0; }
.hf-hero .hc-vignette { opacity: 0.7; }

.hf-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--hc-bg));
  pointer-events: none;
  z-index: 2;
}

.hf-hero-inner {
  position: relative;
  z-index: 3;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
}

.hf-copy {
  display: grid;
  justify-items: start;
  text-align: left;
  max-width: 36rem;
}

.hf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--hc-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hf-face-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  line-height: 0;
  border-radius: 50%;
  flex: 0 0 auto;
}

.hf-face-orb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, #fff 0%, #f3f6ff 48%, #dfe7fb 100%);
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.22);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hf-face-orb canvas {
  width: 86%;
  height: 86%;
  display: block;
}

.hf-hero h1 {
  font-family: var(--hc-display) !important;
  font-weight: 900 !important;
  font-size: clamp(2.55rem, 5.6vw, 4.35rem);
  line-height: 0.92;
  letter-spacing: -0.048em;
  color: var(--hc-ink);
  max-width: 12ch;
  margin-bottom: 18px;
  text-wrap: balance;
}

.hf-hero h1 em {
  font-style: normal;
  color: var(--hc-navy);
  background: linear-gradient(180deg, #3d8fff 0%, var(--hc-navy) 55%, var(--hc-navy-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hf-lede {
  max-width: 38ch;
  color: var(--hc-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: -0.018em;
  margin-bottom: 28px;
  text-wrap: pretty;
}

.hf-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 12px;
}

.hf-ghost {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hc-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.hf-ghost:hover { color: var(--hc-navy); }

.hf-note {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--hc-soft);
}

.hf-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 0;
}

.hf-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(420px, 90%);
  height: 72%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse closest-side,
    rgba(22, 119, 255, 0.28) 0%,
    rgba(22, 119, 255, 0.08) 48%,
    transparent 72%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}

/* ── Device: photographic iPhone 16 Pro Black Titanium + real screenshot ── */
.hf-phone {
  position: relative;
  width: min(320px, 82vw);
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  filter:
    drop-shadow(0 28px 48px rgba(16, 40, 90, 0.26))
    drop-shadow(0 8px 16px rgba(22, 119, 255, 0.10));
}

.hf-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.hf-phone--tilt {
  transform: none;
}

.hf-status {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.02em;
  opacity: 0.55;
}

.hf-app {
  flex: 1;
  padding: 4px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.hf-app-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.hf-app-top strong {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hf-app-top span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hc-navy);
}

.hf-hi {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(14, 20, 40, 0.5);
}

.hf-card {
  background: #fff;
  border-radius: 18px;
  padding: 12px 13px 13px;
  box-shadow: 0 10px 24px rgba(16, 40, 90, 0.07);
  border: 1px solid rgba(22, 119, 255, 0.08);
}

.hf-card--ink {
  background: var(--hc-navy);
  color: #fff;
  border: 0;
  box-shadow: 0 14px 28px rgba(22, 119, 255, 0.28);
}

.hf-card--ink .hf-label,
.hf-card--ink p { color: rgba(255, 255, 255, 0.78); }
.hf-card--ink h4 { color: #fff; }

.hf-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hc-navy);
  margin-bottom: 4px;
}

.hf-card h4 {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.hf-card p {
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.35;
  color: rgba(14, 20, 40, 0.58);
}

.hf-meta {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.hf-chip {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(22, 119, 255, 0.1);
  color: var(--hc-navy);
}

.hf-chip--soft {
  background: rgba(14, 20, 40, 0.06);
  color: rgba(14, 20, 40, 0.62);
}

.hf-why {
  font-size: 0.7rem;
  line-height: 1.4;
  color: rgba(14, 20, 40, 0.62);
}

.hf-why strong { color: var(--hc-ink); font-weight: 800; }

.hf-ask {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.hf-ask li {
  list-style: none;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 7px 9px;
  border-radius: 10px;
  background: #f4f6fb;
  letter-spacing: -0.015em;
}

.hf-pill {
  margin-top: auto;
  margin-bottom: 8px;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hc-navy);
  color: #fff;
  border-radius: 999px;
  padding: 9px 14px 9px 11px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 22px rgba(22, 119, 255, 0.32);
}

.hf-pill i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1;
}

.hf-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px 12px;
  background: #fff;
  border-top: 1px solid rgba(14, 20, 40, 0.06);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  color: rgba(14, 20, 40, 0.38);
}

.hf-tabs span.is-on { color: var(--hc-navy); }

.hf-proof-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(14, 20, 40, 0.06);
}

.hf-proof-row:last-child { border-bottom: 0; }

.hf-dot {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--hc-navy);
  flex: 0 0 auto;
}

.hf-proof-row p {
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(14, 20, 40, 0.7);
}

.hf-proof-row p strong {
  display: block;
  color: var(--hc-ink);
  font-weight: 800;
  margin-bottom: 1px;
}

/* ── Shareable strip ── */
.hf-share {
  position: relative;
  z-index: 2;
  background: #0c1222;
  color: #fff;
  padding: clamp(3.5rem, 9vh, 5.5rem) 24px;
  text-align: center;
}

.hf-share blockquote {
  max-width: 16ch;
  margin: 0 auto 1.1rem;
  font-family: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  font-weight: 560;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hf-loop {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hf-loop b { color: #8eb8ff; font-weight: 800; }

/* ClassPass / Wise numbered loop — 10-second story */
.hf-how {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 9vh, 6.5rem) 24px 3.5rem;
  text-align: center;
}

.hf-how h2 {
  font-family: var(--hc-display) !important;
  font-weight: 900 !important;
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  letter-spacing: -0.038em;
  line-height: 1.08;
}

.hf-how-steps {
  list-style: none;
  width: min(1000px, 100%);
  margin: 2.25rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.hf-how-steps li {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
}

.hf-how-n {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--hc-navy);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.28);
}

.hf-how-steps li:not(:first-child) .hf-how-n {
  background: transparent;
  color: var(--hc-navy);
  border: 2px solid var(--hc-navy);
  box-shadow: none;
}

.hf-how-steps h3 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hf-how-steps p {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--hc-muted);
  max-width: 22ch;
}

.hf-how-cta {
  margin-top: 2rem;
}

@media (max-width: 800px) {
  .hf-how-steps {
    grid-template-columns: 1fr;
    max-width: 420px;
    text-align: left;
  }
  .hf-how-steps li {
    grid-template-columns: 42px 1fr;
    column-gap: 0.9rem;
    align-items: start;
    justify-items: start;
    text-align: left;
  }
  .hf-how-n { grid-row: 1 / span 2; }
}

/* ── Product beats ── */
.hf-beat {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 10vh, 7rem) 24px;
}

.hf-beat-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hf-beat--flip .hf-beat-copy { order: 2; }
.hf-beat--flip .hf-beat-visual { order: 1; }

.hf-beat-copy {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
  max-width: 36rem;
}

.hf-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hc-navy);
}

.hf-beat h2 {
  font-family: var(--hc-display) !important;
  font-weight: 900 !important;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.038em;
  max-width: 14ch;
  text-wrap: balance;
}

.hf-beat-copy > p {
  max-width: 40ch;
  color: var(--hc-muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 600;
  line-height: 1.55;
}

.hf-beat-visual {
  display: flex;
  justify-content: center;
}

.hf-shot {
  position: relative;
  width: min(320px, 78vw);
}

.hf-shot .hf-phone { width: 100%; }

.hf-checks {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.hf-checks li {
  position: relative;
  padding-left: 1.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hc-ink);
}

.hf-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: #e8f1ff;
}

.hf-checks li::after {
  content: "";
  position: absolute;
  left: 0.26rem;
  top: 0.48em;
  width: 0.38rem;
  height: 0.22rem;
  border-left: 2px solid var(--hc-navy);
  border-bottom: 2px solid var(--hc-navy);
  transform: rotate(-45deg);
}

.hf-callout {
  position: absolute;
  z-index: 4;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  color: var(--hc-ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(16, 40, 90, 0.16);
  border: 1px solid rgba(22, 119, 255, 0.12);
}

.hf-callout--a {
  top: 12%;
  left: -18%;
}

.hf-callout--b {
  bottom: 18%;
  right: -16%;
}

.hf-beat--flip .hf-callout--a { left: auto; right: -18%; }
.hf-beat--flip .hf-callout--b { right: auto; left: -16%; }

.hf-shot .hf-phone--tilt,
.hf-beat--flip .hf-shot .hf-phone--tilt {
  transform: none;
}

.hf-alt {
  background: var(--hc-bg-2);
}

/* ── Premium ── */
.hf-pay {
  padding: clamp(4.5rem, 10vh, 7rem) 24px;
  text-align: center;
}

.hf-pay-head {
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}

.hf-pay h2 {
  font-family: var(--hc-display) !important;
  font-weight: 900 !important;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  letter-spacing: -0.038em;
  line-height: 1.08;
  max-width: 16ch;
  margin: 0 auto 0.7rem;
}

.hf-pay-head p {
  color: var(--hc-muted);
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 42ch;
  margin: 0 auto;
}

.hf-pay-benefits {
  list-style: none;
  width: min(640px, 100%);
  margin: 0 auto 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.25rem;
  text-align: left;
}

.hf-pay-benefits li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hc-ink);
}

.hf-pay-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #e8f1ff;
  box-shadow: inset 0 0 0 1.5px var(--hc-navy);
}

.hf-pay-benefits li::after {
  content: "";
  position: absolute;
  left: 0.22rem;
  top: 0.5em;
  width: 0.38rem;
  height: 0.22rem;
  border-left: 2px solid var(--hc-navy);
  border-bottom: 2px solid var(--hc-navy);
  transform: rotate(-45deg);
}

.hf-plan-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.35rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #1677FF;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hf-pay-cta {
  margin-top: 1.5rem;
}

.hf-plans {
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  text-align: left;
}

.hf-plan {
  background: #fff;
  border-radius: 24px;
  padding: 1.45rem 1.4rem 1.5rem;
  border: 1px solid rgba(22, 119, 255, 0.1);
  box-shadow: var(--hc-shadow-soft);
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.hf-plan--plus {
  background: #0c1222;
  color: #fff;
  border: 0;
  box-shadow: var(--hc-shadow-lift);
}

.hf-plan h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hf-plan .hf-price {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0.35rem 0 0.15rem;
}

.hf-plan--plus .hf-price { color: #fff; }
.hf-plan--plus .hf-price span { color: rgba(255, 255, 255, 0.62); opacity: 1; }

.hf-plan .hf-price span {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  opacity: 0.55;
}

.hf-plan > p {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--hc-muted);
  margin-bottom: 0.7rem;
}

.hf-plan--plus > p { color: rgba(255, 255, 255, 0.68); }

.hf-plan ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.hf-plan li {
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.4;
  padding-left: 0.9rem;
  position: relative;
  color: var(--hc-ink);
}

.hf-plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hc-navy);
}

.hf-plan--plus li {
  color: rgba(255, 255, 255, 0.9);
}

.hf-plan--plus li::before { background: #8eb8ff; }

.hf-pay-foot {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hc-soft);
}

.hf-pay-foot a {
  color: var(--hc-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Desktop QR — DICE / PayPal */
.hf-qr {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
}

.hf-qr img {
  width: 72px;
  height: 72px;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(16, 40, 90, 0.1);
}

.hf-qr figcaption {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hc-soft);
  max-width: 16ch;
  line-height: 1.35;
}

.hf-qr--hero {
  margin: 4px 0 10px;
}

.hf-qr--dark img {
  width: 88px;
  height: 88px;
}

.hf-qr--dark figcaption {
  color: rgba(255, 255, 255, 0.72);
}

.hf-footer-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--hc-soft);
}

/* Square / Craft close — dark split + QR */
.hf-close {
  background: #0c1222;
  color: #fff;
  padding: clamp(4rem, 10vh, 6.5rem) 24px;
}

.hf-close-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
}

.hf-close-stage {
  display: flex;
  justify-content: center;
}

.hf-close-stage .hf-phone {
  width: min(280px, 70vw);
  filter:
    drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.18));
}

.hf-close-copy {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.hf-close-copy h2 {
  font-family: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  font-weight: 560;
  font-style: italic;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 14ch;
  text-wrap: balance;
}

.hf-close-copy h2 em {
  font-style: italic;
  color: #8eb8ff;
}

.hf-close-copy > p {
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}

.hf-close-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.4rem;
}

.hf-close-note {
  font-size: 0.8rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.5);
}

.hf-close .hf-close-notify,
.hf-close .hc-linkish {
  background: none;
  border: 0;
  padding: 0;
  color: #8eb8ff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hf-close .hc-notify-msg {
  color: rgba(255, 255, 255, 0.55);
}

/* ── Sticky mobile CTA ── */
.hf-sticky {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.1rem;
  border-radius: 18px;
  background: var(--hc-navy);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 16px 36px rgba(22, 119, 255, 0.38);
  border-bottom: 3px solid var(--hc-navy-deep);
}

@media (max-width: 820px) {
  .hf-hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .hf-copy {
    justify-items: center;
    text-align: center;
  }
  .hf-cta-row { justify-content: center; }
  .hf-ghost { white-space: nowrap; }
  .hf-hero {
    min-height: auto;
    padding-bottom: 0;
  }
  .hf-stage { min-height: 0; }
  .hf-phone--tilt { transform: none; }
  .hf-beat-inner,
  .hf-beat--flip .hf-beat-copy,
  .hf-beat--flip .hf-beat-visual {
    grid-template-columns: 1fr;
  }
  .hf-beat--flip .hf-beat-copy,
  .hf-beat--flip .hf-beat-visual { order: unset; }
  .hf-beat-copy { justify-items: start; text-align: left; }
  .hf-plans { grid-template-columns: 1fr; }
  .hf-pay-benefits { grid-template-columns: 1fr; }
  .hf-qr--hero { display: none; }
  .hf-callout { display: none; }
  .hf-close-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .hf-close-copy { justify-items: center; }
  .hf-close-copy h2 { max-width: 16ch; }
  .hf-close-actions { justify-content: center; }
  .hf-close-stage { display: none; }
  .hf-sticky { display: flex; }
  body.hf-home { padding-bottom: 92px; }
  .hf-home .dnav-cta { display: none !important; }
}

@media (max-width: 560px) {
  .hf-hero h1 { max-width: 12ch; }
  .hf-phone { width: min(270px, 78vw); }
  .hf-loop { font-size: 0.82rem; }
  .hf-cta-row {
    flex-direction: column;
    align-items: stretch;
    width: min(340px, 100%);
  }
  .hf-cta-row .hc-cta { width: 100%; }
  .hf-ghost { white-space: normal; text-align: center; }
}

.hf-steps-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-width: 860px !important;
}
@media (max-width: 800px) {
  .hf-steps-2 { grid-template-columns: 1fr !important; }
}
