:root {
  --ivory: #fff8f3;
  --ivory-deep: #f7eee8;
  --paper: #fffdfb;
  --espresso: #1e1719;
  --espresso-soft: #30252a;
  --berry: #d72a58;
  --berry-dark: #b91f48;
  --berry-soft: #fce8ee;
  --orange: #ff9f43;
  --orange-soft: #fff0dd;
  --muted: #6e6065;
  --muted-light: #cdbfc4;
  --line: #e9ddd8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(49, 30, 36, 0.12);
  --shadow-soft: 0 12px 34px rgba(49, 30, 36, 0.08);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--espresso);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.page-wrapper {
  min-height: 100vh;
}

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

/* Shared header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(30, 23, 25, 0.08);
  background: rgba(255, 248, 243, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--content), calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.header-logo {
  flex: 0 0 auto;
}

.header-logo-img {
  width: 108px;
  height: auto;
  filter: brightness(0.12);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--berry);
  transition: right 180ms ease;
}

.desktop-nav a:hover {
  color: var(--espresso);
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-greeting {
  max-width: 170px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-download {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--espresso);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.header-download:hover {
  transform: translateY(-2px);
  background: var(--berry);
}

.hamburger {
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 50%;
  background: var(--espresso);
  cursor: pointer;
}

.hamburger span {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.slide-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 400;
  width: min(390px, 88vw);
  height: 100dvh;
  overflow-y: auto;
  background: var(--espresso);
  color: var(--white);
  transform: translateX(102%);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -24px 0 70px rgba(30, 23, 25, 0.24);
}

.slide-menu.is-open {
  transform: translateX(0);
}

.slide-menu-inner {
  min-height: 100%;
  padding: 46px 34px 34px;
  display: flex;
  flex-direction: column;
}

.menu-heading {
  margin-bottom: 4px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.slide-menu-title {
  margin-bottom: 30px;
  color: var(--muted-light);
  font-size: 1.25rem;
  font-weight: 700;
}

.slide-menu-list {
  display: grid;
  gap: 4px;
  list-style: none;
}

.slide-menu-list a,
.slide-menu-list button {
  width: 100%;
  display: block;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.slide-menu-list a:hover,
.slide-menu-list button:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.menu-download {
  margin-top: auto;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--berry);
  color: var(--white);
  font-weight: 850;
  text-align: center;
}

.site-overlay {
  position: fixed;
  inset: 0;
  z-index: 350;
  opacity: 0;
  pointer-events: none;
  background: rgba(30, 23, 25, 0.55);
  transition: opacity 200ms ease;
}

.site-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Homepage hero */
.hero {
  width: min(var(--content), calc(100% - 40px));
  min-height: 720px;
  margin: 0 auto;
  padding: 72px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 0.77fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.eyebrow,
.section-kicker {
  color: var(--berry);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow span {
  color: var(--orange);
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 24px;
  font-size: clamp(3.65rem, 6.2vw, 6.6rem);
  font-weight: 850;
  line-height: 0.94;
  letter-spacing: -0.068em;
}

.hero h1 span {
  color: var(--berry);
}

.hero-lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.68;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 52px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: var(--berry);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(215, 42, 88, 0.22);
}

.btn-primary:hover {
  background: var(--berry-dark);
  box-shadow: 0 19px 40px rgba(215, 42, 88, 0.28);
}

.btn-secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--espresso);
}

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

.btn-light {
  background: var(--white);
  color: var(--espresso);
}

.btn-light:hover {
  background: var(--orange-soft);
}

.availability-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.appstore-badge {
  width: 132px;
  height: auto;
}

