/* PL Bourbon — canopée nocturne, un seul vert */

:root {
  --forest: #122314;
  --forest-2: #182d1b;
  --moss: #273f2b;
  --lichen: #7e8371;
  --fern: #b7bda5;
  --sprout: #68ef3f;
  --verdant: #26a200;
  --wash: #e7f9dd;
  --mist-green: #d9deca;
  --onyx: #30322a;
  --white: #ffffff;
  --bone: #f2f5eb;
  --carbon: #222222;
  --lichen-ink: #5f6353;
  --verdant-ink: #1b7300;

  --f-display: "Boldonse", "Geist", system-ui, sans-serif;
  --f-ui: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 11vw, 144px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-nav: 0 8px 32px rgba(0, 0, 0, 0.25);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  scrollbar-color: var(--moss) var(--forest);
}

body {
  margin: 0;
  background: var(--forest);
  color: var(--white);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--sprout); color: var(--forest); }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--forest); }
::-webkit-scrollbar-thumb { background: var(--moss); border-radius: 12px; border: 3px solid var(--forest); }

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

:focus-visible {
  outline: 2px solid var(--sprout);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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 {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--sprout); color: var(--forest); padding: 8px 16px; border-radius: 28px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- Type ---------- */

.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.display--xl { font-size: clamp(36px, 5.8vw, 76px); }
.display--lg { font-size: clamp(32px, 4.6vw, 60px); }
.display--md { font-size: clamp(26px, 3.2vw, 40px); }

.green { color: var(--sprout); }
.light .green, .bone .green { color: var(--verdant-ink); }

.h2 {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.031em;
  margin: 0;
  text-wrap: balance;
}
.h3 {
  font-weight: 600;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.021em;
  margin: 0;
}

.lede {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--fern);
  max-width: 34em;
  margin: 0;
  text-wrap: pretty;
}
.light .lede, .bone .lede { color: #5a5e50; }

.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 28px;
  font: 600 16px/1 var(--f-ui);
  letter-spacing: -0.012em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), background-color 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.4s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }

.btn--sprout { background: var(--sprout); color: var(--forest); }
.btn--sprout:hover { background: #7ff55a; }

.btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }

.light .btn--ghost, .bone .btn--ghost { border-color: var(--onyx); color: var(--onyx); }
.light .btn--ghost:hover, .bone .btn--ghost:hover { background: var(--onyx); color: var(--white); }

.btn--dark { background: var(--forest); color: var(--white); }
.btn--dark:hover { background: var(--moss); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--max);
  margin-inline: auto;
  padding: 8px 8px 8px 24px;
  background: rgba(48, 50, 42, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  box-shadow: var(--shadow-nav);
}
.nav__wrap { padding-inline: var(--gutter); }

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font: 700 18px/1 var(--f-ui);
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--white);
  margin-right: auto;
}
.wordmark i {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sprout);
  transform: translateY(-1px);
}

.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  font: 500 14px/1.2 var(--f-ui);
  color: var(--fern);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav__links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.nav__links a[aria-current="page"] { color: var(--white); }

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 40px;
  background: var(--sprout);
  color: var(--onyx);
  font: 600 12px/1.3 var(--f-ui);
  letter-spacing: 0.01em;
}

.nav .btn { min-height: 40px; padding: 10px 18px; font-size: 14px; }

.nav__toggle {
  display: none;
  width: 44px; height: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav__toggle span {
  display: block; width: 16px; height: 1.5px; background: currentColor; margin: 4px auto;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav[data-open] .nav__toggle span:first-child { transform: translateY(2.75px) rotate(45deg); }
.nav[data-open] .nav__toggle span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__toggle { display: block; }
  .nav__bar { flex-wrap: wrap; padding: 8px 8px 8px 20px; }
  .nav__links {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: none;
    padding: 8px 0;
  }
  .nav[data-open] .nav__links { display: flex; animation: menu-in 0.4s var(--ease-out); }
  .nav__links a { padding: 14px 4px; font-size: 16px; border-radius: 0; border-top: 1px solid rgba(255,255,255,0.07); }
  .nav__links a:hover { background: none; }
  .nav .btn--sprout .lbl-long { display: none; }
}
@media (min-width: 881px) { .nav .btn--sprout .lbl-short { display: none; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); position: relative; overflow: clip; isolation: isolate; }
.light { background: var(--white); color: var(--onyx); color-scheme: light; }
.bone { background: var(--bone); color: var(--onyx); color-scheme: light; }

.section-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(100svh, 920px);
  padding-top: 152px;
  padding-bottom: 96px;
  overflow: clip;
  isolation: isolate;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy { display: grid; gap: 28px; align-content: start; }
.hero__copy .display { margin-bottom: 4px; font-size: clamp(36px, 4.2vw, 60px); }
@media (max-width: 880px) { .hero__copy .display { font-size: clamp(34px, 9vw, 64px); } }
.display--lines .line { display: block; white-space: nowrap; }
.hero__copy .display--lines { font-size: clamp(30px, 3.9vw, 56px); }
@media (max-width: 880px) { .hero__copy .display--lines { font-size: clamp(28px, 8.6vw, 60px); } }

.pill-note {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--lichen);
  border-radius: 9999px;
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
  transition: border-color 0.2s;
}
.pill-note:hover { border-color: var(--fern); }
.pill-note b { font-weight: 500; color: var(--sprout); }
.pill-note svg { width: 12px; height: 12px; color: var(--lichen); }

