@import url("./brand.css");
@import url("./mobile-touch.css");
@import url("./desktop-browser.css");

:root {
  --page-max-width: 1240px;
  --page-gutter: clamp(24px, 4.5vw, 52px);
}

@media (min-width: 1440px) {
  :root {
    --page-max-width: 1380px;
    --page-gutter: clamp(40px, 4vw, 72px);
  }
}

@media (min-width: 1680px) {
  :root {
    --page-max-width: 1520px;
  }
}

@media (min-width: 1920px) {
  :root {
    --page-max-width: 1640px;
    --page-gutter: clamp(48px, 3.5vw, 88px);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  scroll-behavior: smooth;
  /* Clip horizontal bleed on the root only — overflow-x on both html and body breaks iOS scroll. */
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  font-family: "Inter", var(--font-sans);
  color: var(--brand-midnight);
  background: var(--brand-ivory);
  min-height: 100vh;
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

main {
  width: 100%;
}

a {
  color: var(--brand-maroon);
  text-decoration-thickness: 1px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: min(var(--page-max-width), 100%);
  margin-inline: auto;
  padding-inline: max(var(--page-gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--brand-midnight);
  color: var(--daylyf-white);
  text-decoration: none;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--brand-ivory-glass);
  border-bottom: 1px solid var(--brand-border-subtle);
}

body.has-install-banner .site-header {
  top: var(--install-banner-height, 52px);
}

/* ── Install app banner (top) ───────────────────────────────────────────── */

.install-banner {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  background: linear-gradient(90deg, var(--brand-midnight) 0%, #2a1215 55%, var(--brand-maroon) 100%);
  color: var(--daylyf-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 24px rgba(26, 26, 26, 0.12);
}

.install-banner__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.install-banner__mark img {
  height: 20px;
  width: auto;
  opacity: 0.95;
}

.install-banner__copy {
  min-width: 0;
}

.install-banner__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
}

.install-banner__detail {
  margin: 2px 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}

.install-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--daylyf-white);
  color: var(--brand-midnight);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: none;
}

.install-banner__cta:hover {
  background: var(--brand-ivory);
  color: var(--brand-maroon);
}

.install-banner__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--daylyf-white);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.install-banner__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 640px) {
  .install-banner__inner {
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "copy copy close"
      "mark cta cta";
    gap: 8px 10px;
  }

  .install-banner__mark {
    grid-area: mark;
  }

  .install-banner__copy {
    grid-area: copy;
  }

  .install-banner__cta {
    grid-area: cta;
    justify-self: start;
  }

  .install-banner__close {
    grid-area: close;
    justify-self: end;
  }

  .install-banner__detail {
    display: none;
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.site-logo {
  flex-shrink: 0;
  line-height: 0;
}

.logo-mark--header {
  height: 44px;
  width: auto;
}

.logo-mark--footer {
  height: 40px;
  width: auto;
}

.logo-mark {
  height: 44px;
  width: auto;
}

/* Chameleon marks: logo-chameleon.js swaps to daylyf-logo-mark-light on dark surfaces. */

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}

.nav__links {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: center;
  min-width: 0;
}

.nav__links a {
  color: var(--brand-charcoal);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav__links a:hover {
  color: var(--brand-maroon);
}

.nav__links a[aria-current="page"] {
  color: var(--brand-maroon);
  font-weight: 700;
}

.nav__get-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 4px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand-maroon);
  color: var(--cta-on-maroon);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px var(--brand-maroon-glow);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.nav__get-started:hover {
  color: var(--cta-on-maroon);
  background: #6a0000;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(128, 0, 0, 0.28);
}

#download {
  scroll-margin-top: calc(var(--install-banner-height, 0px) + 80px);
}

html {
  scroll-behavior: smooth;
}

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

.text-link {
  color: var(--brand-maroon);
  font-weight: 600;
  text-decoration: none;
}

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

/* Allow <button class="text-link"> to read as an inline text link. */
button.text-link {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  vertical-align: baseline;
}

