:root {
  --bg: #0b0b10;
  --surface: #15151d;
  --raised: #1f1f2a;
  --border: #2a2a36;
  --text: #f4f1ea;
  --muted: #a7a3b3;
  --gold: #d4a645;
  --gold-light: #f1d08a;
  --on-gold: #1a1300;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
}
a { color: var(--gold-light); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 900; font-size: 22px; letter-spacing: 1px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.lang { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 3px; }
.lang button { background: none; border: 0; color: var(--muted); font-weight: 800; padding: 6px 12px; border-radius: 16px; cursor: pointer; }
.lang button.on { background: var(--gold); color: var(--on-gold); }

.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; padding: 36px 0 56px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; margin: 0 0 16px; }
.hero h1 span { color: var(--gold); }
.hero p.lead { color: var(--muted); font-size: 18px; margin: 0 0 26px; max-width: 520px; }
.phone { justify-self: center; width: min(300px, 80vw); aspect-ratio: 9 / 19; border-radius: 38px; border: 2px solid var(--border);
  background: radial-gradient(circle at 70% 20%, rgba(212, 166, 69, 0.55), transparent 55%), linear-gradient(160deg, #1b2a3a, #0b0b10 70%);
  position: relative; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.phone img { position: absolute; left: 50%; top: 40%; width: 46%; transform: translate(-50%, -50%); border-radius: 22%; }
.phone .cap { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; font-weight: 900; color: var(--gold-light); letter-spacing: 2px; }

.downloads { display: grid; gap: 12px; max-width: 520px; }
.dl { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 14px; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.15s, transform 0.15s; }
.dl:hover { border-color: var(--gold); transform: translateY(-1px); }
.dl.primary { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.dl svg { width: 30px; height: 30px; flex: none; }
.dl b { display: block; font-size: 17px; }
.dl small { opacity: 0.8; font-size: 13px; }

section { padding: 42px 0; border-top: 1px solid var(--border); }
section h2 { font-size: 28px; margin: 0 0 18px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; padding: 0; list-style: none; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; position: relative; }
.steps li::before { counter-increment: s; content: counter(s); display: flex; width: 30px; height: 30px; border-radius: 15px; background: var(--gold); color: var(--on-gold); font-weight: 900; align-items: center; justify-content: center; margin-bottom: 8px; }
.note { background: var(--raised); border-left: 4px solid var(--gold); border-radius: 10px; padding: 14px 16px; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.feature b { display: block; margin-bottom: 4px; }
.feature span { color: var(--muted); font-size: 15px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 800; }
details p { color: var(--muted); margin: 10px 0 0; }
footer { padding: 28px 0 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 10px; }

/* Legal pages */
.doc { max-width: 760px; padding: 20px 0 40px; }
.doc h1 { margin-bottom: 4px; }
.doc .date { color: var(--muted); margin-bottom: 26px; }
.doc h2 { font-size: 20px; margin: 26px 0 6px; color: var(--gold-light); }
.doc p { white-space: pre-line; color: #dcd8e4; }

[data-lang] { display: none; }
html[lang='en'] [data-lang='en'], html[lang='fr'] [data-lang='fr'] { display: revert; }

@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .phone { order: -1; width: min(220px, 60vw); }
}

/* Partner form */
.pform { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.pform label { display: grid; gap: 6px; color: var(--muted); font-weight: 700; font-size: 14px; }
.pform .full, .pform .sendbtn, .pform .note { grid-column: 1 / -1; }
.pform input, .pform select, .pform textarea { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; color: var(--text); padding: 12px; font: inherit; }
.pform input:focus, .pform select:focus, .pform textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.pform .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sendbtn { justify-content: center; font-weight: 900; font-size: 16px; cursor: pointer; }
.sendbtn:disabled { opacity: 0.6; }
@media (max-width: 640px) { .pform { grid-template-columns: 1fr; } }
