/* Kalosaurus — feuille de style principale
   Design intégré depuis Claude Design (projet « Landing Kalosaurus »).

   Sommaire
   1. Réinitialisation et base
   2. Jetons de couleur (thème clair / sombre)
   3. Utilitaires
   4. En-tête et navigation
   5. Sections de la landing
   6. Pied de page
   7. Maquettes de téléphone
   8. Pages texte (mentions légales, confidentialité)
*/

/* ═══════════ 1. Réinitialisation et base ═══════════ */

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

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--tx);
  overflow-x: hidden;
}

svg { display: block; }

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

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

a:hover { opacity: .72; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

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

/* Le défilement animé et les apparitions au scroll sont désactivés pour qui
   préfère un affichage sans mouvement (cf. main.js pour les apparitions). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ═══════════ 2. Jetons de couleur ═══════════ */

:root {
  --bg: #ffffff;
  --bg2: #f4f5f6;
  --surf: #ffffff;
  --bd: #e3e6ea;
  --tx: #14171a;
  --tx2: #5b6470;
  --tx3: #7c8592;
  --ac: #2563eb;
  --acs: #eef3fe;

  /* Bandeaux sombres (section IA, appel à l'action final) */
  --band: #14171a;
  --bandtx: #f7f9fb;
  --bandtx2: #a8b0ba;
  --bandbd: #2a2e34;

  /* Couleurs des macronutriments, communes aux deux thèmes */
  --carb: #6c8cff;
  --prot: #e8536b;
  --fat: #e5a21a;
}

[data-theme='sombre'] {
  --bg: #0d0f12;
  --bg2: #14161a;
  --surf: #1c1f25;
  --bd: #2c3138;
  --tx: #f7f9fb;
  --tx2: #b3bcc7;
  --tx3: #8b95a1;
  --ac: #4d8dff;
  --acs: #17222f;

  --band: #191d23;
  --bandtx: #f7f9fb;
  --bandtx2: #a8b0ba;
  --bandbd: #343a42;

  --carb: #8aa4ff;
  --prot: #ff6b83;
  --fat: #f0b53c;
}

/* ═══════════ 3. Utilitaires ═══════════ */

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.wrap--narrow { max-width: 860px; }

/* Chiffres à chasse fixe : les totaux ne « sautent » pas d'une valeur à l'autre. */
.kf { font-variant-numeric: tabular-nums; }

.section { padding-block: clamp(48px, 7vw, 96px); }

.section--muted {
  background: var(--bg2);
  border-block: 1px solid var(--bd);
}

.section--band {
  background: var(--band);
  color: var(--bandtx);
}

.section__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tx3);
}

.section__head {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}

h1, h2, h3 {
  letter-spacing: -.03em;
  font-weight: 800;
  line-height: 1.1;
  text-wrap: pretty;
}

h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  margin-top: 14px;
}

.lead {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--tx2);
  font-weight: 500;
  text-wrap: pretty;
}

/* ═══════════ 4. En-tête et navigation ═══════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--bd);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tx);
  flex-shrink: 0;
}

.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1.5px dashed var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--tx3);
}

.brand__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  flex-wrap: wrap;
  margin-left: auto;
}

.site-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--tx2);
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid var(--bd);
  background: var(--surf);
  cursor: pointer;
  flex-shrink: 0;
}

.theme-toggle:hover { border-color: var(--ac); }

.theme-toggle[hidden] { display: none; }

.theme-toggle__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--tx);
  box-shadow: inset -4px -1px 0 0 var(--surf);
}

/* Le libellé vient du CSS : il reste ainsi synchronisé avec le thème appliqué
   par le script du <head>, sans attendre le chargement de main.js. */
.theme-toggle__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--tx2);
}

.theme-toggle__label::after { content: 'Clair'; }

[data-theme='sombre'] .theme-toggle__label::after { content: 'Sombre'; }

/* ═══════════ 5. Sections de la landing ═══════════ */

/* ── Hero ── */

.hero {
  display: flex;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  flex-wrap: wrap;
  padding-top: clamp(40px, 6vw, 84px);
  padding-bottom: clamp(30px, 4vw, 50px);
}