/* ── Buttons & maroon CTAs ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn--primary,
a.btn--primary,
a.btn--primary:visited {
  background: var(--brand-maroon);
  color: var(--cta-on-maroon);
  box-shadow: 0 10px 28px var(--brand-maroon-glow);
}

.btn--primary:hover {
  background: #6a0000;
  color: var(--cta-on-maroon);
  box-shadow: 0 14px 34px rgba(128, 0, 0, 0.32);
}

.btn--secondary {
  background: var(--daylyf-white);
  color: var(--brand-midnight);
  border: 1px solid var(--brand-border);
  font-weight: 600;
}

.btn--secondary:hover {
  border-color: var(--brand-maroon);
  color: var(--brand-maroon);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  padding: 56px 0 72px;
  overflow: visible;
  min-height: calc(100vh - 76px - var(--install-banner-height, 0px));
  min-height: calc(100svh - 76px - var(--install-banner-height, 0px));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__backdrop picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, var(--brand-maroon-soft), transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(185, 169, 156, 0.35), transparent 50%),
    linear-gradient(165deg, var(--brand-ivory) 0%, var(--daylyf-sand) 42%, var(--daylyf-white) 100%);
  pointer-events: none;
}

.hero__backdrop-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.34;
}

.hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(246, 243, 238, 0.92) 0%,
    rgba(246, 243, 238, 0.78) 42%,
    rgba(255, 255, 255, 0.55) 100%
  );
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
  width: 100%;
  min-width: 0;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(48px, 5vw, 88px);
    align-items: center;
  }

  .hero__intro {
    max-width: 44rem;
    padding-right: clamp(8px, 2vw, 24px);
  }

  .hero__lead {
    max-width: 40rem;
  }

  .hero-visual {
    justify-self: end;
    align-self: center;
    margin-inline-end: 0;
    width: auto;
  }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-maroon);
}

.hero__intro {
  margin: 0;
  min-width: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 4.8vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.hero__lead {
  margin: 20px 0 0;
  font-size: 1.08rem;
  line-height: 1.68;
  color: var(--brand-charcoal);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__secondary-action {
  margin: 16px 0 0;
  font-size: 0.94rem;
}

.store-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-cta-group--hero {
  margin-top: 28px;
}

.store-cta-group--nav {
  margin-left: auto;
}

.store-cta-group--panel {
  justify-content: center;
  margin-top: 8px;
}

.store-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--brand-maroon);
  color: var(--cta-on-maroon);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 8px 22px var(--brand-maroon-glow);
}

.store-cta:hover {
  transform: translateY(-1px);
  background: #6a0000;
  color: var(--cta-on-maroon);
  box-shadow: 0 12px 28px rgba(128, 0, 0, 0.32);
}

.store-cta--play {
  background: var(--brand-midnight);
  box-shadow: 0 8px 22px rgba(10, 10, 15, 0.18);
}

.store-cta--play:hover {
  background: var(--brand-charcoal);
  color: var(--cta-on-maroon);
  box-shadow: 0 12px 28px rgba(10, 10, 15, 0.22);
}

.store-cta--compact {
  padding: 8px 12px;
  min-height: 40px;
  border-radius: 10px;
}

.store-cta--hero,
.store-cta--panel {
  min-width: 196px;
  padding: 12px 18px;
}

.store-cta__icon,
.store-cta__copy,
.store-cta__eyebrow,
.store-cta__name {
  color: var(--cta-on-maroon);
}

.store-cta__icon {
  flex-shrink: 0;
}

.store-cta__copy {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.store-cta__eyebrow {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.95;
}

.store-cta__name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

a.store-cta,
a.store-cta:visited {
  color: var(--cta-on-maroon);
}

.store-cta--compact .store-cta__eyebrow {
  font-size: 0.58rem;
}

.store-cta--compact .store-cta__name {
  font-size: 0.82rem;
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero__highlights li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brand-charcoal);
}

.hero__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-maroon);
}

/* Phone mockup — animated Android hero demo */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-visual {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin: 0;
}

.hero-visual__phone-mount {
  width: min(100%, 300px);
}

.android-phone {
  --phone-radius: 34px;
  --screen-radius: 26px;
  width: 100%;
  filter: drop-shadow(0 28px 56px rgba(10, 10, 15, 0.24));
}

.android-phone__shell {
  position: relative;
  padding: 10px 8px 12px;
  border-radius: var(--phone-radius);
  background: linear-gradient(160deg, #2a2d32 0%, #121418 42%, #0a0b0e 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 6px rgba(0, 0, 0, 0.45);
}

.android-phone__side-btn {
  position: absolute;
  right: -3px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #4a4f54, #2a2d32);
}

.android-phone__side-btn--power {
  top: 108px;
  height: 56px;
}

.android-phone__bezel {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3d4248, #0a0a0f 70%);
  box-shadow: 0 0 0 2px #1a1c20;
}

.android-phone__screen {
  position: relative;
  overflow: hidden;
  border-radius: var(--screen-radius);
  background: #0a0a0f;
  min-height: 548px;
}

.android-phone__status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 6px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--brand-midnight);
  pointer-events: none;
}

.android-phone__status-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand-midnight);
}

.android-phone__viewport {
  position: relative;
  height: 548px;
  overflow: hidden;
}

.android-phone__track {
  display: flex;
  width: calc(100% * var(--slide-count));
  height: 100%;
  animation: android-phone-swipe var(--demo-duration) cubic-bezier(0.45, 0.05, 0.2, 1) infinite;
  animation-fill-mode: both;
  will-change: transform;
}

.app-slide {
  flex: 0 0 calc(100% / var(--slide-count));
  width: calc(100% / var(--slide-count));
  height: 100%;
  overflow: hidden;
}

/* Welcome screen */

