:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #fafafa;
  --text: #171717;
  --muted: #61656b;
  --line: rgba(23, 23, 23, 0.08);
  --green: #376B49;
  --blue: #0f5597;
  --blue-dark: #0b3f70;
  --blue-soft: rgba(15, 85, 151, 0.12);
  --yellow: #f4d000;
  --yellow-dark: #b89d00;
  --yellow-deep: #8f7a00;
  --red: #a63d27;
  --red-dark: #7f2e1d;
  --red-soft: rgba(166, 61, 39, 0.12);
  --radius-xl: 32px;
  --max-width: 1200px;
  --nav-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 800;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.94);
}

.eyebrow-light::before {
  background: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 1);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 1);
  border-color: var(--line);
}

.nav-wrap {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-icon {
  width: 62px;
  height: 62px;
  display: inline-grid;
  place-items: center;
  padding: 8px;
  background: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: 18px;
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
  transform: translateZ(0);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

.nav-links a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  background: rgba(68, 48, 127, 0.08);
  color: var(--green);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
  position: relative;
}

/* Two lines */
.menu-button::before,
.menu-button::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: transform 0.3s ease, top 0.3s ease;
}

/* Top line */
.menu-button::before {
  top: calc(50% - 3px);
}

/* Bottom line */
.menu-button::after {
  top: calc(50% + 3px);
}