.hero__text {
  flex: 1 1 380px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero h1 {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin-top: 26px;
}

.hero__lead {
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.6;
  color: var(--tx2);
  font-weight: 500;
  margin-top: 22px;
  max-width: 34em;
  text-wrap: pretty;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ac);
  background: var(--acs);
  padding: 7px 12px;
  border-radius: 6px;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ac);
}

/* ── Boutons de magasin (inactifs jusqu'au lancement) ── */

.stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.store {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--bg2);
  border: 1.5px solid var(--bd);
  cursor: not-allowed;
}

.store__os {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--tx3);
  border: 1.5px solid var(--tx3);
  border-radius: 5px;
  padding: 3px 6px;
}

.store__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}

.store__soon {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx3);
}

.store__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--tx2);
}

.stores__note {
  font-size: 13px;
  color: var(--tx3);
  font-weight: 600;
  margin-top: 14px;
}

/* Variante sur bandeau sombre */
.section--band .store {
  background: transparent;
  border-color: var(--bandbd);
}

.section--band .store__os {
  color: var(--bandtx2);
  border-color: var(--bandtx2);
}

.section--band .store__soon { color: var(--bandtx2); }
.section--band .store__name { color: var(--bandtx); }
.section--band .stores__note { color: var(--bandtx2); }

/* ── Étiquettes de fonctionnalités ── */

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--bd);
  width: 100%;
  list-style: none;
}

.tags li {
  font-size: 13px;
  font-weight: 700;
  color: var(--tx2);
  border: 1px solid var(--bd);
  border-radius: 99px;
  padding: 7px 14px;
}

/* ── Section « Deux modes » ── */

.modes__head { max-width: 30em; }

.segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 11px;
  background: var(--surf);
  border: 1px solid var(--bd);
}

/* Boutons radio masqués mais focusables : le basculement fonctionne sans JS. */
.seg__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.seg {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  color: var(--tx3);
}

.seg__input:checked + .seg {
  background: var(--acs);
  color: var(--ac);
}

.seg__input:focus-visible + .seg {
  outline: 2px solid var(--ac);
  outline-offset: 2px;
}

.modes__body {
  display: flex;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  flex-wrap: wrap;
  margin-top: clamp(30px, 4vw, 48px);
}

.modes__text {
  flex: 1 1 340px;
  min-width: 290px;
}

.modes__text h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -.025em;
}

.modes__text p {
  margin-top: 16px;
  max-width: 34em;
}

#modes:has(#mode-simple:checked) [data-mode='objectifs'],
#modes:has(#mode-objectifs:checked) [data-mode='simple'] { display: none; }

/* Sans prise en charge de :has(), on garde le mode « avec objectifs ». */
@supports not selector(:has(*)) {
  .segmented { display: none; }
  [data-mode='simple'] { display: none; }
}

.macro-legend {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
  list-style: none;
}

.macro-legend li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.macro-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.macro-legend__dot--carb { background: var(--carb); }
.macro-legend__dot--prot { background: var(--prot); }
.macro-legend__dot--fat { background: var(--fat); }

.macro-legend__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--tx);
}

.macro-legend li::after {
  content: '';
  order: 1;
  flex: 1;
  height: 1px;
  background: var(--bd);
}

.macro-legend__val {
  order: 2;
  font-size: 15px;
  font-weight: 800;
  color: var(--tx2);
}

.totals {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.totals__box {
  flex: 1 1 120px;
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 16px 18px;
}

.totals__num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.totals__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--tx3);
  margin-top: 4px;
}

.modes__note {
  font-size: 14px;
  color: var(--tx3);
  font-weight: 600;
  margin-top: 20px;
}

/* ── Section « Enregistrer un repas » ── */

.section__head--ajouter > div:first-child { max-width: 24em; }

.section__intro {
  flex: 1 1 300px;
  max-width: 32em;
  font-size: 16px;
  line-height: 1.65;
  color: var(--tx2);
  font-weight: 500;
  text-wrap: pretty;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(24px, 3vw, 40px);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-block: 14px;
}

.step__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  max-width: 26em;
}

.step__num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--tx3);
}

.step__text h3 {
  font-size: 20px;
  letter-spacing: -.025em;
}