.app-welcome {
  position: relative;
  height: 100%;
  padding: 52px 18px 20px;
  background: linear-gradient(180deg, #f6f3ee 0%, #efe8e0 55%, #f6f3ee 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-welcome__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.55;
  pointer-events: none;
}

.app-welcome__orb--one {
  width: 160px;
  height: 160px;
  top: -40px;
  left: -50px;
  background: rgba(185, 169, 156, 0.45);
}

.app-welcome__orb--two {
  width: 120px;
  height: 120px;
  top: 120px;
  right: -40px;
  background: rgba(231, 222, 215, 0.8);
}

.app-welcome__logo {
  width: 72px;
  height: auto;
  margin-top: 8px;
}

.app-welcome__title {
  margin: 18px 0 0;
  font-size: 1.35rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-charcoal);
}

.app-welcome__title em {
  font-style: normal;
  color: var(--brand-maroon);
}

.app-welcome__sub {
  margin: 10px 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--brand-charcoal);
  max-width: 18em;
}

.app-welcome__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.app-welcome__pills span {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(163, 158, 186, 0.12);
  border: 1px solid rgba(163, 158, 186, 0.2);
  color: var(--brand-charcoal);
}

.app-welcome__ctas {
  width: 100%;
  margin-top: auto;
  display: grid;
  gap: 8px;
}

/* Search screen */

.app-search {
  height: 100%;
  padding: 44px 14px 16px;
  background: linear-gradient(180deg, #f6f3ee 0%, #ffffff 100%);
}

.app-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.88);
  margin: -44px -14px 12px;
  padding: 44px 18px 10px;
}

.app-topbar__brand {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--brand-midnight);
  letter-spacing: -0.02em;
}

.app-topbar__brand em {
  font-style: normal;
  color: var(--brand-maroon);
}

.app-search__hero {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(145deg, #0a0a0f 0%, #2a1215 55%, #4a0000 100%);
}

.app-search__eyebrow {
  margin: 0;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b9a99c;
}

.app-search__title {
  margin: 6px 0 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: #f6f3ee;
  letter-spacing: -0.03em;
}

.app-search__lead {
  margin: 4px 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: #b9a99c;
}

.app-search__card {
  margin-top: 14px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(10, 10, 15, 0.1);
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  gap: 10px;
}

.app-field {
  display: grid;
  gap: 4px;
}

.app-field span:first-child {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-charcoal);
}

.app-field__value {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(10, 10, 15, 0.14);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-midnight);
}

.app-field__value--typing {
  border-color: rgba(128, 0, 0, 0.35);
  box-shadow: 0 0 0 2px rgba(128, 0, 0, 0.08);
  animation: app-typing-caret 1.1s step-end infinite;
}

@keyframes app-typing-caret {
  50% {
    border-color: rgba(128, 0, 0, 0.55);
  }
}

/* Results screen */

.app-results {
  height: 100%;
  padding: 44px 14px 16px;
  background: linear-gradient(180deg, #f6f3ee 0%, #ffffff 100%);
}

.app-results__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.app-results__head h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-midnight);
}

.app-results__head p {
  margin: 2px 0 0;
  font-size: 0.62rem;
  line-height: 1.35;
  color: var(--brand-charcoal);
}

.app-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(10, 10, 15, 0.14);
  background: #fff;
  font-size: 0.9rem;
  color: var(--brand-charcoal);
  flex-shrink: 0;
}

.app-icon-btn--overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.app-listing {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 16px;
  border: 1px solid rgba(10, 10, 15, 0.1);
  background: #fff;
  box-shadow: 0 8px 20px rgba(10, 10, 15, 0.06);
  animation: app-listing-enter 0.6s ease both;
}

.app-listing--dim {
  opacity: 0.72;
  transform: scale(0.98);
}

.app-listing img {
  width: 100%;
  height: 68px;
  object-fit: cover;
  border-radius: 12px;
}

.app-listing h4 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-midnight);
  line-height: 1.25;
}

.app-listing p {
  margin: 4px 0 0;
  font-size: 0.58rem;
  color: var(--brand-charcoal);
}

.app-listing strong {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--brand-maroon);
}

.app-listing strong small {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--brand-charcoal);
}

@keyframes app-listing-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Booking screen */

.app-book {
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.app-book__hero {
  position: relative;
  height: 168px;
  overflow: hidden;
}

.app-book__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-book__body {
  padding: 14px 14px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.app-book__body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.app-book__meta {
  margin: 6px 0 0;
  font-size: 0.64rem;
  color: var(--brand-charcoal);
}

.app-book__badge {
  align-self: flex-start;
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  font-size: 0.58rem;
  font-weight: 700;
  color: #047857;
}

.app-book__price {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #f6f3ee;
}

.app-book__price strong {
  display: block;
  font-size: 1.2rem;
  color: var(--brand-maroon);
}

.app-book__price span {
  font-size: 0.62rem;
  color: var(--brand-charcoal);
}

.app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.app-btn--primary {
  background: var(--brand-maroon);
  color: #fff;
}

.app-btn--secondary {
  background: #fff;
  border: 1px solid rgba(10, 10, 15, 0.14);
  color: var(--brand-charcoal);
}

.app-btn--full {
  width: 100%;
  margin-top: auto;
}

.app-btn--pulse {
  animation: app-book-pulse 1.8s ease-in-out infinite;
}

@keyframes app-book-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(128, 0, 0, 0.28);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(128, 0, 0, 0);
  }
}

