:root {
  --bg: #16202a;
  --surface: #1d2834;
  --raised: #243041;
  --border: #3f4953;
  --text: #f4f1ea;
  --muted: #a7b0b7;
  --gold: #dec08e;
  --gold-light: #efdcb8;
  --on-gold: #16202a;
}
* { 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; }
.brand img.mark { width: 38px; height: 38px; border-radius: 0; }
.brand img.word { width: auto; height: 22px; border-radius: 0; }
.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; } }


/* ===== ARTiK look (Nov 2026): same as the app - night blue, gold, terracotta, indigo, kente weave ===== */
:root {
  --bg: #0f1720; --surface: #182330; --raised: #22303f; --border: #2a3848; --edge: rgba(222, 192, 142, 0.38);
  --terracotta: #d2693f; --terracotta-deep: #5a2a18; --indigo: #8c9cff; --indigo-deep: #232b5c; --green: #5fbf8a; --live: #e5484d;
}
body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(1100px 620px at 85% -10%, rgba(222, 192, 142, 0.13), transparent 60%),
    radial-gradient(900px 520px at -10% 25%, rgba(140, 156, 255, 0.09), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(210, 105, 63, 0.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
h1, h2, .hero h1 { font-family: 'Syne', 'Manrope', sans-serif; letter-spacing: -0.5px; }
.weave { height: 5px; border-radius: 3px; margin: 2px 0 8px; opacity: 0.95;
  background: repeating-linear-gradient(90deg, #dec08e 0 34px, transparent 34px 40px, #d2693f 40px 70px, transparent 70px 76px,
    #8c9cff 76px 104px, transparent 104px 110px, #d5d8de 110px 132px, transparent 132px 138px, #b8976a 138px 168px, transparent 168px 174px,
    #e5484d 174px 190px, transparent 190px 196px); }
header.top { padding: 16px 0 12px; }
.brand img.word { height: 24px; }
.lang { border-radius: 22px; }

.greet { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0 0 18px; padding: 10px 16px; border-radius: 18px;
  background: linear-gradient(135deg, var(--terracotta-deep), #3a1d12); border: 1px solid rgba(222, 192, 142, 0.25); color: #f3d9c9; font-size: 14px; }
.greet b { font-family: 'Syne', sans-serif; color: var(--gold-light); font-size: 20px; }
.greet:empty { display: none; }
.hero h1 span { background: linear-gradient(120deg, #f4e4c3, #dec08e 45%, #b08d5e); -webkit-background-clip: text; background-clip: text; color: transparent; }

.phone { border: 1px solid var(--edge); border-radius: 40px;
  background: radial-gradient(circle at 50% 35%, rgba(222, 192, 142, 0.22), transparent 55%), linear-gradient(160deg, #26346b, #16202a 55%, #0b1016);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 8px rgba(255, 255, 255, 0.02); }
.phone img { top: 40%; width: 52%; border-radius: 0; }
.phone img.pword { top: auto; bottom: 14%; width: 56%; transform: translateX(-50%); }

.dl { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); border-top-color: var(--edge); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25); }
.dl.primary { background: linear-gradient(135deg, #f4e4c3, #dec08e 50%, #c8a46e); border-color: transparent; box-shadow: 0 14px 32px rgba(222, 192, 142, 0.22); }

section { border-top: 0; position: relative; }
section h2 { display: flex; align-items: center; gap: 12px; }
section h2::before { content: ''; width: 22px; height: 5px; border-radius: 3px; background: var(--terracotta); flex: none; }
section:nth-of-type(3n+2) h2::before { background: var(--gold); }
section:nth-of-type(3n) h2::before { background: var(--indigo); }

.steps li, .feature, details, .note {
  border-radius: 18px; background: var(--surface); border: 1px solid var(--border); border-top-color: var(--edge);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.feature { border-left: 4px solid var(--gold); transition: transform 0.15s; }
.feature:hover, .steps li:hover { transform: translateY(-2px); }
.features .feature:nth-child(5n+2) { border-left-color: var(--terracotta); }
.features .feature:nth-child(5n+3) { border-left-color: var(--indigo); }
.features .feature:nth-child(5n+4) { border-left-color: var(--green); }
.features .feature:nth-child(5n) { border-left-color: var(--live); }
.feature b { font-size: 17px; }
.steps li::before { background: linear-gradient(135deg, #f4e4c3, #dec08e); box-shadow: 0 4px 12px rgba(222, 192, 142, 0.3); }
.note { border-left: 4px solid var(--terracotta); }
details summary { list-style: none; }
details summary::before { content: '+'; display: inline-block; width: 22px; color: var(--gold); font-weight: 900; }
details[open] summary::before { content: '–'; }

footer { border-top: 0; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--gold); }
footer .follow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 4px 0 12px; }
footer .follow a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--text, inherit); }
footer .follow a:hover { color: var(--gold); }
footer .follow svg { width: 18px; height: 18px; }
.pform input, .pform select, .pform textarea { border-radius: 12px; }