.step__text p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--tx2);
  font-weight: 500;
  text-wrap: pretty;
}

.notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: clamp(24px, 3vw, 40px);
}

.note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px dashed var(--bd);
  border-radius: 12px;
  padding: 18px 20px;
  color: inherit;
}

a.note:hover {
  border-color: var(--ac);
  opacity: 1;
}

.note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.note p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--tx2);
  font-weight: 600;
  text-wrap: pretty;
}

.note strong {
  color: var(--tx);
  font-weight: 800;
}

.note em {
  color: var(--ac);
  font-weight: 800;
  font-style: normal;
}

/* ── Bandeau « Estimation IA » ── */

.band-split {
  display: flex;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  flex-wrap: wrap;
}

.band-split__text {
  flex: 1 1 360px;
  min-width: 290px;
}

.band-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bandtx2);
}

.section--band h2 { color: var(--bandtx); }

.section--band .lead {
  color: var(--bandtx2);
  margin-top: 20px;
  max-width: 34em;
}

.band-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 28px;
  border: 1px solid var(--bandbd);
  border-radius: 12px;
  padding: 18px 20px;
  max-width: 34em;
}

.band-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.band-note p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--bandtx2);
  font-weight: 600;
  text-wrap: pretty;
}

/* ── Section « Recettes » ── */

.recipes {
  display: flex;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  flex-wrap: wrap-reverse;
}

.recipes__text {
  flex: 1 1 340px;
  min-width: 290px;
}

.recipes__text > p {
  margin-top: 18px;
  max-width: 34em;
}

.recipe-steps {
  margin-top: 26px;
  border-top: 1px solid var(--bd);
  max-width: 34em;
  list-style: none;
}

.recipe-steps li {
  display: flex;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--bd);
}

.recipe-steps__num {
  font-size: 13px;
  font-weight: 800;
  color: var(--tx3);
  padding-top: 2px;
}

.recipe-steps h3 {
  font-size: 16px;
  letter-spacing: -.015em;
}

.recipe-steps p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--tx2);
  font-weight: 500;
  margin-top: 5px;
  text-wrap: pretty;
}

/* ── Section « Apparence » ── */

.themes__intro { max-width: 32em; }

.themes__intro p { margin-top: 18px; }

.themes {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 48px);
}

.themes figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.themes figcaption {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx3);
}

/* ── FAQ ── */

#faq h2 { margin-top: 0; }

.faq__list {
  margin-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--bd);
}

.faq__item { border-bottom: 1px solid var(--bd); }

.faq__q {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(16px, 1.4vw, 18.5px);
  font-weight: 800;
  letter-spacing: -.015em;
  text-wrap: pretty;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q > span:first-child { flex: 1; }

.faq__chev {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease;
}

[open] > .faq__q .faq__chev { transform: rotate(180deg); }

.faq__chev::before {
  content: '';
  width: 9px;
  height: 9px;
  border-right: 2.4px solid var(--tx2);
  border-bottom: 2.4px solid var(--tx2);
  transform: rotate(45deg) translate(-2px, -2px);
}

.faq__item p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--tx2);
  font-weight: 500;
  padding: 0 44px 26px 4px;
  text-wrap: pretty;
}

/* ── Appel à l'action final ── */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta h2 {
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.06;
  letter-spacing: -.035em;
  max-width: 22em;
  margin-top: 0;
}

.cta .lead {
  max-width: 34em;
  margin-top: 18px;
}

.cta .stores {
  justify-content: center;
  margin-top: 34px;
}

/* ═══════════ 6. Pied de page ═══════════ */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--bd);
}

.site-footer__inner {
  display: flex;
  gap: clamp(28px, 5vw, 72px);
  flex-wrap: wrap;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: 32px;
}

.site-footer__about {
  flex: 1 1 260px;
  min-width: 240px;
}

.site-footer__about p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--tx3);
  font-weight: 600;
  margin-top: 14px;
  max-width: 26em;
  text-wrap: pretty;
}

.site-footer__col {
  flex: 0 1 auto;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tx3);
}

.site-footer__col a {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--tx2);
}