.android-phone__gesture {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 4px;
  border-radius: 999px;
  background: rgba(10, 10, 15, 0.28);
  z-index: 3;
}

.android-phone__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.app-book--flow .app-book__hero {
  height: 130px;
  flex-shrink: 0;
}

.app-book--flow .app-book__hero img {
  height: 100%;
}

.android-phone__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  .android-phone__track,
  .android-phone__dots span,
  .app-field__value--typing,
  .app-btn--pulse {
    animation: none !important;
  }

  .android-phone__track {
    transform: translateX(0);
  }

  .android-phone__dots span:first-child {
    background: var(--brand-maroon);
  }
}

@media (min-width: 960px) {
  .hero-visual__phone-mount {
    width: 300px;
    flex-shrink: 0;
  }

  .android-phone__screen,
  .android-phone__viewport {
    min-height: 580px;
    height: 580px;
  }
}

@media (min-width: 1200px) {
  .hero-visual__phone-mount {
    width: 312px;
    margin-inline-end: clamp(0px, 1.5vw, 12px);
  }
}

.hero-visual__note {
  margin: 0;
  max-width: 28rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--brand-flint);
}

/* ── Sections ───────────────────────────────────────────────────────────── */

.section {
  width: 100%;
  padding: 72px 0;
  overflow: visible;
}

.section--features {
  overflow: visible;
}

.showcase-band {
  width: 100%;
  max-width: 100%;
  padding-inline: max(var(--page-gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  overflow-x: clip;
  overflow-y: visible;
}

.showcase-band .feature-showcase {
  max-width: min(var(--page-max-width), 100%);
  margin-inline: auto;
}

.section--alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--brand-border-subtle);
}

.section-header {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header--center .section__lead {
  margin-inline: auto;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section__lead {
  margin: 0;
  max-width: 40rem;
  color: var(--brand-charcoal);
  line-height: 1.68;
  font-size: 1.02rem;
}

/* Feature showcase — jigsaw rows (image + text side by side, alternating) */

.feature-showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 80px);
  padding: 16px 0 32px;
  overflow-x: clip;
  overflow-y: visible;
  width: 100%;
  max-width: 100%;
}

.feature-row {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding: 12px clamp(8px, 1.5vw, 16px) 12px clamp(14px, 2vw, 20px);
}

.feature-row__media {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  min-height: 0;
  display: block;
}

.feature-row__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.feature-row__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-row:hover .feature-row__media:not(.home-slider) img,
.feature-row:hover .home-slider__slide img {
  transform: scale(1.06);
}

.feature-row__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8px, 2vw, 16px) clamp(4px, 1.5vw, 12px);
  min-height: 0;
}

.feature-row__body h3 {
  margin: 0 0 12px;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--brand-midnight);
}

.feature-row__body p {
  margin: 0;
  color: var(--brand-charcoal);
  line-height: 1.65;
  font-size: 0.98rem;
}

@media (min-width: 768px) {
  .feature-row {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(28px, 4vw, 44px);
  }

  /* Odd rows: image left, copy right — copy steps down slightly */
  .feature-showcase--jigsaw .feature-row:nth-child(odd) {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  }

  .feature-showcase--jigsaw .feature-row:nth-child(odd) .feature-row__body {
    margin-top: clamp(18px, 3.5vw, 40px);
  }

  /* Even rows: copy left, image right — image steps down */
  .feature-showcase--jigsaw .feature-row:nth-child(even) {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  }

  .feature-showcase--jigsaw .feature-row:nth-child(even) .feature-row__media {
    order: 2;
    margin-top: clamp(18px, 3.5vw, 40px);
  }

  .feature-showcase--jigsaw .feature-row:nth-child(even) .feature-row__body {
    order: 1;
  }
}

@media (max-width: 767px) {
  .feature-showcase--jigsaw .feature-row:nth-child(even) .feature-row__body {
    order: 1;
  }

  .feature-showcase--jigsaw .feature-row:nth-child(even) .feature-row__media {
    order: 2;
  }

  .feature-showcase--jigsaw .feature-row:nth-child(odd) .feature-row__body,
  .feature-showcase--jigsaw .feature-row:nth-child(even) .feature-row__media {
    margin-top: 0;
  }
}

/* Legacy card grid (kept for any secondary pages) */

