/* Zoundo · style terminal monochrome (maquette F de design/app-f.dc.html).
   Une seule police, aucun arrondi, un seul point de couleur : le vert du micro actif. */

:root {
  --bg: #0A0A0A;
  --bar: #0C0C0C;
  --fg: #EDEDED;
  --fg-2: #D6D6D6;
  --dim: #A8A8A8;
  --mute: #808080;
  --line: #1C1C1C;
  --line-2: #2E2E2E;
  --dash: #262626;
  --ink: #0A0A0A;
  --ok: #4ADE80;
  --font: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 14px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--fg); }
a:hover { color: #FFFFFF; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--fg); outline-offset: 2px; }
pre { margin: 0; font: inherit; letter-spacing: 0; white-space: pre; }
h1, h2, h3, p, ol { margin: 0; }
ol { padding: 0; list-style: none; }

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.grow { flex-grow: 1; }
.small { font-size: 12px; color: var(--mute); }
.dot { display: inline-block; width: 6px; height: 6px; background: var(--ok); flex-shrink: 0; }
.cursor { transition: opacity .05s; }
.cursor.off { opacity: 0; }

/* En-tête */
.top { border-bottom: 1px solid var(--line); }
.top-row { min-height: 56px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 28px; }
.brand { font-weight: 600; white-space: pre; text-decoration: none; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0 24px; font-size: 13px; }
.nav a { display: flex; align-items: center; min-height: 44px; color: var(--dim); text-decoration: none; }
.nav a:hover { color: var(--fg); text-decoration: underline; }
.langs { display: flex; gap: 2px; }
.langs a { min-width: 32px; justify-content: center; padding: 0 6px; }
.langs a[aria-current] { color: var(--ink); background: var(--fg); }
.langs a[aria-current]:hover { text-decoration: none; }
/* Sur téléphone, une seule ligne : la marque, github, les langues. */
@media (max-width: 640px) {
  .top-row { flex-wrap: nowrap; gap: 16px; }
  .nav { flex-wrap: nowrap; gap: 0 16px; }
  .nav .sec { display: none; }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; font-weight: 600; text-decoration: none; transition: background .12s, color .12s; }
.btn-light { background: var(--fg); color: var(--ink); }
.btn-light:hover { background: #FFFFFF; color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--fg); }
.btn-dark:hover { background: #2A2A2A; color: #FFFFFF; }
.btn-dark:focus-visible { outline-color: var(--ink); }
.btn-line { border: 1px solid var(--line-2); background: transparent; color: var(--fg); font: 500 12px var(--font); cursor: pointer; transition: background .12s, color .12s, border-color .12s; }
.btn-line:hover { background: var(--fg); color: var(--ink); border-color: var(--fg); }

/* Accroche */
.hero { padding-block: 72px 80px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(32px, 3.5vw, 44px); line-height: 1.12; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; }
.lead { max-width: 42ch; font-size: 15px; color: var(--dim); text-wrap: pretty; }
.cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero-demo { flex: 2.2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }

/* La fenêtre de l'app */
.app { border: 1px solid #222222; background: var(--bg); display: flex; flex-direction: column; font-size: 12px; line-height: 1.4; }
.app-bar { display: flex; align-items: center; height: 30px; border-bottom: 1px solid var(--line); background: var(--bar); }
.app-brand { padding: 0 14px; font-weight: 600; white-space: pre; }
.win { width: 40px; text-align: center; color: #6E6E6E; }
.app-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 12px; }
.player { position: relative; padding: 10px 12px 6px; display: flex; flex-direction: column; gap: 4px; container-type: inline-size; }
.corner { position: absolute; width: 8px; height: 8px; border: 0 solid #4A4A4A; }
.corner.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.orb-box { display: flex; justify-content: center; overflow: hidden; }
/* 102 × 21 caractères ; la taille suit la largeur du lecteur, 9 px au plus (comme l'app). */
.orb { position: relative; flex-shrink: 0; width: 102ch; height: 21em; font: 400 min(9px, 1.5cqw)/1 var(--font); }
.band { position: absolute; inset: 0; line-height: 1; }
.band-0 { color: #6E6E6E; }
.band-1 { color: #909090; }
.band-2 { color: #B4B4B4; }
.band-3 { color: #D6D6D6; }
.band-4 { color: #F5F5F5; }
.player-row { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.now { min-width: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; white-space: pre; overflow: hidden; }
.stop { height: 36px; padding: 0 12px; opacity: .35; }
.stop.on { opacity: 1; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 1px; padding: 1px; }
.tile { overflow: hidden; height: 78px; padding: 8px 10px; border: none; box-shadow: 0 0 0 1px var(--line); background: var(--bg); color: var(--fg-2); text-align: left; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; font: 400 12px var(--font); transition: background .12s; }
.tile:hover { background: #141414; }
.tile:active { filter: brightness(.92); }
.tile-meta { display: flex; justify-content: space-between; width: 100%; font-size: 11px; color: var(--mute); }
.tile-print { font: 400 10px/9px var(--font); overflow: hidden; color: #5A5A5A; }
.tile-name { width: 100%; font-weight: 500; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.tile.on, .tile.on:hover { background: var(--fg); color: var(--ink); }
.tile.on .tile-meta { color: #4A4A4A; }
.tile.on .tile-print { color: #3A3A3A; }

.app-status { display: flex; align-items: center; gap: 14px; height: 24px; padding: 0 14px; border-top: 1px solid var(--line); background: var(--bar); font-size: 11px; color: var(--mute); white-space: pre; overflow: hidden; }
.app-status .mic { display: flex; align-items: center; gap: 7px; color: var(--dim); }
.app-status .playing { color: var(--dim); }

/* Sections */
.band-section { border-top: 1px solid var(--line); }
.section { padding-block: 72px; display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; flex-direction: column; gap: 14px; }
.section h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--mute); }
.rule { flex-grow: 1; border-top: 1px dashed var(--dash); }

.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.compare-card { border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.compare-card h3 { font-size: 13px; font-weight: 500; color: var(--mute); }
.compare-card.old .steps-list { color: #8C8C8C; }
.compare-card.new { border-color: var(--fg); }
.compare-card.new h3 { color: var(--fg); }
.steps-list { display: flex; flex-direction: column; gap: 10px; }
.steps-list li { display: flex; gap: 16px; }
.num { color: var(--mute); }
.note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1px; padding: 1px; }
.feature { box-shadow: 0 0 0 1px var(--line); padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.feature h3 { font-size: 14px; font-weight: 600; }
.feature p { font-size: 13px; color: var(--dim); text-wrap: pretty; }

/* Chemin du son */
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 13px; }
.node { flex: 1 1 220px; min-width: 0; min-height: 132px; border: 1px solid var(--line-2); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.node-label { font-size: 12px; color: var(--mute); }
.node-src { white-space: pre; color: #8C8C8C; }
.node-src.on { color: var(--fg); }
.play { align-self: flex-start; height: 44px; padding: 0 14px; font-size: 13px; }
.pipe { flex: 1 1 90px; min-width: 0; overflow: hidden; text-align: center; white-space: pre; color: #3A3A3A; }
.pipe.on { color: var(--fg); }
.meter { display: flex; gap: 10px; white-space: pre; overflow: hidden; }
.meter-k { color: var(--mute); min-width: 6ch; }
.meter-v.voice { color: var(--dim); }

.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 32px 56px; padding-top: 8px; }
.how-text { display: flex; flex-direction: column; gap: 14px; color: var(--dim); }
.how-text p { max-width: 52ch; text-wrap: pretty; }
.touches { display: flex; flex-direction: column; font-size: 13px; }
.touches h3 { margin-bottom: 6px; font-size: 12px; font-weight: 400; color: var(--mute); }
.touch { display: flex; flex-wrap: wrap; gap: 2px 16px; padding: 10px 0; border-bottom: 1px solid #161616; }
.touch:last-child { border-bottom: none; }
.touch > :first-child { flex: 0 0 140px; }
.touch > :last-child { flex: 1 1 220px; color: var(--dim); }

/* Téléchargement */
.install { padding-top: 24px; }
.dither { overflow: hidden; font: 400 10px/10px var(--font); color: var(--fg); }
.install-box { background: var(--fg); color: var(--ink); padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 40px; }
.install-box .small { color: #4A4A4A; }
.install-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 48px; }
.install-title { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.install-title h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -0.04em; }
.install-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px 40px; }
.install-steps li { border-top: 1px solid var(--ink); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.install-steps .num { font-size: 12px; color: #4A4A4A; }
.step-title { font-weight: 600; }
.step-text { font-size: 13px; color: #3A3A3A; text-wrap: pretty; }

.foot { padding-block: 28px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 12px; color: var(--mute); }
.foot-brand { font-weight: 600; color: var(--dim); }
.foot a { display: flex; align-items: center; min-height: 44px; color: var(--dim); }