.site-footer__legal {
  padding-top: 22px;
  padding-bottom: 40px;
  border-top: 1px solid var(--bd);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-footer__legal p {
  font-size: 13px;
  color: var(--tx3);
  font-weight: 600;
  text-wrap: pretty;
}

/* ═══════════ 7. Maquettes de téléphone ═══════════ */

/* Les maquettes sont dessinées à la taille réelle (390 × 844) puis réduites par
   `transform: scale()`. La scène réserve la place occupée après réduction. */

.phone-stage {
  --s: .7;
  width: calc(390px * var(--s));
  height: calc(844px * var(--s));
  flex: 0 0 auto;
}

.phone-stage--80 { --s: .8; }
.phone-stage--72 { --s: .72; }
.phone-stage--70 { --s: .7; }
.phone-stage--66 { --s: .66; }
.phone-stage--60 { --s: .6; }

/* Marge pour la tranche du téléphone, dessinée hors du cadre par box-shadow. */
.phone-slot {
  padding: 14px;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

@media (max-width: 620px) {
  .phone-stage { --s: .62; }
}

@media (max-width: 400px) {
  .phone-stage { --s: .55; }
}

.phone {
  /* Thème clair de l'application */
  --p-bg: #f7f8f9;
  --p-surf: #ffffff;
  --p-bd: #d9dde2;
  --p-sep: #eceef1;
  --p-tx: #14171a;
  --p-tx-s: #14171a;
  --p-tx2: #3d444d;
  --p-tx3: #7c8592;
  --p-ac: #2563eb;
  --p-on-ac: #ffffff;
  --p-track: #e9ecef;
  --p-track-bd: #dfe3e8;
  --p-hatch1: #eceef1;
  --p-hatch2: #f4f5f6;
  --p-btn-bg: #fbfbfc;
  --p-btn-bd: #cfd4da;
  --p-btn-tx: #3d444d;
  --p-soft: #f4f5f6;
  --p-carb: #6c8cff;
  --p-prot: #e8536b;
  --p-fat: #e5a21a;
  --p-shadow: 0 40px 80px -30px rgba(20, 23, 26, .45), 0 0 0 11px #16181b, 0 0 0 12px #2a2d31;
  --p-fab-shadow: 0 14px 30px -8px rgba(37, 99, 235, .6);
  --p-home: #14171a;
  --p-home-opacity: .25;

  width: 390px;
  height: 844px;
  transform: scale(var(--s));
  transform-origin: top left;
  background: var(--p-bg);
  color: var(--p-tx);
  border-radius: 46px;
  box-shadow: var(--p-shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone--sombre {
  --p-bg: #14161a;
  --p-surf: #1c1f25;
  --p-bd: #2c3138;
  --p-sep: #2c3138;
  --p-tx: #edeff2;
  --p-tx-s: #f4f6f8;
  --p-tx2: #b3bcc7;
  --p-tx3: #8b95a1;
  --p-ac: #4d8dff;
  --p-on-ac: #0d0f12;
  --p-track: #262a31;
  --p-track-bd: #33383f;
  --p-hatch1: #22262c;
  --p-hatch2: #1c1f25;
  --p-btn-bg: #22262c;
  --p-btn-bd: #3a4048;
  --p-btn-tx: #cdd4dc;
  --p-soft: #22262c;
  --p-carb: #8aa4ff;
  --p-prot: #ff6b83;
  --p-fat: #f0b53c;
  --p-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 0 0 11px #000000, 0 0 0 12px #33373d;
  --p-fab-shadow: 0 14px 30px -8px rgba(77, 141, 255, .5);
  --p-home: #edeff2;
  --p-home-opacity: .3;
}

/* ── Barre d'état ── */

.ph-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px 6px;
  color: var(--p-tx-s);
}

.ph-status__time {
  font-size: 15px;
  font-weight: 700;
}

.ph-battery {
  display: flex;
  gap: 6px;
  align-items: center;
}

.ph-battery__body {
  width: 17px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  position: relative;
}

.ph-battery__body::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: currentColor;
  border-radius: 1px;
}

.ph-battery__tip {
  width: 4px;
  height: 9px;
  background: currentColor;
  border-radius: 2px;
  margin-left: -2px;
}

/* ── Corps ── */

.ph-body {
  flex: 1;
  overflow: hidden;
  padding: 12px 22px 120px;
}

.ph-body--flat { padding: 16px 22px 40px; }

/* ── Boutons ronds et chevrons ── */

.ph-iconbtn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--p-surf);
  border: 1px solid var(--p-bd);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ph-iconbtn--lg {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.ph-iconbtn--back {
  width: 38px;
  height: 38px;
}

.ph-chev {
  width: 8px;
  height: 8px;
  border-left: 2.2px solid var(--p-tx-s);
  border-bottom: 2.2px solid var(--p-tx-s);
  transform: rotate(45deg) translate(1.5px, -1.5px);
}

.ph-chev--next {
  border-left: 0;
  border-bottom: 0;
  border-right: 2.2px solid var(--p-tx-s);
  border-top: 2.2px solid var(--p-tx-s);
  transform: rotate(45deg) translate(-1.5px, 1.5px);
}

.ph-chev--back {
  width: 9px;
  height: 9px;
  border-left-width: 2.4px;
  border-bottom-width: 2.4px;
  transform: rotate(45deg) translate(2px, -2px);
}

/* ── Croix « + » réutilisable ── */

.ph-plus {
  --k: 14px;
  --t: 2.6px;
  position: relative;
  width: var(--k);
  height: var(--k);
  flex-shrink: 0;
}

.ph-plus::before,
.ph-plus::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}

.ph-plus::before {
  top: calc((var(--k) - var(--t)) / 2);
  left: 0;
  width: var(--k);
  height: var(--t);
}

.ph-plus::after {
  left: calc((var(--k) - var(--t)) / 2);
  top: 0;
  width: var(--t);
  height: var(--k);
}

.ph-plus--15 { --k: 15px; }
.ph-plus--22 { --k: 22px; --t: 3px; }

/* ── En-tête de journée ── */

.ph-daybar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.ph-daynav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ph-daynav__label {
  text-align: center;
  min-width: 110px;
}

.ph-daynav__day {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--p-tx-s);
}