.feature-grid {
  display: grid;
  gap: 28px;
  padding: 12px clamp(8px, 2vw, 24px) 20px;
  overflow: visible;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
}

.feature-card {
  background: var(--daylyf-white);
  border: 1px solid var(--brand-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(10, 10, 15, 0.06);
}

.feature-card__media {
  margin: 0;
  aspect-ratio: 5 / 3;
  overflow: hidden;
}

.feature-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-card:hover .feature-card__media img {
  transform: scale(1.04);
}

.feature-card__body {
  padding: 22px 24px 26px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--brand-charcoal);
  line-height: 1.6;
  font-size: 0.96rem;
}

.feature-row__media {
  background: var(--daylyf-white);
  border: 1px solid rgba(74, 79, 84, 0.14);
  box-shadow: -5px 5px 0 rgba(128, 0, 0, 0.22);
  border-radius: 0;
  transition: box-shadow 0.25s ease;
}

.feature-row__body {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.feature-row[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.feature-row[data-scroll-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-row:hover .feature-row__media {
  box-shadow: -6px 8px 0 rgba(128, 0, 0, 0.26);
}

/* Tilted heart pairs — scroll reveal (window-times + legacy grids only) */

.tilt-card {
  --tilt: 0deg;
  /* Horizontal entrance offset — set per card (left/right) by scroll-reveal.js. */
  --reveal-x: 0px;
  opacity: 0;
  transform: translate(var(--reveal-x), 24px) rotate(var(--tilt));
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    box-shadow 0.25s ease;
  transform-origin: center center;
  will-change: transform, opacity;
}

.tilt-card.is-visible {
  opacity: 1;
  transform: translate(0, 0) rotate(var(--tilt));
}

.tilt-card:hover {
  box-shadow: 0 18px 44px rgba(10, 10, 15, 0.1);
}

@media (min-width: 640px) {
  /* Top of heart ∨ then bottom ∧ — legacy feature grid pairs */
  .feature-grid--heart .tilt-card:nth-child(4n + 1),
  .feature-grid--heart .tilt-card:nth-child(4n + 4) {
    --tilt: -3.8deg;
  }

  .feature-grid--heart .tilt-card:nth-child(4n + 2),
  .feature-grid--heart .tilt-card:nth-child(4n + 3) {
    --tilt: 3.8deg;
  }

  .feature-grid--heart .tilt-card:nth-child(4n + 3),
  .feature-grid--heart .tilt-card:nth-child(4n + 4) {
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tilt-card {
    opacity: 1;
    transform: rotate(var(--tilt));
    transition: none;
  }

  .feature-showcase--jigsaw .feature-row[data-scroll-reveal],
  .window-times__card[data-scroll-reveal],
  .content-page .step-card[data-scroll-reveal],
  .content-page .use-case__list li[data-scroll-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .feature-card__media img,
  .feature-row__media img {
    transition: none;
  }
}

/* Stay window times */

.window-times {
  display: grid;
  gap: 28px;
  margin-top: 8px;
  padding: 12px clamp(8px, 2vw, 24px) 8px;
  overflow: visible;
}

@media (min-width: 640px) {
  .window-times {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(28px, 4vw, 44px);
    align-items: start;
  }
}

.window-times--stagger .window-times__card:nth-child(1) {
  margin-top: 0;
}

@media (min-width: 640px) {
  .window-times--stagger .window-times__card:nth-child(2) {
    margin-top: clamp(24px, 4.5vw, 52px);
  }
}

.window-times__card {
  background: var(--daylyf-white);
  border: 1px solid rgba(74, 79, 84, 0.14);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 30px);
  box-shadow: -5px 5px 0 rgba(128, 0, 0, 0.22);
  transition: box-shadow 0.25s ease;
}

.window-times__card:hover {
  box-shadow: -6px 8px 0 rgba(128, 0, 0, 0.26);
}

.window-times__card[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    box-shadow 0.25s ease;
}

.window-times__card[data-scroll-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.window-times__range {
  margin: 8px 0 12px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand-maroon);
}

.window-times__detail {
  margin: 0;
  color: var(--brand-charcoal);
  line-height: 1.6;
  font-size: 0.96rem;
}

.window-times__footnote {
  margin: 20px 0 0;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.6;
}

.use-case .window-times {
  margin-bottom: 24px;
}

/* Steps */

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

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--daylyf-white);
  border: 1px solid var(--brand-border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--brand-maroon-soft);
  color: var(--brand-maroon);
  font-weight: 800;
  font-size: 0.95rem;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  color: var(--brand-charcoal);
  line-height: 1.58;
  font-size: 0.94rem;
}

/* Hosts band */

.hosts-band__grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .hosts-band__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }
}

