:root {
  --bleu: #0055A4;
  --rouge: #EF4135;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --text: #1c2530;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(15, 23, 42, .07), 0 1px 3px rgba(15, 23, 42, .08);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1620; --surface: #17202b; --text: #e6ebf1; --muted: #93a1b4; --border: #2a3543; }
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(circle at 10% -10%, rgba(0,85,164,.10), transparent 30rem), var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}
a { color: var(--bleu); }
.eyebrow { margin: 0 0 6px; color: var(--bleu); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
.lead { max-width: 640px; margin: 12px 0 0; color: var(--muted); font-size: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 10px; padding: 11px 18px; color: #fff; background: var(--bleu); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.secondary { color: var(--text); background: var(--border); }
.btn.lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }
.btn.discord { background:#5865F2; }
.btn.discord:hover { background:#4752c4; }
.btn.discord svg { width:17px; height:17px; }
.lp-discord { display:inline-flex; align-items:center; gap:6px; }
.lp-discord svg { width:13px; height:13px; }
.lp-link { color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; }
.lp-link:hover { color: var(--bleu); }

.lp-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 14px 5vw; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
@media (prefers-color-scheme: dark) { .lp-nav { background: rgba(15,22,32,.85); } }
.lp-brand { display: flex; align-items: center; color: var(--text); text-decoration: none; }
.lp-brand .lp-brand-logo { display:block; width:190px; height:auto; }
.lp-nav-links { display: flex; gap: 18px; margin-right: auto; }
.lp-nav-links a { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.lp-nav-links a:hover { color: var(--bleu); }
.lp-nav-actions { display: flex; align-items: center; gap: 14px; }
@media (max-width: 640px) { .lp-brand .lp-brand-logo { width:150px; }.lp-nav-links { display: none; } }

main { max-width: 1140px; margin: 0 auto; padding: 0 5vw; }

.lp-hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 40px; align-items: center; padding: 56px 0 40px; }
.lp-hero h1 { font-size: 40px; letter-spacing: -.01em; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lp-download-link { display:inline-flex; align-items:center; padding:0 5px; color:var(--bleu); font-size:13px; font-weight:750; text-underline-offset:4px; }
.lp-hero-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.lp-hero-visual { display: flex; justify-content: center; }
.lp-hero-card { width: 100%; max-width: 320px; padding: 26px; border-radius: 20px; color: #fff; background: radial-gradient(circle at 85% 18%, rgba(255,255,255,.18), transparent 28%), linear-gradient(125deg, #071f3d, #0055a4 58%, #0b7495); box-shadow: 0 20px 45px rgba(0,49,96,.25); }
.lp-hero-card .eyebrow { color: #bfe4fb; }
.lp-hero-card strong { display: block; margin: 4px 0 18px; font-size: 20px; }
.lp-hero-card-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; color: rgba(255,255,255,.85); }
.lp-hero-card-row b { color: #fff; }
@media (max-width: 860px) { .lp-hero { grid-template-columns: 1fr; padding-top: 32px; text-align: left; } .lp-hero h1 { font-size: 30px; } .lp-hero-visual { order: -1; } }

.lp-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 10px 0 30px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.lp-stats div { display: grid; gap: 2px; text-align: center; }
.lp-stats strong { font-size: 22px; color: var(--bleu); }
.lp-stats span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 640px) { .lp-stats { grid-template-columns: repeat(2, 1fr); } }

.lp-section { padding: 52px 0; border-top: 1px solid var(--border); }
.lp-section:first-of-type { border-top: 0; }
.lp-section-head { max-width: 720px; margin: 0 0 30px; }
.lp-section-head h2 { font-size: 27px; margin-top: 4px; }

.lp-downloads { position:relative; }
.lp-download-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.lp-download-card { --platform:#0055a4; position:relative; display:flex; flex-direction:column; min-width:0; padding:24px; border:1px solid var(--border); border-radius:20px; background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--platform) 5%,var(--surface))); box-shadow:var(--shadow); }
.lp-download-card[data-platform="windows"] { --platform:#087cd5; }
.lp-download-card[data-platform="linux"] { --platform:#ef8e25; }
.lp-download-card[data-platform="android"] { --platform:#288443; }
.lp-download-card.recommended { border-color:color-mix(in srgb,var(--platform) 58%,var(--border)); box-shadow:0 15px 38px color-mix(in srgb,var(--platform) 15%,transparent); }
.lp-download-recommended { position:absolute; top:15px; right:15px; padding:5px 8px; border-radius:99px; color:var(--platform); background:color-mix(in srgb,var(--platform) 11%,var(--surface)); font-size:9px; font-weight:850; letter-spacing:.04em; text-transform:uppercase; }
.lp-download-icon { display:grid; place-items:center; width:48px; height:48px; margin-bottom:18px; border-radius:14px; color:var(--platform); background:color-mix(in srgb,var(--platform) 11%,var(--surface)); }
.lp-download-icon svg { width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.lp-download-card[data-platform="windows"] .lp-download-icon svg { fill:currentColor; stroke:none; }
.lp-download-os { margin:0 0 2px; color:var(--platform); font-size:10px; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.lp-download-card h3 { font-size:20px; }
.lp-download-card > p:not(.lp-download-os) { min-height:42px; margin:13px 0 20px; color:var(--muted); font-size:13px; }
.lp-download-button { width:100%; margin-top:auto; background:var(--platform); }
.lp-download-button small { padding-left:7px; border-left:1px solid rgba(255,255,255,.28); color:rgba(255,255,255,.78); font-size:10px; }
.lp-download-meta { display:block; margin-top:11px; color:var(--muted); font-size:10px; text-align:center; }
.lp-download-alternative { display:block; margin-top:9px; color:var(--muted); font-size:10px; font-weight:700; text-align:center; text-underline-offset:3px; }
.lp-download-web { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:16px; padding:18px 20px; border:1px dashed var(--border); border-radius:14px; }
.lp-download-web div { display:grid; gap:2px; }
.lp-download-web strong { font-size:13px; }
.lp-download-web span { color:var(--muted); font-size:11px; }
@media (max-width:860px) { .lp-download-grid { grid-template-columns:1fr; }.lp-download-card > p:not(.lp-download-os) { min-height:0; } }
@media (max-width:560px) { .lp-download-card { padding:20px; }.lp-download-web { align-items:stretch; flex-direction:column; }.lp-download-web .btn { width:100%; } }

.lp-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.lp-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
@media (max-width: 860px) { .lp-grid-3, .lp-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lp-grid-3, .lp-grid-4 { grid-template-columns: 1fr; } }

.lp-card { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.lp-card-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 10px; background: rgba(0,85,164,.1); font-size: 19px; }
.lp-card h3 { font-size: 16px; margin-bottom: 8px; }
.lp-card p { margin: 0; color: var(--muted); font-size: 13px; }

.lp-news-date { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.lp-news-link { display: inline-block; margin-top: 12px; color: var(--bleu); font-weight: 600; font-size: 13px; text-decoration: none; }
.lp-news-link:hover { text-decoration: underline; }
.lp-news-more { margin-top: 22px; text-align: center; }

.lp-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lp-steps li { display: flex; align-items: flex-start; gap: 16px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.lp-steps b { display: grid; place-items: center; min-width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--rouge); font-size: 15px; }
.lp-steps strong { display: block; margin-bottom: 3px; font-size: 15px; }
.lp-steps span { color: var(--muted); font-size: 13px; }

.lp-cta-banner { margin: 20px 0 52px; padding: 44px 5vw; border-radius: 24px; text-align: center; color: #fff; background: linear-gradient(125deg, #071f3d, #0055a4 55%, #0b7495); box-shadow: 0 20px 45px rgba(0,49,96,.2); }
.lp-cta-banner h2 { font-size: 26px; }
.lp-cta-banner p { max-width: 520px; margin: 10px auto 22px; color: rgba(255,255,255,.85); }

.lp-faq { display: grid; gap: 10px; max-width: 760px; }
.lp-faq details { padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.lp-faq summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.lp-faq p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }

.lp-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; max-width: 1140px; margin: 0 auto; padding: 26px 5vw 40px; color: var(--muted); font-size: 12px; }
.lp-footer a { color: var(--muted); text-decoration: underline; }