/* Open state → turns into X */
.menu-button.open::before {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-button.open::after {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

main {
  overflow: clip;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1,
.overview-highlight h2,
.features-card h2,
.download-intro h2 {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

.hero-copy h1 {
  margin: 1rem 0 1.15rem;
  font-size: clamp(2.4rem, 4.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.hero-copy p {
  margin: 2rem 0 1.5rem;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

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

.button-primary {
  background: var(--green);
  color: #ffffff;
}

.button-primary:hover {
  color: #ffffff;
}

.button-secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

.button-secondary:hover {
  color: var(--text);
}

.hero-visual {
  height: 100%;
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1140 / 1360;
  min-height: clamp(560px, 58vw, 680px);
  max-height: 720px;
  border-radius: 36px;
  overflow: hidden;
  background: #f0f0f0;
}

.features-photo {
  position: relative;
  min-height: 620px;
  border-radius: 36px;
  overflow: hidden;
  background: #f0f0f0;
}

.hero-photo-wrap img {
  object-position: center 45%;
}

.features-photo img {
  object-position: center center;
}

.hero-visual {
  height: 100%;
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1140 / 1360;
  min-height: clamp(560px, 58vw, 680px);
  max-height: 720px;
  border-radius: 36px;
  overflow: hidden;
  background: #f0f0f0;
}

.features-photo {
  position: relative;
  min-height: 620px;
  border-radius: 36px;
  overflow: hidden;
  background: #f0f0f0;
}

.image-stage {
  isolation: isolate;
  transform: translateZ(0);
  background: #eef1f4;
}

.stage-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.018) translateZ(0);
  transition:
    opacity 1.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 4.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

.stage-image.is-active {
  opacity: 1;
  transform: scale(1) translateZ(0);
  z-index: 2;
}

.stage-image.is-queued {
  opacity: 0;
  transform: scale(1.018) translateZ(0);
  z-index: 3;
}

.stage-image.is-next {
  opacity: 1;
  transform: scale(1) translateZ(0);
  z-index: 3;
}



.hero-photo-wrap .stage-image {
  object-position: center 45%;
}

.features-photo .stage-image {
  object-position: center center;
}

.section {
  padding: 3rem 0;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.overview-highlight,
.overview-copy {
  padding: clamp(1.8rem, 3vw, 3rem);
}

.overview-highlight {
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
  color: #ffffff;
}

.overview-highlight h2 {
  margin: 0.9rem 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  max-width: 13ch;
}

.overview-copy {
  background: var(--surface);
  color: #31353b;
  display: grid;
  gap: 1rem;
}

.overview-copy p {
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
}

.features-card {
  padding: clamp(1.8rem, 3vw, 3rem);
}

.features-card > .eyebrow {
  color: var(--yellow-dark);
}

.features-card > .eyebrow::before {
  background: var(--yellow-dark);
}

.features-card h2,
.download-intro h2 {
  margin: 0.9rem 0 1rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 12ch;
}

.features-card p,
.download-intro p,
.download-card p {
  margin: 2rem 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}


.feature-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(244, 208, 0, 0.28);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(244, 208, 0, 0.11), rgba(244, 208, 0, 0.035));
}

.feature-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(244, 208, 0, 0.2);
  color: var(--yellow-deep);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.feature-item h3 {
  margin: 0 0 0.2rem;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.02rem;
  line-height: 1.2;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.download-shell {
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
}

.download-intro {
  max-width: none;
  margin-bottom: 2rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}


.download-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 118px;
  padding: 1.35rem;
  border: 1px solid rgba(55, 107, 73, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(234, 223, 27, 0.14), transparent 34%),
    #ffffff;
  overflow: hidden;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}


.download-card:hover {
  box-shadow: none;
  background:
    radial-gradient(circle at top right, rgba(234, 223, 27, 0.16), transparent 34%),
    #f1f8f3;
  border-color: rgba(55, 107, 73, 0.34);
  transform: translateY(-4px);
}


.store-badge {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: var(--green);
  color: #ffffff;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.store-copy {
  display: grid;
  gap: 0.25rem;
}

.store-copy strong {
  display: block;
  margin: 0;
  color: var(--text);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.1;
}

.store-copy span {
  color: var(--green);
  font-weight: 800;
}

.contact-text {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.download-card p a {
  display: inline;
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(68, 48, 127, 0.35);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.download-card p a:hover {
  color: var(--text);
  text-decoration-color: var(--text);
}

.address-card {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, rgba(234, 223, 27, 0.18), rgba(234, 223, 27, 0.08));
  border-color: rgba(234, 223, 27, 0.45);
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

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

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 6rem 0;
}

.error-card {
  max-width: 620px;
  text-align: center;
}

.error-card h1 {
  margin: 0 0 1rem;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.error-card p {
  margin: 0.55rem auto;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.error-card .button {
  margin-top: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 821px) {
  .download-intro h2,
  .download-intro p {
    white-space: nowrap;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .overview-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo-wrap,
  .features-photo {
    aspect-ratio: 16 / 10;
    min-height: 420px;
  }

  .download-intro h2,
  .download-intro p {
    white-space: normal;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 76px;
  }

  .brand-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    padding: 7px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.35rem;
    padding: 0.7rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .address-card {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .hero-photo-wrap,
  .features-photo,
  .panel {
    border-radius: 24px;
  }

  .hero-photo-wrap,
  .features-photo {
    aspect-ratio: 4 / 3;
    min-height: 320px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

.overview-highlight {
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
}

.features-card > .eyebrow {
  color: var(--yellow-dark);
}

.features-card > .eyebrow::before {
  background: var(--yellow-dark);
}

.feature-item:nth-child(1) {
  border-color: rgba(244, 208, 0, 0.34);
  background: linear-gradient(180deg, rgba(244, 208, 0, 0.12), rgba(184, 157, 0, 0.025));
}

.feature-item:nth-child(2) {
  border-color: rgba(244, 208, 0, 0.34);
  background: linear-gradient(180deg, rgba(244, 208, 0, 0.12), rgba(184, 157, 0, 0.025));
}

.feature-item:nth-child(3) {
  border-color: rgba(244, 208, 0, 0.34);
  background: linear-gradient(180deg, rgba(244, 208, 0, 0.12), rgba(184, 157, 0, 0.025));
}

.feature-item:nth-child(4) {
  border-color: rgba(244, 208, 0, 0.34);
  background: linear-gradient(180deg, rgba(244, 208, 0, 0.12), rgba(184, 157, 0, 0.025));
}

.feature-item:nth-child(5) {
  border-color: rgba(244, 208, 0, 0.34);
  background: linear-gradient(180deg, rgba(244, 208, 0, 0.12), rgba(184, 157, 0, 0.025));
}

.feature-item:nth-child(odd) .feature-icon {
  background: rgba(244, 208, 0, 0.24);
  color: var(--yellow-deep);
}

.feature-item:nth-child(even) .feature-icon {
  background: rgba(244, 208, 0, 0.24);
  color: var(--yellow-deep);
}

.download-intro > .eyebrow {
  color: var(--red);
}

.download-intro > .eyebrow::before {
  background: var(--red);
}

.download-card {
  box-shadow: none;
  border-color: rgba(166, 61, 39, 0.18);
  background:
    radial-gradient(circle at top right, rgba(166, 61, 39, 0.12), transparent 38%),
    linear-gradient(180deg, #ffffff, #fff8f8);
}

.download-card:hover {
  box-shadow: none;
  background:
    radial-gradient(circle at top right, rgba(166, 61, 39, 0.18), transparent 38%),
    linear-gradient(180deg, #ffffff, #fff3f3);
  border-color: rgba(166, 61, 39, 0.36);
}

.download-card:nth-child(1) .store-badge {
  background: linear-gradient(180deg, var(--red), var(--red-dark));
}

.download-card:nth-child(2) .store-badge {
  background: linear-gradient(180deg, #bd513b, var(--red));
}

.download-card .store-copy span {
  color: var(--red);
}

@media (max-width: 1024px) {
  .hero-photo-wrap {
    aspect-ratio: 1140 / 1360;
    min-height: clamp(560px, 82vw, 700px);
    max-height: none;
  }

  .features-photo {
    aspect-ratio: 16 / 10;
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .hero-photo-wrap {
    aspect-ratio: 1140 / 1360;
    min-height: clamp(500px, 136vw, 620px);
  }

  .features-photo {
    aspect-ratio: 4 / 3;
    min-height: 320px;
  }
}


/* Desktop QR handoff section */
.qr-section {
  padding-top: 1rem;
}

.qr-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
  background:
    radial-gradient(circle at top right, rgba(166, 61, 39, 0.10), transparent 34%),
    linear-gradient(180deg, #ffffff, #fff8f6);
}

.qr-copy > .eyebrow {
  color: var(--red);
}

.qr-copy > .eyebrow::before {
  background: var(--red);
}

.qr-copy h2 {
  margin: 0.9rem 0 1rem;
  max-width: 15ch;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.qr-copy p {
  max-width: 80ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.qr-card {
  width: min(280px, 28vw);
  min-width: 220px;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  padding: 1rem;
  border: 1px solid rgba(166, 61, 39, 0.18);
  border-radius: 28px;
  background: #ffffff;
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 20px;
}

.qr-card span {
  color: var(--red);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.store-badge i {
  font-size: 1.85rem;
  line-height: 1;
}

.footer-content {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  padding-top: 0;
  border-top: 0;
}

.trademark-note {
  max-width: 900px;
  margin: 0.8rem 0 0;
  color: rgba(97, 101, 107, 0.60);
  font-size: 0.65rem;
  line-height: 1.45;
}

@media (max-width: 820px), (hover: none) and (pointer: coarse) {
  .desktop-only {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .qr-shell {
    grid-template-columns: 1fr;
  }

  .qr-card {
    width: min(230px, 100%);
  }
}


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

  .stage-image,
  .reveal,
  .button,
  .download-card,
  .nav-links a {
    transition-duration: 0.01ms !important;
  }
}

/* v5 refinements: responsive hero, QR content, Firefox-safe download cards, feature icons */
.feature-icon i {
  font-size: 1rem;
  line-height: 1;
}

.download-card,
.download-card:hover {
  box-shadow: none;
  background: linear-gradient(180deg, #ffffff, #fff7f5);
  background-clip: padding-box;
  border-color: rgba(166, 61, 39, 0.22);
}

.download-card:hover {
  background: linear-gradient(180deg, #ffffff, #fff1ee);
  border-color: rgba(166, 61, 39, 0.38);
}

.download-card::before,
.download-card::after {
  content: none !important;
}

.download-intro .download-intro-copy {
  margin-top: 0.75rem;
}

.qr-copy .qr-support-copy {
  margin-top: 0.75rem;
}

.qr-card {
  width: min(230px, 24vw);
  min-width: 190px;
  padding: 0.85rem;
}

.qr-card img {
  border-radius: 18px;
}

@media (max-width: 1024px) {
  .hero-grid {
    gap: clamp(1.4rem, 4vw, 2.4rem);
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.15rem, 7.2vw, 4rem);
  }

  .hero-copy p {
    max-width: none;
    font-size: clamp(0.98rem, 2.2vw, 1.06rem);
  }

  .hero-photo-wrap {
    aspect-ratio: 1140 / 1360;
    min-height: unset;
    height: auto;
    max-height: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3.2rem;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10.5vw, 3rem);
    line-height: 1.02;
  }

  .hero-copy p {
    margin: 1.15rem 0 1rem;
    font-size: clamp(0.95rem, 4vw, 1.02rem);
    line-height: 1.6;
  }

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

  .hero-photo-wrap {
    aspect-ratio: 1140 / 1360;
    min-height: unset;
    height: auto;
  }
}


/* v6 refinements: browser-safe opacity-only image fades and smoother responsive headings */
.stage-image {
  opacity: 0;
  transform: none !important;
  filter: none !important;
  transition: opacity 1.15s ease-in-out !important;
  will-change: opacity;
}

.stage-image.is-active,
.stage-image.is-queued,
.stage-image.is-next {
  transform: none !important;
  filter: none !important;
}

.stage-image.is-active {
  opacity: 1;
  z-index: 2;
}

.stage-image.is-queued {
  opacity: 0;
  z-index: 3;
}

.stage-image.is-next {
  opacity: 1;
  z-index: 3;
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 5.6vw, 4.45rem);
  line-height: 1.02;
  letter-spacing: clamp(-0.045em, -0.6vw, -0.025em);
  max-width: 12ch;
}

.overview-highlight h2 {
  font-size: clamp(2rem, 4.1vw, 3rem);
  line-height: 1.04;
  letter-spacing: clamp(-0.045em, -0.55vw, -0.025em);
}

.features-card h2,
.download-intro h2,
.qr-copy h2 {
  font-size: clamp(2.05rem, 4.9vw, 3.85rem);
  line-height: 1.03;
  letter-spacing: clamp(-0.045em, -0.55vw, -0.025em);
}

@media (max-width: 1024px) {
  .hero-copy h1,
  .features-card h2,
  .download-intro h2,
  .qr-copy h2 {
    max-width: 14ch;
  }

  .overview-highlight h2 {
    max-width: 16ch;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: clamp(2rem, 9.4vw, 2.9rem);
    line-height: 1.06;
    letter-spacing: -0.032em;
    max-width: 11.5ch;
  }

  .overview-highlight h2,
  .features-card h2,
  .download-intro h2,
  .qr-copy h2 {
    font-size: clamp(1.85rem, 8.2vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: -0.032em;
    max-width: 13ch;
  }
}


/* v7 NDM-style sticky header */
:root {
  --header-height: 94px;
  --header-transition: 220ms ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 1);
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background var(--header-transition), border-color var(--header-transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 1);
  border-color: var(--line);
}

.header-inner {
  min-height: var(--header-height);
  padding-top: 16px;
  padding-bottom: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.brand.brand-logo-only {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  padding-top: 4px;
  flex: 0 0 auto;
}

.brand.brand-logo-only img,
.brand.brand-logo-only .brand-logo {
  width: 110px;
  height: auto;
  max-height: none;
  object-fit: contain;
  image-rendering: auto;
  transform: none;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  flex: 1 1 auto;
}

.utility-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

.utility-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 38px;
  padding: 0.2rem 0.9rem 0.2rem 0;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  transition: color var(--header-transition);
  white-space: nowrap;
}

.utility-nav a:hover {
  color: var(--red);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

.site-nav a {
  padding: 0.78rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--muted);
  transition: color var(--header-transition), background var(--header-transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  /* background: var(--surface-muted); */
  background: rgba(55, 107, 73, 0.08);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-box {
  position: relative;
  width: 20px;
  height: 14px;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform var(--header-transition), top var(--header-transition);
}

.nav-toggle-box span:first-child {
  top: 2px;
}

.nav-toggle-box span:last-child {
  top: 10px;
}

.site-header.nav-open .nav-toggle-box span:first-child {
  top: 6px;
  transform: rotate(45deg);
}

.site-header.nav-open .nav-toggle-box span:last-child {
  top: 6px;
  transform: rotate(-45deg);
}

.mobile-only-nav {
  display: none;
}

@media (max-width: 920px) {
  .header-inner {
    gap: 1.25rem;
  }

  .site-nav a {
    padding: 0.72rem 0.82rem;
  }

  .utility-nav a {
    font-size: 0.72rem;
  }
}

@media (max-width: 840px) {
  :root {
    --header-height: 82px;
  }

  .header-inner {
    align-items: center;
    min-height: var(--header-height);
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand.brand-logo-only img,
  .brand.brand-logo-only .brand-logo {
    width: 96px;
  }

  .header-right {
    flex: 0 0 auto;
    align-items: flex-end;
  }

  .utility-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.35rem;
    padding: 0.8rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(23, 23, 23, 0.08);
  }

  .site-nav a {
    width: 100%;
    border-radius: 14px;
  }

  .mobile-only-nav {
    display: inline-flex;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }
}

@media (max-width: 640px) {
  .brand.brand-logo-only img,
  .brand.brand-logo-only .brand-logo {
    width: 88px;
  }
}

@media (max-width: 1024px) {
  .features-photo {
    aspect-ratio: 1140 / 1360;
    min-height: unset;
    height: auto;
  }
}

@media (max-width: 640px) {
  .features-photo {
    aspect-ratio: 1140 / 1360;
    min-height: unset;
    height: auto;
  }
}

/* v9 hero carousel controls: minimal, transparent, browser-friendly */
.hero-carousel-controls {
  position: absolute;
  right: clamp(0.85rem, 2vw, 1.15rem);
  bottom: clamp(0.85rem, 2vw, 1.15rem);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-carousel-button {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(235, 238, 240, 0.95);
  border-radius: 999px;
  background: transparent;
  color: rgba(235, 238, 240, 0.95);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.hero-carousel-button:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--text);
  transform: translateY(-1px);
}

.hero-carousel-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.42);
  outline-offset: 3px;
}

.hero-carousel-button:disabled {
  cursor: default;
  opacity: 0.55;
  transform: none;
}

.hero-carousel-button i {
  font-size: 0.72rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .hero-carousel-controls {
    right: 0.8rem;
    bottom: 0.8rem;
    gap: 0.35rem;
  }

  .hero-carousel-button {
    width: 30px;
    height: 30px;
  }

  .hero-carousel-button i {
    font-size: 0.68rem;
  }
}


/* V12 --- Mobile Safari fix for featuresStage */
@media (max-width: 1024px) {
  .features-photo {
    aspect-ratio: 1140 / 1360;
    min-height: unset;
    height: auto;
    width: 100%;
    max-width: min(100%, 560px);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .features-photo {
    aspect-ratio: 1140 / 1360;
    min-height: clamp(500px, 136vw, 620px);
    width: 100%;
    height: auto;
  }
}

