/* ==========================================================================
   Nira: design tokens
   Nira palette (nira-blue, nira-dark, nira-gray) mapped onto the layout system.
   ========================================================================== */
:root {
  --ink: #09090b;          /* nira-dark */
  --ink-2: #111114;
  --gray: #71717a;         /* nira-gray */
  --gray-2: #a1a1aa;
  --line: rgba(9, 9, 11, .1);
  --paper: #fafafa;
  --white: #fff;
  --linen: #f2f7fb;        /* cool off-white section */
  --blue: #0f8de6;         /* nira-blue-600 */
  --blue-500: #0ea5e9;
  --blue-400: #38bdf8;
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;      /* highlight pill */
  --sky-300: #7dd3fc;
  --deep: #0a1c30;         /* dark sections (midnight blue) */
  --deep-2: #0d2742;
  --band: #0b5fa8;         /* CTA band */

  --serif: "Newsreader", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow: 0 1px 2px rgba(9, 9, 11, .06), 0 8px 24px rgba(9, 9, 11, .06);
  --shadow-lg: 0 24px 60px rgba(10, 28, 48, .18);
  --container: 1216px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sky-200); color: var(--ink); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.center { text-align: center; margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--sm { width: 16px; height: 16px; }

/* Typography */
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -.02em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.015em; }
.h2--light { color: var(--white); }
.h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: 18px; color: var(--gray); margin-top: 18px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }

/* Highlight pill (the signature [bracketed] word) */
.hl {
  background: var(--sky-200); color: var(--ink); border-radius: 999px; padding: 0 .28em .04em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.section--deep .hl, .h2--light .hl { background: var(--sky-300); }

/* ==========================================================================
   Buttons
   ========================================================================== */
/* Primary: pill + round arrow joined by a pinched "bridge" */
.btn { display: inline-flex; align-items: center; position: relative; --bg: var(--ink); --fg: #fff; }
.btn__label { background: var(--bg); color: var(--fg); font-weight: 500; font-size: 15px; padding: 13px 22px; border-radius: 999px; line-height: 1; position: relative; z-index: 1; white-space: nowrap; }
.btn__arrow {
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg); color: var(--fg);
  display: grid; place-items: center; margin-left: -2px; position: relative; transition: transform .35s var(--ease);
}
.btn__arrow::before {
  content: ""; position: absolute; left: -12px; top: 50%; width: 16px; height: 26px; transform: translateY(-50%); background: var(--bg);
  -webkit-mask: radial-gradient(circle at 50% -7px, transparent 10px, #000 10.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at 50% calc(100% + 7px), transparent 10px, #000 10.5px) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at 50% -7px, transparent 10px, #000 10.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at 50% calc(100% + 7px), transparent 10px, #000 10.5px) bottom / 100% 51% no-repeat;
}
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:hover .btn__arrow .ic { transform: rotate(-45deg); }
.btn--sm .btn__label { padding: 11px 18px; font-size: 14px; }
.btn--sm .btn__arrow { width: 38px; height: 38px; }
.btn--blue { --bg: var(--blue); }

.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 11px 20px; font-size: 14px; font-weight: 500; line-height: 1; transition: background .2s, color .2s, transform .2s; white-space: nowrap; }
.pill--soft { background: var(--sky-100); color: var(--ink); }
.pill--soft:hover { background: var(--sky-200); }
.pill--ghost { background: rgba(255, 255, 255, .7); backdrop-filter: blur(6px); color: var(--ink); }
.pill--ghost .ic { color: var(--blue); }
.pill--ghost:hover { background: #fff; }
.pill--dark { background: var(--ink); color: #fff; margin-top: 28px; }
.pill--dark:hover { background: var(--deep-2); }
.pill--sky { background: var(--sky-200); color: var(--ink); }
.pill--sky:hover { background: #fff; }

.round { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; flex: none; transition: transform .3s var(--ease); }
.round--dark { background: var(--ink); }
.round--xs { width: 24px; height: 24px; }
a:hover > .round, a:hover .round { transform: translateX(3px); }

.mini { display: inline-block; font-size: 11px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--sky-100); color: var(--ink); }
.mini--dark { background: var(--ink); color: #fff; }

/* ==========================================================================
   Promo bar + Nav
   ========================================================================== */
.promo { background: var(--sky-200); color: var(--ink); display: flex; justify-content: center; align-items: center; gap: 18px; padding: 11px 16px; font-size: 14px; text-align: center; flex-wrap: wrap; }
.promo a { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.promo a:hover .ic { transform: translateX(3px); }
.promo .ic { transition: transform .25s; }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s; }
.nav.is-scrolled { box-shadow: 0 8px 30px rgba(9, 9, 11, .08); }
.nav__inner { min-height: 80px; padding: 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo__img { height: 48px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; padding: 10px 14px; border-radius: 999px; color: var(--ink); transition: background .2s; }
.nav__link:hover, .dd.is-open .nav__link { background: var(--sky-50); }
.dd__trigger .ic { transition: transform .25s; color: var(--gray); }
.dd.is-open .dd__trigger .ic { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--sky-100); place-items: center; }

.dd { position: relative; }
.dd__panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); width: 560px;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 14px; opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s var(--ease), visibility .25s; display: grid; gap: 12px;
}
.dd__panel--wide { width: 820px; grid-template-columns: 1fr 250px; }
.dd.is-open .dd__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd__grid { display: grid; gap: 4px; }
.dd__grid--2 { grid-template-columns: 1fr 1fr; }
.dd__item { display: flex; gap: 12px; padding: 12px; border-radius: 12px; transition: background .2s; }
.dd__item:hover { background: var(--sky-50); }
.dd__item strong { display: block; font-size: 14px; font-weight: 600; }
.dd__item small { display: block; font-size: 13px; color: var(--gray); line-height: 1.4; margin-top: 2px; }
.dd__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--sky-100); color: var(--blue); display: grid; place-items: center; flex: none; }
.dd__feature { background: var(--deep); color: #fff; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.dd__feature::after { content: ""; position: absolute; inset: auto -40px -60px auto; width: 180px; height: 180px; background: radial-gradient(circle, rgba(56, 189, 248, .5) 1.3px, transparent 1.8px) 0 0 / 10px 10px; -webkit-mask: radial-gradient(circle, #000, transparent 70%); mask: radial-gradient(circle, #000, transparent 70%); }
.dd__feature-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-300); }
.dd__feature strong { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; }
.dd__feature-link { margin-top: auto; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; color: var(--sky-200); }