.orb {
  position: absolute;
  z-index: -1;
  width: clamp(520px, 62vw, 860px);
  aspect-ratio: 1;
  border-radius: 50%;
  right: -18%;
  top: -22%;
  background:
    radial-gradient(circle at 38% 34%, rgba(104, 239, 63, 0.26), transparent 58%),
    radial-gradient(circle at 60% 70%, #273f2b 0%, #0b160c 72%);
  opacity: 0.85;
}
.orb::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.55;
}
.orb--low { top: auto; bottom: -40%; right: auto; left: -20%; opacity: 0.6; }

/* ---------- Floating interface cards ---------- */

.stack { position: relative; height: 560px; }
.ui {
  position: absolute;
  background: var(--white);
  color: var(--onyx);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  font-size: 13px;
  line-height: 1.45;
  transition: transform 1.1s var(--ease-out), opacity 0.9s var(--ease-out), filter 0.9s var(--ease-out);
}
.ui__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--mist-green);
}
.ui__title { font-weight: 600; font-size: 14px; letter-spacing: -0.015em; }
.ui__meta { color: var(--lichen-ink); font-size: 12px; }
.ui__body { padding: 20px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--wash);
  color: var(--moss);
  font: 500 12px/1.3 var(--f-ui);
  white-space: nowrap;
}
.badge--serif { font-family: var(--f-serif); font-style: italic; font-size: 14px; letter-spacing: 0.02em; }
.badge--dark { background: var(--onyx); color: var(--white); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--verdant); }

.ui--report { width: min(440px, 86%); right: 0; top: 72px; transform: rotate(5deg); z-index: 3; }
.ui--serp { width: min(380px, 78%); left: 0; top: 0; transform: rotate(-6deg); z-index: 2; filter: saturate(0.85); }
.ui--chip { left: 4%; bottom: 8px; transform: rotate(-4deg); z-index: 4; padding: 16px 20px; display: flex; gap: 14px; align-items: center; border-radius: 18px; }

.stack:not(.is-in) .ui--report { transform: translateY(40px) rotate(0deg); opacity: 0; }
.stack:not(.is-in) .ui--serp { transform: translateY(60px) rotate(0deg); opacity: 0; }
.stack:not(.is-in) .ui--chip { transform: translateY(30px) rotate(0deg) scale(0.9); opacity: 0; }
.stack.is-in .ui--serp { transition-delay: 0.05s; }
.stack.is-in .ui--report { transition-delay: 0.18s; }
.stack.is-in .ui--chip { transition-delay: 0.5s; }

