/* Conversion-focused additions that reuse the existing warm editorial system. */
.download-strip {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 0;
  padding: 26px max(5vw, 24px);
  color: #fff9f3;
  background: #2b2926;
  border-bottom: 2px solid #e8734a;
}

.download-strip-copy span,
.download-strip-copy strong {
  display: block;
}

.download-strip-copy span {
  margin-bottom: 5px;
  color: #f0d49b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.download-strip-copy strong {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: -.035em;
}

.download-strip-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.download-strip-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 7px 15px;
  border: 1px solid rgba(240, 212, 155, .35);
  border-radius: 999px;
  color: #fff9f3;
  text-decoration: none;
  transition: transform .16s ease, background-color .2s ease;
}

.download-strip-link > span {
  display: grid;
  gap: 1px;
  text-align: left;
}

.download-strip-link small {
  color: inherit;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.1;
  text-transform: uppercase;
  opacity: .68;
}

.download-strip-link strong {
  color: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.download-store-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  object-fit: contain;
}

.download-store-icon.apple {
  fill: currentColor;
}

.download-strip-link.app-store-link {
  color: #2b2926;
  background: #fff9f3;
  border-color: rgba(43, 41, 38, .14);
}

.download-strip-link.play-store-link {
  color: #fff9f3;
  background: rgba(255, 255, 255, .07);
}

.download-strip-link:hover {
  color: #2b2926;
  background: #f0d49b;
  transform: translateY(-2px);
}

.store-card.app-store {
  background: #fff9f3;
  color: #2b2926;
  box-shadow: 5px 5px 0 #d8b66d;
}

.store-icon.apple {
  color: #2b2926;
  font-size: 21px;
}

.store-apple-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: currentColor;
}

.store-icon.apple .store-apple-icon {
  width: 21px;
  height: 21px;
}

.store-icon.play img {
  display: block;
  width: 23px;
  height: 23px;
  object-fit: contain;
}

footer.compact-footer .footer-policy-row {
  position: absolute;
  right: max(4vw, 20px);
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 13px;
}

footer.compact-footer .footer-policy-row a {
  color: inherit;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  opacity: .78;
}

footer.compact-footer .footer-policy-row a:hover {
  color: #fff;
  opacity: 1;
}

footer.compact-footer .footer-social-row {
  right: auto;
}

.pill[aria-current="true"] {
  position: relative;
  color: #2b2926 !important;
  background: #f0d49b !important;
  box-shadow: inset 0 0 0 2px #fff9f3, 0 0 0 3px #f0d49b, 0 0 26px rgba(240, 212, 155, .75);
  animation: download-beacon 1.45s ease-in-out infinite;
}

.pill[aria-current="true"]::before,
.pill[aria-current="true"]::after {
  position: absolute;
  color: #f0d49b;
  content: "✦";
  font-size: 17px;
  line-height: 1;
  pointer-events: none;
}

.pill[aria-current="true"]::before {
  top: -12px;
  left: -11px;
}

.pill[aria-current="true"]::after {
  right: -12px;
  bottom: -11px;
  color: #e8734a;
}

@keyframes download-beacon {
  50% {
    transform: translateY(-2px) scale(1.035);
    box-shadow: inset 0 0 0 2px #fff9f3, 0 0 0 5px rgba(240, 212, 155, .22), 0 0 34px rgba(240, 212, 155, .9);
  }
}

/* One consistent visual rhythm across the storytelling sections. */
.iz-home .story,
.iz-home .safety {
  min-height: 780px !important;
  padding-block: 80px !important;
  position: relative;
}

.iz-home .radar-stage,
.iz-home .create-gallery,
.iz-home .feel-stage {
  height: 600px;
}

.iz-home .safety-visual {
  height: 560px;
}

.iz-home .download {
  min-height: 780px;
  padding-top: 90px;
  position: relative;
}

.iz-home .download-phones {
  height: 610px;
}

.iz-home .steps {
  position: relative;
  min-height: 720px;
  padding-block: 82px;
  overflow: hidden;
}

