/* WEB-07.1 — native, mobile-first landing page. No external assets. */
:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #101827;
  background: #fdfcfb;
  font-synthesis: none;
  line-height: 1.45;
  --muted: #6b7a8c;
  --blue: #639fcb;
  --pale-blue: #dfedf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at 75% 20%, #faf9f7 0, transparent 55%);
}

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

button {
  font: inherit;
}

a:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #3979a8;
  outline-offset: 5px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -6rem;
  z-index: 10;
  background: white;
  padding: 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

h1, h2, h3, h4, p {
  margin: 0;
}

h1, h2, h3, h4 {
  font-weight: 500;
}

p {
  color: var(--muted);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 25px;
}

.site-header nav {
  display: flex;
  gap: 17px;
  font-size: 12px;
  color: #586779;
}

.site-header nav a {
  padding-block: 8px;
}

.site-header nav a:hover {
  color: #111;
}

.hero {
  padding-top: 42px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .42em;
  color: #64758a;
}

.hero .eyebrow {
  text-transform: lowercase;
  font-size: 15px;
  letter-spacing: .5em;
  margin-bottom: 14px;
}

h1 {
  color: #292f32;
  font-size: clamp(44px, 8.5vw, 78px);
  letter-spacing: -.055em;
  line-height: 1.02;
}

.hero-description {
  max-width: 460px;
  font-size: 19px;
  line-height: 1.45;
  margin-top: 25px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 530px;
  margin-top: 10px;
  isolation: isolate;
}

.halo {
  position: absolute;
  width: min(100%, 400px);
  aspect-ratio: 1;
  background: linear-gradient(145deg, #edf3f7, #cddce8);
  border-radius: 50%;
  z-index: -2;
}

.particles {
  position: absolute;
  inset: 0 -8px;
  z-index: -1;
}

.particles i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dcdedc;
}

.particles i:nth-child(1) {
  left: 2%;
  top: 13%;
}

.particles i:nth-child(2) {
  right: 0;
  top: 21%;
  background: #bed5e6;
  width: 10px;
  height: 10px;
}

.particles i:nth-child(3) {
  left: 10%;
  top: 53%;
  background: #b9cdda;
}

.particles i:nth-child(4) {
  right: 2%;
  top: 65%;
}

.particles i:nth-child(5) {
  left: 2%;
  bottom: 12%;
}

.particles i:nth-child(6) {
  right: 13%;
  bottom: 5%;
  width: 9px;
  height: 9px;
}

.particles i:nth-child(7) {
  right: 4%;
  top: 50%;
  width: 4px;
  height: 4px;
}

.particles i:nth-child(8) {
  left: 18%;
  top: 5%;
  width: 4px;
  height: 4px;
}

.preview-label {
  position: absolute;
  bottom: 0;
  font-size: 10px;
  color: #677484;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -.035em;
  line-height: 1.12;
}

.philosophy {
  margin-top: 24px;
  padding: 28px 24px;
  border-radius: 23px;
  background: #f4f3f1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.philosophy-copy p {
  margin-top: 12px;
  font-size: 15px;
  max-width: 390px;
}

.benefit {
  text-align: center;
  border-top: 1px solid #dfdfdd;
  padding-top: 22px;
}

.benefit-icon {
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  width: 49px;
  height: 49px;
  border-radius: 17px;
  background: #fffaf9;
  font-size: 30px;
  color: #609ccd;
}

.benefit h3 {
  font-size: 15px;
  line-height: 1.2;
  min-height: 37px;
}

.benefit p {
  margin-top: 10px;
  font-size: 12px;
}

.final-cta {
  text-align: center;
  padding-block: 65px;
}

.final-cta .eyebrow {
  font-size: 9px;
  letter-spacing: .24em;
  margin-bottom: 16px;
}

.final-cta h2 {
  font-size: clamp(38px, 5vw, 56px);
}

.final-cta > p:not(.eyebrow) {
  margin-top: 17px;
  font-size: 15px;
}

.final-cta .official-store-badges {
  margin-inline: auto;
}

.site-footer {
  border-top: 1px solid #d6dce0;
  padding: 21px 3px 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
  color: #627184;
  font-size: 12px;
}

.site-footer .footer-publisher {
  flex-basis: 100%;
  display: grid;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.site-footer .footer-publisher li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: .5rem;
}

.site-footer .footer-publisher svg { display: block; }
.site-footer .footer-publisher a { text-decoration: underline; text-underline-offset: .18em; }
.footer-links a:hover { text-decoration: underline; }