.ph-daynav__date {
  font-size: 11px;
  color: var(--p-tx3);
  font-weight: 700;
}

/* ── Cartes ── */

.ph-card {
  background: var(--p-surf);
  border: 1px solid var(--p-bd);
  border-radius: 12px;
  padding: 16px;
}

.ph-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--p-tx-s);
}

/* ── Barres de progression ── */

.ph-track {
  height: 16px;
  border-radius: 4px;
  background: var(--p-track);
  border: 1px solid var(--p-track-bd);
  overflow: hidden;
}

.ph-track__fill {
  height: 100%;
  background: var(--p-ac);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--p-on-ac);
}

.ph-track--sm {
  height: 8px;
  border-radius: 3px;
  margin: 8px 0 6px;
}

.ph-macros {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--p-sep);
}

.ph-macros__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--p-tx2);
}

.ph-macros__val {
  font-size: 12px;
  font-weight: 800;
  color: var(--p-tx-s);
}

.ph-fill--carb { background: var(--p-carb); }
.ph-fill--prot { background: var(--p-prot); }
.ph-fill--fat { background: var(--p-fat); }

/* ── Compteur simple ── */

.ph-total {
  padding: 20px 18px 16px;
  text-align: center;
}

.ph-total__row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.ph-total__num {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--p-tx-s);
}

.ph-total__unit {
  font-size: 15px;
  color: var(--p-tx3);
  font-weight: 700;
}

.ph-split {
  display: flex;
  margin-top: 16px;
  border-top: 1px solid var(--p-sep);
  padding-top: 14px;
}

.ph-split > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ph-split > div + div { border-left: 1px solid var(--p-sep); }

.ph-split__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ph-split__val {
  font-size: 17px;
  font-weight: 800;
  color: var(--p-tx-s);
}

.ph-split__val span {
  font-size: 11px;
  color: var(--p-tx3);
}

.ph-split__name {
  font-size: 11px;
  color: var(--p-tx3);
  font-weight: 600;
}

/* ── Listes ── */

.ph-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--p-tx3);
  display: block;
  margin: 16px 2px 8px;
}