.hosts-points {
  margin: 0;
  padding: 28px;
  list-style: none;
  background: var(--daylyf-white);
  border: 1px solid var(--brand-border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 16px;
}

.hosts-points li {
  position: relative;
  padding-left: 22px;
  color: var(--brand-charcoal);
  line-height: 1.55;
  font-size: 0.96rem;
}

.hosts-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-maroon);
  font-weight: 700;
}

.hosts-band .section__lead {
  margin-bottom: 24px;
}

/* CTA panel */

.section--cta {
  padding-bottom: 80px;
}

.cta-panel {
  text-align: center;
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-maroon-soft), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(128, 0, 0, 0.12);
  box-shadow: var(--shadow-card);
}

.cta-panel .section__lead {
  margin-bottom: 24px;
}

.cta-panel .muted {
  margin-top: 16px;
  text-align: center;
}

/* FAQ — semantic dl for crawlers */

.faq__inner {
  max-width: 720px;
}

.faq-list {
  margin: 0;
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--brand-border-subtle);
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item dt {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-midnight);
}

.faq-item dd {
  margin: 0;
  color: var(--brand-charcoal);
  line-height: 1.62;
  font-size: 0.96rem;
}

/* FAQ page — full /faq/ */

.faq-page__body {
  max-width: 720px;
  padding: 40px 0 48px;
}

.faq-page__body > .faq-accordion:first-of-type {
  margin-top: 4px;
}

.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 28px;
}

.faq-toc a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brand-midnight);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--brand-border-subtle);
  border-radius: 999px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.faq-toc a:hover {
  border-color: var(--brand-maroon);
  background: var(--daylyf-white);
}

.faq-section {
  padding: 36px 0 0;
  scroll-margin-top: 88px;
}

.faq-section h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--brand-midnight);
}

.faq-section .faq-list {
  margin-top: 8px;
}

/* FAQ page — nested accordions (/faq/) */

.faq-accordion {
  margin-bottom: 12px;
  border: 1px solid var(--brand-border-subtle);
  border-radius: var(--radius-md, 16px);
  background: var(--daylyf-white);
  scroll-margin-top: calc(var(--install-banner-height, 0px) + 88px);
  overflow: hidden;
}

.faq-accordion__section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-accordion__section-title::-webkit-details-marker {
  display: none;
}

.faq-accordion__section-label {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-midnight);
}

.faq-accordion__section-title::after {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--brand-maroon);
  border-bottom: 2px solid var(--brand-maroon);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s ease;
}

.faq-accordion[open] > .faq-accordion__section-title::after,
.faq-accordion.is-open > .faq-accordion__section-title::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.faq-accordion__section-body {
  padding: 4px 12px 14px;
  border-top: 1px solid transparent;
  background: rgba(246, 243, 238, 0.45);
  transition: border-color 0.25s ease;
}

.faq-accordion[open] > .faq-accordion__section-body,
.faq-accordion.is-open > .faq-accordion__section-body {
  border-top-color: var(--brand-border-subtle);
}

.faq-accordion__item {
  margin-top: 8px;
  border: 1px solid var(--brand-border-subtle);
  border-radius: 12px;
  background: var(--daylyf-white);
  overflow: hidden;
}

.faq-accordion__item:first-child {
  margin-top: 10px;
}

.faq-accordion__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--brand-midnight);
  user-select: none;
}

.faq-accordion__question::-webkit-details-marker {
  display: none;
}

.faq-accordion__question::after {
  content: "+";
  flex-shrink: 0;
  width: 1.25rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-maroon);
  transition: transform 0.25s ease;
}

.faq-accordion__item[open] > .faq-accordion__question::after,
.faq-accordion__item.is-open > .faq-accordion__question::after {
  content: "−";
  transform: scale(1.05);
}

.faq-accordion__answer {
  padding: 0 16px 16px;
  color: var(--brand-charcoal);
  line-height: 1.62;
  font-size: 0.96rem;
  border-top: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.faq-accordion__item[open] > .faq-accordion__answer,
.faq-accordion__item.is-open > .faq-accordion__answer {
  border-top-color: var(--brand-border-subtle);
}

.faq-accordion__answer > :first-child {
  margin-top: 14px;
}

.faq-inline-list,
.faq-steps {
  margin: 12px 0 0;
  padding-left: 1.2rem;
  line-height: 1.62;
}

.faq-inline-list li,
.faq-steps li {
  margin-bottom: 8px;
}

.faq-inline-list li:last-child,
.faq-steps li:last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .faq-accordion__section-body,
  .faq-accordion__answer {
    transition: none !important;
  }
}

.faq-page__back {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--brand-border-subtle);
}

.faq-page__cta {
  text-align: center;
  margin-top: 16px;
}

.faq-teaser__link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
  color: var(--brand-maroon);
  text-decoration: none;
}

.faq-teaser__link:hover {
  text-decoration: underline;
}

