/* Page /zenode — composants propres à la page, basés sur les variables du site (clair + sombre). */

.zn-wordmark { display: inline-flex; align-items: baseline; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.zn-wordmark .us { color: var(--g, #0a0a0a); margin-left: 1px; animation: zn-blink 1.1s steps(1) infinite; }
@keyframes zn-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .zn-wordmark .us { animation: none; } }

.zn-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.zn-lead { margin-top: 20px; max-width: 620px; font-size: 18px; color: var(--muted); }
.zn-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.zn-logo-card { display: grid; place-items: center; gap: 14px; padding: 34px 44px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: 0 1px 2px rgba(34, 34, 34, .04); }
.zn-logo-card .zn-wordmark { font-size: 46px; }
.zn-logo-card small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.zn-wrap { display: grid; gap: 64px; padding-bottom: 40px; }
.zn-wrap h2 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -0.03em; font-weight: 650; line-height: 1.15; margin-bottom: 14px; text-wrap: balance; }
.zn-wrap p { color: var(--muted); max-width: 720px; }
.zn-wrap p + p { margin-top: 12px; }
.zn-wrap strong { color: var(--text); font-weight: 600; }
.zn-wrap a:not(.btn) { color: var(--text); text-decoration: underline; text-decoration-color: var(--g, #0a0a0a); text-underline-offset: 3px; }

.zn-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.zn-stat { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.zn-stat b { display: block; font-size: 22px; letter-spacing: -0.03em; font-weight: 650; color: var(--text); }
.zn-stat span { font-size: 13px; color: var(--muted); }

.zn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.zn-grid.two { grid-template-columns: repeat(2, 1fr); }
.zn-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); transition: border-color .25s ease, transform .3s var(--ease), box-shadow .25s ease; }
a.zn-card:hover { border-color: var(--g-line, var(--line-strong)); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(34, 34, 34, .08); }
.zn-card .num { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--g, #0a0a0a); }
.zn-card h3 { font-size: 18px; letter-spacing: -0.02em; font-weight: 650; color: var(--text); }
.zn-card p { font-size: 14.5px; margin: 0; }
.zn-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.zn-tags span { padding: 3px 10px; border-radius: 999px; background: var(--g-soft, #f2f2f2); color: var(--g-dark, #2b2b2b); font-size: 12px; font-weight: 500; }

.zn-bots { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; padding: 0; }
.zn-bots li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); font-weight: 600; color: var(--text); }
.zn-bots li::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--g, #0a0a0a); box-shadow: 0 0 0 4px rgba(125, 125, 125, .15); }
.zn-bots li + li { margin: 0; }

.zn-join { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 28px; border: 1px solid var(--g-line, var(--line-strong)); border-radius: var(--radius-lg); background: var(--g-soft, var(--bg-soft)); }
.zn-join h2 { margin-bottom: 6px; }
.zn-join p { margin: 0; }
.zn-price { font-size: 34px; font-weight: 700; letter-spacing: -0.04em; color: var(--text); }
.zn-price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.zn-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.zn-links a { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--card); font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none !important; transition: border-color .2s, background .2s; }
.zn-links a:hover { border-color: var(--g, #0a0a0a); }
.zn-source { font-size: 13px; color: var(--muted-soft); }

@media (max-width: 860px) {
  .zn-hero { grid-template-columns: 1fr; }
  .zn-logo-card { justify-self: start; padding: 24px 30px; }
  .zn-stats { grid-template-columns: repeat(2, 1fr); }
  .zn-grid, .zn-grid.two, .zn-bots { grid-template-columns: 1fr; }
}

/* Aperçus du site zenode.fr */
.zn-shot { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); transition: border-color .25s ease, transform .3s var(--ease), box-shadow .25s ease; }
.zn-shot:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(34, 34, 34, .08); }
.zn-frame { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft, var(--card)); }
.zn-frame i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.zn-frame span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.zn-shot img { display: block; width: 100%; height: auto; }
.zn-cap { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--text); }
html[data-theme="dark"] .zn-shot:hover { box-shadow: none; }
.zn-shot, .zn-shot span { text-decoration: none; }