.chart { width: 100%; height: 132px; margin: 4px 0 16px; overflow: visible; }
.chart .grid line { stroke: var(--mist-green); stroke-width: 1; }
.chart .area { fill: url(#areaFill); }
.chart .line { fill: none; stroke: var(--verdant); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .line--base { stroke: var(--fern); stroke-dasharray: 4 5; stroke-width: 1.5; }
.chart .endpoint { fill: var(--sprout); stroke: var(--forest); stroke-width: 2; }
.stack:not(.is-in) .chart .line:not(.line--base) { stroke-dashoffset: var(--len); }
.chart .line:not(.line--base) { stroke-dasharray: var(--len); transition: stroke-dashoffset 1.8s var(--ease-out) 0.5s; }

.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--mist-green); border: 1px solid var(--mist-green); border-radius: 12px; overflow: hidden; }
.kpi { background: var(--white); padding: 12px 14px; }
.kpi dt { color: var(--lichen-ink); font-size: 12px; }
.kpi dd { margin: 2px 0 0; font-weight: 700; font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi dd small { font-size: 12px; font-weight: 500; color: var(--verdant-ink); margin-left: 6px; letter-spacing: 0; }

.serp-row { padding: 14px 20px; border-bottom: 1px solid var(--mist-green); }
.serp-row:last-child { border-bottom: 0; }
.serp-row .url { color: var(--lichen-ink); font-size: 12px; }
.serp-row .t { color: #1f4fbf; font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.serp-row .d { color: #5a5e50; font-size: 12.5px; }
.serp-row--ad { background: var(--bone); }
.serp-row--ad .url b { color: var(--onyx); font-weight: 600; }
.searchbar {
  display: flex; align-items: center; gap: 10px;
  margin: 16px 20px 6px;
  padding: 10px 16px;
  border: 1px solid var(--mist-green);
  border-radius: 24px;
  font-size: 14px;
  color: var(--onyx);
}
.searchbar svg { width: 15px; height: 15px; color: var(--lichen); flex: none; }

.chip-big { font-family: var(--f-display); font-size: 26px; line-height: 1; letter-spacing: -0.02em; color: var(--forest); }

.synthetic { color: var(--lichen-ink); font-size: 12px; }

/* ---------- Trust strip ---------- */

.strip { padding-block: 40px 8px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 72px; }
.strip p { margin: 0 0 20px; color: var(--fern); font-size: 14px; }
.strip ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(28px, 5vw, 64px);
}
.strip li { font: 700 clamp(18px, 2vw, 24px)/1 var(--f-ui); letter-spacing: -0.04em; color: rgba(255,255,255,0.55); }
.strip li .serif { font-weight: 400; font-size: 1.08em; }

.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px clamp(24px, 4vw, 56px); }
.strip .facts li { font: 400 15px/1.4 var(--f-ui); letter-spacing: -0.01em; color: var(--fern); }
.strip .facts b { color: var(--white); font-weight: 600; }

/* ---------- Services (rows, not cards) ---------- */

.rows { border-top: 1px solid var(--onyx); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 4fr);
  gap: clamp(20px, 3vw, 48px);
  padding-block: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--mist-green);
  align-items: start;
}
.row:last-child { border-bottom-color: var(--onyx); }
.row__name { font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.08; letter-spacing: -0.035em; margin: 0; }
.row__text { margin: 6px 0 0; color: #5a5e50; font-size: 16px; line-height: 1.55; }
.row__text strong { color: var(--onyx); font-weight: 600; }
.row__ui {
  background: var(--bone);
  border: 1px solid var(--mist-green);
  border-radius: 16px;
  padding: 16px;
  font-size: 13px;
  display: grid;
  gap: 8px;
  transition: transform 0.5s var(--ease-out), border-color 0.3s;
}
.row:hover .row__ui { transform: translateY(-4px) rotate(-1deg); border-color: var(--fern); }
.mini { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.mini span:first-child { color: var(--onyx); }
.mini span:last-child { color: var(--lichen-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini--hi span:last-child { color: var(--verdant-ink); font-weight: 600; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.flow svg { width: 12px; height: 12px; color: var(--lichen); }
.row__ui .synthetic { margin-top: 2px; }

/* ---------- Parcours (campaign log) ---------- */

.log { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,0.12); }
.log__item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  padding-block: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.log__when { color: var(--fern); font-size: 14px; font-variant-numeric: tabular-nums; }
.log__when b { display: block; color: var(--white); font-weight: 500; font-size: 15px; margin-bottom: 4px; }
.log__role { margin: 0 0 6px; font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.025em; line-height: 1.2; }
.log__role span { color: var(--sprout); }
.log__place { color: var(--fern); font-size: 14px; margin: 0 0 24px; }
.log__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 64ch; color: var(--fern); }
.log__points li { position: relative; padding-left: 22px; }
.log__points li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--verdant);
}
.log__points strong { color: var(--white); font-weight: 500; }

.results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 28px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  overflow: hidden;
}
.results div { background: var(--forest-2); padding: 20px; }
.results dt { order: 2; color: var(--fern); font-size: 13px; line-height: 1.35; margin-top: 8px; }
.results dd { margin: 0; font-family: var(--f-display); font-size: clamp(26px, 2.8vw, 36px); line-height: 1; color: var(--sprout); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.results div { display: flex; flex-direction: column; }

/* ---------- Projets ---------- */

.projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.proj {
  grid-column: span 4;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--mist-green);
  border-radius: 24px;
  min-height: 280px;
  transition: border-color 0.3s, transform 0.5s var(--ease-out);
}
.proj:hover { border-color: var(--onyx); transform: translateY(-3px); }
.proj--wide { grid-column: span 8; }
.proj--dark { background: var(--forest); color: var(--white); border-color: var(--forest); }
.proj--dark:hover { border-color: var(--sprout); }
.proj__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.proj__name { font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.035em; line-height: 1.1; margin: 0; }
.proj__text { margin: 0; color: #5a5e50; line-height: 1.55; max-width: 52ch; }
.proj--dark .proj__text { color: var(--fern); }
.proj__foot { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--lichen-ink); }
.proj--dark .proj__foot { color: var(--fern); }

/* ---------- Teaser restaurants ---------- */

.teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.teaser__copy { display: grid; gap: 24px; }
.teaser__ui { position: relative; min-height: 340px; }
.teaser__ui .ui { position: relative; transform: rotate(-4deg); max-width: 440px; margin-left: auto; }