/* ── Mobile nav ─────────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }

  .logo-mark--header {
    height: 36px;
  }

  .nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav__links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: clamp(4px, 1.5vw, 10px);
    width: 100%;
  }

  .nav__links a {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    font-size: clamp(0.68rem, 2.65vw, 0.82rem);
    letter-spacing: -0.01em;
  }

  .nav__get-started {
    width: 100%;
    margin-left: 0;
    padding: 11px 16px;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 56px;
    min-height: 0;
    justify-content: flex-start;
  }

  .hero__grid {
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 8.2vw, 2.65rem);
    overflow-wrap: anywhere;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero-visual {
    width: 100%;
    min-width: 0;
    justify-self: center;
  }

  .hero-visual__phone-mount {
    width: min(100%, 272px);
    margin-inline: auto;
  }

  body:not(.page-home) .android-phone__screen,
  body:not(.page-home) .android-phone__viewport {
    min-height: 468px;
    height: 468px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 380px) {
  .nav__links {
    gap: 3px;
  }

  .nav__links a {
    font-size: 0.64rem;
  }
}

@media (max-width: 520px) {
  .store-cta-group--hero .store-cta,
  .store-cta-group--panel .store-cta {
    width: 100%;
    justify-content: center;
  }

  .store-cta--compact .store-cta__eyebrow {
    display: none;
  }

  .store-cta--compact .store-cta__name {
    font-size: 0.78rem;
  }
}

.site-footer {
  width: 100%;
  padding: 48px 0 calc(64px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--brand-border-subtle);
  background: var(--daylyf-sand);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: var(--brand-charcoal);
  line-height: 1.55;
  max-width: 26rem;
}

.photo-credit {
  margin-top: 10px;
  font-size: 0.78rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--brand-border-subtle);
  background: var(--daylyf-white);
  color: var(--brand-midnight);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.footer-social__link:hover {
  color: var(--brand-maroon);
  border-color: var(--brand-maroon);
  background: var(--brand-ivory);
  transform: translateY(-1px);
}

.footer-social__link:focus-visible {
  outline: 2px solid var(--brand-maroon);
  outline-offset: 2px;
}

/* Account not created yet: icon stays visible but is not a clickable link. */
.footer-social__link--disabled {
  cursor: default;
  opacity: 0.55;
}

.footer-social__link--disabled:hover {
  color: var(--brand-midnight);
  border-color: var(--brand-border-subtle);
  background: var(--daylyf-white);
  transform: none;
}

/* ── Footer contact button ──────────────────────────────────────────────── */
.footer-contact-btn {
  margin: 6px 0 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--brand-maroon);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.footer-contact-btn:hover {
  text-decoration: underline;
}

/* ── Contact modal + form ───────────────────────────────────────────────── */
.has-contact-modal {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.55);
}

.contact-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: 90vh;
  max-height: 90svh;
  overflow-y: auto;
  background: var(--daylyf-white);
  border: 1px solid var(--brand-border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.contact-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--brand-charcoal);
  cursor: pointer;
  border-radius: 999px;
}

.contact-modal__close:hover {
  color: var(--brand-maroon);
  background: var(--brand-ivory);
}

.contact-modal__title {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: var(--brand-midnight);
}

.contact-modal__lead {
  margin: 0 0 18px;
  color: var(--brand-charcoal);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form__field {
  display: grid;
  gap: 6px;
}

.contact-form__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-midnight);
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid var(--brand-border-subtle);
  border-radius: 12px;
  font: inherit;
  color: var(--brand-midnight);
  background: var(--daylyf-white);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: 2px solid var(--brand-maroon);
  outline-offset: 1px;
  border-color: var(--brand-maroon);
}

.contact-form__status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.88rem;
  color: var(--brand-charcoal);
}

.contact-form__status--ok {
  color: #1a7f43;
}

.contact-form__status--error {
  color: var(--brand-maroon);
}

.contact-form__submit {
  width: 100%;
}

.footer-social__icon {
  width: 18px;
  height: 18px;
}

.footer-links {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-links strong {
  margin-bottom: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-midnight);
}

.footer-links a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--brand-charcoal);
}

.footer-links a:hover {
  color: var(--brand-maroon);
}

