/* Blackout Browser — site de lancement
   Aucune ressource externe : polices, pictogrammes et scripts sont servis par le site. */

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  /* Nuit */
  --night: #0b0c10;
  --void: #050608;        /* plus noir que la nuit : mode protégé */
  --panel: #12141a;
  --panel-2: #181b23;
  --line: #262a35;
  /* Lumière froide de l'anneau */
  --ink: #eef1ff;
  --muted: #9ba1b6;       /* 7,4:1 sur --night */
  --faint: #7d8399;      /* 5:1 sur --night */
  /* Étincelle : le seul accent chaud */
  --spark: #ffd9a0;
  --ember: #ffb070;
  --ember-line: rgba(255, 176, 112, .42);

  --cjk: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK JP", "Noto Sans CJK SC";
  --font-display: "Unbounded", "Arial Black", var(--cjk), system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, var(--cjk), system-ui, sans-serif;

  --gutter: 16px;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
}
:root:lang(ja) {
  --cjk: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", "Noto Sans JP";
}
:root:lang(zh) {
  --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC";
}
@media (min-width: 600px) { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
:lang(ja) body, :lang(zh) body { line-height: 1.8; }

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }
img { max-width: 100%; height: auto; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute; left: var(--gutter); top: 8px; z-index: 10;
  padding: 10px 16px;
  background: var(--ink); color: var(--night);
  border-radius: 999px; font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ─── Typographie ────────────────────────────────────── */
h2 {
  font: 500 clamp(26px, 4.2vw, 44px)/1.12 var(--font-display);
  letter-spacing: -0.015em;
  max-width: 22ch;
  text-wrap: balance;
}
h3 { font-size: 18px; line-height: 1.35; font-weight: 600; }
.section-intro {
  margin-top: 18px;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 19px);
}
.note { color: var(--faint); font-size: 14px; }
.eyebrow { color: var(--muted); font-size: 15px; font-weight: 500; }

:lang(ja) h1, :lang(ja) h2, :lang(ja) h3,
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 {
  letter-spacing: 0 !important;
  font-weight: 700;
  line-height: 1.35;
}
:lang(ja) *, :lang(zh) * { letter-spacing: 0 !important; }
:lang(ja) h2, :lang(zh) h2 { max-width: 18em; }
:lang(ja), :lang(zh) { line-break: strict; }
/* Japonais : titres coupés entre les syntagmes, pas au milieu d'un mot (Chrome 119+, ignoré ailleurs) */
:lang(ja) :is(h1, h2, h3, .decode) { word-break: auto-phrase; }

.link-quiet {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--faint);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.link-quiet:hover { text-decoration-color: var(--spark); }

/* L'étincelle, en petit : signal « bientôt » */
.soon-dot {
  flex: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--spark);
  box-shadow: 0 0 0 3px rgba(255, 217, 160, .12), 0 0 14px 2px rgba(255, 176, 112, .7);
}

/* ─── En-tête ────────────────────────────────────────── */
.site-header { border-bottom: 1px solid var(--line); }
.header-row {
  display: flex; align-items: center; gap: 12px;
  min-height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font: 600 17px/1 var(--font-display);
  letter-spacing: .01em;
}
.brand-mark {
  width: 28px; height: 28px; color: var(--ink);
  filter: drop-shadow(0 0 5px rgba(210, 220, 255, .55));
}
.sections-nav { display: none; margin-left: auto; }
.sections-nav ul { display: flex; gap: 4px; }
.sections-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 10px;
  color: var(--muted); text-decoration: none; font-size: 15px;
}
.sections-nav a:hover { color: var(--ink); }
.lang { margin-left: auto; position: relative; }
.lang-menu summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: 14px;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after {
  content: ""; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.lang-menu[open] summary { color: var(--ink); border-color: var(--faint); }
.lang-menu ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
  min-width: 170px; padding: 6px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.lang-menu a {
  display: flex; align-items: center; min-height: 42px; padding: 0 12px;
  border-radius: 8px; text-decoration: none; color: var(--muted);
}
.lang-menu a:hover { background: var(--panel-2); color: var(--ink); }
.lang-menu a[aria-current="page"] { color: var(--ink); }
.lang-menu a[aria-current="page"]::after {
  content: ""; margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--spark);
}
.header-cta { display: none; }

@media (min-width: 720px) {
  .header-cta {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
    border: 1px solid var(--ember-line); border-radius: 999px;
    color: var(--spark); text-decoration: none; font-size: 14px; font-weight: 500;
    white-space: nowrap;
  }
  .header-cta:hover { background: rgba(255, 176, 112, .08); }
}
@media (min-width: 1080px) {
  .sections-nav { display: block; }
  .lang { margin-left: 8px; }
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  padding-block: 20px 72px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 22%, rgba(120, 132, 190, .10), transparent 70%),
    var(--night);
}
.hero-grid { display: grid; gap: 8px; align-items: center; }
.eye-stage {
  justify-self: center;
  width: calc(100% + 2 * var(--gutter));
  max-width: 560px;
  display: flex; flex-direction: column; align-items: center;
}
#eye {
  display: block;
  width: 100%; aspect-ratio: 1;
  touch-action: pan-y;            /* le défilement vertical reste possible sur mobile */
  cursor: crosshair;
  -webkit-tap-highlight-color: transparent;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 28px; }