@media (min-width: 600px) {
  .shell {
    width: min(1120px, calc(100% - 64px));
  }

  .hero-copy {
    max-width: 600px;
  }

  .hero-visual {
    height: 590px;
  }

.philosophy {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 0;
  }

  .philosophy-copy {
    grid-column: 1 / -1;
    margin-bottom: 25px;
  }

  .benefit {
    /* Shared icon, title and description tracks grow with either language. */
    display: grid;
    grid-template-rows: subgrid;
    grid-row: 2 / span 3;
    row-gap: 0;
    align-items: start;
    align-self: stretch;
    border-top: 0;
    padding-top: 0;
  }

  .benefit + .benefit {
    border-left: 1px solid #dfdfdd;
  }

  .site-header nav {
    font-size: 13px;
    gap: 30px;
  }

}

/* WEB-07.2E — fluid desktop composition, independent of browser zoom. */
@media (min-width: 960px) {
  :root {
    --composition-max: 86.25rem;
    --page-gutter: clamp(2rem, 3.333vw, 3rem);
    --content-inset: clamp(1.5rem, 3.333vw, 3rem);
    --desktop-hero-height: clamp(40.625rem, 52vw, 50rem);
  }

  .shell { width: min(var(--composition-max), calc(100% - 2 * var(--page-gutter))); }
  .site-header { padding: clamp(28px, 2.25vw, 36px) var(--content-inset); }
.site-header nav { font-size: clamp(14px, 1.1vw, 16px); gap: clamp(26px, 2.4vw, 38px); }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(24px, 2vw, 32px);
    align-items: center;
    padding: 0 var(--content-inset);
    min-height: var(--desktop-hero-height);
  }
  .hero-copy { position: relative; z-index: 1; min-width: 0; max-width: none; padding-bottom: 35px; }
  .hero h1 { font-size: clamp(56px, 6.5vw, 96px); }
  /* Use 20px of the existing column gap; description and phone stay fixed. */
  html[lang="fr"] .hero h1 { width: calc(100% + 20px); }
  .hero .eyebrow { font-size: clamp(15px, 1.2vw, 18px); margin-bottom: clamp(14px, 1.2vw, 20px); }
  .hero-description { font-size: clamp(19px, 1.55vw, 23px); max-width: 100%; line-height: 1.5; margin-top: clamp(28px, 2.5vw, 40px); }
  .hero-visual { height: var(--desktop-hero-height); margin: 0; min-width: 0; }
  .halo { width: min(100%, clamp(400px, 41vw, 590px)); max-width: none; }
  .particles { inset: 0; }
  .preview-label { bottom: 3px; right: 16px; font-size: 11px; }

  h2 { font-size: clamp(34px, 3.5vw, 50px); }
.philosophy { grid-template-columns: 2fr repeat(3, 1fr); gap: 0; padding: clamp(28px, 2.5vw, 40px) var(--content-inset); align-items: center; }
  .philosophy-copy { grid-column: auto; grid-row: 1 / span 3; align-self: center; margin-bottom: 0; padding-right: clamp(28px, 3vw, 44px); }
  .philosophy-copy h2 { font-size: clamp(35px, 2.9vw, 42px); }
  .philosophy-copy p { font-size: clamp(16px, 1.3vw, 19px); max-width: 450px; }
  .benefit { grid-row: 1 / span 3; min-height: 160px; padding-inline: 14px; border-left: 1px solid #dfdfdd; }
  .benefit-icon { width: 58px; height: 58px; font-size: 34px; }
  .benefit h3 { font-size: clamp(16px, 1.2vw, 18px); min-height: 43px; }
  .benefit p { font-size: clamp(13px, 1vw, 15px); }

  .final-cta { padding-block: clamp(65px, 5.5vw, 88px); }
  .final-cta h2 { font-size: clamp(56px, 4.8vw, 68px); }
  .final-cta > p:not(.eyebrow) { font-size: 18px; }
  .final-cta .eyebrow { font-size: 11px; }
  .site-footer { padding: 26px var(--content-inset) 30px; }
.footer-links { font-size: 14px; gap: clamp(24px, 3vw, 44px); }
}

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

}

.bell-icon {
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  vertical-align: middle;
  color: #609ccd;
}

.benefit-icon .bell-icon {
  width: 28px;
  height: 28px;
}

/* WEB-07.2A — supplied hero assets only; shared mockups/badges stay unchanged. */

.hero .hero-store-badges,
.final-cta .official-store-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 430px;
  margin-top: 30px;
}

.hero .hero-store-preview,
.final-cta .official-store-preview {
  /* External breathing room; never crop the supplied badge artwork. */
  padding: 6px;
  text-align: center;
}

.hero .hero-store-preview img,
.final-cta .official-store-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.hero .hero-store-preview p,
.final-cta .official-store-preview p {
  margin-top: 8px;
  font-size: 13px;
}