.iz-home .steps::before {
  position: absolute;
  width: min(62vw, 880px);
  height: min(62vw, 880px);
  right: -18vw;
  top: -38vw;
  border: 1px solid rgba(240, 212, 155, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(240, 212, 155, .035), 0 0 0 116px rgba(240, 212, 155, .025);
  content: "";
  pointer-events: none;
}

.iz-home .steps-head,
.iz-home .step-grid {
  position: relative;
  z-index: 1;
}

.iz-home .step-grid {
  gap: 18px;
  margin-top: 38px;
}

.iz-home .step-card {
  min-height: 290px;
  padding: 26px;
  border-color: rgba(240, 212, 155, .34);
  background: linear-gradient(145deg, rgba(255, 249, 243, .065), rgba(255, 249, 243, 0));
}

.iz-home .step-card::before {
  position: absolute;
  top: 27px;
  right: 26px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(240, 212, 155, .44);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(240, 212, 155, .06), 0 0 0 20px rgba(240, 212, 155, .035);
  content: "";
}

.iz-home .step-card:nth-child(2)::before {
  border-color: rgba(232, 115, 74, .8);
  box-shadow: 0 0 0 10px rgba(232, 115, 74, .09), 0 0 0 20px rgba(232, 115, 74, .045);
}

.iz-home .step-card > span {
  position: relative;
  z-index: 1;
  font-size: 14px;
  letter-spacing: .12em;
}

.iz-home .step-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 102px;
}

.iz-home .step-card p {
  position: relative;
  z-index: 1;
}

.iz-home .step-card .step-line {
  transform: scaleX(.36);
}

/* The store prompt belongs to discovery, so snap navigation never skips it. */
main > .ticker,
main > .download-strip {
  display: none;
}

.discover-prelude {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

.discover-prelude .ticker {
  padding-block: 8px;
}

.discover-prelude .ticker div {
  animation: none;
}

.discover-prelude .download-strip {
  min-height: 76px;
  padding: 12px max(5vw, 24px);
}

/* Keep the first conversion choice inside the hero, below the product promise. */
.discover-prelude {
  display: none !important;
}

.iz-home .hero h1 {
  margin-bottom: 20px;
  font-size: clamp(3.5rem, 7.6vw, 7.6rem);
}

.iz-home .hero-bottom {
  align-items: flex-end;
}

.hero-intro {
  max-width: 630px;
}

.iz-home .hero-intro p {
  max-width: none;
  margin: 0;
}

.hero-download {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
}

.hero-download > span {
  color: #f0d49b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-download-actions {
  display: flex;
  gap: 8px;
}

.hero-store-badge {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid rgba(240, 212, 155, .52);
  border-radius: 14px;
  color: #fff9f3;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .16s ease;
}

.hero-store-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  object-fit: contain;
}

.hero-store-icon-apple {
  fill: currentColor;
}

.hero-store-badge > span {
  display: grid;
  gap: 1px;
  text-align: left;
}

.hero-store-badge small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.1;
  opacity: .72;
  text-transform: uppercase;
}

.hero-store-badge strong {
  font-size: 12px;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
}

.hero-store-badge-ios {
  cursor: default;
  opacity: .82;
}

.hero-store-badge-play:hover {
  color: #2b2926;
  background: #f0d49b;
  transform: translateY(-2px);
}

@media (min-width: 901px) {
  .iz-home .hero,
  .iz-home .story,
  .iz-home .safety,
  .iz-home .steps,
  .iz-home .download {
    height: 100svh;
    min-height: 100svh !important;
  }

  .iz-home .story,
  .iz-home .safety {
    padding-block: 70px !important;
  }

  .iz-home .radar-stage,
  .iz-home .create-gallery,
  .iz-home .feel-stage {
    height: min(58svh, 580px);
  }

  .iz-home .safety-visual {
    height: min(56svh, 560px);
  }

  .iz-home .download-phones {
    height: min(60svh, 600px);
  }

  .iz-home .story-radar {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }
}