.hero-title {
  font: 600 clamp(28px, 5.4vw, 60px)/1.1 var(--font-display);
  letter-spacing: -0.02em;
  max-width: 16ch;
}
:lang(ja) .hero-title, :lang(zh) .hero-title { max-width: 14em; font-size: clamp(28px, 4.6vw, 52px); }
/* Toutes les phrases empilées dans la même case : la hauteur ne saute pas quand elles changent */
.decode { display: grid; text-wrap: balance; }
.decode > * { grid-area: 1 / 1; }
.decode-ghost { visibility: hidden; }
.decode .scr { position: relative; color: transparent; }
.decode .scr::after {
  content: attr(data-g);
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  color: var(--spark); opacity: .75;
}
.decode .hot { color: #fff4dc; opacity: 1; text-shadow: 0 0 10px rgba(255, 217, 160, .75); }
.lede { max-width: 50ch; color: var(--muted); font-size: clamp(17px, 1.7vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 6px; }
.soon {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 22px 0 18px;
  border: 1px solid var(--ember-line); border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 176, 112, .07), rgba(255, 176, 112, .02));
  color: var(--spark); font-weight: 600; font-size: 16px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
a.soon:hover { background: rgba(255, 176, 112, .14); border-color: var(--spark); }
a.soon:focus-visible, .plan-cta:focus-visible, .store-badge:focus-visible { outline: 2px solid var(--spark); outline-offset: 3px; }

@media (min-width: 900px) {
  .hero { padding-block: 40px 112px; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; }
  .eye-stage { grid-column: 2; grid-row: 1; width: 100%; max-width: 680px; }
  .hero-copy { grid-column: 1; grid-row: 1; padding-top: 0; }
}

/* ─── Sections ───────────────────────────────────────── */
.why, .features, .modes, .pricing, .promise, .faq { padding-block: clamp(72px, 10vw, 136px); }
.why { border-top: 1px solid var(--line); }

/* Pourquoi : trois constats, chacun marqué d'une fente de pupille */
.why-list { display: grid; gap: 32px; margin-top: 48px; }
.why-list li { position: relative; padding-left: 28px; }
.why-list li::before {
  content: ""; position: absolute; left: 4px; top: 4px;
  width: 6px; height: 22px; border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 10px rgba(210, 220, 255, .6);
}
.why-list h3 { font-size: 19px; }
.why-list p { margin-top: 8px; color: var(--muted); max-width: 40ch; }
.why-answer {
  margin-top: 56px; max-width: 34ch;
  font: 500 clamp(20px, 2.4vw, 26px)/1.4 var(--font-body);
  color: var(--ink);
}
@media (min-width: 820px) {
  .why-list { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

/* Fonctions */
.features { background: linear-gradient(180deg, var(--night), #0e1016 40%, var(--night)); }
.features-grid { display: grid; gap: 48px; }
.feature-list { display: grid; gap: 36px 40px; }
.feature { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto 1fr; column-gap: 16px; align-items: start; align-content: start; }
.feature-ic {
  grid-row: span 2;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--panel-2); border: 1px solid var(--line);
}
.feature-ic svg { width: 22px; height: 22px; color: var(--ink); }
.feature h3 { padding-top: 10px; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.phone-slot { display: flex; justify-content: center; }

@media (min-width: 640px) {
  .feature-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .features-grid { grid-template-columns: minmax(0, 1fr) 320px; column-gap: 72px; row-gap: 56px; }
  .features-head { grid-column: 1; }
  .feature-list { grid-column: 1; }
  .phone-slot { grid-column: 2; grid-row: 1 / span 2; align-items: flex-start; }
  .phone-slot .phone { position: sticky; top: 32px; }
}

/* Deux fonctions à la loupe */
.spots {
  display: grid; gap: 72px;
  margin-top: clamp(72px, 9vw, 120px);
}
.spot { display: grid; gap: 28px; justify-items: center; }
.spot-copy { max-width: 46ch; justify-self: stretch; }
.spot-copy h3 { font: 500 clamp(20px, 2.2vw, 24px)/1.25 var(--font-display); letter-spacing: -0.01em; margin-top: 14px; }
.spot-copy h3:first-child { margin-top: 0; }
.spot-copy p:not(.tier) { margin-top: 12px; color: var(--muted); }
.spot-copy .spot-note { font-size: 15px; color: var(--faint); }
.phone-spot { --ph: min(300px, 84vw); }
.spot-visual { order: 2; }
.shield-legend { display: grid; gap: 10px; margin-top: 20px; }
.shield-legend li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.shield-legend .sh {
  width: 30px; height: 30px; padding: 4px;
  border-radius: 50%; background: #1b1e27; border: 1px solid var(--line);
}
@media (min-width: 900px) {
  .spots { gap: 96px; }
  .spot { grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(48px, 7vw, 96px); align-items: center; justify-items: start; }
  .spot:nth-child(even) { grid-template-columns: minmax(0, 1fr) auto; }
  .spot:nth-child(odd) .spot-visual { order: 0; }
  .spot:nth-child(even) .spot-copy { justify-self: end; }
  .spot-copy { max-width: 52ch; }
}

/* Détails + barre d'adresse */
.details {
  display: grid; gap: 48px;
  margin-top: clamp(72px, 9vw, 120px);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
  align-items: center;
}
.details-title { font: 500 clamp(20px, 2.4vw, 26px)/1.25 var(--font-display); letter-spacing: -0.01em; max-width: 24ch; }
.details-list { margin-top: 24px; display: grid; gap: 12px 32px; }
.details-list li { position: relative; padding-left: 22px; color: var(--muted); font-size: 16px; }
.details-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--faint);
}
@media (min-width: 640px) { .details-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .details { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 72px; } }

/* ─── Maquettes de téléphone (HTML/CSS, l'app bloque les captures) ─── */
.phone {
  --ph: 300px;
  position: relative;
  width: var(--ph);
  max-width: 100%;
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 44px;
  background: #16181f;
  border: 1px solid #2c303c;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .03),
    0 40px 80px -30px rgba(0, 0, 0, .9),
    0 0 60px -20px rgba(160, 175, 240, .18);
  font-size: calc(var(--ph) / 20);  /* tout le contenu est en em : la maquette se met à l'échelle */
  line-height: 1.35;
}
.phone-screen {
  position: relative; height: 100%;
  border-radius: 34px;
  background: #07080b;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.ph-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1em 1.6em .2em; font-size: .72em; color: var(--muted);
}
.ph-status-icons { width: 3.2em; height: .8em; border-radius: 3px; background: linear-gradient(90deg, var(--muted) 0 30%, transparent 30% 40%, var(--muted) 40% 62%, transparent 62% 72%, var(--muted) 72%); opacity: .7; }
.ph-home { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 0 1.3em; min-height: 0; }
.ph-eye { width: 8.6em; height: 8.6em; display: block; margin-top: -.4em; }
.ph-appname { font-weight: 700; font-size: 1.12em; margin-top: -1em; }
.ph-tag { color: var(--muted); font-size: .8em; margin-top: .15em; }
.ph-search {
  display: flex; align-items: center; gap: .7em;
  width: 100%; margin-top: 1.1em; padding: .85em 1em;
  border-radius: 2em; background: #1b1e27; color: var(--muted); font-size: .78em;
  white-space: nowrap; overflow: hidden;
}
.ph-search span { overflow: hidden; text-overflow: ellipsis; }
.ph-search svg { width: 1.35em; height: 1.35em; flex: none; }
.ph-label { align-self: stretch; margin-top: 1.3em; font-size: .74em; font-weight: 600; color: var(--ink); }
.ph-seg {
  align-self: stretch; display: grid; grid-template-columns: 1fr 1fr;
  margin-top: .6em; border: 1px solid #3a3f4d; border-radius: 2em; overflow: hidden; font-size: .72em;
}
.ph-seg span { text-align: center; padding: .45em 0; color: var(--muted); }
.ph-seg .on { background: #262a36; color: var(--ink); }
.ph-seg span + span { border-left: 1px solid #3a3f4d; }
.ph-sum { align-self: stretch; margin-top: .6em; font-size: .66em; color: var(--muted); }
.ph-feats { align-self: stretch; display: grid; gap: .6em; margin-top: .7em; }
.ph-feats li { display: flex; align-items: center; gap: .8em; font-size: .74em; font-weight: 600; }
.ph-ic { flex: none; width: 2.3em; height: 2.3em; border-radius: .7em; background: #232734; display: grid; place-items: center; }
.ph-ic svg { width: 1.25em; height: 1.25em; color: #dfe4ff; }

/* Barre du bas (commune à la maquette de l'accueil et à la maquette de barre) */
.ph-bar, .bm-bar {
  display: flex; align-items: center; gap: .35em;
  padding: .5em .5em .9em;
  background: #12141b;
  border-top: 1px solid #1f2230;
}
.ph-ubo {
  position: relative; flex: none;
  width: 2.6em; height: 2.6em;
  display: grid; place-items: center;
  font-weight: 700; font-size: .8em; color: #dfe4ff;
}
.ph-badge {
  position: absolute; right: -.45em; bottom: -.15em;
  padding: 0 .35em; border-radius: .4em;
  background: var(--ink); color: var(--night);
  font-size: .78em; line-height: 1.35;
}
.ph-pill {
  flex: 1; height: 2.4em; border-radius: 1.2em; background: #1b1e27;
  display: flex; align-items: center; padding-left: .8em; color: var(--muted);
}
.ph-pill svg { width: 1.1em; height: 1.1em; }
.ph-tabs {
  flex: none; display: grid; place-items: center;
  min-width: 1.5em; height: 1.5em; margin-inline: .35em;
  border: 2px solid var(--ink); border-radius: .4em;
  font-size: .72em; font-weight: 700;
}
.ph-more { flex: none; width: 1.3em; height: 1.3em; color: var(--ink); }

/* Maquette : page, bandeau de blocage, barre d'adresse */
.bar-mock {
  --ph: 420px;
  justify-self: center;
  width: min(100%, 440px);
  font-size: clamp(14px, 3.9vw, 17px);
  border-radius: var(--radius-lg);
  border: 1px solid #2c303c;
  background: #07080b;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.bm-page { display: grid; gap: .6em; padding: 1.4em 1.3em 1em; }
.bm-line { display: block; height: .6em; border-radius: .3em; background: #1d2029; }
.bm-block { display: block; height: 4.2em; border-radius: .7em; background: #15171e; margin-block: .3em; }
.w95 { width: 95%; } .w90 { width: 90%; } .w80 { width: 80%; } .w75 { width: 75%; } .w70 { width: 70%; }
.w65 { width: 65%; } .w60 { width: 60%; } .w55 { width: 55%; } .w50 { width: 50%; } .w45 { width: 45%; }
.w40 { width: 40%; } .w35 { width: 35%; } .w30 { width: 30%; }
.bm-banner {
  display: flex; align-items: center; gap: .6em;
  margin: .4em .7em .7em; padding: .7em .6em .7em 1em;
  border-radius: 1em; background: #1c1f29;
  border: 1px solid #2c303c;
}
.bm-banner-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bm-banner-title { font-size: .78em; font-weight: 600; color: var(--ink); }
.bm-banner-url { font-size: .7em; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-btn { flex: none; font-size: .78em; font-weight: 600; color: #c9d2ff; padding: .4em .5em; }
.bm-x { flex: none; width: 1.1em; height: 1.1em; color: var(--muted); }
.bm-bar { font-size: 1em; }
.bm-pill {
  flex: 1; min-width: 0; height: 2.6em; border-radius: 1.3em; background: #1b1e27;
  display: flex; align-items: center; gap: .4em; padding-left: .8em; padding-right: .5em;
}
.bm-url { flex: 1; min-width: 0; font-size: .82em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-reload { flex: none; width: 1.1em; height: 1.1em; color: var(--muted); }
.w85 { width: 85%; }

/* Bouclier d'état : couleurs fixes de l'app, identiques dans tous les thèmes */
.sh { flex: none; width: 1.35em; height: 1.35em; }
.bm-pill .sh { margin-left: -.25em; }
.sh-ok { color: #22A06B; }
.sh-warn { color: #E07B1F; }
.sh-lock { color: #0FA3A3; }
.sh-tor { color: #8B5CF6; }
.sh-pressed { border-radius: 50%; background: rgba(238, 241, 255, .1); box-shadow: 0 0 0 .3em rgba(238, 241, 255, .1); }

/* Page factice derrière la barre */
.ph-page {
  position: relative; flex: 1; min-height: 0;
  display: flex; flex-direction: column; gap: .55em;
  padding: .9em 1.1em; overflow: hidden;
}
.ph-page > .bm-line { flex: none; height: .55em; }
.pg-head { flex: none; display: block; height: 1.1em; width: 45%; border-radius: .3em; background: #2a2e3b; margin-bottom: .3em; }
.pg-img { flex: none; display: block; height: 6.5em; border-radius: .6em; background: linear-gradient(135deg, #1a1d26, #13151c); margin-block: .3em; }

/* Bande Tor au-dessus de la barre */
.ph-strip {
  padding: .3em 1.1em; background: #1a1c25;
  color: var(--muted); font-size: .62em; line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Fiche du bouclier */
.sh-sheet {
  position: absolute; left: .6em; bottom: .5em; width: min(15.5em, calc(100% - 1.2em));
  padding: .8em .9em .4em;
  border-radius: .8em; background: #232734;
  box-shadow: 0 1em 2.4em rgba(0, 0, 0, .7);
}
.sh-sheet-head { display: flex; align-items: center; gap: .5em; font-size: .78em; font-weight: 600; margin-bottom: .5em; }
.sh-sheet-head .sh { width: 1.4em; height: 1.4em; }
.sh-line { display: flex; align-items: flex-start; gap: .7em; font-size: .64em; color: #cfd4e6; padding-block: .2em; }
.sh-dot { flex: none; width: .8em; height: .8em; margin-top: .3em; border-radius: 50%; }
.sh-dot-ok { background: #22A06B; }
.sh-dot-off { background: #7d8399; }
.sh-line + .sh-act { margin-top: .5em; border-top: 1px solid #353a4a; padding-top: .7em; }
.sh-act { display: block; font-size: .7em; font-weight: 600; color: #c9d2ff; padding: .45em 0; }

/* Écran « Bloqué sur ce site » */
.ubl-head {
  display: flex; align-items: center; gap: .8em;
  padding: .6em 1em .7em; color: var(--ink);
}
.ubl-head svg { flex: none; width: 1.2em; height: 1.2em; }
.ubl-title { flex: 1; min-width: 0; font-size: .86em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ubl-body { flex: 1; min-height: 0; padding: 0 .7em; overflow: hidden; }
.ubl-intro { font-size: .64em; color: var(--muted); padding: 0 .3em .7em; }
.ubl-list { display: grid; gap: .4em; }
.ubl-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: .5em;
  padding: .55em .5em .55em .9em; border-radius: .7em; background: #1b1e27;
}
.ubl-card > svg { width: 1.1em; height: 1.1em; color: var(--muted); }
.ubl-dom { font-size: .7em; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ubl-n { font-size: .7em; font-weight: 700; color: #c9d2ff; }
.ubl-open { background: #20242f; }
.ubl-host {
  grid-column: 1 / -1; display: flex; justify-content: space-between; gap: .6em;
  margin-top: .45em; font-size: .6em; color: var(--muted);
}
.ubl-host span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ubl-btn {
  justify-self: start; display: inline-block;
  margin-top: .6em; padding: .4em .9em;
  border: 1px solid #4a5063; border-radius: 2em;
  font-size: .62em; font-weight: 600; color: #c9d2ff;
}
.ubl-open .ubl-btn { grid-column: 1 / -1; }
.ubl-broken { margin-top: 1em; padding-inline: .3em; font-size: .7em; font-weight: 600; }
.ubl-body > .ubl-btn { margin-left: .3em; }

/* Écran Journal */
.lg-chips { display: flex; gap: .35em; padding: 0 .9em; overflow: hidden; }
.lg-chip {
  flex: none; padding: .35em .7em; border: 1px solid #3a3f4d; border-radius: .5em;
  font-size: .6em; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.lg-chip.on { background: #2a2f3d; border-color: #2a2f3d; color: var(--ink); }
.lg-filter {
  display: flex; align-items: center; gap: .6em;
  margin: .6em .9em 0; padding: .6em .8em;
  border: 1px solid #3a3f4d; border-radius: .5em; color: var(--faint); font-size: .62em;
}
.lg-filter svg { flex: none; width: 1.3em; height: 1.3em; }
.lg-count { padding: .6em 1.6em .2em; font-size: .56em; color: var(--muted); }
.lg-list { flex: 1; min-height: 0; overflow: hidden; }
.lg-row { padding: .6em 1em; border-bottom: 1px solid #1a1d26; }
.lg-meta { display: flex; align-items: baseline; gap: .7em; font-size: .56em; white-space: nowrap; overflow: hidden; }
.lg-time { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--muted); }
.lg-type { font-weight: 600; }
.lg-no { font-weight: 700; color: #ff8a80; }
.lg-ok { font-weight: 600; color: #c9d2ff; }
.lg-tab { margin-left: auto; color: var(--faint); }
.lg-url { margin-top: .2em; font-size: .62em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-sub { font-size: .54em; color: var(--muted); }
.lg-rule { font-size: .54em; color: #b9a4ff; }

/* Écran Règles (éditeur de texte) */
.rl-act { flex: none; font-size: .66em; font-weight: 600; color: #c9d2ff; }
.rl-editor {
  flex: 1; min-height: 0; overflow: hidden;
  margin: .2em .8em 0; padding: .7em .8em;
  border: 1px solid #3a3f4d; border-radius: .6em;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .64em; line-height: 1.6;
}
.rl-editor p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-c { color: var(--faint); }
.rl-c:not(:first-child) { margin-top: .7em; }
.rl-new { margin-inline: -.4em; padding-inline: .4em; border-radius: .3em; background: rgba(139, 92, 246, .22); color: var(--ink); }
.rl-status { padding: .6em 1.6em 1.4em; font-size: .58em; color: var(--muted); }

/* Écran de verrouillage + invite d'empreinte d'Android */
.lk-screen { background: #07080b; }
.lk-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9em; padding-bottom: 7em; }
.lk-icon { width: 3.2em; height: 3.2em; color: #c9d2ff; }
.lk-title { font-size: .95em; font-weight: 600; }
.lk-btn { padding: .55em 1.4em; border-radius: 2em; background: #c9d2ff; color: #11131a; font-size: .72em; font-weight: 600; }
.lk-sheet {
  position: absolute; left: .5em; right: .5em; bottom: .5em;
  display: flex; flex-direction: column; align-items: center;
  padding: 1.2em 1em .9em; border-radius: 1.4em; background: #232734;
  box-shadow: 0 -1em 2.4em rgba(0, 0, 0, .6); text-align: center;
}
.lk-sheet-title { font-size: .86em; font-weight: 600; }
.lk-sheet-sub { margin-top: .3em; font-size: .62em; color: var(--muted); }
.lk-finger {
  display: grid; place-items: center; width: 3.4em; height: 3.4em; margin-top: 1em;
  border-radius: 50%; background: rgba(201, 210, 255, .12); color: #c9d2ff;
}
.lk-finger svg { width: 2em; height: 2em; }
.lk-cancel { align-self: flex-end; margin-top: .6em; font-size: .66em; font-weight: 600; color: #c9d2ff; }

/* Double écran : deux moitiés, chacune avec sa barre ; la page active a un liseré */
.du-half { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.du-active::after { content: ""; position: absolute; inset: 0; border: 2px solid #c9d2ff; border-radius: .3em; pointer-events: none; }
.du-half .ph-page { padding-block: .7em .5em; }
.du-video { position: relative; display: grid; place-items: center; height: 5.2em; color: rgba(238, 241, 255, .8); }
.du-video svg { width: 2em; height: 2em; }
.du-bar {
  display: flex; align-items: center; gap: .5em;
  margin: 0 .5em .45em; padding: .35em .7em; border-radius: 1.2em; background: #1b1e27;
}
.du-bar .sh { flex: none; width: 1.2em; height: 1.2em; }
.du-home { flex: none; width: 1.1em; height: 1.1em; color: var(--muted); }
.du-handle { flex: none; display: grid; place-items: center; height: .9em; background: #12141b; }
.du-handle span { width: 2.6em; height: .25em; border-radius: .2em; background: #4a5063; }
.du-spacer { flex: 1; }

/* ─── Deux modes : clair / obscur ────────────────────── */
.modes-visual {
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(12px, 4vw, 48px);
  margin-top: 56px;
}
.phone-mini { --ph: min(42vw, 230px); aspect-ratio: 9 / 14; border-radius: 30px; padding: 7px; }
.phone-mini .phone-screen { border-radius: 24px; }
.phone-classic .phone-screen {
  background: linear-gradient(180deg, #1d212c, #151821);
  padding: 1.4em 1em;
}
.phone-protected { background: #0d0e12; border-color: #1e212a; }
.phone-protected .phone-screen { background: var(--void); align-items: center; justify-content: center; }
.mm-head { display: flex; align-items: center; gap: .6em; margin-bottom: 1.1em; color: var(--ink); }
.mm-head svg { width: 1.4em; height: 1.4em; flex: none; }
.mm-head .mm-bar { height: .7em; }
.mm-rows { display: grid; gap: .9em; }
.mm-rows li { display: flex; align-items: center; gap: .7em; }
.mm-fav {
  flex: none; width: 2em; height: 2em; border-radius: .6em;
  display: grid; place-items: center;
  background: #2b3040; color: #dfe4ff; font-size: .8em; font-weight: 700;
}
.mm-lines { flex: 1; display: grid; gap: .35em; }
.mm-bar { display: block; height: .55em; border-radius: .3em; background: #454b5e; }
.mm-bar.dim { background: #2d3242; height: .45em; }
.mm-empty svg {
  width: 4.2em; height: 4.2em; color: #4a5063;
  filter: drop-shadow(0 0 8px rgba(160, 175, 240, .15));
}

.modes-cols { display: grid; gap: 16px; margin-top: 40px; }
.mode { padding: 28px 24px 30px; border-radius: var(--radius-lg); }
.mode h3 { font: 500 clamp(20px, 2.2vw, 24px)/1.25 var(--font-display); letter-spacing: -0.01em; margin-top: 14px; }
.mode-tagline { margin-top: 6px; color: var(--ink); font-weight: 500; }
.mode p:last-child { margin-top: 14px; color: var(--muted); }
.mode-classic {
  background: linear-gradient(160deg, #1a1d27, #13151c 70%);
  border: 1px solid #2a2e3a;
}
.mode-protected {
  background: var(--void);
  border: 1px solid var(--ember-line);
  box-shadow: inset 0 1px 0 rgba(255, 217, 160, .08);
}
.tier {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px;
  border-radius: 999px; font-size: 14px; font-weight: 600;
}
.tier-free { background: rgba(238, 241, 255, .09); color: var(--ink); }
.tier-pro { border: 1px solid var(--ember-line); color: var(--spark); }
@media (min-width: 760px) {
  .modes-cols { grid-template-columns: 1fr 1fr; }
  .mode { padding: 36px 36px 40px; }
}

/* ─── Tor ────────────────────────────────────────────── */
.tor {
  padding-block: clamp(72px, 10vw, 136px);
  border-top: 1px solid var(--line);
  background: radial-gradient(55% 45% at 85% 30%, rgba(139, 92, 246, .10), transparent 70%), var(--night);
}
.tor-grid { display: grid; gap: 56px; }
.tor-copy h2 { margin-top: 16px; }
.tor-list { display: grid; gap: 24px; margin-top: 36px; }
.tor-list li { position: relative; padding-left: 28px; }
.tor-list li::before {
  content: ""; position: absolute; left: 4px; top: .45em;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid #8B5CF6; box-shadow: 0 0 10px rgba(139, 92, 246, .55);
}
.tor-list p { margin-top: 6px; color: var(--muted); max-width: 52ch; }
.tor-limits { margin-top: 36px; }
.tor-visual {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.phone-tor { --ph: min(300px, 84vw); }
.set-mock {
  width: min(100%, 360px);
  padding: 18px 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid #2c303c;
  background: #101218;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
  font-size: 15px;
}
.set-section { color: #b9a4ff; font-size: 13px; font-weight: 600; padding-bottom: 6px; }
.set-row { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.set-row + .set-row { border-top: 1px solid #1f2230; }
.set-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.set-name { font-weight: 600; }
.set-desc { color: var(--muted); font-size: 13px; line-height: 1.45; }
.set-switch {
  flex: none; position: relative; width: 44px; height: 26px; border-radius: 13px;
  background: #2a2e3a; border: 2px solid #4a5063;
}
.set-switch::after {
  content: ""; position: absolute; left: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  border-radius: 50%; background: #8a90a6;
}
.set-switch.on { background: #8B5CF6; border-color: #8B5CF6; }
.set-switch.on::after { left: auto; right: 2px; width: 18px; height: 18px; margin-top: -9px; background: #fff; }
.set-status { color: var(--muted); font-size: 13px; padding-top: 4px; }
@media (min-width: 1000px) {
  .tor-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 72px; align-items: start; }
  .tor-visual { padding-top: 8px; }
}

/* ─── Gratuit et Pro ─────────────────────────────────── */
.coming-soon {
  display: flex; align-items: center; gap: 14px;
  margin-top: 32px; padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--ember-line);
  background: rgba(255, 176, 112, .06);
  color: var(--spark); font-weight: 600;
  max-width: 640px;
}
.plans { display: grid; gap: 16px; margin-top: 32px; }
.plan {
  display: flex; flex-direction: column;
  padding: 28px 24px 30px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
}
.plan-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan h3 { font: 600 22px/1.2 var(--font-display); }
.price { margin-top: 14px; }
.price-amount { font: 500 clamp(28px, 3.4vw, 36px)/1.1 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
.price-pro { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.price-opt { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; }
.price-pro .price-amount { font-size: clamp(24px, 2.6vw, 30px); }
.price-period, .price-or { color: var(--muted); font-size: 15px; }
.plan-summary { margin-top: 12px; color: var(--muted); }
.plan-list { display: grid; gap: 12px; margin-top: 22px; }
.plan-list li { position: relative; padding-left: 26px; font-size: 16px; }
.plan-list li::before {
  content: ""; position: absolute; left: 2px; top: .5em;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--ink);
}
.plan-pro {
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(255, 176, 112, .10), transparent 60%),
    var(--void);
  border-color: var(--ember-line);
}
.plan-pro .plan-list li::before { border-color: var(--spark); box-shadow: 0 0 8px rgba(255, 176, 112, .5); }
.plan-pro .plan-list li:first-child { font-weight: 600; }
.plan-cta {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  margin-top: 28px; min-height: 48px; padding: 0 20px 0 16px;
  border: 1px solid var(--ember-line); border-radius: 999px;
  color: var(--spark); font-weight: 600; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.plan-cta:hover { background: rgba(255, 176, 112, .1); border-color: var(--spark); }
.payment-note { margin-top: 20px; }
@media (min-width: 760px) {
  .plans { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .plan { padding: 36px 36px 40px; }
}

/* ─── Promesse ───────────────────────────────────────── */
.promise { border-top: 1px solid var(--line); }
.promise-list { margin-top: 48px; }
.promise-list li {
  display: flex; align-items: flex-start; gap: .6em;
  padding-block: .55em;
  border-bottom: 1px solid var(--line);
  font: 500 clamp(21px, 3.6vw, 40px)/1.2 var(--font-display);
  letter-spacing: -0.015em;
}
.promise-list li:first-child { border-top: 1px solid var(--line); }
/* Un anneau éteint devant chaque « aucun » */
.promise-list li::before {
  content: ""; flex: none;
  width: .5em; height: .5em; margin-top: .36em; border-radius: 50%;
  border: .08em solid var(--faint);
}
.honest {
  display: grid; gap: 12px;
  margin-top: 40px; max-width: 62ch;
  padding: 20px 22px;
  border-left: 2px solid var(--ember-line);
  background: var(--panel);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.honest p { color: var(--muted); }
.honest .link-quiet { justify-self: start; }

/* ─── Questions ──────────────────────────────────────── */
.faq-grid { display: grid; gap: 32px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding-block: 16px;
  font-size: 18px; font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  color: var(--muted);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--spark); }
.faq-list summary:hover { color: #fff; }
.faq-list details p { padding: 0 0 24px; max-width: 64ch; color: var(--muted); }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; }
  .faq-grid h2 { position: sticky; top: 32px; align-self: start; }
}
@media (prefers-reduced-motion: reduce) { .faq-list summary::after { transition: none; } }

/* ─── Appel final ────────────────────────────────────── */
.cta {
  padding-block: clamp(88px, 12vw, 160px);
  background: radial-gradient(50% 60% at 50% 40%, rgba(120, 132, 190, .12), transparent 70%), var(--void);
  border-top: 1px solid var(--line);
}
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.cta-ring {
  width: 72px; height: 72px; color: var(--ink);
  filter: drop-shadow(0 0 10px rgba(210, 220, 255, .6)) drop-shadow(0 0 30px rgba(210, 220, 255, .25));
}
.cta h2 { font-size: clamp(30px, 6vw, 64px); max-width: 18ch; margin-top: 8px; }
.cta p { color: var(--muted); }
.store-badge { display: inline-block; margin-top: 12px; border-radius: 10px; line-height: 0; }
.store-badge img { display: block; height: 64px; width: auto; }
.store-tri { width: 22px; height: 22px; color: var(--spark); }

/* ─── Pied de page ───────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 56px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; gap: 28px; }
.footer-brand .brand { color: var(--ink); }
.footer-tagline { margin-top: 10px; }
.footer-links { display: grid; gap: 6px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 32px; text-decoration-color: var(--faint); text-underline-offset: 4px; }
.footer-links a:hover { color: var(--ink); }
.footer-legal { display: grid; gap: 8px; color: var(--faint); max-width: 60ch; }
/* Crédit The Project Hub : logo tel quel (ni recoloration ni opacité), 24 px de haut, marge libre ≥ 0,4 × la hauteur */
.footer-credit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.footer-credit a { display: inline-flex; padding: 10px; margin: -10px; border-radius: 6px; }
.footer-credit img { display: block; height: 24px; width: auto; }
@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1.6fr; gap: 40px; }
  .footer-credit { grid-column: 1 / -1; }
}

/* ─── Page Confidentialité ───────────────────────────── */
.legal { padding-block: clamp(48px, 8vw, 96px) clamp(72px, 10vw, 128px); }
.legal-inner { max-width: 720px; }
.legal h1 { font: 600 clamp(28px, 5vw, 48px)/1.12 var(--font-display); letter-spacing: -0.02em; }
.legal .updated { margin-top: 12px; color: var(--faint); font-size: 15px; }
.legal .intro { margin-top: 28px; font-size: clamp(18px, 1.8vw, 20px); }
.legal section { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal h2 { font-size: clamp(20px, 2.6vw, 26px); max-width: none; }
.legal section p, .legal section li { color: var(--muted); }
.legal section p { margin-top: 14px; }
.legal-list { display: grid; gap: 14px; margin-top: 16px; }
.legal-list li { position: relative; padding-left: 22px; }
.legal-list li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--faint);
}
.legal .back { margin-top: 48px; }

/* ─── Guides ───────────────────────────────────────── */
.legal .crumbs { margin-bottom: 20px; color: var(--faint); font-size: 15px; }
.legal .crumbs a { color: var(--muted); text-decoration: none; }
.legal .crumbs a:hover, .legal .crumbs a:focus-visible { color: var(--spark); }
.guide-steps { counter-reset: step; list-style: none; padding-left: 0; }
.guide-steps li { counter-increment: step; padding-left: 30px; }
.guide-steps li::before {
  content: counter(step); top: .15em; width: auto; height: auto; border: 0; border-radius: 0;
  font: 600 14px/1.6 var(--font-display); color: var(--spark);
}
.guide-cta { padding: 24px; border: 1px solid var(--line); border-radius: 16px; border-top: 1px solid var(--line); }
.guide-list { display: grid; gap: 14px; margin-top: 36px; }
.guide-list a { display: grid; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; }
.guide-list a:hover, .guide-list a:focus-visible { border-color: var(--spark); }
.guide-list-title { font: 600 clamp(17px, 2vw, 20px)/1.3 var(--font-display); }
.guide-list-desc { color: var(--muted); }

/* Ajouté par build.py : repère visible pour les textes encore à fournir */
.placeholder { color: var(--spark); background: rgba(255, 176, 112, .12); border: 1px dashed var(--ember-line); border-radius: 6px; padding: 0 .35em; white-space: nowrap; }
[hidden] { display: none !important; }