.mobile { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: linear-gradient(180deg, #f5f9fc 0%, var(--paper) 100%); padding: 56px 0 72px; overflow: hidden; margin-top: -20px; padding-top: 96px; border-bottom-left-radius: 64px; border-bottom-right-radius: 64px; box-shadow: 0 10px 40px rgba(10,25,47,0.03); z-index: 2; }
.hero__field {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle, rgba(15, 141, 230, .42) 1.1px, transparent 1.6px) 0 0 / 9px 9px;
  -webkit-mask: radial-gradient(60% 55% at 72% 40%, #000 0%, rgba(0, 0, 0, .45) 45%, transparent 75%);
          mask: radial-gradient(60% 55% at 72% 40%, #000 0%, rgba(0, 0, 0, .45) 45%, transparent 75%);
  opacity: .55;
}
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(56, 189, 248, .12), transparent 70%); filter: blur(40px); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; left: 30%; bottom: -260px; background: radial-gradient(circle, rgba(186, 230, 253, .35), transparent 70%); filter: blur(40px); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin-top: 26px; max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font-size: 14px; color: var(--gray); }
.hero__proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero__proof .ic { color: var(--blue); }

.hero__visual { position: relative; max-width: 490px; justify-self: center; width: 100%; display: flex; align-items: center; justify-content: center; }
.hero__disc { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; }
.hero__disc picture { display: contents; }
.hero__disc img { width: 100%; height: auto; object-fit: contain; display: block; }
.float { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 14px; display: grid; gap: 6px; font-size: 13px; min-width: 190px; animation: bob 6s ease-in-out infinite; }
.float strong { font-weight: 600; font-size: 14px; }
.float small { color: var(--gray); font-size: 12px; }
.float__tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
.float--a { top: 2%; left: -4%; }
.float--b { top: 38%; right: -6%; animation-delay: -2s; }
.float--c { bottom: 4%; left: 0; animation-delay: -4s; }
.float__row { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px rgba(9, 9, 11, .1); }
.dot--blue { background: var(--blue); box-shadow: 0 0 0 3px rgba(15, 141, 230, .2); }
.dot--ok { background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .2); }
.chips { display: flex; gap: 5px; flex-wrap: wrap; }
.chips span { background: var(--sky-100); color: var(--ink); border-radius: 999px; font-size: 11.5px; padding: 3px 9px; font-weight: 500; }
.chips--dark span { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.badge { background: #d1fae5; color: #065f46; border-radius: 999px; font-size: 11px; padding: 3px 9px; font-weight: 600; margin-left: auto; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-400)); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.avatar--lg { width: 48px; height: 48px; font-size: 18px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Trust bar */
.trust { position: relative; z-index: 1; margin-top: 64px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(10px); border-radius: var(--r-lg); display: grid; grid-template-columns: 1.3fr 1fr 1fr; box-shadow: 0 1px 0 var(--line); overflow: hidden; }
.trust > * + * { border-left: 1px solid var(--line); }
.trust__logos { padding: 24px 28px; display: grid; gap: 16px; min-width: 0; }
.trust__logos p { font-size: 14px; color: var(--gray); text-align: center; }
.trust__logos strong { color: var(--ink); }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 32s linear infinite; align-items: center; }
.marquee__track img { height: 30px; width: auto; filter: grayscale(1); opacity: .6; transition: opacity .2s; }
.marquee__track img:hover { opacity: 1; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.trust__card { padding: 26px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: background .25s; }
.trust__card:hover { background: #fff; }
.trust__card strong { display: block; font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.trust__card small { display: block; color: var(--gray); font-size: 14px; margin-top: 6px; line-height: 1.45; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 120px 0; position: relative; }
.section--deep { background: var(--deep); color: #fff; overflow: hidden; }
.section--linen { background: var(--linen); }

/* How it works */
.section--deep::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(56, 189, 248, .22) 1.2px, transparent 1.7px) 0 0 / 11px 11px;
  -webkit-mask: linear-gradient(115deg, transparent 35%, #000 60%, transparent 85%); mask: linear-gradient(115deg, transparent 35%, #000 60%, transparent 85%);
}
.how__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; position: relative; }
.how__head .h2 { max-width: 620px; margin-top: 22px; }
.how__lead { margin-top: 14px; font-size: 17px; color: var(--sky-200); }
.how__before { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; font-size: 16px; color: rgba(255, 255, 255, .85); transition: opacity .2s; }
.how__before b { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: var(--sky-300); }
.how__before ~ .steps { margin-top: 24px; }
.step p { border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.badge-strip { display: inline-flex; align-items: center; gap: 8px; background: var(--sky-200); color: var(--ink); font-size: 13.5px; padding: 8px 14px; border-radius: 8px; font-weight: 500; }
.tabs { position: relative; display: inline-flex; background: rgba(0, 0, 0, .35); border-radius: 999px; padding: 5px; gap: 2px; border: 1px solid rgba(255, 255, 255, .08); }
.tab { padding: 11px 18px; border-radius: 999px; font-size: 14.5px; color: var(--sky-200); font-weight: 500; transition: background .25s, color .25s; }
.tab:hover { color: #fff; }
.tab.is-active { background: #fff; color: var(--ink); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; position: relative; }
.steps[hidden] { display: none; }
.step {
  position: relative; background: linear-gradient(180deg, #fff 62%, #dff1fd 100%); color: var(--ink); border-radius: var(--r-lg);
  padding: 30px 24px 34px; text-align: center; animation: rise .5s var(--ease) both;
}
.step:nth-child(2) { animation-delay: .06s; } .step:nth-child(3) { animation-delay: .12s; } .step:nth-child(4) { animation-delay: .18s; }
.step:not(:last-child)::after {
  content: ""; position: absolute; right: -30px; top: 42%; width: 32px; height: 64px; background: #fff; z-index: 1;
  -webkit-mask: radial-gradient(circle at 50% -18px, transparent 26px, #000 26.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at 50% calc(100% + 18px), transparent 26px, #000 26.5px) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at 50% -18px, transparent 26px, #000 26.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at 50% calc(100% + 18px), transparent 26px, #000 26.5px) bottom / 100% 51% no-repeat;
}
.step__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--deep); color: #fff; font-family: var(--mono); font-weight: 500; }
.step h3 { font-size: 21px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; color: var(--blue); margin: 16px 0 22px; min-height: 2.4em; }
.step ul { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 14px; text-align: left; }
.step li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.45; }
.step li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Use-case rows */
#cas-d-usage-archive .h2 { margin-bottom: 72px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 44px 0; }
.row--flip .row__copy { order: 2; }
.row__copy .h3 { margin: 14px 0 26px; max-width: 460px; }
.feat { display: grid; gap: 16px; margin-bottom: 30px; }
.feat li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.feat__ic { width: 36px; height: 36px; border-radius: 10px; background: var(--sky-50); border: 1px solid var(--sky-100); color: var(--blue); display: grid; place-items: center; flex: none; }
.row__media { border-radius: var(--r-lg); aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 40px 32px 0; overflow: hidden; position: relative; }
.row__media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(15, 141, 230, .22) 1px, transparent 1.5px) 0 0 / 8px 8px; -webkit-mask: linear-gradient(160deg, #000, transparent 55%); mask: linear-gradient(160deg, #000, transparent 55%); }
.media--sky { background: linear-gradient(160deg, var(--sky-100), #f7fbff 70%); }
.media--linen { background: linear-gradient(200deg, #eaf2f8, #f8fafc 70%); }

/* Mock UI */
.mock { position: relative; width: 100%; max-width: 440px; align-self: end; background: #fff; border-radius: 14px 14px 0 0; box-shadow: 0 -2px 0 var(--line), 0 20px 60px rgba(10, 28, 48, .12); font-size: 13px; }
.mock__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mock__logo { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--blue), var(--blue-400)); }
.mock__tab { color: var(--gray); font-size: 12.5px; padding-bottom: 2px; }
.mock__tab.is-on { color: var(--blue); font-weight: 600; box-shadow: 0 2px 0 var(--blue); }
.mock__pill { margin-left: auto; background: var(--sky-50); border-radius: 999px; font-size: 11.5px; padding: 4px 10px; font-weight: 500; }
.mock__body { padding: 14px 16px 22px; display: grid; gap: 10px; }
.mock__foot { display: flex; align-items: center; gap: 8px; color: #047857; font-weight: 500; font-size: 12.5px; padding-top: 6px; }
.mock__foot--btn span { margin-left: auto; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 600; }
.lead-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: var(--paper); }
.lead-row b { display: block; font-weight: 600; font-size: 13px; }
.lead-row small { display: block; color: var(--gray); font-size: 11.5px; }
.score { margin-left: auto; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.score--hot { background: #dbeafe; color: #1d4ed8; }
.score--warm { background: #fef3c7; color: #92400e; }
.kv { display: grid; grid-template-columns: 1fr 1.3fr 18px; align-items: center; padding: 9px 10px; border-radius: 10px; background: var(--paper); gap: 10px; }
.kv span { color: var(--gray); font-size: 12px; }
.kv b { font-weight: 600; }
.kv .ok { width: 18px; height: 18px; border-radius: 50%; background: #10b981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.mock__split { grid-template-columns: 1fr 1.15fr; align-items: start; }
.ticket { display: grid; gap: 2px; padding: 9px 10px; border-radius: 10px; background: var(--paper); margin-bottom: 8px; border: 1px solid transparent; }
.ticket.is-on { background: var(--sky-50); border-color: var(--sky-200); }
.ticket b { font-size: 12.5px; }
.ticket small { color: var(--gray); font-size: 11px; }
.tag { justify-self: start; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--sky-100); color: var(--ink); margin-top: 4px; }
.tag--hot { background: #fee2e2; color: #b91c1c; }
.suggest { background: var(--deep); color: #fff; border-radius: 12px; padding: 12px; display: grid; gap: 10px; }
.suggest__tag { display: inline-flex; align-items: center; gap: 6px; color: var(--sky-300); font-size: 11.5px; font-weight: 600; }
.suggest p { font-size: 12.5px; line-height: 1.45; color: #dbeafe; }
.suggest__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.suggest .mini--dark { background: var(--blue); }
.todo { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: var(--paper); font-weight: 500; }
.todo i { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--gray-2); flex: none; }
.todo.is-done { color: var(--gray); }
.todo.is-done i { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; border-color: var(--blue); }
.todo.is-run i { border-color: var(--blue); border-top-color: transparent; border-radius: 50%; animation: spin 1s linear infinite; }
.todo .tag { margin: 0 0 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpis div { background: var(--paper); border-radius: 10px; padding: 10px; }
.kpis small { display: block; color: var(--gray); font-size: 11px; }
.kpis b { font-family: var(--serif); font-weight: 500; font-size: 24px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding: 10px; background: var(--paper); border-radius: 10px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--blue-400), var(--blue)); transform-origin: bottom; animation: grow 1.2s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } }
.alert { display: flex; align-items: center; gap: 8px; background: #fff7ed; color: #9a3412; border-radius: 10px; padding: 9px 10px; font-weight: 500; font-size: 12.5px; }
.graph { position: relative; width: 100%; height: 100%; min-height: 260px; align-self: stretch; margin-bottom: 32px; }
.graph__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.graph__lines path { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 5 6; opacity: .55; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 13px; box-shadow: var(--shadow); white-space: nowrap; }
.node--core { background: var(--ink); color: #fff; font-size: 18px; font-weight: 800; letter-spacing: -.05em; padding: 14px 22px; box-shadow: 0 0 0 8px rgba(15, 141, 230, .15), 0 0 0 16px rgba(15, 141, 230, .07); }

/* Testimonials */
.quotes { padding: 110px 0 90px; }
.quotes__field { position: absolute; inset: 0; background: radial-gradient(circle, rgba(56, 189, 248, .2) 1.2px, transparent 1.7px) 0 0 / 10px 10px; -webkit-mask: radial-gradient(70% 60% at 80% 30%, #000, transparent 70%); mask: radial-gradient(70% 60% at 80% 30%, #000, transparent 70%); }
.quotes__inner { position: relative; text-align: center; }
.quotes__mark { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--sky-200); color: var(--deep); }
.quotes__mark .ic { fill: currentColor; stroke: none; }
.quotes__viewport { display: grid; margin: 28px auto 0; max-width: 720px; }
.quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease), visibility .5s; }
.quote.is-on { opacity: 1; visibility: visible; transform: none; }
.quote blockquote { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; color: #fff; }
.quote figcaption { margin-top: 34px; display: grid; justify-items: center; gap: 4px; }
.quote figcaption strong { margin-top: 10px; font-weight: 500; }
.quote figcaption small { color: var(--sky-200); opacity: .8; }
.quotes__nav { position: absolute; top: 46%; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: background .2s; }
.quotes__nav:hover { background: rgba(255, 255, 255, .18); }
.quotes__nav--prev { left: 0; } .quotes__nav--next { right: 0; }
.quotes__chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.qchip { background: rgba(255, 255, 255, .08); color: var(--sky-100); border-radius: 999px; padding: 8px 14px; font-size: 13px; transition: background .2s; }
.qchip b { font-weight: 600; color: #fff; margin-right: 4px; }
.qchip.is-on { background: var(--sky-200); color: var(--deep); }
.qchip.is-on b { color: var(--ink); }

/* CTA band */
.band { padding: 12px; background: var(--paper); }
.band__inner { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--band), #0a4c86 60%, var(--deep)); border-radius: var(--r-xl); padding: 96px 24px 0; display: grid; justify-items: center; gap: 28px; }
.band__field { position: absolute; inset: 0; background: radial-gradient(circle, rgba(186, 230, 253, .28) 1.2px, transparent 1.7px) 0 0 / 11px 11px; -webkit-mask: linear-gradient(120deg, transparent 20%, #000 50%, transparent 80%); mask: linear-gradient(120deg, transparent 20%, #000 50%, transparent 80%); }
.band .h2 { position: relative; max-width: 520px; }
.band .pill { position: relative; }
.dash { position: relative; width: min(100%, 1060px); margin-top: 40px; background: #fff; border-radius: 16px 16px 0 0; border: 6px solid var(--sky-300); border-bottom: 0; display: grid; grid-template-columns: 200px 1fr; min-height: 280px; overflow: hidden; box-shadow: 0 -10px 60px rgba(0, 0, 0, .25); }
.dash__side { background: var(--paper); border-right: 1px solid var(--line); padding: 18px 14px; display: grid; align-content: start; gap: 4px; font-size: 13px; color: var(--gray); }
.dash__side span { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; }
.dash__side .is-on { background: var(--sky-100); color: var(--ink); font-weight: 600; }
.dash__brand { font-weight: 800; letter-spacing: -.05em; font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.dash__main { padding: 18px 22px; }
.dash__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dash__table { font-size: 13px; }
.dash__row { display: grid; grid-template-columns: 2fr 1fr 1fr 1.1fr; gap: 12px; padding: 12px 10px; border-bottom: 1px solid var(--line); align-items: center; }
.dash__row--head { color: var(--gray); font-size: 11.5px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.st { justify-self: start; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.st--ok { background: #d1fae5; color: #065f46; }
.st--run { background: var(--sky-100); color: #075985; }

/* Impact */
.impact__head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.seals { display: flex; justify-content: center; gap: 10px; margin-bottom: 26px; }
.seal { width: 92px; height: 92px; border-radius: 50%; background: var(--deep); color: #fff; display: grid; place-content: center; justify-items: center; gap: 1px; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--sky-200); }
.seal .ic { color: var(--sky-300); width: 18px; height: 18px; margin-bottom: 2px; }
.seal b { font-size: 15px; line-height: 1; }
.seal small { font-size: 9.5px; color: var(--sky-200); text-transform: uppercase; letter-spacing: .06em; }
.stats { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "photo sky sky" "photo light deep"; gap: 20px; }
.stat { border-radius: var(--r-lg); padding: 32px; position: relative; overflow: hidden; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.stat__ic { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 10px; background: #fff; color: var(--blue); display: grid; place-items: center; }
.stat__num { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 6vw, 76px); line-height: 1; letter-spacing: -.02em; }
.stat p { font-size: 16px; }
.mini-pill { align-self: flex-start; background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 999px; margin-top: 10px; transition: transform .2s; }
.mini-pill:hover { transform: translateY(-2px); }
.mini-pill--light { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.stat--photo { grid-area: photo; padding: 0; min-height: 580px; } .stat--sky { grid-area: sky; } .stat--light { grid-area: light; } .stat--deep { grid-area: deep; }
.stat--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.stat__overlay { position: relative; margin: auto 16px 16px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px); border-radius: 16px; padding: 22px; }
.stat__overlay p { font-family: var(--serif); font-size: 19px; line-height: 1.4; }
.stat__overlay span { display: block; margin-top: 12px; font-size: 13px; color: var(--gray); }
.stat__overlay b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.stat--sky { background: var(--sky-200); }
.stat--light { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.stat--light .stat__ic { background: var(--sky-100); }
.stat--deep { background: var(--deep); color: #fff; }
.stat--deep .stat__ic { background: rgba(255, 255, 255, .1); color: var(--sky-300); }
.footnote { margin-top: 16px; font-size: 13px; color: var(--gray); text-align: right; }

/* Approach (news-style) */
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 48px; }
.feature { background: var(--deep); border-radius: var(--r-lg); padding: 12px; display: grid; box-shadow: var(--shadow-lg); transition: transform .35s var(--ease); position: relative; overflow: hidden; }
.feature:hover { transform: translateY(-4px); }
.feature__art { height: 230px; position: relative; background: radial-gradient(circle, rgba(56, 189, 248, .3) 1.2px, transparent 1.7px) 0 0 / 10px 10px; border-radius: 12px; }
.bubble { position: absolute; top: 34px; right: 40px; max-width: 270px; background: #fff; color: var(--ink); border-radius: 14px 14px 4px 14px; padding: 12px 14px; font-size: 13.5px; box-shadow: var(--shadow-lg); }
.mapcard { position: absolute; left: 28px; bottom: 26px; background: rgba(15, 141, 230, .25); border: 1px solid rgba(186, 230, 253, .4); border-radius: 12px; padding: 12px 14px; color: #fff; display: grid; gap: 9px; backdrop-filter: blur(6px); }
.mapcard__title { font-size: 13px; font-weight: 600; }
.feature__body { background: #fff; border-radius: 12px; padding: 22px 70px 22px 22px; position: relative; }
.feature__body h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 10px 0 6px; }
.feature__body p { color: var(--gray); font-size: 15px; }
.feature__body .round { position: absolute; right: 18px; bottom: 18px; width: 40px; height: 40px; }
.date { display: inline-block; font-family: var(--mono); font-size: 11.5px; background: var(--sky-100); padding: 3px 9px; border-radius: 6px; color: var(--ink); }
.list { display: grid; }
.item { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.item:first-child { border-top: 1px solid var(--line); }
.item__thumb { height: 76px; border-radius: 10px; display: grid; place-items: center; }
.item__thumb .ic { width: 26px; height: 26px; }
.thumb--sky { background: var(--sky-200); color: var(--deep); }
.thumb--deep { background: var(--deep); color: var(--sky-300); }
.thumb--blue { background: linear-gradient(135deg, var(--blue), var(--blue-400)); color: #fff; }
.item__txt { display: grid; gap: 6px; }
.item__txt strong { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.item__txt small { color: var(--gray); font-size: 14px; line-height: 1.45; }

/* FAQ */
.faq { max-width: 780px; margin: 56px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq__ic { width: 30px; height: 30px; border-radius: 50%; background: var(--sky-50); color: var(--blue); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .2s; }
.faq details[open] .faq__ic { transform: rotate(45deg); background: var(--sky-200); color: var(--ink); }
.faq p { padding: 0 60px 24px 4px; color: var(--gray); font-size: 16px; line-height: 1.6; }

/* Final CTA */
.final { padding: 12px; }
.final__inner { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 620px; display: grid; grid-template-columns: minmax(0, 480px) 1fr; background: linear-gradient(120deg, #eaf4fb, #cfe9fb 55%, #a7d8f7); }
.final__art { position: absolute; inset: 0; background: radial-gradient(circle, rgba(15, 141, 230, .5) 1.3px, transparent 1.8px) 0 0 / 10px 10px; -webkit-mask: radial-gradient(55% 70% at 70% 50%, #000, transparent 72%); mask: radial-gradient(55% 70% at 70% 50%, #000, transparent 72%); }
.final__art::after { content: ""; position: absolute; right: -140px; top: 50%; width: 620px; height: 620px; transform: translateY(-50%); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 58px, rgba(255, 255, 255, .45) 59px 60px); -webkit-mask: radial-gradient(circle, #000 40%, transparent 70%); mask: radial-gradient(circle, #000 40%, transparent 70%); }
.final__card { position: relative; margin: 14px; background: var(--paper); border-radius: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.final__top { padding: 44px 36px; }
.final__top p { color: var(--ink-2); margin: 20px 0 30px; }
.final__link { border-top: 1px solid var(--line); padding: 24px 36px; display: grid; gap: 4px; }
.final__link strong { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-weight: 600; font-size: 17px; }
.final__link small { color: var(--gray); }
.final__stats { position: relative; align-self: center; justify-self: end; margin-right: 56px; display: grid; gap: 34px; text-align: right; }
.final__stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; color: var(--ink); }
.final__stats small { display: block; max-width: 200px; margin-left: auto; margin-top: 6px; color: var(--ink-2); }

/* Footer */
.footer { background: var(--ink); color: #d4d4d8; padding: 96px 0 0; position: relative; overflow: hidden; margin-top: 12px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.footer__logo-img { display: block; width: auto; height: 40px; filter: brightness(0) invert(1); }
.footer__tag { font-family: var(--serif); font-size: 34px; line-height: 1.12; color: #fff; margin-top: 30px; max-width: 380px; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .06); display: grid; place-items: center; color: #fff; transition: background .2s; }
.footer__social a:hover { background: var(--blue); }
.footer__social .ic { width: 17px; height: 17px; }
.footer__social[hidden] { display: none; }
.footer__pitch { margin-top: 30px; max-width: 360px; font-size: 15px; color: #a1a1aa; }
.footer__cta { margin-top: 18px; display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); padding: 8px 8px 8px 20px; border-radius: 999px; font-weight: 500; font-size: 14px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols h4 { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-300); margin-bottom: 16px; }
.footer__cols h4.mt { margin-top: 30px; }
.footer__cols a { display: block; font-size: 14.5px; padding: 6px 0; color: #d4d4d8; transition: color .2s; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 72px; padding: 26px 0; font-size: 13.5px; color: #a1a1aa; }
.footer__watermark { width: min(100% - 32px, var(--container)); margin: 8px auto 0; line-height: 0; user-select: none; pointer-events: none; opacity: .07; }
.footer__watermark img { display: block; width: 100%; height: auto; margin-bottom: -2.5%; filter: brightness(0) invert(1); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__actions .pill--soft { display: none; }
  .nav__burger { display: grid; }
  .mobile:not([hidden]) { display: grid; gap: 4px; padding: 8px 16px 20px; border-top: 1px solid var(--line); }
  .mobile a:not(.btn) { padding: 12px 8px; font-weight: 500; border-radius: 10px; }
  .mobile a:not(.btn):hover { background: var(--sky-50); }
  .mobile .btn { margin-top: 10px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust__logos { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .trust > .trust__card:nth-child(2) { border-left: 0; }
}
@media (max-width: 900px) {
  .section { padding: 88px 0; }
  .hero__grid, .row, .approach { grid-template-columns: 1fr; }
  .display { text-wrap: balance; }
  .hero__visual { justify-self: center; max-width: 440px; margin-top: 12px; }
  .row { gap: 32px; padding: 32px 0; }
  .row--flip .row__copy { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; grid-template-areas: "photo photo" "sky sky" "light deep"; }
  .stat--photo { min-height: 460px; }
  .final__inner { grid-template-columns: 1fr; }
  .final__stats { justify-self: start; text-align: left; margin: 20px 36px 44px; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .final__stats small { margin-left: 0; }
  .final__art::after { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash__side { display: none; }
}
@media (max-width: 640px) {
  .promo p { display: none; }
  .nav__inner { height: 68px; }
  .nav__actions .btn { display: none; }
  .hero { padding-top: 72px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .float { min-width: 0; font-size: 12px; padding: 10px 12px; }
  .float--a { left: 0; } .float--b { right: 0; } .float--c { left: 4%; }
  .trust { grid-template-columns: 1fr; }
  .trust > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .how__head { align-items: flex-start; }
  .tabs { width: 100%; overflow-x: auto; }
  .tab { white-space: nowrap; padding: 10px 14px; font-size: 13.5px; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .step h3 { min-height: 0; }
  .row__media { padding: 24px 16px 0; aspect-ratio: auto; min-height: 320px; }
  .mock__split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; grid-template-areas: "photo" "sky" "light" "deep"; }
  .quotes__nav { display: none; }
  .dash__row { grid-template-columns: 1.6fr 1fr; }
  .dash__row span:nth-child(2), .dash__row span:nth-child(3) { display: none; }
  .item { grid-template-columns: 64px 1fr; }
  .item .round { display: none; }
  .item__thumb { height: 64px; }
  .final__stats { grid-template-columns: 1fr; margin: 8px 28px 36px; }
  .final__top { padding: 32px 24px; }
  .final__link { padding: 20px 24px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .faq p { padding-right: 8px; }
  .seal { width: 80px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Button reset for pill elements */
button.pill {
  border: none;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

/* ============ VIDEO MODAL ============ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.video-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease, visibility 0s;
}
.video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 11, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}
.video-modal__box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  max-width: min(980px, (100vh - 112px) * 16 / 9);
  max-width: min(980px, (100dvh - 112px) * 16 / 9);
  background: #09090b;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .85), 0 0 50px rgba(15, 141, 230, .2);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-modal.is-open .video-modal__box {
  transform: scale(1);
}
.video-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.video-modal__title {
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.video-modal__title .dot {
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(15, 141, 230, .3);
}
.video-modal__close {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 12.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, transform .2s, border-color .2s;
}
.video-modal__close:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .35);
  transform: translateY(-1px);
}
.video-modal__close .ic {
  width: 14px;
  height: 14px;
}
.video-modal__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal__player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  outline: none;
}
/* vertical video: the 9:16 player plus the top bar always fit in the viewport (controls never clipped) */
.video-modal--vertical .video-modal__box { max-width: none; width: min(440px, 100%, (100vh - 112px) * 9 / 16); width: min(440px, 100%, (100dvh - 112px) * 9 / 16); }
.video-modal--vertical .video-modal__player { aspect-ratio: 9 / 16; }
.video-modal--vertical video { object-fit: contain; }

@media (max-width: 600px) {
  .video-modal { padding: 12px; }
  .video-modal__top { padding: 10px 14px; }
  .video-modal__title span { display: none; }
  .video-modal__box { max-width: min(980px, (100vh - 84px) * 16 / 9); max-width: min(980px, (100dvh - 84px) * 16 / 9); }
  .video-modal--vertical .video-modal__box { max-width: none; width: min(440px, 100%, (100vh - 84px) * 9 / 16); width: min(440px, 100%, (100dvh - 84px) * 9 / 16); }
}


/* ==========================================================================
   Méthodologie (section 2)
   ========================================================================== */
.method { background: linear-gradient(180deg, var(--linen) 0%, var(--paper) 100%); overflow: hidden; position: relative; z-index: 1; margin-top: -64px; padding-top: 184px; }
.method::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(15, 141, 230, .12) 1px, transparent 1.6px) 0 0 / 24px 24px;
  -webkit-mask: linear-gradient(to bottom, transparent, #000 120px, #000 calc(100% - 120px), transparent);
  mask: linear-gradient(to bottom, transparent, #000 120px, #000 calc(100% - 120px), transparent);
}
.method .container { position: relative; }
.method__top { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: center; }
.method__head { max-width: 640px; text-align: left; }
.method__head .h2 { margin-top: 14px; }
.method__cta { margin-top: 32px; }

/* Social Reel */
.method__social { display: flex; justify-content: flex-end; }
.social-reel-wrapper { position: relative; display: inline-block; width: 100%; max-width: 280px; }
.social-reel { cursor: pointer; padding: 0; border: none; outline: none; position: relative; width: 100%; aspect-ratio: 9/16; border-radius: 24px; overflow: hidden; background: var(--sky-200); box-shadow: 0 24px 48px rgba(10,25,47,.15), 0 0 0 4px rgba(255,255,255,.8) inset; transform: rotate(3deg); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.social-reel:hover { transform: rotate(0deg) scale(1.02); box-shadow: 0 32px 64px rgba(10,25,47,.2), 0 0 0 4px rgba(255,255,255,.8) inset; }
.social-reel__vid { width: 100%; height: 100%; object-fit: cover; display: block; }

.social-reel__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(10,25,47,0.35); opacity: 0; transition: opacity 0.3s var(--ease); z-index: 2; pointer-events: none; }
.social-reel:hover .social-reel__overlay { opacity: 1; }
.social-reel__play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; color: #fff; transform: scale(0.85); transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); border: 1px solid rgba(255,255,255,0.4); }
.social-reel__play .ic { width: 28px; height: 28px; margin-left: 4px; }
.social-reel:hover .social-reel__play { transform: scale(1); }

/* Hand-drawn annotation */
.social-reel__annotation { position: absolute; top: 12%; right: 100%; margin-right: 16px; width: 180px; color: var(--blue); font-family: 'Caveat', cursive; font-size: 26px; line-height: 1.1; text-align: right; transform: rotate(-4deg); display: flex; flex-direction: column; align-items: flex-end; z-index: 10; pointer-events: none; }
.hand-text { display: block; margin-bottom: -16px; margin-right: 32px; }
.hand-arrow { width: 70px; height: 70px; stroke: var(--blue); }

.social-reel__ui { position: absolute; bottom: 16px; left: 16px; right: 16px; display: flex; align-items: flex-end; pointer-events: none; z-index: 3; }
.social-reel__badge { background: rgba(0,0,0,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.1); }
.social-reel__badge::before { content: ""; display: block; width: 18px; height: 18px; background: url('../assets/badge-avatar.png') center/cover; border-radius: 50%; }

@media (max-width: 900px) {
  .method__top { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 40px; margin-bottom: 24px; }
  .method__head { text-align: center; }
  .method__social { justify-content: center; }
  .social-reel-wrapper { max-width: 260px; }
  .social-reel { transform: rotate(0deg); }
  
  /* note sits on the left of the reel and points at it (it used to overlap the button above) */
  .social-reel__annotation { top: 14%; width: min(180px, (100vw - 320px) / 2); font-size: 24px; }
}

.method__steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 64px 0 56px; padding: 0; position: relative; }
.method__line { position: absolute; top: auto; bottom: 19px; left: 12.5%; right: 12.5%; height: 2px; background: var(--sky-200); border-radius: 2px; }
.method__line::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--blue-400)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.method__steps.is-in .method__line::after { transform: scaleX(1); }

.phase { counter-increment: step; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.phase__node {
  position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 14px; font-weight: 500; background: var(--white); color: var(--gray); border: 2px solid var(--sky-200);
  transition: background .4s, color .4s, border-color .4s, box-shadow .4s; transition-delay: var(--d, .2s);
  order: 2;
}
.method__steps.is-in .phase__node { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 6px rgba(15, 141, 230, .12); }
.phase:nth-of-type(3) { --d: .6s; } .phase:nth-of-type(4) { --d: 1s; } .phase:nth-of-type(5) { --d: 1.4s; }

.phase__card {
  position: relative; flex: 1; width: 100%; margin-top: 0; margin-bottom: 24px; padding: 32px 24px 30px; border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .85); border: 1px solid rgba(15, 141, 230, .1); box-shadow: 0 1px 2px rgba(10, 28, 48, .04);
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  order: 1;
}
.phase__card::before { content: ""; position: absolute; left: 50%; top: auto; bottom: -25px; width: 1px; height: 25px; background: var(--sky-200); }
.phase:hover .phase__card { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(10, 28, 48, .1); border-color: var(--sky-200); }
.phase h3 { position: relative; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; }
.phase p { position: relative; font-size: 15.5px; line-height: 1.5; color: var(--gray); margin-top: 10px; max-width: 230px; }

@media (max-width: 900px) {
  .method__steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .method__line { display: none; }
}
@media (max-width: 560px) {
  .method__steps { grid-template-columns: 1fr; row-gap: 12px; margin: 40px 0 36px; }
  .phase__node { display: none; }
  .phase__card { margin-top: 0; margin-bottom: 0; padding: 20px; border-radius: var(--r-lg); align-items: flex-start; text-align: left; }
  .phase__card::before { display: none; }
  .phase h3 { font-size: 24px; }
  .phase h3::before { content: "0" counter(step); display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--blue); }
  .phase p { max-width: none; font-size: 15px; margin-top: 6px; }
}

/* ==========================================================================
   Réalisations dans le monde (carte interactive)
   ========================================================================== */
.geo { background: var(--white); }
.geo__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.geo__head .h2 { margin-top: 14px; }
.geo__stats { display: flex; gap: 12px; margin: 0; }
.geo__stats div { min-width: 112px; padding: 16px 20px; border-radius: var(--r-md); background: var(--linen); }
.geo__stats dt { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--blue); }
.geo__stats dd { margin: 6px 0 0; font-size: 14px; color: var(--gray); }

.geo__layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; margin-top: 48px; align-items: stretch; }
.geo__left { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

/* map frame: the canvas is sized by JS to cover the whole frame */
.geo__stage {
  position: relative; flex: 1; min-height: 440px; border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(120% 90% at 70% 0%, var(--sky-50), var(--linen) 70%); border: 1px solid rgba(15, 141, 230, .08);
}
.geo__map { position: absolute; inset: 0; }
.geo__canvas { position: absolute; left: 0; top: 0; width: 100%; transform-origin: 0 0; }
.geo__svg { display: block; width: 100%; height: auto; overflow: visible; }

.geo__dots, .geo__country { fill: none; stroke-linecap: round; stroke-width: 2.7; }
.geo__dots { stroke: #c9d7e4; }
.geo__country { stroke: var(--sky-300); cursor: pointer; pointer-events: visibleStroke; transition: stroke .35s; }
.geo__country:hover { stroke: var(--blue-400); }
.geo__country.is-active { stroke: var(--blue); }

/* reveal: the map sweeps in from left to right */
.geo__svg { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease) .1s; }
.geo__stage.is-in .geo__svg { clip-path: inset(0 0 0 0); }

.geo__arcs path { fill: none; stroke: var(--blue-400); stroke-width: 1.4; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .35; stroke-dasharray: .012 .012; animation: geo-flow 14s linear infinite; }
.geo__arcs path.is-active { opacity: 1; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: geo-draw 1.1s var(--ease) .25s forwards; }
@keyframes geo-flow { to { stroke-dashoffset: -1; } }
@keyframes geo-draw { to { stroke-dashoffset: 0; } }

/* pins + clickable labels, placed so neighbours never overlap */
.geo__pin {
  position: absolute; z-index: 1; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--blue); border: 3px solid #fff; box-shadow: 0 3px 10px rgba(15, 141, 230, .35);
  transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), background .3s;
  transition-delay: calc(1.2s + var(--i) * .12s);
}
.geo__stage.is-in .geo__pin { transform: scale(1); }
.geo__pin::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--blue-400); opacity: 0; animation: geo-ping 2.4s var(--ease) infinite; animation-delay: calc(var(--i) * .4s); }
@keyframes geo-ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.geo__pin.is-active { z-index: 2; background: var(--ink); box-shadow: 0 0 0 4px rgba(9, 9, 11, .15), 0 3px 10px rgba(9, 9, 11, .3); transition-delay: 0s; }

.geo__tip {
  --gap: 10px;
  position: absolute; left: 50%; bottom: calc(100% + var(--gap)); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; width: max-content; min-height: 44px; white-space: nowrap; padding: 6px 14px 6px 8px; border-radius: 14px;
  background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(10, 28, 48, .14); border: 1px solid transparent;
  font-size: 12px; font-weight: 600; line-height: 1; cursor: pointer;
  opacity: 0; transition: opacity .4s, background .25s, color .25s, border-color .25s, box-shadow .25s; transition-delay: calc(1.5s + var(--i) * .12s), 0s, 0s, 0s, 0s;
}
.geo__stage.is-in .geo__tip { opacity: 1; }
.geo__tip > img:first-child { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px var(--line); }
.geo__logo { display: block; height: var(--h, 20px); width: auto; }
.geo__soon { font-size: 11.5px; font-weight: 600; color: var(--gray); }
.geo__pin:hover .geo__tip { border-color: var(--sky-300); box-shadow: 0 6px 18px rgba(10, 28, 48, .18); }
.geo__pin.is-active .geo__tip { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(9, 9, 11, .1), 0 8px 22px rgba(10, 28, 48, .2); }
/* placement per country (France and Belgium are close: one left, one up-right) */
.geo__pin[data-id="fr"] .geo__tip { left: auto; bottom: auto; right: calc(100% + var(--gap) + 4px); top: 50%; transform: translateY(-50%); }
.geo__pin[data-id="be"] .geo__tip, .geo__pin[data-id="us"] .geo__tip { left: calc(100% + 2px); transform: none; }
.geo__pin[data-id="ma"] .geo__tip { bottom: auto; top: calc(100% + var(--gap)); }
/* Malaysia sits near the right edge: label on its left */
.geo__pin[data-id="my"] .geo__tip { left: auto; bottom: auto; right: calc(100% + var(--gap) + 4px); top: 50%; transform: translateY(-50%); }

/* project selector (with autoplay progress on the active one) */
.geo__tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.geo__tab {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 10px;
  border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.geo__tab:hover { border-color: var(--sky-300); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(10, 28, 48, .08); }
.geo__tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.geo__flag { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(10, 28, 48, .25); transition: transform .3s var(--ease); }
.geo__tab:hover .geo__flag, .geo__tab.is-active .geo__flag { transform: scale(1.1); }
.geo__tab.is-active .geo__flag { box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.geo__flag--sm { width: 18px; height: 18px; box-shadow: 0 0 0 1px var(--line); }

/* project panel (kept light) */
.geo__panel { display: flex; flex-direction: column; padding: 28px 32px 32px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); }
.geo__nav { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.geo__count { margin-right: auto; font-family: var(--mono); font-size: 12px; color: var(--gray); }
.geo__count b { color: var(--ink); font-weight: 500; }
.geo__arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; transition: background .2s, color .2s, border-color .2s; }
.geo__arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.geo__cases { flex: 1; }
.case { animation: geo-in .55s var(--ease) both; }
@keyframes geo-in { from { opacity: 0; transform: translateY(10px); } }
.case[hidden] { display: none; }
.case__logo { height: 60px; display: flex; align-items: center; }
.case__logo img { width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.case__logo--soon { gap: 10px; font-size: 14px; font-weight: 500; color: var(--gray); }
.case__logo--soon .ic { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--paper); border: 1px dashed var(--gray-2); }
.case__meta { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--gray); }
.case h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.01em; margin-top: 10px; }
.case__did { display: grid; gap: 10px; margin-top: 18px; }
.case__did li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.case__did li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.case__quote { margin-top: 18px; padding-left: 16px; border-left: 2px solid var(--sky-300); }
.case__quote p { font-family: var(--serif); font-size: 18.5px; line-height: 1.45; color: var(--ink); }
.case__quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13.5px; color: var(--gray); }
.case__soon { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--gray); }
.case__kpis { display: flex; gap: 32px; margin: 22px 0 0; padding-top: 18px; border-top: 1px dashed var(--line); }
.case__kpis dt { font-family: var(--serif); font-size: 36px; line-height: 1; color: var(--blue); }
.case__kpis dt small { font-size: .45em; vertical-align: super; }
.case__kpis dd { margin: 4px 0 0; font-size: 13px; color: var(--gray); }

@media (max-width: 1100px) {
  .geo__layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .geo__stage { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
  .geo__panel { padding: 22px 24px 26px; }
}
@media (max-width: 560px) {
  .geo__stats div { min-width: 0; padding: 12px 16px; }
  .geo__stats dt { font-size: 34px; }
  .geo__stage { aspect-ratio: 2 / 1; }
  .geo__tip { --gap: 7px; font-size: 10.5px; padding: 3px 8px 3px 3px; gap: 4px; }
  .geo__tip > img:first-child { width: 13px; height: 13px; }
  .geo__tip { min-height: 34px; padding: 4px 10px 4px 6px; border-radius: 10px; }
  .geo__logo { height: calc(var(--h, 20px) * .75); }
  .geo__pin:not(.is-active) .geo__tip { display: none; }
  .geo__pin { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-width: 2px; }
  .geo__tabs { display: flex; overflow-x: auto; margin-inline: -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .geo__tab { flex: none; padding: 8px 14px 8px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .geo__svg { clip-path: none; }
  .geo__pin { transform: none; }
  .geo__tip { opacity: 1; }
}

/* ==========================================================================
   Ingénierie (Alexandre) + impact en chiffres
   ========================================================================== */
.team { background: var(--linen); overflow: hidden; }
.team__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.team__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.team__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 30%; transition: transform 1.2s var(--ease); }
.team__photo:hover img { transform: scale(1.03); }
.team__photo figcaption {
  position: absolute; left: 16px; bottom: 16px; display: grid; gap: 2px; padding: 12px 16px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.team__photo figcaption b { font-size: 15px; font-weight: 600; }
.team__photo figcaption span { font-size: 13px; color: var(--gray); }
.team__text { margin-top: 22px; font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 560px; }
.team__points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.team__points li { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.team__points li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue); }
.team__points strong { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 600; color: var(--ink); }
.team__points li > span:last-child { font-size: 14.5px; line-height: 1.5; color: var(--gray); }

.impact { margin-top: 80px; }
.impact__title { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.01em; }
.impact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.impact__item { display: grid; gap: 10px; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.impact__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.impact__item:nth-child(2) { background: var(--deep); color: #fff; border-color: var(--deep); }
.impact__num { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 5.5vw, 72px); line-height: 1; letter-spacing: -.02em; color: var(--blue); }
.impact__item:nth-child(2) .impact__num { color: var(--sky-300); }
.impact__item span { font-size: 15.5px; color: var(--gray); }
.impact__item:nth-child(2) span { color: var(--sky-200); }
.impact__note { margin-top: 14px; font-size: 13px; color: var(--gray); text-align: right; }

@media (max-width: 900px) {
  .team__grid { grid-template-columns: 1fr; gap: 40px; }
  .team__photo { aspect-ratio: 4 / 3; }
  .team__points { grid-template-columns: 1fr; }
  .impact { margin-top: 56px; }
  .impact__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Téléphone (portrait) : mise en page repensée pour le vertical.
   Tout est scopé ≤ 640px : le rendu desktop / horizontal ne change pas.
   ========================================================================== */
@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  .container { width: min(100% - 40px, var(--container)); }
  .section { padding: 64px 0; }
  .hl { white-space: nowrap; }
  .display { font-size: clamp(36px, 10.4vw, 44px); line-height: 1.04; text-wrap: balance; }
  .h2 { font-size: clamp(28px, 7.8vw, 32px); text-wrap: balance; }
  .lead { font-size: 16.5px; margin-top: 14px; text-wrap: balance; }

  /* primary CTAs span the full width, label centred */
  .hero__ctas .btn, .method__cta .btn, .final__top .btn, .mobile .btn { display: flex; width: 100%; }
  .hero__ctas .btn__label, .method__cta .btn__label, .final__top .btn__label, .mobile .btn__label { flex: 1; text-align: center; padding: 16px 20px; }
  .hero__ctas .btn__arrow, .method__cta .btn__arrow, .final__top .btn__arrow, .mobile .btn__arrow { width: 48px; height: 48px; }

  /* Nav */
  .promo { padding: 10px 16px; }
  .nav { border-radius: 0 0 16px 16px; }
  .nav__inner { min-height: 64px; height: auto; padding: 8px 0; gap: 12px; }
  .logo__img { height: 38px; }
  .nav__burger { width: 44px; height: 44px; }

  /* Mobile menu: fills the screen under the bar, large tap targets */
  .mobile:not([hidden]) {
    gap: 0; padding: 4px 20px 28px; align-content: start; overflow-y: auto; overscroll-behavior: contain;
    min-height: calc(100vh - var(--menu-top, 108px)); max-height: calc(100vh - var(--menu-top, 108px));
    min-height: calc(100dvh - var(--menu-top, 108px)); max-height: calc(100dvh - var(--menu-top, 108px));
  }
  .mobile a:not(.btn) { display: flex; align-items: center; justify-content: space-between; padding: 17px 2px; font-size: 19px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .mobile a:not(.btn)::after {
    content: ""; width: 18px; height: 18px; background: var(--gray-2);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .mobile a:not(.btn):hover { background: none; }
  .mobile .btn { margin-top: 28px; }

  /* Hero */
  .hero { margin-top: -16px; padding: 56px 0 40px; border-bottom-left-radius: 36px; border-bottom-right-radius: 36px; }
  .hero__grid { gap: 28px; }
  .hero__lead { font-size: 17px; margin-top: 18px; }
  .hero__ctas { align-items: stretch; gap: 10px; margin-top: 28px; }
  .hero__ctas .pill { justify-content: center; padding: 15px 20px; font-size: 15px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--line); }
  .hero__visual { max-width: 300px; margin-top: 0; }
  .trust { margin-top: 36px; }
  .trust__logos { padding: 20px 18px; gap: 14px; }
  .trust__card { padding: 18px 20px; }
  .trust__card strong { font-size: 18px; }
  .trust__card small { font-size: 13.5px; margin-top: 4px; }

  /* Méthode */
  .method { margin-top: -36px; padding-top: 100px; }
  .method__top { gap: 32px; margin-bottom: 0; }
  .method__head { width: 100%; }
  .method__cta { margin-top: 24px; }
  /* reel on the right, hand-written note on its left (same idea as desktop) */
  .method__social { width: 100%; justify-content: flex-end; }
  .social-reel-wrapper { max-width: 52%; margin-right: 3%; }
  .social-reel { border-radius: 20px; transform: rotate(2deg); }
  .social-reel__annotation { left: auto; right: 100%; top: 20%; margin-right: 12px; width: 132px; font-size: 23px; text-align: right; align-items: flex-end; transform: rotate(-5deg); }
  .hand-text { margin: 0 14px -8px 0; }
  .hand-arrow { width: 54px; height: 54px; margin: 0; transform: none; }
  .social-reel__ui { left: 10px; right: 10px; bottom: 10px; }
  .social-reel__badge { font-size: 11.5px; padding: 5px 10px 5px 6px; }
  .social-reel__badge::before { width: 16px; height: 16px; }
  .method__steps { margin: 36px 0 0; row-gap: 10px; }
  .phase__card { padding: 18px 20px; }
  .phase h3 { font-size: 23px; }

  /* Exemples : the 6 choices are all visible, steps read as a compact timeline */
  .how__head { gap: 24px; }
  .how__head > div { width: 100%; }
  .how__head .h2 { margin-top: 18px; }
  .how__lead { font-size: 16px; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; overflow: visible; border-radius: 18px; padding: 4px; gap: 4px; }
  .tab { white-space: normal; padding: 12px 8px; font-size: 13.5px; line-height: 1.25; border-radius: 14px; text-align: center; }
  .tab:not(.is-active) { background: rgba(255, 255, 255, .06); }
  .how__before { display: flex; align-items: flex-start; margin-top: 28px; font-size: 15px; line-height: 1.45; }
  .how__before b { flex: none; margin-top: 1px; }
  .how__before ~ .steps { margin-top: 18px; }
  .steps { gap: 12px; }
  .step { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: start; padding: 16px 18px 18px; text-align: left; border-radius: 16px; background: linear-gradient(100deg, #fff 62%, #e3f2fd 100%); }
  .step__n { grid-row: span 2; }
  .step h3 { margin: 0; min-height: 0; padding-top: 6px; font-size: 17px; line-height: 1.3; }
  .step p { border-top: 0; padding-top: 4px; font-size: 14.5px; color: var(--gray); }
  /* the pinched "bridge" between cards, turned vertical */
  .step:not(:last-child)::after {
    display: block; left: 35px; right: auto; top: auto; bottom: -14px; width: 32px; height: 16px; transform: translateX(-50%);
    -webkit-mask: radial-gradient(circle at -9px 50%, transparent 13px, #000 13.5px) left / 51% 100% no-repeat,
                  radial-gradient(circle at calc(100% + 9px) 50%, transparent 13px, #000 13.5px) right / 51% 100% no-repeat;
            mask: radial-gradient(circle at -9px 50%, transparent 13px, #000 13.5px) left / 51% 100% no-repeat,
                  radial-gradient(circle at calc(100% + 9px) 50%, transparent 13px, #000 13.5px) right / 51% 100% no-repeat;
  }

  /* Réalisations */
  .geo__head { gap: 20px; }
  .geo__stats { gap: 8px; }
  .geo__stats div { display: flex; align-items: baseline; gap: 8px; padding: 10px 14px; border-radius: 14px; }
  .geo__stats dt { font-size: 28px; }
  .geo__stats dd { margin: 0; font-size: 13.5px; }
  .geo__layout { margin-top: 28px; gap: 12px; }
  .geo__left { gap: 10px; }
  .geo__stage { aspect-ratio: 16 / 10; border-radius: 20px; }
  .geo__tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; overflow: visible; }
  .geo__tab { flex-direction: column; gap: 6px; padding: 10px 2px 9px; font-size: 11.5px; letter-spacing: -.01em; border-radius: 14px; }
  .geo__panel { padding: 20px 20px 24px; border-radius: 20px; }
  .geo__nav { margin-bottom: 14px; }
  .geo__arrow { width: 40px; height: 40px; }
  .case__logo { height: 52px; }
  .case h3 { font-size: 23px; }
  .case__did li { font-size: 14.5px; }
  .case__quote p { font-size: 17px; }
  .case__kpis { gap: 24px; }
  .case__kpis dt { font-size: 30px; }

  /* Équipe */
  .team__grid { gap: 28px; }
  .team__photo { border-radius: 22px; }
  .team__photo figcaption { left: 12px; bottom: 12px; padding: 10px 14px; }
  .team__text { margin-top: 16px; font-size: 16.5px; }
  .team__points { gap: 10px; margin-top: 22px; }
  .team__points li { flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px; }
  .team__ic { width: 40px; height: 40px; flex: none; }
  .team__points strong { font-size: 15.5px; }
  .team__points li > span:last-child { font-size: 14px; }

  /* Témoignages */
  .quotes { padding: 64px 0 56px; }
  .quotes__mark { width: 42px; height: 42px; }
  .quotes__viewport { margin-top: 22px; touch-action: pan-y; }
  .quote blockquote { font-size: 21px; line-height: 1.4; }
  .quote figcaption { margin-top: 24px; }
  .avatar--lg { width: 42px; height: 42px; font-size: 16px; }
  .quotes__chips { flex-wrap: nowrap; margin-top: 30px; }
  .qchip { padding: 10px 16px; }
  .qchip b { margin: 0; }
  .qchip span { display: none; }

  /* FAQ */
  .faq { margin-top: 32px; }
  .faq summary { gap: 14px; padding: 18px 2px; font-size: 16px; line-height: 1.4; }
  .faq__ic { width: 28px; height: 28px; }
  .faq p { padding: 0 4px 20px 2px; font-size: 15px; }

  /* Contact final */
  .final { padding: 8px; }
  .final__inner { min-height: 0; border-radius: 24px; }
  .final__card { margin: 8px; border-radius: 18px; }
  .final__top { padding: 28px 22px 26px; }
  .final__top p { margin: 14px 0 24px; font-size: 15.5px; }
  .final__link { padding: 18px 22px; }
  .final__link strong { font-size: 16px; }
  .final__stats { justify-self: stretch; grid-template-columns: 1fr; gap: 0; margin: 2px 24px 20px; text-align: left; }
  .final__stats div { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px; padding: 14px 0; }
  .final__stats div + div { border-top: 1px solid rgba(9, 9, 11, .08); }
  .final__stats b { font-size: 30px; }
  .final__stats small { max-width: none; margin: 0; font-size: 14px; }

  /* Footer */
  .footer { padding-top: 56px; }
  .footer__grid { gap: 40px; }
  .footer__tag { margin-top: 22px; font-size: 27px; }
  .footer__pitch { margin-top: 18px; font-size: 14.5px; }
  .footer__cols { gap: 28px 20px; }
  .footer__cols h4 { margin-bottom: 8px; }
  .footer__cols h4.mt { margin-top: 24px; }
  .footer__cols a { padding: 8px 0; }
  /* Légal and Contact side by side, spanning both columns */
  .footer__cols > div:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 20px; align-content: start; }
  .footer__cols > div:last-child h4.mt { margin-top: 0; }
  .footer__bottom { flex-direction: column; gap: 4px; margin-top: 40px; padding: 20px 0; font-size: 13px; }
  .footer__watermark { width: calc(100% - 40px); }
}

@media (max-width: 360px) {
  .geo__tabs { gap: 4px; }
  .geo__tab { font-size: 10px; letter-spacing: -.02em; }
  .geo__tab .geo__flag { width: 22px; height: 22px; }
  .tab { font-size: 12.5px; padding: 11px 6px; }
  .final__stats div { grid-template-columns: 84px 1fr; }
  .final__stats b { font-size: 26px; }
  .social-reel__annotation { width: 112px; font-size: 20px; }
}

/* Écrans tactiles : pas d'effets de survol qui « collent » après un tap, et le bouton lecture de la vidéo reste visible */
@media (hover: none) {
  .phase:hover .phase__card, .team__points li:hover, .impact__item:hover, .geo__tab:hover { transform: none; box-shadow: none; }
  .social-reel:hover { transform: rotate(3deg); }
  .social-reel__overlay { opacity: 1; background: linear-gradient(180deg, rgba(10, 25, 47, 0) 40%, rgba(10, 25, 47, .35)); }
  .social-reel__play { width: 52px; height: 52px; transform: none; }
  .social-reel__play .ic { width: 22px; height: 22px; }
}
@media (hover: none) and (max-width: 900px) {
  .social-reel:hover { transform: none; }
}
@media (hover: none) and (max-width: 640px) {
  .social-reel:hover { transform: rotate(2deg); }
}

/* ==========================================================================
   Pages légales (mentions, confidentialité, CGV) et page 404
   ========================================================================== */
.nav__actions .nav__back { display: inline-flex; }
.nav__back .ic { color: var(--blue); }

.legal__hero { position: relative; overflow: hidden; margin-top: -20px; padding: 88px 0 56px; background: linear-gradient(180deg, #f5f9fc 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.legal__field {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(circle, rgba(15, 141, 230, .42) 1.1px, transparent 1.6px) 0 0 / 9px 9px;
  -webkit-mask: radial-gradient(45% 80% at 88% 30%, #000, transparent 75%); mask: radial-gradient(45% 80% at 88% 30%, #000, transparent 75%);
}
.legal__head { position: relative; }
.legal__crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--gray); }
.legal__crumbs a { transition: color .2s; }
.legal__crumbs a:hover { color: var(--blue); }
.legal__head .h2 { margin-top: 18px; max-width: 820px; font-size: clamp(36px, 5vw, 56px); }
.legal__intro { margin-top: 18px; max-width: 680px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.legal__updated { display: inline-flex; margin-top: 22px; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 12px; color: var(--gray); }

.legal__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; padding: 64px 0 88px; }
.legal__aside { position: sticky; top: 112px; display: grid; gap: 16px; }
.legal__toc { padding: 6px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.legal__toc summary { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); cursor: pointer; list-style: none; }
.legal__toc summary::-webkit-details-marker { display: none; }
.legal__toc summary .ic { color: var(--gray); transition: transform .25s; }
.legal__toc[open] summary .ic { transform: rotate(180deg); }
.legal__toc ol { margin: 0; padding: 0 0 4px; list-style: none; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: flex; gap: 10px; padding: 8px 12px; border-radius: 10px; font-size: 14px; line-height: 1.4; color: var(--ink-2); transition: background .2s, color .2s; }
.legal__toc a::before { content: counter(toc, decimal-leading-zero); padding-top: 1px; font-family: var(--mono); font-size: 12px; color: var(--gray-2); }
.legal__toc a:hover, .legal__toc a.is-active { background: var(--sky-50); color: var(--ink); }
.legal__toc a.is-active::before { color: var(--blue); }
.legal__help { display: grid; gap: 8px; padding: 20px; border-radius: var(--r-lg); background: var(--deep); color: #fff; }
.legal__help strong { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; }
.legal__help p { font-size: 14px; line-height: 1.5; color: var(--sky-200); }
.legal__help a { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 9px 14px; border-radius: 999px; background: var(--sky-200); color: var(--ink); font-size: 13.5px; font-weight: 500; transition: background .2s; }
.legal__help a:hover { background: #fff; }

.legal__body { max-width: 760px; counter-reset: sec; }
.legal__body section { counter-increment: sec; scroll-margin-top: 24px; }
.legal__body section + section { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.legal__body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.01em; }
.legal__body h2::before { content: counter(sec, decimal-leading-zero); display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--blue); }
.legal__body p, .legal__body li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.legal__body p { margin-top: 14px; }
.legal__body ul { display: grid; gap: 8px; margin-top: 14px; }
.legal__body li { position: relative; padding-left: 20px; }
.legal__body li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.legal__body a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal__body strong { font-weight: 600; color: var(--ink); }
.legal__dl { display: grid; margin: 18px 0 0; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; }
.legal__dl div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 13px 18px; }
.legal__dl div + div { border-top: 1px solid var(--line); }
.legal__dl dt { padding-top: 3px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--gray); }
.legal__dl dd { margin: 0; font-size: 15.5px; color: var(--ink); }
.legal__todo { padding: 1px 6px; border-radius: 6px; background: #fef3c7; color: #92400e; font-size: .94em; font-weight: 500; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.legal__others { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-bottom: 96px; }
.legal__card { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.legal__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sky-200); }
.legal__card-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--sky-100); color: var(--blue); }
.legal__card > span:nth-child(2) { flex: 1; min-width: 0; }
.legal__card strong { display: block; font-size: 17px; font-weight: 600; }
.legal__card small { display: block; margin-top: 2px; font-size: 14px; color: var(--gray); }

.notfound { position: relative; overflow: hidden; margin-top: -20px; padding: 132px 0 120px; text-align: center; background: linear-gradient(180deg, #f5f9fc 0%, var(--paper) 100%); }
.notfound__inner { position: relative; }
.notfound__code { font-family: var(--serif); font-size: clamp(96px, 18vw, 180px); line-height: 1; letter-spacing: -.04em; color: var(--blue); }
.notfound .h2 { margin-top: 10px; }
.notfound__text { max-width: 460px; margin: 16px auto 0; font-size: 17px; color: var(--gray); }
.notfound__ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 32px; }

@media (max-width: 900px) {
  .legal__layout { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 64px; }
  .legal__aside { position: static; }
  .legal__help { display: none; }
  .legal__others { grid-template-columns: 1fr; gap: 10px; padding-bottom: 64px; }
}
@media (max-width: 640px) {
  .nav__actions .nav__back { padding: 10px 14px; }
  .legal__hero { margin-top: -16px; padding: 52px 0 36px; }
  .legal__head .h2 { font-size: clamp(32px, 9vw, 40px); }
  .legal__intro { font-size: 15.5px; }
  .legal__updated { margin-top: 18px; }
  .legal__body h2 { font-size: 24px; }
  .legal__body p, .legal__body li { font-size: 15.5px; }
  .legal__body section + section { margin-top: 32px; padding-top: 32px; }
  .legal__dl div { grid-template-columns: 1fr; gap: 2px; padding: 12px 16px; }
  .legal__card { gap: 14px; padding: 16px 18px; }
  .legal__card strong { font-size: 16px; }
  .legal__card small { font-size: 13.5px; }
  .notfound { margin-top: -16px; padding: 88px 0 72px; }
  .notfound__ctas { flex-direction: column; align-items: stretch; }
  .notfound__ctas .btn { display: flex; }
  .notfound__ctas .btn__label { flex: 1; text-align: center; padding: 16px 20px; }
  .notfound__ctas .btn__arrow { width: 48px; height: 48px; }
  .notfound__ctas .pill { justify-content: center; padding: 15px 20px; font-size: 15px; }
}