@media (min-width: 901px) {
  /* Desktop panel changes are handled by the wheel controller below. Keeping
     native snapping off prevents a second animation from fighting it. */
  html.landing-scroll {
    scroll-snap-type: none !important;
  }

  .iz-home .steps {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* The footer closes the journey; it no longer repeats the download conversion block. */
footer.compact-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  height: 86px;
  min-height: 86px;
  padding: 0 max(4vw, 20px) 20px;
}

footer.compact-footer .footer-download {
  display: none;
}

footer.compact-footer .footer-top {
  display: block;
  position: static;
  grid-column: 1;
  justify-self: start;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
}

footer.compact-footer .footer-top > div:first-child {
  display: block;
}

footer.compact-footer .footer-top img {
  display: block;
  width: 28px !important;
  height: 28px !important;
}

footer.compact-footer .footer-top p {
  display: none;
}

footer.compact-footer .footer-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  position: static;
  grid-column: 2;
  justify-self: center;
  gap: 8px 13px;
  padding: 0;
}

footer.compact-footer .footer-links > div:first-child {
  display: none;
}

footer.compact-footer .footer-links > div:not(:first-child) {
  display: contents;
}

footer.compact-footer .footer-links strong {
  display: none;
}

footer.compact-footer .footer-links a {
  padding: 0;
  font-size: 11px;
  white-space: nowrap;
}

footer.compact-footer .footer-bottom {
  position: static;
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  gap: 10px;
  padding: 0;
  border: 0;
  font-size: 11px;
  white-space: nowrap;
}

footer.compact-footer .footer-social-row {
  position: absolute;
  right: max(4vw, 20px);
  bottom: 8px;
  left: max(4vw, 20px);
  justify-content: center;
  gap: 13px;
  padding: 0;
}

footer.compact-footer .footer-social-row a {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255, 249, 243, .58);
  font-size: 9px;
  letter-spacing: .04em;
}

footer.compact-footer .footer-language,
.section-utility .section-utility-links {
  display: flex;
  align-items: center;
  gap: 7px;
}

footer.compact-footer .footer-language a,
.section-utility a {
  color: inherit;
  text-decoration: none;
}

footer.compact-footer .footer-language a[aria-current="page"],
.section-utility a[aria-current="page"] {
  color: #f0d49b;
  font-weight: 900;
}