.ph-list {
  background: var(--p-surf);
  border: 1px solid var(--p-bd);
  border-radius: 12px;
  overflow: hidden;
}

.ph-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--p-sep);
}

.ph-row:last-child { border-bottom: 0; }

.ph-row__main {
  flex: 1;
  min-width: 0;
}

.ph-row__title,
.ph-row__meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-row__title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--p-tx-s);
}

.ph-row__meta {
  font-size: 12px;
  color: var(--p-tx3);
  font-weight: 600;
}

/* Vignette produit : hachures neutres, en attendant les photos réelles. */
.ph-thumb {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid var(--p-track-bd);
  flex-shrink: 0;
  background: repeating-linear-gradient(45deg,
    var(--p-hatch1), var(--p-hatch1) 6px,
    var(--p-hatch2) 6px, var(--p-hatch2) 12px);
}

.ph-thumb--round { border-radius: 7px; }

.ph-thumb--lg {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.ph-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ph-stepper__btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--p-btn-bd);
  background: var(--p-btn-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-btn-tx);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}

.ph-stepper__val {
  font-size: 13.5px;
  font-weight: 800;
  min-width: 13px;
  text-align: center;
  color: var(--p-tx-s);
}

.ph-add {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--p-ac) 12%, var(--p-surf));
  color: var(--p-ac);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ph-cta-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  margin-top: 16px;
  border: 1.5px dashed var(--p-btn-bd);
  border-radius: 10px;
  color: var(--p-tx2);
  font-size: 14px;
  font-weight: 700;
}

/* ── Barre du bas et bouton flottant ── */

.ph-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 26px;
  background: linear-gradient(180deg, transparent 0%, var(--p-bg) 32%);
}

.ph-fab {
  position: absolute;
  right: 26px;
  top: -64px;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--p-ac);
  color: var(--p-on-ac);
  box-shadow: var(--p-fab-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-home {
  width: 130px;
  height: 5px;
  border-radius: 99px;
  background: var(--p-home);
  opacity: var(--p-home-opacity);
  margin: 14px auto 0;
}

.ph-home--flush { margin: 0 auto 12px; }

/* ── Écrans de recherche (Ma liste / Tous les aliments) ── */

.ph-search-head { padding: 8px 22px 0; }

.ph-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.ph-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--p-tx-s);
}

/* En-tête d'écran secondaire (« Décrire mon repas », « Nouvel aliment ») */
.ph-title-row--page {
  padding: 8px 22px 12px;
  margin-bottom: 0;
}

.ph-title-row--page-lg {
  padding: 8px 22px 14px;
  margin-bottom: 0;
}

.ph-subtle {
  font-size: 12px;
  color: var(--p-tx3);
  font-weight: 600;
}

.ph-tabs {
  display: flex;
  gap: 4px;
  background: var(--p-sep);
  border-radius: 6px;
  padding: 4px;
  margin-bottom: 14px;
}

.ph-tab {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--p-tx2);
  padding: 8px 0;
  border-radius: 10px;
}

.ph-tab--on {
  color: var(--p-on-ac);
  background: var(--p-ac);
  box-shadow: 0 6px 14px -8px color-mix(in oklab, var(--p-ac) 70%, transparent);
}

.ph-field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  background: var(--p-surf);
  border-radius: 15px;
  padding: 0 16px;
  border: 1px solid var(--p-bd);
  font-size: 14px;
  color: var(--p-tx3);
  font-weight: 600;
}

.ph-field--filled {
  height: 48px;
  color: var(--p-tx-s);
  font-weight: 700;
}

.ph-clear {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--p-track-bd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--p-tx2);
  font-weight: 800;
  line-height: 1;
  margin-left: auto;
}

.ph-listhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-inline: 2px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--p-tx-s);
}

.ph-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--p-surf);
  border: 1px solid var(--p-bd);
  font-size: 12px;
  font-weight: 700;
  color: var(--p-tx2);
}

.ph-hint {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 13px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--p-ac) 8%, var(--p-surf));
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--p-tx2);
  font-weight: 600;
}

.ph-hint svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.ph-hint strong {
  font-weight: 800;
  color: var(--p-tx-s);
}