/* ---------- Close ---------- */

.close { position: relative; text-align: center; padding-block: clamp(120px, 14vw, 200px); overflow: clip; isolation: isolate; }
.close .display { max-width: 12ch; margin-inline: auto; }
.close .lede { margin: 28px auto 40px; }
.close .btn-row { justify-content: center; }
.contact-list { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-size: 15px; }
.contact-list a { color: var(--fern); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; transition: color 0.2s; }
.contact-list a:hover { color: var(--white); }
.contact-list svg { width: 16px; height: 16px; }

.footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 32px;
  font-size: 13px;
  color: var(--fern);
}
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer a { color: var(--fern); }

/* ---------- Restaurants page ---------- */

.sim { position: relative; }
.sim .ui { position: relative; transform: rotate(4deg); width: 100%; max-width: 460px; margin-left: auto; }
.sim__controls {
  display: grid; gap: 12px;
  margin: 0 0 24px auto;
  max-width: 460px;
}
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button, .seg select, .field input {
  font: 500 14px/1.2 var(--f-ui);
  color: var(--white);
  background: transparent;
  border: 1px solid var(--moss);
  border-radius: 24px;
  padding: 10px 16px;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.seg button:hover { border-color: var(--lichen); }
.seg button[aria-pressed="true"] { background: var(--sprout); border-color: var(--sprout); color: var(--forest); }
.seg select { appearance: none; padding-right: 36px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23b7bda5' stroke-width='1.6'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center; }
.seg select option { color: var(--onyx); }
.field { display: flex; gap: 6px; }
.field input { flex: 1; min-width: 0; cursor: text; }
.field input::placeholder { color: var(--fern); }
.field input:focus, .seg select:focus { outline: none; border-color: var(--sprout); }
.sim__label { font-size: 13px; color: var(--fern); }

.ad-slot { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease-out); }
.ad-slot > div { overflow: hidden; }
.ad-slot.is-on { grid-template-rows: 1fr; }
.ad-slot .serp-row--ad { transform: translateY(-12px); opacity: 0; transition: transform 0.7s var(--ease-out) 0.1s, opacity 0.5s 0.1s; }
.ad-slot.is-on .serp-row--ad { transform: none; opacity: 1; }
.serp-row--ad .cta-line { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.serp-row--ad .cta-line span {
  border: 1px solid var(--mist-green); border-radius: 20px; padding: 3px 10px; font-size: 12px; color: #1f4fbf; background: var(--white);
}
.stars { display: inline-block; vertical-align: -1px; width: 66px; height: 12px; fill: #b07a00; }
.sim__switch { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--mist-green); background: var(--white); border-radius: 0 0 20px 20px; }
.switch {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 600 13px/1 var(--f-ui); color: var(--onyx); white-space: nowrap;
}
.switch i { position: relative; width: 40px; height: 24px; border-radius: 24px; background: var(--cool-stone, #d6d6d6); transition: background-color 0.3s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: transform 0.4s var(--ease-out); }
.switch[aria-checked="true"] i { background: var(--verdant); }
.switch[aria-checked="true"] i::after { transform: translateX(16px); }

.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--onyx); padding-top: 40px; }
.section-head--logo { max-width: none; grid-template-columns: minmax(0, 760px) auto; column-gap: 48px; align-items: center; }
.section-head--logo .h2, .section-head--logo .lede { grid-column: 1; }
.gads-logo { grid-column: 2; grid-row: 1 / span 2; justify-self: end; width: clamp(180px, 20vw, 260px); height: auto; }
@media (max-width: 880px) {
  .section-head--logo { grid-template-columns: minmax(0, 1fr); }
  .gads-logo { grid-column: 1; grid-row: auto; justify-self: start; width: 170px; order: -1; margin-bottom: 4px; }
}
.pains h3 { margin: 0 0 12px; }
.pain-ic {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 20px;
  border-radius: 16px; background: var(--wash); color: var(--verdant-ink);
}
.pain-ic svg { width: 26px; height: 26px; }
.pains p { margin: 0; color: #5a5e50; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,0.12); }
.step {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding-block: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  align-items: start;
}
.step__when { color: var(--sprout); font-weight: 500; font-size: 15px; }
.step h3 { margin: 0; }
.step p { margin: 0; color: var(--fern); max-width: 48ch; }

.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); list-style: none; margin: 0; padding: 0; }
.included li { display: flex; gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--mist-green); align-items: flex-start; }
.included svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--verdant-ink); }
.included b { display: block; font-weight: 600; color: var(--onyx); }
.included span { color: #5a5e50; font-size: 15px; }

.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why .results { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }

.faq { max-width: 820px; border-top: 1px solid var(--onyx); }
.faq details { border-bottom: 1px solid var(--mist-green); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 24px;
  font-weight: 600; font-size: clamp(17px, 1.6vw, 20px); letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 28px; height: 28px; flex: none; border: 1px solid var(--onyx); border-radius: 50%; transition: transform 0.4s var(--ease-out), background-color 0.2s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease-out); }