@media (min-width: 960px) {

  .hero .hero-store-badges,
  .final-cta .official-store-badges {
    max-width: clamp(430px, 36vw, 520px);
    margin-top: clamp(30px, 2.7vw, 44px);
    gap: 18px;
  }
  .hero .hero-store-preview p,
  .final-cta .official-store-preview p { font-size: 14px; }
}

/* WEB-07.2D — native-size plane, projected once then scaled uniformly. */
.hero .hero-device {
  --hero-scale: .35;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: clip;
}
.hero .hero-device-art {
  position: absolute;
  left: calc(50% - 5px);
  top: 50%;
  width: 1024px;
  height: 1536px;
  transform: translate(-50%, -50%) scale(var(--hero-scale));
  transform-origin: center;
  transform-style: preserve-3d;
}
.hero .hero-device-screen {
  position: absolute;
  left: 0;
  top: 0;
  width: 820px;
  height: 1919px;
  border-radius: 140px / 140px;
  overflow: hidden;
  transform-origin: 0 0;
  backface-visibility: hidden;
  /* TL(309,103), TR(864,140), BR(720,1451), BL(158,1384).
     Slight overlap under the bezel avoids antialiased seams. */
  transform: matrix3d(0.65369177774, 0.041372820806, 0, -0.000026779503,
    -0.080175595187, 0.654494223143, 0, -0.000009422653,
    0, 0, 1, 0, 309, 103, 0, 1);
}
.hero .hero-device-screen img { display: block; width: 820px; height: 1919px; }
.hero .hero-device-frame { position: relative; display: block; width: 1024px; height: 1536px; pointer-events: none; }
@media (min-width: 600px) { .hero .hero-device { --hero-scale: .39; } }
@media (min-width: 960px) { .hero .hero-device { --hero-scale: .43; } }
@media (min-width: 1200px) { .hero .hero-device { --hero-scale: .48; } }
@media (min-width: 1440px) { .hero .hero-device { --hero-scale: .52; } }
@media (min-width: 1600px) { .hero .hero-device { --hero-scale: .53; } }

/* WEB-07.2G — validated image lockups; native image ratios are preserved. */
.site-header .brand-link,
.site-footer .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.site-header .brand-icon,
.site-footer .brand-icon,
.site-header .brand-logo,
.site-footer .brand-logo {
  display: block;
  height: auto;
  flex-shrink: 0;
}

.site-header .brand-icon { width: 32px; }
.site-header .brand-logo { width: 132px; }
.site-footer .brand-icon { width: 30px; }
.site-footer .brand-logo { width: 120px; }

/* Existing compact navigation spacing from WEB-07.2F. */
@media (max-width: 419px) {
  .site-header { gap: 8px; }
  .site-header nav { gap: 8px; }
  .site-header .brand-icon { width: clamp(24px, calc(10vw - 8px), 32px); }
  .site-header .brand-logo { width: clamp(88px, calc(55vw - 88px), 132px); }
}

@media (max-width: 359px) {
  .site-header .brand-link { gap: 2px; min-height: 36px; }
}

@media (min-width: 600px) {
  .site-header .brand-icon { width: 40px; }
  .site-header .brand-logo { width: 165px; }
}

@media (min-width: 960px) {
  .site-header .brand-icon { width: clamp(42px, 3.5vw, 52px); }
  .site-header .brand-logo { width: clamp(180px, 14.5vw, 220px); }
  .site-footer .brand-icon { width: 36px; }
  .site-footer .brand-logo { width: 156px; }
}

/* WEB-07.2C — native manual carousel, scoped to How it works. */
.how-section {
  margin-top: 32px;
  padding: 28px 16px 18px;
  border: 1px solid #eeece9;
  border-radius: 22px;
  background: #faf9f780;
}

.how-section .onboarding-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.how-section .eyebrow { margin-bottom: 10px; }
.how-section h2 { max-width: 650px; }
.how-section .onboarding-hint { font-size: 12px; margin-bottom: 16px; }

.how-section .onboarding-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  grid-template-rows: auto auto;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #b9cddd #eeece9;
  padding-bottom: 10px;
  overscroll-behavior-x: contain;
}

.how-section .onboarding-card {
  min-width: 0;
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  justify-items: center;
  row-gap: 16px;
  scroll-snap-align: start;
  background: #fffdfb;
  border: 1px solid #fff;
  border-radius: 17px;
  padding: 18px 6px 12px;
}

.how-section .onboarding-copy {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  min-height: 0;
  max-width: 380px;
  padding-inline: 8px;
  overflow-wrap: anywhere;
}

.how-section .onboarding-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e9f4fc, #d4e6f4);
  font-size: 17px;
}

.how-section h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.025em; }
.how-section .onboarding-copy p { font-size: 14px; line-height: 1.45; margin-top: 12px; }