.hero-assurances {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-assurances li {
  position: relative;
  padding-left: 17px;
}

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

.hero-visual {
  position: relative;
}

.preview-card {
  position: relative;
  z-index: 2;
  padding: 22px 22px 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background: var(--espresso);
  box-shadow: 0 35px 80px rgba(30, 23, 25, 0.25);
}

.preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.preview-label {
  position: absolute;
  top: 38px;
  left: 38px;
  z-index: 3;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(30, 23, 25, 0.9);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(30, 23, 25, 0.18);
}

.preview-label span {
  margin-right: 6px;
  color: var(--orange);
}

.hero-image {
  width: 100%;
  aspect-ratio: 0.92;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  background: var(--ivory-deep);
}

.preview-note {
  padding: 17px 8px 2px;
  color: var(--muted-light);
  font-size: 0.9rem;
  text-align: center;
}

.preview-note strong {
  color: var(--white);
}

.preview-orbit {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
}

.preview-orbit-one {
  width: 170px;
  height: 170px;
  top: -48px;
  right: -48px;
  background: var(--orange);
}

.preview-orbit-two {
  width: 140px;
  height: 140px;
  bottom: -44px;
  left: -45px;
  background: var(--berry);
}

.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-bar p {
  min-height: 96px;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.trust-bar p + p {
  border-left: 1px solid var(--line);
}

.trust-bar span {
  color: var(--orange);
  font-size: 1.3rem;
}

.trust-bar strong {
  color: var(--espresso);
}

/* Sections */
.section,
.moments-section,
.trust-section {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 116px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 50px;
}

.section-heading h2,
.experience-copy h2,
.trust-copy h2,
.download-copy h2 {
  margin-top: 10px;
  font-size: clamp(2.35rem, 4vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.section-heading > p:last-child,
.experience-copy > p,
.trust-copy > p,
.download-copy > div > p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  min-height: 385px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.step-card-dark {
  border-color: var(--espresso);
  background: var(--espresso);
  color: var(--white);
  transform: translateY(-14px);
}

.step-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-number {
  color: var(--berry);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.step-card-dark .step-number {
  color: var(--orange);
}

.step-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--berry-soft);
  color: var(--berry);
  font-size: 1.3rem;
  font-weight: 800;
}

.step-card-dark .step-icon {
  background: var(--espresso-soft);
  color: var(--orange);
}

.step-card h3 {
  margin-top: 55px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.step-card > p {
  margin-top: 12px;
  color: var(--muted);
}

.step-card-dark > p {
  color: var(--muted-light);
}

.mini-pills {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-pills span,
.decision-pill {
  padding: 9px 11px;
  border-radius: 12px;
  background: var(--espresso);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
}

.swipe-line {
  margin-top: auto;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 8px;
}

.swipe-line span {
  padding: 10px;
  border-radius: 999px;
  background: var(--espresso-soft);
  font-size: 0.74rem;
  font-weight: 800;
  text-align: center;
}

.swipe-line .swipe-primary {
  background: var(--berry);
}

.decision-pill {
  margin-top: auto;
  width: fit-content;
  background: var(--berry-soft);
  color: var(--berry-dark);
}

.experience-section {
  padding: 0 20px;
}

.experience-card {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: clamp(50px, 7vw, 92px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(50px, 8vw, 100px);
  border-radius: var(--radius-xl);
  background: var(--espresso);
  color: var(--white);
  box-shadow: 0 30px 80px rgba(30, 23, 25, 0.2);
}

.section-kicker-light {
  color: var(--orange);
}

.experience-copy > p {
  color: var(--muted-light);
}

.experience-copy .btn {
  margin-top: 28px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-list > li > span {
  color: var(--orange);
  font-size: 0.77rem;
  font-weight: 900;
}

.feature-list strong {
  font-size: 1.15rem;
}

.feature-list p {
  margin-top: 5px;
  color: var(--muted-light);
}

.trust-section {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.trust-copy a {
  margin-top: 25px;
  display: inline-block;
  color: var(--berry-dark);
  font-weight: 850;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.trust-grid article,
.moment-grid article {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.trust-grid article > span,
.moment-grid article > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--berry);
  font-size: 1.1rem;
}

.trust-grid h3,
.moment-grid h3 {
  margin-top: 22px;
  font-size: 1.06rem;
}

.trust-grid p,
.moment-grid p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9rem;
}

.moments-section {
  padding-top: 0;
}

.moment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.moment-grid article:nth-child(even) {
  background: var(--orange-soft);
}

.download-section {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto 24px;
  padding: clamp(48px, 7vw, 90px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  border-radius: var(--radius-xl);
  background: var(--berry);
  color: var(--white);
}

.download-copy {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.download-copy h2 {
  margin-top: 8px;
}

.download-copy > div > p:last-child {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

.download-icon {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--espresso);
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(30, 23, 25, 0.2);
}

.download-actions {
  flex: 0 0 auto;
  text-align: center;
}

.download-actions p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Shared footer */
.site-footer {
  margin-top: 110px;
  padding: 70px 20px 30px;
  background: var(--espresso);
  color: var(--white);
}

.download-section + .site-footer,
.page-wrapper > .site-footer {
  margin-top: 0;
}

.footer-main,
.footer-bottom {
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.footer-main {
  padding-bottom: 55px;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 0.7fr);
  gap: 40px;
}

.footer-brand img {
  width: 125px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin-top: 15px;
  color: var(--muted-light);
}

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

.footer-column > p {
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--muted-light);
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted-light);
  font-size: 0.8rem;
}

/* Legacy footer compatibility on interior pages */
.footer {
  padding: 32px 20px;
  border-top: 1px solid var(--line);
  background: var(--espresso);
  color: var(--muted-light);
  text-align: center;
}

.footer-socials {
  margin-bottom: 13px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.footer a {
  color: var(--white);
}

/* Responsive */
@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    gap: 50px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .step-card {
    min-height: 300px;
  }

  .step-card-dark {
    transform: none;
  }

  .moment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .header-download {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
    grid-template-columns: 1fr;
  }

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

  .eyebrow,
  .hero-actions,
  .availability-row,
  .hero-assurances {
    justify-content: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-visual {
    width: min(520px, 88%);
    margin: 30px auto 0;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }

  .trust-bar p {
    min-height: 76px;
  }

  .trust-bar p + p {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .experience-card,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .header-inner,
  .hero,
  .section,
  .moments-section,
  .trust-section {
    width: min(100% - 28px, var(--content));
  }

  .header-inner {
    min-height: 72px;
  }

  .header-logo-img {
    width: 95px;
  }

  .header-greeting {
    display: none !important;
  }

  .hero {
    padding-top: 46px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 16vw, 4.6rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .availability-row {
    flex-direction: column;
  }

  .hero-assurances {
    display: grid;
    justify-content: start;
    width: fit-content;
    margin-inline: auto;
    text-align: left;
  }

  .hero-visual {
    width: calc(100% - 10px);
  }

  .preview-card {
    padding: 14px;
    border-radius: 28px;
  }

  .preview-label {
    top: 27px;
    left: 27px;
  }

  .preview-note {
    padding-top: 14px;
  }

  .section,
  .moments-section,
  .trust-section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .step-card {
    min-height: 325px;
    padding: 25px;
  }

  .experience-section {
    padding: 0 14px;
  }

  .experience-card {
    padding: 44px 26px;
    border-radius: 30px;
  }

  .feature-list li {
    grid-template-columns: 38px 1fr;
  }

  .trust-grid,
  .moment-grid {
    grid-template-columns: 1fr;
  }

  .download-section {
    width: calc(100% - 28px);
    padding: 42px 25px;
    border-radius: 30px;
  }

  .download-copy {
    flex-direction: column;
  }

  .download-actions,
  .download-actions .btn {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