.footer-cookie-settings {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.92rem;
  color: var(--brand-charcoal);
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.footer-cookie-settings:hover {
  color: var(--brand-maroon);
}

.muted {
  color: var(--brand-flint);
  font-size: 0.85rem;
}

/* ── Content pages (how-it-works, etc.) ─────────────────────────────────── */

.content-page__hero {
  padding: 56px 0 32px;
  background: linear-gradient(165deg, var(--brand-ivory) 0%, var(--daylyf-sand) 100%);
  border-bottom: 1px solid var(--brand-border-subtle);
}

.content-page__hero h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.content-page__lead {
  margin: 18px 0 0;
  max-width: 42rem;
  font-size: 1.06rem;
  line-height: 1.68;
  color: var(--brand-charcoal);
}

.steps--intro {
  margin-top: 36px;
}

@media (min-width: 768px) {
  .steps--intro.steps--stagger .step-card:nth-child(2) {
    margin-top: clamp(24px, 4vw, 48px);
  }
}

.step-card__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

/* How-it-works (and content pages) — gridded cards with homepage shadow + stagger */

.content-page .step-card,
.content-page .use-case__list li {
  box-shadow: -5px 5px 0 rgba(128, 0, 0, 0.22);
  transition: box-shadow 0.25s ease;
}

.content-page .step-card:hover,
.content-page .use-case__list li:hover {
  box-shadow: -6px 8px 0 rgba(128, 0, 0, 0.26);
}

.content-page .use-case__list {
  max-width: none;
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
  width: 100%;
  min-width: 0;
}

@media (min-width: 640px) {
  .content-page .use-case__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-page .use-case__list li:nth-child(even) {
    margin-top: clamp(22px, 3.5vw, 44px);
  }
}

.content-page .step-card[data-scroll-reveal],
.content-page .use-case__list li[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease var(--reveal-delay, 0ms),
    transform 0.55s ease var(--reveal-delay, 0ms),
    box-shadow 0.25s ease;
}

.content-page .step-card[data-scroll-reveal].is-visible,
.content-page .use-case__list li[data-scroll-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.content-page .use-case .window-times {
  padding-left: 0;
  padding-right: 0;
}

.use-case__header {
  max-width: 720px;
  margin-bottom: 20px;
}

.use-case__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.use-case__list li {
  padding: 18px 20px;
  background: var(--daylyf-white);
  border: 1px solid var(--brand-border-subtle);
  border-radius: var(--radius-md);
  color: var(--brand-charcoal);
  line-height: 1.6;
  font-size: 0.96rem;
}

.section--alt .use-case__list li {
  background: rgba(255, 255, 255, 0.72);
}

.use-case__list strong {
  color: var(--brand-midnight);
}

.promo-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.promo-strip__inner .section__lead {
  margin: 8px 0 0;
  max-width: 36rem;
}

.content-page__back {
  margin: 20px 0 0;
}

/* ── Cookie consent (bottom) ────────────────────────────────────────────── */

body.has-cookie-banner {
  padding-bottom: var(--cookie-banner-height, 120px);
}

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  width: 100%;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  background: rgba(246, 243, 238, 0.97);
  border-top: 1px solid var(--brand-border-subtle);
  box-shadow: 0 -12px 40px rgba(26, 26, 26, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s ease;
  will-change: transform, opacity;
}

.cookie-consent.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.cookie-consent__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 20px;
  padding: 16px 0 18px;
}

.cookie-consent__main {
  flex: 1 1 280px;
  min-width: 0;
  max-width: 52rem;
}

.cookie-consent__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-midnight);
}

.cookie-consent__text {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--brand-charcoal);
}

.cookie-consent__link {
  margin-left: 6px;
  white-space: nowrap;
}

.cookie-consent__prefs {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.cookie-consent__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--brand-charcoal);
  cursor: pointer;
}

.cookie-consent__check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex: 0 1 auto;
}

.cookie-consent__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}

.cookie-consent__btn--primary {
  background: var(--brand-maroon);
  color: var(--daylyf-white);
  border-color: var(--brand-maroon);
}

.cookie-consent__btn--primary:hover {
  background: #6b0000;
}

.cookie-consent__btn--ghost {
  background: var(--daylyf-white);
  color: var(--brand-midnight);
  border-color: var(--brand-border-subtle);
}

.cookie-consent__btn--ghost:hover {
  border-color: var(--brand-maroon);
  color: var(--brand-maroon);
}

.cookie-consent__btn--reject {
  background: var(--daylyf-white);
  color: var(--brand-midnight);
  border-color: var(--brand-border-strong, #c4bdb4);
  font-weight: 600;
}

.cookie-consent__btn--reject:hover {
  border-color: var(--brand-maroon);
  color: var(--brand-maroon);
  background: rgba(128, 0, 0, 0.04);
}

@media (max-width: 640px) {
  .cookie-consent__inner {
    flex-direction: column;
  }

  .cookie-consent__actions {
    width: 100%;
    justify-content: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cookie-consent__btn--reject,
  .cookie-consent__btn--primary#cookie-btn-accept {
    grid-column: span 1;
    flex: none;
    width: 100%;
  }

  .cookie-consent__btn--ghost#cookie-btn-manage {
    grid-column: 1 / -1;
    flex: none;
    width: 100%;
  }

  .cookie-consent__btn--primary#cookie-btn-save {
    grid-column: 1 / -1;
    flex: none;
    width: 100%;
  }

  .cookie-consent__btn {
    flex: none;
  }
}

/* ── Footer location control ─────────────────────────────────────────────── */

.footer-location-settings {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-maroon);
  cursor: pointer;
  text-align: left;
}

.footer-location-settings:hover {
  text-decoration: underline;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