.how-section .onboarding-phone {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 866 / 1816;
  align-self: start;
}

.how-section .onboarding-screen {
  position: absolute;
  /* Front opening x≈87–779, y≈85–1727; inset extends under bezel. */
  left: calc(86 / 866 * 100%);
  top: calc(83 / 1816 * 100%);
  width: calc(695 / 866 * 100%);
  height: calc(1646 / 1816 * 100%);
  border-radius: 13.2% / 5.6%;
  overflow: hidden;
  background: #fcfcfb;
}

.how-section .onboarding-screen-notification {
  background: linear-gradient(90deg, #94b9d6, #a0c2d9) top / 100% 50% no-repeat,
    linear-gradient(90deg, #6086b1, #8cadce) bottom / 100% 50% no-repeat;
}
.how-section .onboarding-screen img { display: block; width: 100%; height: 100%; object-fit: contain; }
.how-section .onboarding-frame { position: relative; display: block; width: 100%; height: auto; pointer-events: none; }

.how-section .onboarding-arrows { display: none; gap: 12px; flex-shrink: 0; }
.how-section .onboarding-arrows button {
  width: 48px;
  height: 48px;
  border: 1px solid #a8c7df;
  border-radius: 50%;
  background: #e2eff9;
  color: #233e55;
  font-size: 25px;
  cursor: pointer;
}
.how-section .onboarding-arrows button:disabled { color: #7b8791; background: #faf9f7; border-color: #e1e2e2; cursor: default; }
.how-section .onboarding-dots { display: flex; justify-content: center; margin-top: 8px; }
.how-section .onboarding-dots button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.how-section .onboarding-dots span { width: 8px; height: 8px; border: 1px solid #6e8ba2; border-radius: 50%; background: #fdfcfb; }
.how-section .onboarding-dots [aria-current="step"] span { width: 11px; height: 11px; background: #6b9fc6; border-color: #48799d; }
.how-section button:focus-visible { outline: 3px solid #3979a8; outline-offset: 2px; }
.how-section [hidden] { display: none; }
.how-section .onboarding-note { margin-top: 12px; text-align: center; font-size: 10px; }
.how-section .onboarding-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (min-width: 960px) {
  .how-section { margin-top: 0; padding: clamp(32px, 3vw, 42px) clamp(24px, 2.2vw, 32px) 22px; }
  .how-section .onboarding-heading { padding-inline: 16px; margin-bottom: 28px; }
  .how-section h2 { max-width: none; }
  .how-section .eyebrow { font-size: 13px; }
  .how-section .onboarding-track { gap: 22px; grid-auto-columns: calc((100% - 44px) / 3); }
  .how-section .onboarding-card { row-gap: 20px; padding: 22px 8px 16px; }
  .how-section .onboarding-copy { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; max-width: 440px; }
  .how-section .onboarding-number { width: 42px; height: 42px; font-size: 20px; }
  .how-section h3 { font-size: clamp(20px, 1.6vw, 24px); }
  .how-section .onboarding-copy p { font-size: clamp(15px, 1.15vw, 18px); }
  .how-section .onboarding-phone { width: min(100%, clamp(300px, 25vw, 360px)); }
  .how-section .onboarding-arrows:not([hidden]) { display: flex; gap: 14px; }
  .how-section .onboarding-arrows button { width: 54px; height: 54px; }
  .how-section .onboarding-arrows svg { width: 28px; height: 22px; }
  .how-section .onboarding-note { font-size: 12px; margin-top: 16px; }
  .how-section .onboarding-dots, .how-section .onboarding-hint { display: none; }
}

/* WEB-08.5 — native language disclosure; existing content scale is unchanged. */
.header-actions { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.language-selector { position: relative; z-index: 30; flex-shrink: 0; color: #586779; font-size: 13px; }
.language-selector summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  list-style: none;
}
.language-selector summary::-webkit-details-marker { display: none; }
.language-selector summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}
.language-selector summary:focus-visible { outline: 3px solid #3979a8; outline-offset: 5px; }
.language-options {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  width: 6rem;
  padding: 6px;
  background: #fdfcfb;
  border: 1px solid #d6dce0;
  border-radius: 10px;
}
.language-options a { display: block; padding: 10px; border-radius: 6px; }
.language-options a:hover, .language-options [aria-current="page"] { background: var(--pale-blue); }
.language-options [aria-current="page"] { font-weight: 600; }
@media (max-width: 767px) {
  .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .header-actions { display: contents; }
  .site-header .brand-link { grid-column: 1; grid-row: 1; justify-self: start; }
  .site-header .language-selector { grid-column: 2; grid-row: 1; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-end; flex-wrap: wrap; gap: 16px; }
}