.section-utility {
  position: absolute;
  z-index: 8;
  right: clamp(20px, 4vw, 64px);
  bottom: 14px;
  left: clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(240, 212, 155, .24);
  border-radius: 999px;
  color: rgba(255, 249, 243, .82);
  background: rgba(43, 41, 38, .72);
  box-shadow: 0 8px 28px rgba(43, 41, 38, .12);
  backdrop-filter: blur(14px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.iz-home main > section[id] { position: relative; }

.section-utility-brand { color: #f0d49b; font-weight: 900; letter-spacing: .12em; }
.section-utility-status { justify-self: center; opacity: .78; }
.section-utility-links { justify-self: end; }
.section-utility a:hover { color: #fff; }

@media (max-width: 900px) {
  .section-utility {
    right: 14px;
    bottom: 8px;
    left: 14px;
    grid-template-columns: auto 1fr;
  }
  .section-utility-status { display: none; }
}

@media (max-width: 520px) {
  .section-utility {
    right: 8px;
    left: 8px;
    min-height: 32px;
    padding-inline: 10px;
    font-size: 8px;
  }
  .section-utility-links { gap: 5px; }
}

/* Let visitors control the story's pace: a soft desktop alignment, no forced snap. */
html.landing-scroll {
  scroll-snap-type: y proximity;
}

@media (min-width: 901px) {
  html.landing-scroll {
    scroll-snap-type: none;
  }
}

/* Give the three steps the same sense of movement as the surrounding panels. */
.iz-home .step-card {
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.iz-home .step-card::before {
  display: grid;
  place-items: center;
  color: #f0d49b;
  font-size: 23px;
  font-weight: 800;
}

.iz-home .step-card:nth-child(1)::before {
  content: "↗";
}

.iz-home .step-card:nth-child(2)::before {
  content: "◎";
  color: #e8734a;
}

.iz-home .step-card:nth-child(3)::before {
  content: "↔";
}

.iz-home .step-card h3 {
  margin-top: 82px;
}

.iz-home .step-card p {
  margin-bottom: 34px;
}

.iz-home .step-card::after {
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: 21%;
  width: 72%;
  height: 1px;
  background: rgba(240, 212, 155, .2);
  box-shadow: 16px 12px 0 rgba(240, 212, 155, .1), 32px 24px 0 rgba(240, 212, 155, .05);
  content: "";
  transform: rotate(-18deg);
}

.iz-home .step-card:nth-child(2)::after {
  background: rgba(232, 115, 74, .28);
  transform: rotate(18deg);
}

@media (min-width: 901px) {
  html.landing-scroll {
    scroll-behavior: auto;
  }

  .iz-home main > .hero,
  .iz-home main > .story,
  .iz-home main > .steps,
  .iz-home main > .safety,
  .iz-home main > .download {
    width: 100%;
  }

  .iz-home .download > footer.compact-footer {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
  }
}

@media (max-width: 900px) {
  .iz-home .download > footer.compact-footer {
    width: calc(100% + 40px);
    margin: 60px -20px -72px;
  }
}

@media (max-width: 600px) {
  .iz-home .download > footer.compact-footer {
    margin-bottom: -60px;
  }
}

@media (max-width: 900px) {
  .discover-prelude {
    display: none !important;
  }

  .discover-prelude .download-strip {
    min-height: 0;
    padding: 16px 20px;
  }

  footer.compact-footer {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
    height: auto;
    min-height: 0;
    gap: 20px;
    padding: 28px 20px 20px;
  }

  footer.compact-footer .footer-top,
  footer.compact-footer .footer-links,
  footer.compact-footer .footer-bottom {
    position: static;
    transform: none;
    width: auto;
    height: auto;
  }

  footer.compact-footer .footer-top {
    flex: 0 0 auto;
  }

  footer.compact-footer .footer-top > div:first-child {
    display: block;
  }

  footer.compact-footer .footer-top img {
    width: 44px !important;
    height: 44px !important;
  }

  footer.compact-footer .footer-links {
    position: static;
    transform: none;
    flex-wrap: wrap;
    width: 100%;
  }

  footer.compact-footer .footer-bottom {
    width: 100%;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(240, 212, 155, .22);
  }

  .iz-home .story,
  .iz-home .safety {
    min-height: auto;
    padding-block: 72px;
  }

  .iz-home .radar-stage,
  .iz-home .create-gallery,
  .iz-home .feel-stage,
  .iz-home .safety-visual,
  .iz-home .download-phones {
    height: 540px;
  }

  .iz-home .download {
    min-height: auto;
    padding-top: 72px;
  }

  .iz-home .steps {
    min-height: auto;
    padding-block: 72px;
  }

  html.landing-scroll {
    scroll-snap-type: none;
  }

  .floating-nav nav a[data-astro-cid-s7v7etgk] {
    display: none;
  }
}

@media (max-width: 900px) {
  .download-strip {
    gap: 20px;
    padding: 18px 24px;
  }
}

@media (max-width: 600px) {
  .iz-home .hero h1 {
    margin-bottom: 16px;
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .hero-download {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
  }

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

  .hero-store-badge {
    flex: 1;
    min-width: 0;
    padding: 7px 10px;
  }

  .download-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
  }

  .download-strip-copy strong {
    font-size: 1.12rem;
  }

  .iz-home .story,
  .iz-home .safety,
  .iz-home .download,
  .iz-home .steps {
    padding-block: 60px;
  }

  .iz-home .radar-stage,
  .iz-home .create-gallery,
  .iz-home .feel-stage,
  .iz-home .safety-visual {
    height: 500px;
  }

  .iz-home .download-phones {
    height: 470px;
  }

  .iz-home .step-card {
    min-height: 260px;
  }
  footer.compact-footer {
    gap: 18px;
    padding: 24px 20px 18px;
  }

  footer.compact-footer .footer-links {
    gap: 8px 16px;
  }

  .download-strip-actions {
    width: 100%;
  }

  .download-strip-link {
    flex: 1;
    justify-content: center;
    padding: 0 10px;
  }

  .cookie-banner {
    bottom: 8px !important;
    width: calc(100% - 20px) !important;
    padding: 11px !important;
  }

  .cookie-copy {
    gap: 10px !important;
  }

  .cookie-mark {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
    font-size: 1rem !important;
  }

  .cookie-message {
    font-size: .8rem !important;
  }

  .cookie-actions {
    gap: 6px !important;
  }

  .cookie-btn {
    min-height: 40px !important;
    padding: 8px 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pill[aria-current="true"] {
    animation: none;
  }
}

/* Mobile landing: short, touch-first chapters instead of the desktop atlas. */
@media (max-width: 600px) {
  html[data-version="v3"] {
    scroll-snap-type: y mandatory !important;
    scroll-padding-top: 72px;
  }

  html[data-version="v3"] body {
    overscroll-behavior-y: auto !important;
  }

  html[data-version="v3"] main > section[id] {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  /* The repeated legal/status rail obscured every mobile chapter. */
  html[data-version="v3"] .section-utility {
    display: none !important;
  }

  html[data-version="v3"] .floating-nav {
    top: max(8px, env(safe-area-inset-top));
    width: calc(100% - 24px) !important;
    height: 56px !important;
    padding: 6px 7px 6px 10px !important;
    border-radius: 18px !important;
  }

  html[data-version="v3"] .floating-nav .brand,
  html[data-version="v3"] .floating-nav .brand img {
    width: 38px !important;
    height: 38px !important;
  }

  html[data-version="v3"] .floating-nav .pill {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
  }

  html[data-version="v3"] .hero {
    height: auto !important;
    min-height: 100svh !important;
    padding: 112px 20px max(34px, env(safe-area-inset-bottom)) !important;
  }

  html[data-version="v3"] .hero-copy {
    position: relative !important;
    inset: auto !important;
    display: flex;
    min-height: calc(100svh - 146px);
    flex-direction: column;
    justify-content: flex-end;
  }

  html[data-version="v3"] .hero h1 {
    max-width: 340px;
    margin: 10px 0 14px !important;
    font-size: clamp(3.2rem, 15.5vw, 4.2rem) !important;
    line-height: .86 !important;
  }

  html[data-version="v3"] .hero-bottom {
    display: block !important;
  }

  html[data-version="v3"] .hero-intro p {
    max-width: 330px !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
  }

  html[data-version="v3"] .hero-download {
    margin-top: 14px !important;
  }

  html[data-version="v3"] .hero-download > span {
    font-size: 10px !important;
  }

  html[data-version="v3"] .hero-download-actions {
    gap: 8px;
  }

  html[data-version="v3"] .hero-store-badge {
    min-height: 50px;
    justify-content: center;
    border-radius: 14px;
    background: rgba(20, 18, 17, .7);
    backdrop-filter: blur(10px);
  }

  html[data-version="v3"] .round-link {
    display: none !important;
  }

  html[data-version="v3"] .hero-orbit {
    padding: 7px 12px !important;
    font-size: 10px !important;
  }

  html[data-version="v3"] .story,
  html[data-version="v3"] .safety,
  html[data-version="v3"] .steps,
  html[data-version="v3"] .download {
    gap: 18px !important;
    padding: 56px 20px !important;
  }

  html[data-version="v3"] .story-copy h2,
  html[data-version="v3"] .safety h2,
  html[data-version="v3"] .steps h2,
  html[data-version="v3"] .download h2 {
    margin: 10px 0 14px !important;
    font-size: clamp(2.65rem, 12vw, 3.55rem) !important;
    line-height: .93 !important;
  }

  html[data-version="v3"] .story-copy p,
  html[data-version="v3"] .safety p {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  html[data-version="v3"] .radar-stage,
  html[data-version="v3"] .create-gallery,
  html[data-version="v3"] .feel-stage,
  html[data-version="v3"] .safety-visual {
    height: 390px !important;
  }

  html[data-version="v3"] .phone-center {
    width: 168px !important;
  }

  html[data-version="v3"] .create-gallery .phone {
    width: 142px !important;
  }

  html[data-version="v3"] .feel-stage .phone {
    width: 155px !important;
  }

  html[data-version="v3"] .radar-ring.r3 {
    width: 390px !important;
    height: 390px !important;
  }

  html[data-version="v3"] .radar-ring.r2 {
    width: 300px !important;
    height: 300px !important;
  }

  html[data-version="v3"] .radar-ring.r1 {
    width: 210px !important;
    height: 210px !important;
  }

  html[data-version="v3"] .privacy-circle {
    width: 210px !important;
    height: 210px !important;
  }

  html[data-version="v3"] .step-grid {
    gap: 10px !important;
    margin-top: 26px !important;
  }

  html[data-version="v3"] .step-card {
    min-height: 0 !important;
    padding: 20px !important;
    border-radius: 20px !important;
  }

  html[data-version="v3"] .step-card::before {
    justify-content: start;
    font-size: 18px;
  }

  html[data-version="v3"] .step-card h3 {
    margin: 18px 0 6px !important;
    font-size: 2rem !important;
  }

  html[data-version="v3"] .step-card p {
    margin: 0 !important;
    font-size: 14px;
  }

  html[data-version="v3"] .trace-film {
    padding: 58px 20px !important;
  }

  html[data-version="v3"] .trace-film-head {
    margin-bottom: 26px !important;
    row-gap: 12px !important;
  }

  html[data-version="v3"] .trace-film-head h2 {
    margin-top: 10px !important;
    font-size: clamp(2.65rem, 12vw, 3.55rem) !important;
  }

  html[data-version="v3"] .trace-film-grid {
    grid-template-columns: repeat(3, minmax(270px, 82vw)) !important;
  }

  html[data-version="v3"] .trace-film-media {
    aspect-ratio: 9 / 12 !important;
  }

  html[data-version="v3"] .atlas-connection {
    padding: 58px 20px !important;
  }

  html[data-version="v3"] .atlas-connection-frame {
    min-height: 570px !important;
    border-radius: 22px;
  }

  html[data-version="v3"] .atlas-connection-copy {
    right: 20px !important;
    bottom: 54px !important;
    left: 20px !important;
  }

  html[data-version="v3"] .atlas-connection-copy h2 {
    font-size: clamp(2.65rem, 12vw, 3.55rem) !important;
  }

  html[data-version="v3"] .atlas-trace-notes {
    gap: 10px !important;
    margin-top: 24px !important;
  }

  html[data-version="v3"] .atlas-trace-notes article {
    min-height: 0 !important;
    padding: 18px !important;
    border-radius: 16px;
    box-shadow: 4px 4px 0 #302b27 !important;
  }

  html[data-version="v3"] .atlas-trace-notes p {
    margin: 12px 0 !important;
  }

  html[data-version="v3"] .download-phones {
    height: 390px !important;
  }

  html[data-version="v3"] .download-phones .phone {
    width: 145px !important;
  }

  html[data-version="v3"] .store-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px !important;
  }

  html[data-version="v3"] .store-card {
    width: 100%;
    min-height: 58px !important;
    justify-content: center;
    padding: 8px 10px !important;
    border-radius: 15px !important;
    box-shadow: 3px 3px 0 #e8734a !important;
  }

  html[data-version="v3"] footer.compact-footer {
    width: calc(100% + 40px) !important;
    margin: 34px -20px -56px !important;
  }

  html[data-version="v3"] .cookie-banner {
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    width: calc(100% - 16px) !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }

  html[data-version="v3"] .cookie-content {
    gap: 8px !important;
  }

  html[data-version="v3"] .cookie-copy {
    gap: 0 !important;
  }

  html[data-version="v3"] .cookie-mark {
    display: none !important;
  }

  html[data-version="v3"] .cookie-copy strong {
    margin: 0 !important;
    font-size: 12px !important;
  }

  html[data-version="v3"] .cookie-message {
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  html[data-version="v3"] .cookie-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr auto;
    gap: 6px !important;
  }

  html[data-version="v3"] .cookie-btn {
    min-height: 38px !important;
    padding: 7px 12px !important;
  }

  html[data-version="v3"] .cookie-link {
    order: 3 !important;
    width: auto !important;
    align-self: center;
    padding: 6px !important;
    font-size: 11px !important;
  }
}

/* Product story: real moments become location-bound traces. */
.trace-film {
  padding: clamp(72px, 9vw, 130px) max(5vw, 24px);
  background: #2b2926;
  color: #fff9f3;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.trace-film-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: end;
  column-gap: 7vw;
  margin-bottom: clamp(36px, 6vw, 76px);
}

.trace-film-head .section-no {
  grid-column: 1 / -1;
  color: #f0d49b;
}

.trace-film-head h2 {
  margin: 16px 0 0;
  max-width: 760px;
}

.trace-film-head h2 em { color: #e8734a; }

.trace-film-head p {
  margin: 0 0 8px;
  max-width: 520px;
  color: rgba(255, 249, 243, .72);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.trace-film-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
}

.trace-film-card {
  overflow: hidden;
  border: 1px solid rgba(240, 212, 155, .2);
  border-radius: 30px;
  background: #34312d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.trace-film-card--sport { margin-top: 58px; }
.trace-film-card--coffee { margin-top: 116px; }

.trace-film-media {
  position: relative;
  aspect-ratio: 9 / 13.5;
  overflow: hidden;
  background: #191816;
}

.trace-film-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(24, 22, 20, .7));
  pointer-events: none;
}

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

.trace-film-step,
.trace-film-sound {
  position: absolute;
  z-index: 2;
  top: 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(43, 41, 38, .68);
  color: #fff9f3;
  backdrop-filter: blur(12px);
}

.trace-film-step {
  left: 16px;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 850;
}

.trace-film-sound {
  right: 16px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  display: grid;
  place-items: center;
}

.trace-film-sound svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.trace-film-sound-on { display: none; }
.trace-film-sound[aria-pressed="true"] .trace-film-sound-on { display: block; }
.trace-film-sound[aria-pressed="true"] .trace-film-sound-off { display: none; }

.trace-film-sound:hover,
.trace-film-sound[aria-pressed="true"] { background: #e8734a; }

.trace-film-copy { padding: 24px 24px 28px; }
.trace-film-copy > span {
  color: #f0d49b;
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.trace-film-copy h3 {
  margin: 10px 0 9px;
  font-size: clamp(1.45rem, 2.1vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.trace-film-copy p {
  margin: 0;
  color: rgba(255, 249, 243, .67);
  line-height: 1.55;
}

.trace-film-cta {
  display: flex;
  width: fit-content;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  margin: 50px auto 0;
  padding: 13px 20px;
  border-radius: 999px;
  background: #e8734a;
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  transition: transform .18s ease, background-color .18s ease;
}

.trace-film-cta:hover { background: #c95a35; transform: translateY(-2px); }

@media (max-width: 900px) {
  .trace-film-head { grid-template-columns: 1fr; row-gap: 22px; }
  .trace-film-grid {
    grid-template-columns: repeat(3, minmax(250px, 72vw));
    margin-inline: max(-5vw, -24px);
    padding: 0 max(5vw, 24px) 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .trace-film-grid::-webkit-scrollbar { display: none; }
  .trace-film-card,
  .trace-film-card--sport,
  .trace-film-card--coffee { margin-top: 0; scroll-snap-align: center; }
  .trace-film-media { aspect-ratio: 9 / 14; }
}

@media (max-width: 600px) {
  .trace-film { padding-inline: 20px; }
  .trace-film-head h2 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .trace-film-grid { margin-inline: -20px; padding-inline: 20px; }
  .trace-film-copy { padding: 20px 20px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .trace-film-cta { transition: none; }
}
footer.compact-footer .footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  padding: 0;
}

footer.compact-footer .footer-social-row a {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255, 249, 243, .58);
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

footer.compact-footer .footer-social-row a:hover {
  background: transparent;
  color: #fff;
  transform: none;
}

@media (max-width: 700px) {
  footer.compact-footer .footer-policy-row {
    position: static;
    flex-wrap: wrap;
    gap: 8px 13px;
  }

  footer.compact-footer .footer-policy-row a {
    font-size: 10px;
  }
  footer.compact-footer .footer-social-row {
    position: static;
    justify-content: flex-start;
    gap: 7px 13px;
    padding: 0;
  }
  footer.compact-footer .footer-social-row a { font-size: 10px; }
}

@media (min-width: 701px) and (max-width: 900px) {
  footer.compact-footer .footer-social-row {
    position: static;
    justify-content: flex-start;
  }
}

/* Section 09 footer: keep store, policy and social actions readable without overlap. */
@media (min-width: 901px) {
  footer.compact-footer .footer-social-row {
    right: auto;
    max-width: 42%;
  }

  footer.compact-footer .footer-policy-row {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}