.ph-count {
  font-size: 12px;
  color: var(--p-tx3);
  font-weight: 700;
  margin: 0 2px 10px;
}

.ph-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ph-score {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.ph-score--a { background: #2e7d32; }
.ph-score--b { background: #7cb342; }
.ph-score--c { background: #f9a825; }

/* ── Écran « Scanner un code-barres » ── */

.ph-blurred {
  flex: 1;
  min-height: 0;
  filter: blur(1px);
  opacity: .55;
  display: flex;
  flex-direction: column;
}

.ph-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 23, 26, .42);
  backdrop-filter: blur(2px);
}

.ph-sheet {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: var(--p-surf);
  border-radius: 0 0 18px 18px;
  padding: 52px 20px 22px;
  box-shadow: 0 20px 50px -20px rgba(20, 23, 26, .4);
}

.ph-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 4px 14px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--p-tx-s);
}

.ph-sheet__close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--p-soft);
  border: 1px solid var(--p-track-bd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--p-tx2);
  font-weight: 800;
  line-height: 1;
}

.ph-viewfinder {
  position: relative;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 30%, #3a3f45, #16181b);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-frame {
  position: relative;
  width: 224px;
  height: 150px;
}

.ph-frame__corner {
  position: absolute;
  width: 34px;
  height: 34px;
}

.ph-frame__corner--tl {
  top: 0;
  left: 0;
  border-top: 3.5px solid #fff;
  border-left: 3.5px solid #fff;
  border-radius: 8px 0 0 0;
}

.ph-frame__corner--tr {
  top: 0;
  right: 0;
  border-top: 3.5px solid #fff;
  border-right: 3.5px solid #fff;
  border-radius: 0 8px 0 0;
}

.ph-frame__corner--bl {
  bottom: 0;
  left: 0;
  border-bottom: 3.5px solid #fff;
  border-left: 3.5px solid #fff;
  border-radius: 0 0 0 8px;
}

.ph-frame__corner--br {
  bottom: 0;
  right: 0;
  border-bottom: 3.5px solid #fff;
  border-right: 3.5px solid #fff;
  border-radius: 0 0 8px 0;
}

.ph-frame__beam {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 50%;
  height: 2.5px;
  background: var(--p-ac);
  box-shadow: 0 0 14px 2px color-mix(in oklab, var(--p-ac) 80%, transparent);
}

.ph-barcode {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 56px;
  opacity: .55;
}

.ph-barcode i { background: #fff; }

.ph-sheet__note {
  text-align: center;
  font-size: 13.5px;
  color: var(--p-tx2);
  font-weight: 600;
  line-height: 1.5;
  margin: 16px 14px 0;
  text-wrap: pretty;
}

.ph-home--abs {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  margin: 0;
}

/* ── Écran « Décrire mon repas » ── */

.ph-body--stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 6px 22px 28px;
}

.ph-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ph-group__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--p-tx3);
  margin-left: 2px;
}

.ph-textarea {
  min-height: 118px;
  background: var(--p-surf);
  border-radius: 10px;
  padding: 16px;
  box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--p-ac) 35%, transparent);
  font-size: 15px;
  color: var(--p-tx-s);
  font-weight: 500;
  line-height: 1.5;
  text-wrap: pretty;
}

.ph-photo {
  position: relative;
  height: 150px;
  border-radius: 6px;
  border: 1px solid var(--p-track-bd);
  overflow: hidden;
  background: repeating-linear-gradient(45deg,
    var(--p-hatch1), var(--p-hatch1) 10px,
    var(--p-hatch2) 10px, var(--p-hatch2) 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: #adb1b8;
  letter-spacing: .02em;
}

.ph-photo__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(20, 23, 26, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.ph-tip {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: color-mix(in oklab, var(--p-ac) 10%, var(--p-surf));
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 12.5px;
  color: var(--p-tx2);
  font-weight: 600;
  line-height: 1.5;
  text-wrap: pretty;
}

.ph-tip svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.ph-action { padding: 12px 22px 14px; }

.ph-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 54px;
  border-radius: 10px;
  background: var(--p-ac);
  color: var(--p-on-ac);
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 26px -10px color-mix(in oklab, var(--p-ac) 60%, transparent);
}

/* ── Écran « Nouvel aliment » (recette) ── */

.ph-body--recipe {
  flex: 1;
  overflow: hidden;
  padding: 6px 22px 0;
}

.ph-sum { padding: 18px 20px 16px; }

.ph-sum__label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--p-tx3);
}

