:root {
  --bg: #f6f7f4;
  --bg-2: #f4f7fb;
  --bg-3: #ffffff;
  --ink: #0c1b4d;
  --surface: #ffffff;
  --surface-2: #eef3ff;
  --border: rgba(65, 105, 225, 0.18);
  --border-strong: rgba(65, 105, 225, 0.38);
  --text: #0c1b4d;
  --muted: #3d4d7a;
  --royal: #4169e1;
  --royal-bright: #6b8cff;
  --royal-deep: #2a47c9;
  --sky: #96c1eb;
  /* Relevé sur le badge du logo : le bleu plein et le bleu des rues */
  --logo-blue: #4c7dc2;
  --logo-ink: #345d9a;
  /* Arrondi du carré du logo : 119 / 885 du côté */
  --squircle: 13.5%;
  --steel: #5a788c;
  --silver: #b2bec9;
  --mint: var(--royal);
  --mint-2: var(--royal-deep);
  --violet: var(--royal-deep);
  --violet-2: var(--royal-bright);
  --coral: #e24b3c;
  --shadow: 0 8px 24px rgba(42, 71, 201, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 76px;
  --header-offset: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --max: 1320px;
  --max-wide: 1440px;
  --pad: clamp(16px, 3.5vw, 28px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.16, 1.28, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px);
  color-scheme: light;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 2.4vw, 16px);
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

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

a {
  color: var(--royal-deep);
  text-decoration: none;
}

a:hover {
  color: var(--royal);
}

button,
input {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.6em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.7rem, 7.2vw, 4.15rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.35rem, 4.2vw, 2.65rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--royal);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.container {
  width: min(var(--max-wide), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-lead {
  font-size: 1.08rem;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 36em;
  margin-bottom: 1.6rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s, color 0.15s, border-color 0.15s;
  text-align: center;
  white-space: normal;
  max-width: 100%;
  text-wrap: balance;
}

.btn-primary {
  background: var(--royal-deep);
  color: #fff;
  box-shadow: 0 1px 2px rgba(12, 27, 77, 0.08);
}

.btn-primary:hover {
  color: #fff;
  background: var(--royal);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(42, 71, 201, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  color: var(--royal-deep);
  background: var(--surface-2);
  border-color: var(--royal);
  transform: translateY(-1px);
}

.btn-on-dark {
  background: rgba(8, 18, 60, 0.28);
  color: #fff;
}

.btn-on-dark:hover {
  color: #fff;
  background: rgba(8, 18, 60, 0.46);
  transform: translateY(-1px);
}

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

.btn:focus-visible,
.lang-btn:focus-visible,
.nav-toggle:focus-visible,
input:focus-visible,
.faq-item summary:focus-visible,
.social-link:focus-visible,
.nav-desktop a:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  /* Cristal 75 % transparent : le hero se lit encore derrière, les liens restent nets. */
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
  padding-top: env(safe-area-inset-top, 0px);
  isolation: isolate;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-solid,
.site-header.is-open {
  background: var(--royal);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: 0 8px 28px rgba(42, 71, 201, 0.22);
}

.header-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(10px, env(safe-area-inset-left)) max(var(--pad), env(safe-area-inset-right));
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-inner > .logo {
  margin-right: auto;
  margin-left: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.site-header .logo:hover {
  color: #fff;
}

.logo-mark {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  /* Le PNG porte déjà son carré arrondi et son cadre : ne rien rogner. */
  background: transparent;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  display: block;
}

.logo-text {
  white-space: nowrap;
  font-size: clamp(1.12rem, 3.8vw, 1.42rem);
}

.nav-desktop {
  display: none;
  gap: 22px;
  margin-left: auto;
  margin-right: 8px;
}

.nav-desktop a {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 4px;
  transition: color 0.2s var(--ease);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.nav-desktop a:hover {
  color: #fff;
}

.nav-desktop a:hover::after {
  transform: scaleX(1);
}

.nav-desktop a.is-current {
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
  padding: 6px 12px;
  border-radius: 999px;
}

.nav-desktop a.is-current::after {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.header-actions > .btn {
  display: none;
}

.site-header .btn-download {
  background: #fff;
  color: var(--royal-deep);
  box-shadow: none;
}

.site-header .btn-download:hover {
  color: var(--royal-deep);
  background: #e8eaef;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(8, 18, 60, 0.16);
}

.lang-switch {
  display: flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-btn:hover:not(.is-active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.lang-btn.is-active {
  background: #fff;
  color: var(--royal-deep);
}

.nav-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
}

.nav-toggle-bar {
  position: absolute;
  left: 50%;
  display: block;
  width: 16px;
  height: 2px;
  margin-left: -8px;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle-bar:first-child {
  transform: translateY(-3.5px);
}

.nav-toggle-bar:last-of-type {
  transform: translateY(3.5px);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--royal-deep);
}

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

.nav-mobile a {
  color: #fff;
  padding: 12px 8px;
  border-radius: 10px;
}

.nav-mobile a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.nav-mobile .btn {
  margin-top: 8px;
}

.site-header.is-open .nav-toggle-bar:first-child {
  transform: translateY(0) rotate(45deg);
}

.site-header.is-open .nav-toggle-bar:last-of-type {
  transform: translateY(0) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: max(560px, calc(100svh - var(--header-h)));
  padding: calc(var(--header-offset) + 16px) 0 clamp(24px, 3.5vw, 40px);
  background: linear-gradient(165deg, #2a47c9 0%, #4169e1 48%, #5a7ef0 100%);
  color: #fff;
  z-index: 2;
}

.hero > .container {
  width: min(var(--max-wide), calc(100% - 2 * var(--pad)));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  width: 100%;
}

.hero-copy {
  min-width: 0;
  text-align: center;
}

.hero h1 {
  margin: 0 0 14px;
  max-width: 14em;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(1.65rem, 4.8vw + 0.4rem, 4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.page-hero h1,
.cta-band h1,
.cta-band h2 {
  color: #fff;
}

.hero-copy .lead,
.hero-copy p {
  color: rgba(255, 255, 255, 0.92);
}

.page-hero .lead,
.page-hero p,
.cta-band p,
.cta-band .section-lead {
  color: rgba(255, 255, 255, 0.88);
}

.page-hero .eyebrow,
.cta-band .eyebrow {
  color: #fff;
}

.site-header .btn-primary,
.cta-band .btn-primary,
.hero .btn-primary {
  background: #fff;
  color: var(--royal-deep);
  box-shadow: none;
}

.site-header .btn-primary:hover,
.cta-band .btn-primary:hover,
.hero .btn-primary:hover {
  background: #e8eaef;
  color: var(--royal-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(8, 18, 60, 0.12);
}


.hero-city {
  display: inline-block;
  margin: 0 0 clamp(6px, 1.5vw, 10px);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 2vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: clamp(4px, 1vw, 6px);
  border-bottom: 3px solid rgba(255, 255, 255, 0.55);
}

.hero-copy .lead {
  margin: 0 auto 0;
  max-width: 32em;
  margin-bottom: 0;
  font-size: clamp(0.88rem, 1.4vw + 0.35rem, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 10px);
  margin-top: clamp(14px, 3vw, 22px);
  margin-bottom: 0;
}

.hero-actions .btn {
  flex: 0 1 auto;
  padding: clamp(11px, 2.2vw, 16px) clamp(14px, 3.5vw, 26px);
  font-size: clamp(0.82rem, 1.8vw + 0.2rem, 1.02rem);
}

.hero-facts {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.hero-facts-sep {
  margin: 0 0.45em;
  opacity: 0.65;
}

.app-logo {
  width: 18px;
  height: 18px;
  max-width: none;
  border-radius: var(--squircle);
  object-fit: contain;
}

.btn-download {
  background: #fff;
  color: var(--royal-deep);
  box-shadow: 0 10px 28px rgba(8, 18, 60, 0.2);
  padding: 12px 22px;
  font-size: 0.95rem;
}

.btn-download:hover {
  color: var(--royal-deep);
  background: #e8eaef;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 18, 60, 0.2);
}

.btn-download[hidden] {
  display: none !important;
}

.hero-stage {
  position: relative;
  z-index: 2;
  width: min(100%, clamp(260px, 88vw, 520px));
  min-height: clamp(220px, 78vw, 520px);
  margin-inline: auto;
  flex-shrink: 0;
}

.hero-stage .mockup-viewport {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  perspective: 1000px;
  perspective-origin: 50% 45%;
}

.hero-stage .mockup-viewport[data-tilt-scene] {
  transform-style: preserve-3d;
}

.hero-stage .mockup-card,
[data-tilt="phone-wrapper"] {
  position: relative;
  width: min(100%, clamp(200px, 68vw, 460px));
  max-width: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: grab;
  border: 0;
  background: none;
  padding: 0;
  outline: none;
  touch-action: none;
  transition: transform 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-tilt="phone-wrapper"].is-active {
  transition: none;
}

[data-tilt="phone-wrapper"]:active {
  cursor: grabbing;
}

.psk-3d-shadow,
.psk-3d-glare {
  transform-style: preserve-3d;
}

.psk-3d-shadow,
.psk-3d-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.psk-3d-shadow {
  transform: translateZ(-32px) scale(0.96);
  background: radial-gradient(ellipse 70% 55% at 50% 62%, rgba(8, 18, 60, 0.28) 0%, transparent 72%);
  filter: blur(14px);
  opacity: 0.55;
}

.psk-3d-glare {
  transform: translateZ(2px);
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.55) 0%, transparent 68%);
  opacity: 0;
  mix-blend-mode: soft-light;
  transition: opacity 0.25s ease;
}

.hero-stage .mockup-image,
[data-tilt="phone-wrapper"] img {
  width: 100%;
  height: auto;
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: none;
}

[data-tilt-callout] {
  will-change: transform;
}

.parking-sign {
  display: flex;
  align-items: flex-start;
  gap: clamp(6px, 1.5vw, 10px);
  max-width: min(190px, 42vw);
  padding: clamp(8px, 2vw, 12px) clamp(10px, 2.5vw, 14px);
  border-radius: clamp(8px, 2vw, 10px);
  background: #fff;
  border: 1px solid rgba(12, 27, 77, 0.1);
  box-shadow: 0 14px 36px rgba(12, 27, 77, 0.1);
  text-align: left;
}

.hero-stage .parking-sign {
  position: absolute;
  z-index: 3;
}

.hero-stage .parking-sign-a {
  top: 6%;
  left: 0;
}

.hero-stage .parking-sign-b {
  bottom: 8%;
  right: 0;
}

.parking-sign-copy {
  min-width: 0;
}

.parking-sign-icon {
  flex-shrink: 0;
  position: relative;
  width: clamp(22px, 6vw, 28px);
  height: clamp(22px, 6vw, 28px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  font-family: var(--font-display);
  font-size: clamp(0.58rem, 1.6vw, 0.72rem);
  font-weight: 800;
  line-height: 1;
  color: #1c1f2a;
}

.parking-sign-icon-no {
  border: 2px solid #b91c1c;
}

.parking-sign-icon-no::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 120%;
  background: #b91c1c;
  transform: rotate(-45deg);
  border-radius: 999px;
}

.parking-sign-icon-pay {
  border: 2px solid #15803d;
  color: #15803d;
}

.parking-sign-rule {
  margin: 0 0 3px;
  font-size: clamp(0.68rem, 1.8vw, 0.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.parking-sign-meta {
  margin: 0;
  font-size: clamp(0.62rem, 1.6vw, 0.72rem);
  font-weight: 600;
  color: #5a6478;
  line-height: 1.3;
}

.map-callout-no,
.map-callout-yes {
  max-width: min(320px, 100%);
}

.map-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 240px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(12, 27, 77, 0.1);
  text-align: left;
}

.map-callout p {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.callout-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}

.callout-icon-no {
  position: relative;
  background: #e24b3c;
}

.callout-icon-no::after {
  content: "";
  position: absolute;
  inset: 18% auto;
  width: 2px;
  background: #fff;
  transform: rotate(-42deg);
}

.callout-icon-yes {
  background: #22a45a;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
  width: 100%;
}

.waitlist-form .btn {
  width: 100%;
}

.waitlist-form input {
  width: 100%;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 14px 18px;
}

.waitlist-form input::placeholder {
  color: #6f7893;
}

.waitlist-form.is-done {
  display: none;
}

.waitlist-form.is-done + .form-success-wrap + .form-hint,
.waitlist-form.is-done + .form-success + .form-hint {
  display: none;
}

.form-success {
  color: var(--royal-deep);
  font-weight: 600;
  margin-top: 8px;
}

.form-success-wrap {
  margin-top: 1.25rem;
  max-width: 520px;
  width: 100%;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.form-success-wrap.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.form-success-wrap[hidden] {
  display: none !important;
}

.form-success-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.5rem 1.25rem;
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px);
  box-shadow:
    0 22px 55px rgba(8, 18, 60, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.form-success-card::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.22) 0%, transparent 62%);
  pointer-events: none;
  animation: waitlist-glow 2.4s ease-in-out infinite alternate;
}

@keyframes waitlist-glow {
  from { opacity: 0.45; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1.05); }
}

.form-success-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: #fff;
  font-size: 1.55rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(8, 18, 60, 0.18);
  animation: waitlist-pop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes waitlist-pop {
  0% { transform: scale(0) rotate(-18deg); }
  70% { transform: scale(1.12) rotate(6deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.form-success-title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.form-success-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
}

.cta-band .form-success {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .form-success-wrap {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .form-success-icon,
  .form-success-card::before {
    animation: none;
  }
}

.form-hint {
  margin-top: 10px;
  font-size: 0.88rem;
}

.form-hint-error {
  color: var(--coral);
  text-align: center;
}

.form-error input {
  border-color: var(--coral);
}

/* Product preview */
.product-preview {
  padding: clamp(36px, 5vw, 64px) 0;
  background:
    linear-gradient(165deg, var(--bg) 0%, var(--surface-2) 52%, var(--bg) 100%);
  overflow-x: clip;
}

.preview-grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.preview-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.preview-copy h2 {
  margin-bottom: 0.15rem;
}

.preview-lead {
  margin: 0 0 0.65rem;
  max-width: 28em;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.preview-context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.preview-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(65, 105, 225, 0.12);
  border: 1px solid rgba(65, 105, 225, 0.22);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--royal-deep);
}

.preview-features {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 38em;
}

.preview-features li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(65, 105, 225, 0.14);
  box-shadow: 0 8px 22px rgba(12, 27, 77, 0.06);
  font-size: clamp(0.875rem, 1.45vw, 0.9375rem);
  line-height: 1.45;
  color: var(--muted);
}

.preview-feature-wide {
  grid-column: 1 / -1;
}

.preview-feature-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}

.preview-note {
  margin: 0 0 1.15rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 34em;
}

.btn-preview-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 280px);
  padding: 1rem 2.25rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.preview-device {
  margin: 0;
  margin-inline: auto;
  display: flex;
  justify-content: center;
}

.preview-phone {
  filter: drop-shadow(0 28px 52px rgba(12, 27, 77, 0.22));
}

.preview-phone-frame {
  position: relative;
  padding: 12px;
  border-radius: 48px;
  background: linear-gradient(155deg, #3a3a40 0%, #121216 48%, #1e1e24 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.35);
}

.preview-phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 24px;
  border-radius: 999px;
  background: #050507;
  z-index: 2;
  pointer-events: none;
}

.preview-phone-screen {
  position: relative;
  width: min(360px, calc(100vw - 2.5rem));
  aspect-ratio: 9 / 19.5;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
}

.preview-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.preview-phone-home {
  width: 34%;
  height: 4px;
  margin: 10px auto 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

/* Problem */
.problem,
.how,
.features,
.about,
.faq {
  padding: clamp(32px, 5vw, 56px) 0;
  overflow-x: clip;
}

.problem {
  background: transparent;
}

.coverage {
  position: relative;
  z-index: 1;
  background: #f6f7f4;
  padding: clamp(32px, 5vw, 56px) 0;
}

.coverage-head {
  max-width: 780px;
  margin: 0 auto 1.4rem;
  text-align: center;
}

.coverage-stage {
  position: relative;
  z-index: 0;
  isolation: isolate;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  background: #dce6f2;
}

.coverage-map {
  height: min(78vh, 720px);
  width: 100%;
  z-index: 0;
}

.coverage-search {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 560px;
}

.coverage-field {
  position: relative;
  flex: 1;
  min-width: 0;
}

.coverage-search input {
  width: 100%;
  border: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 14px 18px;
  box-shadow: 0 10px 28px rgba(12, 27, 77, 0.16);
}

.coverage-search input::placeholder {
  color: #6f7893;
}

.coverage-search .btn {
  width: 100%;
  box-shadow: 0 10px 28px rgba(65, 105, 225, 0.35);
}

.coverage-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 4;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(12, 27, 77, 0.16);
  max-height: min(280px, 42vh);
  overflow: auto;
}

.coverage-suggest[hidden] {
  display: none;
}

.coverage-suggest-item {
  width: 100%;
  border: 0;
  background: transparent;
  display: block;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.coverage-suggest-item small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.78rem;
}

.coverage-suggest-item:hover,
.coverage-suggest-item.is-active {
  background: var(--surface-2);
}

.coverage-credit {
  margin: 10px 4px 0;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
}

.coverage-map-fallback {
  margin: 0;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 28px 20px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.coverage-legend {
  position: absolute;
  left: 16px;
  bottom: 40px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(12, 27, 77, 0.12);
}

.legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--logo-blue);
  border: 2px solid var(--royal);
}

.coverage-result {
  position: absolute;
  right: 16px;
  bottom: 52px;
  left: 16px;
  z-index: 2;
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(12, 27, 77, 0.14);
}

@media (min-width: 700px) {
  .coverage-search {
    flex-direction: row;
    align-items: stretch;
    right: auto;
    width: min(560px, calc(100% - 32px));
  }

  .coverage-field {
    flex: 1;
  }

  .coverage-search .btn {
    width: auto;
    white-space: nowrap;
  }

  .coverage-result {
    left: auto;
    bottom: 16px;
    max-width: min(360px, calc(100% - 200px));
  }
}

.coverage-result.is-covered {
  background: var(--royal-deep);
  color: #fff;
  border: 0;
}

.coverage-result.is-outside,
.coverage-result.is-empty,
.coverage-result.is-searching,
.coverage-result.is-notfound {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.coverage-map .gm-style {
  font-family: var(--font-body);
}

.problem-grid,
.bento {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

.problem-card,
.bento-card,
.step,
.founder,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(42, 71, 201, 0.08);
}

.problem-card:hover,
.bento-card:hover {
  border-color: var(--border-strong);
  background: var(--surface);
}

.step:hover {
  border-color: var(--border-strong);
}

.problem-card,
.bento-card,
.step,
.founder,
.explore-card,
.faq-item {
  min-width: 0;
}

.problem-card,
.bento-card,
.step,
.founder {
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease), border-color 0.25s, background 0.25s;
}

.lang-switch,
.nav-toggle {
  flex-shrink: 0;
}

.problem-card h3,
.bento-card h2,
.step h2,
.founder h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.founder-role {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mint);
  letter-spacing: 0.01em;
}

.icon-wrap {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 14px;
  color: var(--mint);
  background: rgba(65, 105, 225, 0.12);
  border: 1px solid rgba(65, 105, 225, 0.28);
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
}

/* How */
.how-layout {
  display: grid;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
}

.how-mockup {
  display: flex;
  justify-content: center;
}

.mockup-viewport--phone {
  perspective: 1000px;
  perspective-origin: 50% 45%;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}

.mockup-card--phone {
  width: min(300px, 82vw);
  max-width: 100%;
  cursor: default;
}

.mockup-card--phone .psk-3d-shadow {
  opacity: 0.5;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--violet-2);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}

/* Features bento */
.bento-wide {
  background: var(--surface);
}

.bento-featured-inner {
  display: grid;
  gap: 20px;
  align-items: center;
}

.bento-featured-media {
  margin: 0;
  max-width: 280px;
  margin-inline: auto;
}

.bento-featured-media img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* About */
.about {
  background: linear-gradient(180deg, #dce6ff, #eef3ff);
}

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

.about-note {
  margin-top: 1rem;
  color: var(--text);
  font-weight: 600;
}

.founders {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

.founder-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.founder-avatar svg {
  width: 26px;
  height: 26px;
}

.av-code {
  color: #fff;
  background: linear-gradient(135deg, var(--royal), var(--royal-bright));
}

.av-map {
  color: #fff;
  background: linear-gradient(135deg, var(--logo-blue), var(--royal-deep));
}

.av-marketing {
  color: #fff;
  background: linear-gradient(135deg, var(--logo-blue), var(--royal));
}

/* CTA */
.cta-band {
  padding: clamp(36px, 5.5vw, 56px) 0;
  background: linear-gradient(155deg, #243fbe 0%, #4169e1 50%, #5b7cff 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--royal-deep);
}

.cta-band .btn-primary:hover {
  color: var(--royal-deep);
}

.cta-inner {
  max-width: 820px;
  width: 100%;
  text-align: center;
  margin-inline: auto;
}

.cta-inner .btn {
  width: min(100%, 360px);
}

.cta-inner .waitlist-form {
  margin: 28px auto 0;
}

.cta-social {
  margin-top: 28px;
}

.cta-social > p {
  margin-bottom: 10px;
}

.social-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.cta-band .social-row {
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  flex: 0 0 44px;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.social-link svg {
  width: 20px;
  height: 20px;
  display: block;
}

.social-link:hover {
  border-color: var(--royal);
  color: #fff;
  background: var(--royal);
  transform: translateY(-2px);
}

.cta-mail {
  margin-top: 18px;
  font-size: 0.95rem;
}

.cta-band .social-link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.cta-band .social-link:hover,
.site-footer .social-link:hover {
  color: var(--royal-deep);
  background: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.cta-mail a {
  display: inline-block;
  margin-left: 6px;
  font-weight: 700;
  color: #fff;
}

.cta-mail a:hover {
  color: #fff;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

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

.faq-item p {
  padding: 0 22px 18px;
}

/* Footer */
.site-footer {
  border-top: 0;
  padding: 48px 0 max(28px, env(safe-area-inset-bottom, 0px));
  background: var(--royal-deep);
  color: #fff;
}

.site-footer .logo,
.site-footer .logo:hover {
  color: #fff;
  transform: none;
}

.site-footer .logo-mark {
  width: 52px;
  height: 52px;
}

.site-footer p,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 32px;
  align-items: start;
}

.footer-brand,
.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.footer-brand p {
  max-width: 22em;
}

.footer-contact > a {
  overflow-wrap: anywhere;
}

.footer-nav a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-nav a.is-current {
  color: #fff;
}

.site-footer .social-link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.street-marquee {
  background: var(--royal-deep);
  color: #fff;
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.street-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 48s linear infinite;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.street-track span::before {
  content: "●";
  margin-right: 2.5rem;
  color: var(--sky);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
}

.reveal.is-visible {
  animation: fadeUp 0.45s ease both;
  animation-delay: calc(var(--i, 0) * 40ms);
}

.reveal-delay.is-visible {
  animation-delay: 0.12s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes radar {
  from { transform: scale(0.4); opacity: 0.7; }
  to { transform: scale(2.4); opacity: 0; }
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 40px;
  background: linear-gradient(155deg, #243fbe 0%, #4169e1 50%, #6b8cff 100%);
  color: #fff;
}

body:has(.site-header) .page-hero {
  padding-top: calc(var(--header-offset) + 20px);
}

body:has(.breadcrumb) .page-hero {
  padding-top: 24px;
}

.hero-glow {
  display: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.page-body {
  padding: 12px 0 56px;
}

.explore-grid {
  display: grid;
  gap: 16px;
  margin-top: 0;
  grid-template-columns: minmax(0, 1fr);
}

.explore-card {
  display: block;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(42, 71, 201, 0.08);
  transition: transform 0.35s var(--spring), box-shadow 0.35s, border-color 0.25s;
}

.explore-card:hover {
  color: var(--ink);
  border-color: var(--royal);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(42, 71, 201, 0.12);
}

.explore-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.explore-card span {
  color: var(--muted);
}

.contact-box {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.contact-email {
  font-size: clamp(1rem, 4vw, 1.2rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.faq-item summary {
  overflow-wrap: anywhere;
}

.nav-mobile a.is-current {
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.18);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 18px 16px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  background: var(--royal-deep);
  justify-content: flex-start;
}

.breadcrumb.container {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

main > .breadcrumb.container {
  padding-top: calc(var(--header-offset) + 18px);
}

body:has(.breadcrumb) main {
  background: linear-gradient(var(--royal-deep) 0 calc(var(--header-offset) + 56px), transparent calc(var(--header-offset) + 56px));
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb [aria-current="page"] {
  color: #fff;
}

@media (min-width: 480px) {
  .hero-actions .btn {
    flex: 0 1 auto;
  }
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .waitlist-form {
    flex-direction: row;
    align-items: stretch;
  }

  .waitlist-form input {
    flex: 1 1 auto;
    min-width: 0;
  }

  .waitlist-form .btn {
    width: auto;
    flex: 0 1 auto;
    white-space: nowrap;
  }

  .problem-grid,
  .steps,
  .founders,
  .explore-grid,
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .map-callout-no,
  .map-callout-yes {
    max-width: min(320px, 100%);
  }
}

@media (max-width: 899px) {
  .hero-grid {
    gap: clamp(12px, 3.5vw, 24px);
  }

  .hero-stage {
    width: min(100%, clamp(240px, 92vw, 400px));
    min-height: clamp(200px, 82vw, 400px);
  }

  .hero-stage .mockup-card {
    width: min(100%, clamp(180px, 72vw, 360px));
  }

  .hero-stage .parking-sign-a {
    top: 4%;
    left: -2%;
  }

  .hero-stage .parking-sign-b {
    bottom: 6%;
    right: -2%;
  }
}

@media (min-width: 900px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(8px, 1.8vw, 24px);
  }

  .hero-copy {
    text-align: left;
    padding-right: clamp(0px, 1vw, 12px);
  }

  .hero h1,
  .hero-copy .lead {
    margin-inline: 0;
  }

  .hero h1 {
    max-width: 11em;
    font-size: clamp(2rem, 3.2vw + 0.5rem, 3.75rem);
  }

  .hero-copy .lead {
    max-width: 26em;
    font-size: clamp(0.95rem, 1.1vw + 0.4rem, 1.14rem);
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-stage {
    width: 100%;
    max-width: none;
    min-height: clamp(300px, 42vw, 520px);
    margin-inline: 0;
  }

  .hero-stage .mockup-viewport {
    transform: rotate(2deg);
  }

  .hero-stage .mockup-card {
    width: min(100%, clamp(280px, 34vw, 460px));
  }

  .hero-stage .parking-sign {
    max-width: min(190px, 22vw);
  }

  .hero-stage .parking-sign-a { top: 8%; left: 0; }
  .hero-stage .parking-sign-b { bottom: 10%; right: 0; }

  .hero-stage .map-callout {
    position: absolute;
    z-index: 3;
    max-width: 210px;
  }

  .hero-stage .map-callout-no { top: 18%; left: -14%; }
  .hero-stage .map-callout-yes { bottom: 22%; right: -12%; }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bento-wide {
    grid-column: span 2;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .how-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(24px, 4vw, 56px);
  }

  .how-layout .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-grid,
  .bento-featured-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(20px, 3vw, 36px);
  }

  .preview-phone-screen {
    width: min(420px, 40vw, calc(100vw - 3rem));
  }

  .preview-copy {
    text-align: left;
  }

  .hero-facts {
    text-align: left;
  }

  .how-mockup {
    justify-content: center;
  }

  .mockup-card--phone {
    width: min(100%, 320px);
  }
}

@media (min-width: 1100px) {
  :root {
    --header-h: 88px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(12px, 2vw, 32px);
  }

  .hero-stage {
    min-height: clamp(320px, 38vw, 520px);
  }

  .hero-stage .mockup-card {
    width: min(100%, clamp(320px, 36vw, 500px));
  }

  .hero-stage .parking-sign {
    max-width: min(190px, 18vw);
  }

  .hero-stage .parking-sign-a { top: 6%; left: 4%; }
  .hero-stage .parking-sign-b { bottom: 8%; right: 4%; }

  .explore-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .header-inner > .logo {
    margin-right: 0;
  }

  .nav-desktop {
    display: flex;
    flex: 1;
    gap: 18px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
  }

  .header-actions {
    margin-left: 0;
    flex-shrink: 0;
  }

  .nav-desktop a[href="index.html"] {
    display: none;
  }

  .header-actions > .btn {
    display: inline-flex;
    white-space: nowrap;
  }

  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }

  .float-card {
    display: block;
  }

  .problem-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .header-inner {
    gap: 6px;
  }

  .lang-btn {
    padding: 6px 7px;
  }

  .logo-mark,
  .logo-mark img {
    width: 50px;
    height: 50px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero-stage {
    min-height: clamp(180px, 52vh, 280px);
    width: min(100%, clamp(200px, 42vw, 320px));
  }

  .hero-stage .mockup-card {
    width: min(100%, clamp(160px, 36vw, 220px));
  }

  .hero h1 {
    font-size: clamp(1.35rem, 4vh + 0.5rem, 2rem);
  }

  .hero {
    min-height: auto;
    padding-block: calc(var(--header-offset) + 16px) 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
  }
  .street-track {
    display: none;
  }
}

/* ==========================================================================
   Décor issu du logo

   Le logo est fait de trois choses : un carré arrondi, un plan de rues de
   Montréal, et un « P ». On réutilise ces trois éléments comme décor du
   site — la trame en fond de section, le « P » en filigrane qui déborde du
   cadre. Purement décoratif : aucun élément n'est cliquable et la
   disposition ne bouge pas.
   ========================================================================== */

.hero::before,
.hero::after,
.coverage::before,
.cta-band::before,
.cta-band::after,
.page-hero::before,
.page-hero::after,
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
}

/* --- La trame de rues, en fond de section ------------------------------- */
.hero::before,
.coverage::before,
.cta-band::before,
.page-hero::before,
.site-footer::before {
  inset: 0;
  background-position: center;
  background-size: cover;
}

.hero::before {
  background-image: url("decor-streets-light.svg");
  opacity: 0.18;
}

.coverage::before {
  background-image: url("decor-streets.svg");
  opacity: 0.05;
}

.cta-band::before,
.page-hero::before {
  background-image: url("decor-streets-light.svg");
  opacity: 0.16;
}

.site-footer::before {
  background-image: url("decor-streets-light.svg");
  opacity: 0.09;
}

/* --- Le « P » du logo, en filigrane -------------------------------------
   Toujours à droite, assez grand pour qu'on lise la lettre, assez pâle pour
   qu'on ne la remarque qu'au second regard. L'image de fond est rognée par
   le pseudo-élément : rien ne déborde sur la section voisine. */
.hero::after,
.cta-band::after,
.page-hero::after,
.site-footer::after {
  inset: 0;
}

.hero::after {
  background-image: url("decor-p-light.svg");
  background-size: auto 108%;
  background-position: right -4% center;
  opacity: 0.08;
}

.cta-band::after {
  background-image: url("decor-p-light.svg");
  background-size: auto 112%;
  background-position: right 4% center;
  opacity: 0.09;
}

.page-hero::after {
  background-image: url("decor-p-light.svg");
  background-size: auto 88%;
  background-position: right 3% center;
  opacity: 0.09;
}

/* À gauche dans le pied de page : la bande CTA le porte déjà à droite,
   et les deux se suivent. */
.site-footer::after {
  background-image: url("decor-p-light.svg");
  background-size: auto 74%;
  background-position: left 3% center;
  opacity: 0.05;
}

/* --- Le contenu repasse au-dessus du décor ------------------------------ */
.site-footer {
  position: relative;
  overflow: hidden;
}

.coverage > .container,
.cta-inner,
.site-footer > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .hero::after,
  .cta-band::after,
  .page-hero::after {
    background-size: auto 82%;
    background-position: right -10% center;
  }

  .site-footer::after {
    background-size: auto 82%;
    background-position: left -10% center;
  }
}

/* --- Démo carte interactive (essayer.html) ----------------------------- */
.page-hero-compact {
  padding-bottom: 1rem;
}

.demo-section {
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.app-web-shell {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 1040px;
  margin: 0 auto;
}

.app-web-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--royal);
  color: #fff;
}

.app-web-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.app-web-logo {
  border-radius: 8px;
  flex-shrink: 0;
}

.app-web-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.app-web-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.app-web-recenter {
  flex-shrink: 0;
}

.app-web-search {
  position: relative;
  padding: 0.75rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.app-web-search-input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.9375rem;
  background: var(--surface-2);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.app-web-search-input:focus {
  background: #fff;
  border-color: var(--royal);
}

.app-web-suggest {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  top: calc(100% - 0.35rem);
  z-index: 20;
}

.app-web-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 32%);
  min-height: min(58vh, 500px);
}

.app-web-map,
.demo-map {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: #e8eef8;
}

.app-web-sheet {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  max-height: min(58vh, 500px);
  background: #fff;
  border-left: 1px solid var(--border);
  overflow: hidden;
}

.app-web-detail-scroll {
  overflow-y: auto;
  min-height: 0;
  padding: 0 1rem;
  -webkit-overflow-scrolling: touch;
}

.app-web-sheet-foot {
  flex-shrink: 0;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

.app-web-sheet-handle {
  display: none;
  width: 2.5rem;
  height: 0.25rem;
  border-radius: 999px;
  background: rgba(65, 105, 225, 0.25);
  margin: 0 auto 0.35rem;
}

.app-web-sheet-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  padding: 0.85rem 1rem 0.5rem;
  color: var(--muted);
}

.app-web-detail {
  min-height: 4rem;
  padding-bottom: 0.75rem;
}

.app-web-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 1.25rem;
  align-items: start;
}

.demo-map-wrap {
  background: var(--surface-2);
  border: 1px solid rgba(65, 105, 225, 0.12);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(12, 27, 77, 0.08);
}

.demo-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(65, 105, 225, 0.1);
}

.demo-status {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.demo-status[data-kind="error"],
.demo-status[data-kind="outside"] {
  color: #b45309;
  font-weight: 500;
}

.demo-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.demo-swatch {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  margin-right: 0.35rem;
  vertical-align: -0.1em;
}

.demo-swatch-ok { background: #22c55e; }
.demo-swatch-no { background: #ef4444; }
.demo-swatch-paid { background: #4169e1; }
.demo-swatch-maybe { background: #64748b; }

.demo-panel {
  background: #fff;
  border: 1px solid rgba(65, 105, 225, 0.12);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 12px 40px rgba(12, 27, 77, 0.06);
}

.demo-panel-title {
  font-family: Sora, system-ui, sans-serif;
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.demo-detail {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
}

.demo-detail-placeholder,
.demo-detail-loading {
  color: var(--muted);
}

.demo-detail-street {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  line-height: 1.25;
}

.demo-detail-side,
.demo-detail-meta {
  margin: 0.25rem 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.demo-detail-status {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.45rem 0 0.35rem;
  line-height: 1.3;
}

.demo-verdict-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin: 0.35rem 0 0.15rem;
}

.demo-verdict-badge.is-ok {
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
}

.demo-verdict-badge.is-no {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.demo-reason {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.45;
}

.demo-reason-sub {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
  margin-top: 0.15rem;
}

.demo-schedule {
  margin: 0.65rem 0;
}

.demo-schedule-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.demo-schedule ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
}

.demo-schedule li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 0.35rem 0.65rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(65, 105, 225, 0.08);
  align-items: start;
}

.demo-schedule-time {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.8125rem;
  line-height: 1.35;
  word-break: break-word;
}

.demo-schedule-label {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.demo-detail-verdict {
  font-weight: 600;
  margin: 0.25rem 0 0.75rem;
}

.demo-detail-error {
  color: var(--coral);
}

.demo-disclaimer {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted);
}

.app-web-sheet.has-detail .demo-detail-placeholder {
  display: none;
}

@media (max-width: 860px) {
  .app-web-stage {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(260px, 44vh) auto;
    min-height: auto;
  }

  .app-web-sheet {
    border-left: none;
    border-top: 1px solid var(--border);
    max-height: none;
  }

  .app-web-detail-scroll {
    max-height: 40vh;
  }

  .app-web-sheet-handle {
    display: block;
  }

  .demo-layout {
    grid-template-columns: 1fr;
  }

  .demo-schedule li {
    grid-template-columns: 1fr;
  }

  .app-web-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Page démo */
html[data-page="demo"] {
  overflow-x: hidden;
}

html[data-page="demo"] body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(ellipse 80% 60% at 50% 38%, rgba(65, 105, 225, 0.1) 0%, transparent 68%),
    linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
}

html[data-page="demo"] .site-header {
  position: fixed;
  flex-shrink: 0;
  background: var(--royal);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: 0 8px 28px rgba(42, 71, 201, 0.22);
}

html[data-page="demo"] .demo-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
  padding:
    calc(var(--header-offset) + 0.5rem)
    clamp(0.75rem, 3vw, 1.25rem)
    max(1rem, env(safe-area-inset-bottom, 0px));
}

.demo-scene {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: clamp(0.35rem, 1.4vh, 0.75rem);
  width: min(1120px, 100%);
}

.demo-scene-kicker {
  flex-shrink: 0;
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--royal);
}

.demo-scene-stage {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 2rem);
}

.demo-scene-copy {
  justify-self: end;
  align-self: center;
  max-width: min(20rem, 100%);
  text-align: left;
  padding-right: clamp(0.25rem, 1vw, 0.75rem);
}

.demo-scene-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.85rem);
  font-weight: 800;
  margin: 0 0 0.65rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.demo-scene-lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.55vw, 1.2rem);
  line-height: 1.5;
  font-weight: 500;
}

.demo-scene-note {
  margin: 0.7rem 0 0;
  max-width: 20rem;
  font-size: clamp(0.78rem, 1.2vw, 0.875rem);
  line-height: 1.45;
  font-weight: 600;
  color: var(--royal-deep);
}

.demo-scene-cta {
  margin-top: 0.9rem;
  display: inline-flex;
}

.demo-phone-wrap {
  grid-column: 2;
  justify-self: center;
  align-self: center;
  min-height: 0;
  max-height: calc(100dvh - var(--header-offset) - 7rem);
  display: flex;
  justify-content: center;
  align-items: center;
}

.demo-phone {
  filter: drop-shadow(0 24px 44px rgba(12, 27, 77, 0.24));
  max-height: 100%;
}

.demo-phone-frame {
  position: relative;
  padding: 11px;
  border-radius: 46px;
  max-height: 100%;
  background: linear-gradient(155deg, #3a3a40 0%, #121216 48%, #1e1e24 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.35);
}

.demo-phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  border-radius: 999px;
  background: #050507;
  z-index: 6;
  pointer-events: none;
}

.demo-phone-screen {
  --demo-phone-h: min(calc(100dvh - var(--header-offset) - 7rem), 640px);
  position: relative;
  height: var(--demo-phone-h);
  width: min(300px, 42vw, calc(var(--demo-phone-h) * 9 / 19.5));
  max-height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #101318;
}

.demo-phone-map-stage {
  position: absolute;
  inset: 0;
  background: #dce6f2;
}

.demo-phone-map-stage .gm-bundled-control {
  transform: scale(0.82);
  transform-origin: bottom right;
}

.demo-phone-map-stage .gm-style-cc {
  opacity: 0.65;
  font-size: 8px !important;
}

.demo-phone-map-stage .demo-map {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.demo-phone-toast {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  right: 0.45rem;
  z-index: 4;
  margin: 0;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 18px rgba(12, 27, 77, 0.12);
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--muted);
  pointer-events: none;
}

.demo-phone-toast[data-kind="error"],
.demo-phone-toast[data-kind="outside"],
.demo-phone-toast[data-kind="empty"] {
  color: #b45309;
  font-weight: 600;
}

.demo-phone-toast[hidden] {
  display: none;
}

.demo-phone-prompt {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.65rem;
  z-index: 4;
  margin: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(12, 27, 77, 0.14);
  font-size: 0.68rem;
  line-height: 1.4;
  text-align: center;
  color: var(--ink);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.demo-phone-prompt.is-hidden {
  opacity: 0;
  transform: translateY(6px);
  visibility: hidden;
}

.demo-phone-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  max-height: 46%;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 36px rgba(8, 18, 60, 0.18);
  transform: translateY(calc(100% + 2px));
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.demo-phone-sheet.is-open {
  transform: translateY(0);
}

.demo-phone-sheet-handle {
  width: 34px;
  height: 4px;
  margin: 0.45rem auto 0;
  border-radius: 999px;
  background: rgba(65, 105, 225, 0.25);
  flex-shrink: 0;
}

.demo-phone-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem 0.25rem;
  flex-shrink: 0;
}

.demo-phone-sheet-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.demo-phone-sheet-close {
  border: 0;
  background: rgba(65, 105, 225, 0.1);
  color: var(--royal);
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.demo-phone-sheet-body {
  min-height: 0;
  overflow: auto;
  padding: 0 0.85rem 0.85rem;
  -webkit-overflow-scrolling: touch;
}

.demo-phone-sheet-body .demo-detail {
  font-size: 0.78rem;
}

.demo-phone-sheet-body .demo-disclaimer {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(65, 105, 225, 0.1);
  font-size: 0.62rem;
}

.demo-detail-outside {
  margin: 0.25rem 0;
  color: #b45309;
  font-size: 0.78rem;
  line-height: 1.45;
}

.demo-detail-slot {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--muted);
}

.demo-phone-home {
  width: 34%;
  height: 4px;
  margin: 8px auto 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.demo-legend-side {
  grid-column: 3;
  justify-self: start;
  align-self: center;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(65, 105, 225, 0.14);
  box-shadow: 0 10px 28px rgba(12, 27, 77, 0.08);
  font-size: 0.9375rem;
  color: var(--ink);
}

.demo-legend-side li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 899px) {
  .preview-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .preview-copy {
    order: 1;
    width: 100%;
    max-width: 32rem;
  }

  .preview-device {
    order: 2;
    width: 100%;
  }

  .preview-features {
    grid-template-columns: 1fr;
    margin-inline: auto;
  }

  .preview-feature-wide {
    grid-column: auto;
  }

  .preview-note {
    margin-inline: auto;
  }

  .btn-preview-demo {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }
}

@media (max-width: 960px) {
  .demo-scene-kicker {
    font-size: clamp(1.35rem, 7vw, 2rem);
    letter-spacing: 0.08em;
  }

  .demo-scene-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
  }

  .demo-scene-copy {
    display: contents;
  }

  .demo-scene-copy h1 {
    order: 1;
    width: 100%;
    max-width: 22rem;
    margin: 0;
    text-align: center;
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  .demo-scene-lead {
    order: 2;
    display: none;
  }

  .demo-scene-note {
    order: 2;
    width: 100%;
    max-width: 22rem;
    margin: 0;
    text-align: center;
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  .demo-phone-wrap {
    order: 3;
    width: 100%;
    max-height: none;
    margin: 0.15rem 0;
    display: flex;
    justify-content: center;
  }

  .demo-phone,
  .demo-phone-frame {
    max-height: none;
  }

  .demo-phone-screen {
    --phone-max-h: min(58dvh, 560px);
    --demo-phone-h: auto;
    width: min(242px, calc(100vw - 2rem), calc(var(--phone-max-h) * 9 / 19.5));
    height: auto;
    aspect-ratio: 9 / 19.5;
    max-height: none;
  }

  .demo-legend-side {
    order: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 320px);
    gap: 0.55rem 0.85rem;
    padding: 0.75rem 0.9rem;
    font-size: 0.8125rem;
  }

  .demo-legend-side li {
    min-width: 0;
  }

  .demo-scene-cta {
    order: 5;
    width: min(100%, 320px);
    margin: 0.15rem 0 0;
    justify-content: center;
  }
}

@media (min-width: 961px) {
  html[data-page="demo"] {
    height: 100%;
    overflow: hidden;
  }

  html[data-page="demo"] body {
    min-height: 0;
    height: 100dvh;
    overflow: hidden;
  }

  html[data-page="demo"] .demo-main {
    align-items: center;
    min-height: 0;
    overflow: hidden;
    padding-bottom: clamp(0.5rem, 2vh, 0.85rem);
  }

  .demo-scene {
    height: 100%;
    min-height: 0;
    justify-content: center;
  }
}

@media (min-width: 961px) and (max-height: 740px) {
  .demo-scene-kicker {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .demo-scene-lead {
    font-size: 0.875rem;
  }

  .demo-phone-screen {
    --demo-phone-h: min(calc(100dvh - var(--header-offset) - 8rem), 520px);
  }
}

@media (min-width: 961px) and (max-height: 620px) {
  .demo-scene-kicker {
    font-size: 1.5rem;
  }

  .demo-scene-copy h1 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
  }

  .demo-scene-lead {
    display: none;
  }

  .demo-phone-screen {
    --demo-phone-h: min(calc(100dvh - var(--header-offset) - 5.5rem), 460px);
  }
}

/* --- Pages légales ------------------------------------------------------- */
.legal-fr[hidden],
.legal-en[hidden] {
  display: none !important;
}

.legal-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2.5rem;
  background: #fff;
  border: 1px solid rgba(65, 105, 225, 0.12);
  border-radius: calc(var(--radius) + 4px);
  line-height: 1.65;
  color: var(--text);
  box-shadow: 0 12px 40px rgba(12, 27, 77, 0.05);
}

.legal-card h2 {
  font-family: Sora, system-ui, sans-serif;
  font-size: 1.125rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--ink);
}

.legal-card h3 {
  font-family: Sora, system-ui, sans-serif;
  font-size: 1rem;
  margin: 1.15rem 0 0.4rem;
  color: var(--ink);
}

.legal-card ul {
  padding-left: 1.25rem;
}

.legal-card code {
  font-size: 0.875em;
  background: var(--surface-2);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.legal-toc {
  background: var(--surface-2);
  border: 1px solid rgba(65, 105, 225, 0.1);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.legal-toc-title {
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
}

.legal-toc a {
  color: var(--brand);
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-callout {
  background: rgba(65, 105, 225, 0.08);
  border-left: 3px solid var(--brand);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1rem 0;
}

.legal-note {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.legal-prose {
  max-width: 720px;
  padding: 2rem 0 4rem;
  line-height: 1.65;
  color: var(--text);
}

.legal-prose h1 {
  font-family: Sora, system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.legal-prose h2 {
  font-family: Sora, system-ui, sans-serif;
  font-size: 1.125rem;
  margin: 1.75rem 0 0.5rem;
}

.legal-prose ul {
  padding-left: 1.25rem;
}

.legal-prose hr {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid rgba(65, 105, 225, 0.15);
}