.faq details[open] summary i { background: var(--onyx); color: var(--white); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover { color: var(--verdant-ink); }
.faq details p { margin: 0 0 24px; color: #5a5e50; max-width: 64ch; }

/* Tablo card (restaurants page) */
.ui--tablo { position: relative; max-width: 520px; margin-left: auto; transform: rotate(-4deg); }
.js .ui--tablo.reveal { transform: translateY(24px) rotate(-4deg); }
.js .ui--tablo.reveal.is-in { transform: rotate(-4deg); }
.tablo { display: grid; gap: 0; padding-block: 8px 16px; }
.tablo__row { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--mist-green); font-size: 14px; }
.tablo__row .num { font-weight: 600; }
.tablo__foot { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding-top: 16px; font-size: 13px; color: var(--lichen-ink); }
.tablo__bar { height: 8px; border-radius: 8px; background: var(--bone); overflow: hidden; }
.tablo__bar i { display: block; height: 100%; background: var(--sprout); border-radius: inherit; }

/* Hover: the floating cards lift under the cursor */
@media (hover: hover) {
  .stack.is-in .ui--report:hover { transform: rotate(5deg) translateY(-6px); box-shadow: 0 32px 72px rgba(0,0,0,0.4), 0 0 0 2px var(--sprout); }
  .sim .ui:hover, .teaser__ui .ui:hover { box-shadow: var(--shadow-card), 0 0 0 2px var(--sprout); }
  .sim .ui, .teaser__ui .ui { transition: box-shadow 0.4s var(--ease-out); }
}

/* Restaurants: inline CTA, report card, sticky mobile CTA */
.inline-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: 48px; padding: 24px 24px 24px 32px;
  border: 1px solid var(--moss); border-radius: 28px;
}
.inline-cta p { margin: 0; color: var(--white); font-size: 18px; letter-spacing: -0.015em; max-width: 40ch; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.included--one { grid-template-columns: minmax(0, 1fr); }
.ui--monthly { position: relative; max-width: 480px; margin-left: auto; transform: rotate(3deg); }
.js .ui--monthly.reveal { transform: translateY(24px) rotate(3deg); }
.js .ui--monthly.reveal.is-in { transform: rotate(3deg); }
.monthly__cost {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 16px 0; padding: 16px; border-radius: 12px; background: var(--forest); color: var(--white);
}
.monthly__cost span { color: var(--fern); font-size: 13px; }
.monthly__cost b { font-family: var(--f-display); font-weight: 400; font-size: 28px; color: var(--sprout); letter-spacing: -0.02em; }
.monthly__list { display: grid; gap: 10px; }

.mobile-cta { display: none; }
@media (max-width: 880px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .ui--monthly { margin-inline: auto; }
  .mobile-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    transform: translateY(120%); transition: transform 0.5s var(--ease-out);
  }
  .mobile-cta.is-on { transform: none; }
  .mobile-cta .btn { width: 100%; justify-content: center; box-shadow: 0 12px 32px rgba(0,0,0,0.35); }
  body:has(.mobile-cta) .footer { padding-bottom: 96px; }
  .inline-cta { padding: 24px; }
  .inline-cta .btn { width: 100%; justify-content: center; }
}