.ph-sum__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  color: var(--p-tx-s);
}

.ph-sum__weight {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
}

.ph-sum__unit {
  font-size: 16px;
  font-weight: 800;
  color: var(--p-tx2);
}

.ph-sum__kcal {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-left: auto;
}

.ph-sum__kcal-unit {
  font-size: 13px;
  font-weight: 800;
  color: var(--p-tx3);
}

.ph-tiles {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.ph-tile {
  flex: 1;
  background: var(--p-soft);
  border-radius: 8px;
  padding: 10px 0;
  text-align: center;
}

.ph-tile__val {
  font-size: 16px;
  font-weight: 800;
  color: var(--p-tx-s);
}

.ph-tile__val span {
  font-size: 11px;
  color: var(--p-tx3);
}

.ph-tile__name {
  font-size: 10px;
  color: var(--p-tx3);
  font-weight: 700;
  margin-top: 2px;
}

.ph-portions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--p-sep);
}

.ph-portions__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ph-portions__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--p-tx2);
}

.ph-portions__ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ph-portions__btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--p-soft);
  border: 1px solid var(--p-sep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  color: var(--p-tx2);
}

.ph-portions__btn--on { color: var(--p-tx-s); }

.ph-portions__val {
  font-size: 15px;
  font-weight: 800;
  min-width: 62px;
  text-align: center;
  color: var(--p-tx-s);
}

.ph-portions__note {
  font-size: 12px;
  color: var(--p-tx3);
  font-weight: 700;
  margin-top: 8px;
}

.ph-subtitle {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--p-tx-s);
  margin: 22px 2px 10px;
}

.ph-remove {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--p-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--p-tx3);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}

.ph-rowaction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  color: var(--p-ac);
  font-size: 14px;
  font-weight: 700;
}

.ph-footnote {
  font-size: 11.5px;
  color: var(--p-tx3);
  font-weight: 600;
  margin: 10px 4px 0;
  line-height: 1.5;
}

.ph-action--fade {
  padding: 14px 22px 0;
  background: linear-gradient(180deg, transparent, var(--p-bg) 34%);
}

.ph-btn--sm {
  height: 54px;
  font-size: 15px;
}

/* ═══════════ 8. Pages texte ═══════════ */

/* En-tête sans barre de navigation : c'est alors la bascule de thème qui doit
   être poussée à droite, le margin automatique étant porté par .site-nav. */
.site-header--simple .theme-toggle { margin-left: auto; }

.legal { padding-block: clamp(40px, 6vw, 72px); }

.legal__head {
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--bd);
}

.legal__head h1 { font-size: clamp(30px, 4.4vw, 46px); }

.legal__updated {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--tx3);
}

.legal h2 {
  font-size: clamp(19px, 2.2vw, 23px);
  margin-top: clamp(36px, 4.5vw, 52px);
}

.legal h3 {
  font-size: 16px;
  margin-top: 26px;
}

.legal p,
.legal li {
  font-size: 15.5px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--tx2);
  text-wrap: pretty;
}

.legal p { margin-top: 14px; }

.legal ul {
  margin-top: 14px;
  padding-left: 20px;
}

.legal li { margin-top: 8px; }

/* Identification de l'éditeur : une liste de définitions plutôt qu'un
   paragraphe, un SIRET et un numéro de TVA se lisant mieux étiquetés. */
.legal__id {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(130px, max-content) 1fr;
  gap: 12px 28px;
  padding: clamp(20px, 3vw, 26px);
  border: 1px solid var(--bd);
  border-radius: 14px;
  background: var(--bg2);
}

.legal__id dt {
  padding-top: 3px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tx3);
}

.legal__id dd {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--tx);
}

@media (max-width: 560px) {
  .legal__id {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .legal__id dd + dt { margin-top: 14px; }
}