/* Steps with visuals */
.steps--visual .step { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 80px); padding-block: 40px; }
.step__text { display: grid; gap: 10px; }
.step__text p { margin: 0; }
.stepui {
  background: var(--white); color: var(--onyx);
  border-radius: 18px; padding: 16px;
  box-shadow: var(--shadow-card);
  display: grid; gap: 8px;
  font-size: 14px;
  max-width: 440px; width: 100%; justify-self: end;
  transform: rotate(-2deg);
}
.steps--visual .step:nth-child(even) .stepui { transform: rotate(2deg); }
.stepui__search {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; margin-bottom: 4px;
  border: 1px solid var(--mist-green); border-radius: 24px;
}
.stepui__search svg { width: 14px; height: 14px; color: var(--lichen-ink); }
.stepui__row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px; background: var(--bone);
}
.stepui__row > span:not(.badge):not(.live-dot) { flex: 1; min-width: 0; }
.stepui__row--you { background: var(--white); border: 1.5px dashed var(--fern); }
.stepui__row--off > span:not(.badge) { color: var(--lichen-ink); }
.stepui__row--off > span:not(.badge) { text-decoration: line-through; }
.stepui__row--live { background: var(--forest); color: var(--white); font-weight: 600; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sprout); box-shadow: 0 0 0 4px rgba(104,239,63,0.25); }
.ic { width: 16px; height: 16px; flex: none; }
.ic--ok { color: var(--verdant-ink); }
.ic--up { color: var(--verdant-ink); }
.ic--no { color: var(--lichen-ink); }
.stepui--report { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stepui--report div { background: var(--bone); border-radius: 12px; padding: 14px 12px; display: grid; gap: 2px; }
.stepui--report b { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--forest); }
.stepui--report span { font-size: 12px; color: var(--lichen-ink); }
.steps__note { margin: 16px 0 0; color: var(--fern); }
@media (max-width: 880px) {
  .steps--visual .step { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .stepui, .steps--visual .step:nth-child(even) .stepui { justify-self: start; transform: none; }
}

/* ---------- Google-faithful mocks (restaurants page) ---------- */
.g { --g-text: #202124; --g-sub: #4d5156; --g-link: #1a0dab; --g-blue: #1a73e8; --g-line: #dadce0; font-family: "Roboto", Arial, sans-serif; letter-spacing: 0; color: var(--g-text); }
.g-search { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; border-radius: 24px; background: #fff; box-shadow: 0 1px 6px rgba(32,33,36,0.28); font-size: 15px; }
.g-search span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-search svg { width: 20px; height: 20px; flex: none; }
.g-search--sm { height: 40px; font-size: 14px; margin-bottom: 8px; }
.g-tabs { display: flex; gap: 20px; padding: 14px 4px 0; border-bottom: 1px solid var(--g-line); font-size: 13px; color: var(--g-sub); }
.g-tabs span { padding-bottom: 10px; }
.g-tabs .is-on { color: var(--g-blue); border-bottom: 3px solid var(--g-blue); font-weight: 500; }
.g-ad { padding: 16px 4px 14px; border-bottom: 8px solid #f1f3f4; }
.g-ad__src { display: flex; gap: 10px; align-items: center; font-size: 12px; line-height: 1.3; }
.g-ad__src b { display: block; font-weight: 700; color: var(--g-text); }
.g-ad__site { color: var(--g-sub); }
.g-fav { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e8f0fe; color: #1967d2; font-weight: 500; font-size: 13px; border: 1px solid #d2e3fc; }
.g-ad__title { margin-top: 8px; color: var(--g-link); font-size: 18px; line-height: 1.3; }
.g-ad__desc { margin-top: 4px; color: var(--g-sub); font-size: 13px; line-height: 1.5; }
.g-ad__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.g-ad__links span { padding: 6px 12px; border: 1px solid var(--g-line); border-radius: 16px; color: var(--g-link); font-size: 13px; }
.g-pack { padding-top: 12px; }
.g-pack__title { font-size: 18px; color: var(--g-text); margin: 4px 4px 10px; }
.gmap { width: 100%; height: 120px; border-radius: 12px; display: block; }
.g-place { padding: 12px 4px; border-bottom: 1px solid #ebebeb; }
.g-place:last-child { border-bottom: 0; }
.g-place__name { font-size: 15px; color: var(--g-text); }
.g-place__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 3px; font-size: 12.5px; color: var(--g-sub); }
.g-rate { color: var(--g-sub); }
.gstars { width: 64px; height: 11px; fill: #fbbc04; }
.g-open { color: #137333; }
.g-place--row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.g-rank { font-size: 12px; color: #137333; background: #e6f4ea; padding: 3px 10px; border-radius: 12px; white-space: nowrap; }
.g-place--missing { display: flex; justify-content: space-between; align-items: center; border: 1.5px dashed #bdc1c6; border-radius: 12px; padding: 12px; margin-top: 6px; }
.g-place--missing .g-place__name { color: #5f6368; }
.g-place.g-place--missing:last-child { border-bottom: 1.5px dashed #bdc1c6; }
.g-miss { font-size: 12px; color: #c5221f; background: #fce8e6; padding: 3px 10px; border-radius: 12px; white-space: nowrap; }

.phone {
  position: relative; width: min(100%, 360px); margin-left: auto;
  padding: 10px; border-radius: 46px; background: #0b140c;
  box-shadow: var(--shadow-card), inset 0 0 0 1.5px #3a4a3c;
  transform: rotate(4deg);
}
.phone__screen { background: #fff; border-radius: 36px; padding: 44px 16px 18px; overflow: hidden; position: relative; }
.phone__screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #0b140c; }
.sim .sim__switch { max-width: 340px; margin: 20px 0 0 auto; background: transparent; border: 0; padding: 0; }
.sim .sim__switch .switch { color: var(--white); }
.sim .sim__switch .synthetic { color: var(--fern); }
.sim .gmap { height: 96px; }
.sim .phone { width: min(100%, 340px); }
.sim .phone__screen { height: 500px; }
.sim .phone__screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.sim .sim__controls { margin-bottom: 20px; }
.sim .g-ad__title { font-size: 17px; }

.g-biz { padding: 4px 4px 14px; border-bottom: 1px solid var(--g-line); }
.g-biz__name { font-size: 20px; color: var(--g-text); }
.g-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.g-actions span { display: grid; justify-items: center; gap: 6px; font-size: 12px; color: var(--g-blue); }
.g-actions i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--g-line); color: var(--g-blue); }
.g-actions i svg { width: 18px; height: 18px; }
.gads-row { display: flex; align-items: center; gap: 12px; padding: 14px 4px 2px; font-size: 13px; }
.gads-row b { display: block; font-weight: 500; color: var(--g-text); }
.gads-row div span { color: var(--g-sub); font-size: 12px; }
.gads-row div { flex: 1; }
.gads-dot { width: 10px; height: 10px; border-radius: 50%; background: #1e8e3e; flex: none; }
.gads-status { font-size: 12px; color: #137333; background: #e6f4ea; padding: 3px 10px; border-radius: 12px; }
.gads-head { font-size: 14px; font-weight: 500; padding: 4px 4px 10px; border-bottom: 1px solid var(--g-line); }
.gads-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gads-table th { text-align: left; font-weight: 500; color: var(--g-sub); font-size: 12px; padding: 10px 4px; border-bottom: 1px solid var(--g-line); }
.gads-table td { padding: 12px 4px; border-bottom: 1px solid #f1f3f4; color: var(--g-link); }
.gads-table td.n, .gads-table th.n { text-align: right; color: var(--g-text); font-variant-numeric: tabular-nums; }
.gads-table tr:last-child td { border-bottom: 0; }
.gads-table tr:last-child td:first-child { color: #5f6368; text-decoration: line-through; }
.gads-act { display: inline-block; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 12px; white-space: nowrap; margin-left: 6px; }
.gads-act.is-up { background: #e8f0fe; color: #1967d2; }
.gads-act.is-keep { background: #e6f4ea; color: #137333; }
.gads-act.is-out { background: #fce8e6; color: #c5221f; }
.gads-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--g-line); border-radius: 8px; overflow: hidden; }
.gads-card { padding: 10px 10px 12px; border-top: 4px solid; display: grid; gap: 4px; }
.gads-card + .gads-card { border-left: 1px solid var(--g-line); }
.gads-card span { font-size: 11.5px; color: var(--g-sub); }
.gads-card b { font-size: 22px; font-weight: 400; color: var(--g-text); }
.c-blue { border-top-color: #1a73e8; } .c-red { border-top-color: #d93025; } .c-yellow { border-top-color: #f9ab00; } .c-green { border-top-color: #1e8e3e; }
.gads-chart { width: 100%; height: 90px; margin-top: 12px; }
.stepui.g { gap: 0; padding: 18px; }
@media (max-width: 880px) {
  .phone { margin-inline: auto; transform: none; }
  .sim .sim__switch { margin-inline: auto; }
}
@media (max-width: 420px) {
  .gads-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gads-card:nth-child(3) { border-left: 0; }
  .gads-card:nth-child(n+3) { border-top-width: 4px; }
  .gads-table th:nth-child(2), .gads-table td:nth-child(2) { display: none; }
}

/* ---------- iPhone duo (restaurants hero) ---------- */
.duo-wrap { --s: 1; width: calc(560px * var(--s)); height: calc(620px * var(--s)); margin: 24px 0 0 auto; position: relative; overflow: clip; overflow-clip-margin: 60px; }
.duo { width: calc(560px); }
.duo {
  --rx: 0deg; --ry: 0deg; --spread: 0px;
  position: absolute; top: 0; left: 0; width: 560px; height: 600px;
  transform: scale(var(--s)); transform-origin: top left;
  perspective: 1600px;
}
.iphone {
  position: absolute; top: 20px; width: 272px; height: 566px;
  padding: 11px; border-radius: 58px;
  background: #0d0d0e;
  box-shadow:
    inset 0 0 0 2px #8e8f93, inset 0 0 0 4px #3b3c3f, inset 0 0 0 5px #0d0d0e,
    0 30px 70px rgba(0,0,0,0.45), 0 6px 16px rgba(0,0,0,0.3);
  transition: transform 0.9s var(--ease-out);
}
.iphone--back { left: 0; z-index: 1; transform: rotateY(calc(var(--ry) + 8deg)) rotateX(var(--rx)) rotateZ(-4deg) translateX(calc(var(--spread) * -1)); }
.iphone--front { right: 0; top: 34px; z-index: 2; transform: rotateY(calc(var(--ry) - 8deg)) rotateX(var(--rx)) rotateZ(3deg) translateX(var(--spread)); }
.iphone__btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #5c5d61, #a4a6aa); }
.iphone__btn--action { left: -3px; top: 104px; height: 30px; }
.iphone__btn--vup { left: -3px; top: 156px; height: 52px; }
.iphone__btn--vdown { left: -3px; top: 220px; height: 52px; }
.iphone__btn--power { right: -3px; top: 178px; height: 82px; background: linear-gradient(270deg, #5c5d61, #a4a6aa); }
.iphone__screen { position: relative; height: 100%; border-radius: 47px; overflow: hidden; background: #fff; }
.iphone__island { position: absolute; top: 11px; left: 50%; width: 78px; height: 24px; margin-left: -39px; border-radius: 20px; background: #000; z-index: 3; }
.ios-status { position: absolute; top: 0; left: 0; right: 0; height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 3px 20px 0 30px; z-index: 2; font: 600 13px/1 -apple-system, "SF Pro Text", "Roboto", sans-serif; color: #000; }
.ios-icons { display: flex; gap: 4px; align-items: center; }
.ios-icons svg { height: 9.5px; width: auto; fill: #000; color: #000; }
.iphone__content { position: absolute; inset: 52px 0 0; padding: 4px 12px 0; overflow: hidden; }
.iphone__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, #fff); }
.iphone__home { position: absolute; bottom: 8px; left: 50%; width: 108px; height: 5px; margin-left: -54px; border-radius: 3px; background: #111; z-index: 3; }
.iphone__tag {
  position: absolute; left: 50%; top: -30px; transform: translateX(-50%);
  z-index: 5;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 700 17px/1 var(--f-ui); letter-spacing: -0.02em;
  padding: 12px 20px 12px 16px; border-radius: 28px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
.iphone__tag svg { width: 18px; height: 18px; flex: none; }
.iphone__tag [data-left-tag] { transition: none; }
.iphone__tag--off { background: #2a2c25; color: #fff; border: 1.5px solid #5b5e52; }
.iphone__tag--off svg { color: #ff8a80; }
.iphone__tag--on { background: var(--sprout); color: var(--forest); }
.iphone__content .g-search { height: 38px; padding: 0 12px; gap: 8px; font-size: 13px; }
.iphone__content .g-search svg { width: 16px; height: 16px; }
.iphone__content .g-tabs { gap: 14px; font-size: 12px; padding-top: 10px; }
.iphone__content .g-ad { padding: 12px 2px 10px; }
.iphone__content .g-ad__title { font-size: 15.5px; }
.iphone__content .g-ad__desc { font-size: 12px; }
.iphone__content .g-ad__links span { font-size: 11.5px; padding: 4px 9px; }
.iphone__content .g-pack__title { font-size: 16px; margin: 2px 2px 8px; }
.iphone__content .gmap { height: 84px; border-radius: 10px; }
.iphone__content .g-place { padding: 10px 2px; }
.iphone__content .g-place__name { font-size: 14px; }
.iphone__content .g-place__meta { font-size: 11.5px; }
.iphone__content .gstars { width: 56px; height: 10px; }
.is-typing [data-query]::after {
  content: ""; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -2px;
  background: #1a73e8; animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.dot-off { background: var(--lichen); }
.dot-on { background: var(--sprout); }
.fold-note { text-align: right; margin: 12px 0 0; color: var(--fern); }
@media (max-width: 880px) {
  .duo-wrap { margin-inline: auto; }
  .fold-note { text-align: center; }
}

/* Mentions légales */
.legal { padding-top: 160px; }
.legal .wrap { max-width: 800px; }
.legal .h2 { margin-bottom: 40px; }
.legal .h3 { margin: 40px 0 12px; }
.legal p { margin: 0 0 12px; color: #5a5e50; max-width: 68ch; }
.legal a { color: var(--verdant-ink); }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .row__ui { grid-column: 1 / -1; max-width: 520px; }
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj, .proj--wide { grid-column: span 6; }
  .step { grid-template-columns: 140px minmax(0, 1fr); }
  .step p { grid-column: 2; }
}

@media (max-width: 880px) {
  .hero { padding-top: 128px; min-height: 0; }
  .hero__grid, .teaser, .why { grid-template-columns: minmax(0, 1fr); }
  .stack { height: 600px; max-width: 520px; width: 100%; margin-inline: auto; }
  .ui--chip { display: none; }
  .stack { height: 500px; }
  .log__item { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pains { grid-template-columns: minmax(0, 1fr); }
  .included { grid-template-columns: minmax(0, 1fr); }
  .sim .ui, .sim__controls { margin-inline: 0; max-width: none; }
  .teaser__ui .ui { margin-inline: auto; }
}

@media (max-width: 640px) {
  .row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .proj, .proj--wide { grid-column: 1 / -1; min-height: 0; }
  .stack { height: 470px; }
  .ui--report { width: 92%; right: 0; top: 80px; }
  .ui--serp { width: 84%; }
  .ui--chip { right: auto; left: 0; bottom: 0; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 32px; }
  .step p { grid-column: auto; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .strip { margin-top: 48px; }
}
