/* Éloqarté home page. Same colours and 3D cards as the app. */
:root {
  --bg: #f2f5f0;
  --ink: #1a2d09;
  --ink-deep: #0b1604;
  --text: #3c4a36;
  --muted: #5e6b58;
  --line: #cfe0c6;
  --lime: #c2ff60;
  --lime-deep: #8fbf3f;
  --purple: #a12be8;
  --purple-deep: #7b1fc2;
  --white: #ffffff;
  --pad: clamp(20px, 7.8vw, 100px);
}
* { 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(--ink);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
a { color: #2c6322; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
img, svg { max-width: 100%; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 14px; background: var(--white); border-radius: 12px; }
.skip:focus { left: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  height: 58px; padding: 0 30px; border-radius: 999px; border: 0;
  font: inherit; font-size: 18px; font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:active { transform: translateY(4px); }
.btn-dark { background: var(--ink); color: var(--white); box-shadow: 0 5px 0 var(--ink-deep); }
.btn-dark:hover { color: var(--white); }
.btn-dark:active { box-shadow: 0 1px 0 var(--ink-deep); }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 5px 0 var(--lime-deep); }
.btn-lime:hover { color: var(--ink); }
.btn-lime:active { box-shadow: 0 1px 0 var(--lime-deep); }
.btn-sm { height: 46px; padding: 0 22px; font-size: 15px; box-shadow: 0 4px 0 var(--ink-deep); }
.btn-xs { height: auto; padding: 10px 16px; font-size: 14px; box-shadow: 0 3px 0 var(--ink-deep); }

.store {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px;
  border-radius: 14px; background: #000; color: #fff; text-decoration: none; white-space: nowrap;
}
.store:hover { color: #fff; }
.store-logo { width: 24px; height: 24px; flex-shrink: 0; }
.store small { display: block; font-size: 10px; font-weight: 600; opacity: 0.85; }
.store strong { display: block; font-size: 16px; font-weight: 800; line-height: 18px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  height: 76px; padding: 0 var(--pad); display: flex; align-items: center; gap: 28px;
}
.logo { font-size: 24px; font-weight: 900; color: var(--ink); text-decoration: none; }
.nav { margin-left: auto; display: flex; gap: 28px; }
.nav a { font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 4px 8px; border-radius: 999px;
  background: var(--white); box-shadow: 0 3px 0 var(--line); font-size: 13px; font-weight: 800;
}
.lang-switch span { color: var(--muted); }
.lang-switch button {
  border: 0; background: none; font: inherit; color: var(--muted); padding: 4px 5px; border-radius: 999px; cursor: pointer;
}
.lang-switch button[aria-pressed='true'] { color: var(--ink); background: var(--lime); }

/* Shared section bits */
.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; font-weight: 500;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--purple-deep);
}
.eyebrow.lime { color: var(--lime); }
.section { padding: 72px var(--pad); }
.section > h2, .split h2 {
  margin-top: 8px; font-size: 40px; line-height: 46px; font-weight: 900; max-width: 760px; letter-spacing: -0.4px;
}
.lead { margin-top: 12px; font-size: 18px; line-height: 27px; color: var(--text); max-width: 640px; }
.band-white { background: var(--white); }
.band-dark { background: var(--ink); color: var(--white); }
.card { border-radius: 22px; background: var(--white); box-shadow: 0 3px 0 var(--line); padding: 24px; }
.grid-2, .grid-3, .grid-4 { margin-top: 32px; display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.icon-tile { width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; }
.icon-tile.sm { width: 52px; height: 52px; border-radius: 16px; }
.card h3 { margin-top: 14px; font-size: 24px; font-weight: 900; }
.card p { margin-top: 6px; font-size: 16px; line-height: 24px; color: var(--text); }

/* Hero */
.hero { padding: 40px var(--pad) 72px; display: flex; align-items: center; gap: 60px; }
.hero-copy { flex: 1; min-width: 0; }
.hero h1 { margin-top: 10px; font-size: clamp(40px, 4.2vw, 54px); line-height: 1.08; font-weight: 900; letter-spacing: -1px; }
.hero h1 span { display: block; }
.purple { color: var(--purple); }
.hero .lead { font-size: 18px; }
.goal-q { margin-top: 26px; font-size: 15px; font-weight: 800; }
.goal-chips { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--white);
  box-shadow: 0 3px 0 var(--line); font-size: 15px; font-weight: 800; color: var(--ink); text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.chip:hover { color: var(--ink); background: #f8fff0; }
.chip:active { transform: translateY(3px); box-shadow: 0 0 0 var(--line); }
.cta-row { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cta-row.center { justify-content: center; }
.hero-note { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }

.hero-visual { position: relative; width: 380px; height: 620px; flex-shrink: 0; }
.blob { position: absolute; left: 20px; top: 40px; width: 340px; height: 540px; border-radius: 50%; background: var(--lime); }
.phone {
  position: absolute; left: 40px; top: 10px; margin: 0; width: 300px; height: 600px; border-radius: 44px;
  background: var(--ink); padding: 10px; box-shadow: 0 30px 60px rgba(26, 45, 9, 0.25);
}
.screen {
  width: 100%; height: 100%; border-radius: 36px; background: var(--bg); overflow: hidden;
  padding: 34px 14px 14px; display: flex; flex-direction: column; gap: 10px;
}
.m-title { font-size: 18px; font-weight: 900; }
.m-coach {
  border-radius: 20px; background: var(--purple); box-shadow: 0 4px 0 var(--purple-deep);
  padding: 10px 12px; display: flex; align-items: center; gap: 10px;
}
.m-coach .coach-art { flex-shrink: 0; border-radius: 50%; }
.m-bubble { background: var(--white); border-radius: 12px 12px 12px 4px; padding: 7px 10px; font-size: 12px; line-height: 16px; font-weight: 700; }
.m-card { border-radius: 22px; background: var(--white); box-shadow: 0 3px 0 var(--line); }
.m-scores { padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.m-score { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.m-score > span:first-child { width: 78px; font-weight: 800; }
.m-bar { flex: 1; height: 10px; border-radius: 5px; background: #e3e9df; overflow: hidden; }
.m-bar i { display: block; height: 100%; border-radius: 5px; }
.m-score b { width: 26px; text-align: right; font-weight: 900; }
.m-note { border-radius: 18px; padding: 11px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; line-height: 17px; font-weight: 600; }
.m-note b { font-size: 13px; font-weight: 800; }
.m-good { background: #eaf6dc; box-shadow: 0 4px 0 #cfe5b0; color: #2f3d29; }
.m-good b { color: var(--ink); }
.m-work { background: #ffe9e5; box-shadow: 0 4px 0 #f3bdb5; color: #5a2a24; }
.m-work b { color: #b8423a; }
.m-stats { display: flex; gap: 8px; }
.m-stats .m-card { flex: 1; padding: 9px; text-align: center; display: flex; flex-direction: column; }
.m-stats b { font-size: 18px; font-weight: 900; }
.m-stats span { font-size: 10px; font-weight: 700; color: var(--muted); }
.m-btn {
  margin-top: auto; height: 46px; border-radius: 999px; background: var(--ink); color: var(--white);
  font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 var(--ink-deep);
}

/* Facts */
.facts {
  margin: 0 var(--pad); border-radius: 28px; background: var(--ink); box-shadow: 0 5px 0 var(--ink-deep);
  padding: 26px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center;
}
.facts strong { display: block; font-size: 26px; font-weight: 900; color: var(--white); }
.facts span { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--line); }

/* Steps */
.steps { margin: 32px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-n {
  width: 52px; height: 52px; border-radius: 50%; background: var(--lime); box-shadow: 0 4px 0 var(--lime-deep);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900;
}
.steps h3 { margin-top: 14px; font-size: 22px; font-weight: 900; }
.steps p { margin-top: 6px; font-size: 16px; line-height: 24px; color: var(--text); }

/* Exercises */
.card.ex { padding: 18px; }
.card.ex h3 { margin-top: 10px; font-size: 17px; }
.card.ex p { margin-top: 4px; font-size: 14px; line-height: 20px; }

/* Free tests */
.test-card { border-radius: 24px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; }
.test-card h3 { margin-top: 10px; font-size: 20px; font-weight: 900; }
.test-card p { margin-top: 6px; font-size: 15px; line-height: 22px; font-weight: 600; color: #2f3d29; flex: 1; }
.test-card .btn { margin-top: 16px; }

/* Coaches */
.band-dark h2 { color: var(--white); }
.coach-card { border-radius: 28px; background: #2a4212; padding: 24px; display: flex; align-items: center; gap: 18px; }
.coach-pic { width: 110px; height: 110px; flex-shrink: 0; border-radius: 50%; background: #3a5a1a; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.coach-pic .coach-art { margin-bottom: -14px; }
.coach-card h3 { font-size: 26px; font-weight: 900; color: var(--white); }
.coach-card p { margin-top: 4px; font-size: 15px; line-height: 22px; color: var(--line); }

/* Privacy */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.privacy-links { margin-top: 14px; font-size: 15px; font-weight: 700; }
.checks { margin: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checks li { position: relative; padding-left: 34px; font-size: 16px; line-height: 24px; font-weight: 600; }
.checks li::before {
  content: '✓'; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--lime); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900;
}

/* FAQ */
.faq { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 22px; background: var(--white); box-shadow: 0 3px 0 var(--line); border: 1.5px solid #e3e9df; padding: 18px 22px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 800;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; font-size: 22px; font-weight: 700; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--text); }

/* Final call to action */
.final {
  margin: 72px var(--pad) 0; border-radius: 36px; background: var(--purple); box-shadow: 0 6px 0 var(--purple-deep);
  padding: 54px; text-align: center; position: relative; overflow: hidden;
}
.final-blob { position: absolute; right: -80px; top: -100px; width: 320px; height: 320px; border-radius: 50%; background: var(--purple-deep); }
.final h2 { position: relative; font-size: 44px; line-height: 50px; font-weight: 900; color: var(--white); max-width: 760px; margin: 0 auto; }
.final .cta-row { position: relative; margin-top: 24px; }

/* Footer */
.site-footer { padding: 36px var(--pad); display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; font-size: 14px; font-weight: 600; color: var(--muted); }
.site-footer .logo { font-size: 16px; }
.site-footer nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.site-footer a, .linklike { color: var(--muted); text-decoration: none; }
.site-footer a:hover, .linklike:hover { color: var(--ink); text-decoration: underline; }
.linklike { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }

/* Tablet */
@media (max-width: 1100px) {
  .nav { display: none; }
  .lang-switch { margin-left: auto; }
  .hero { flex-direction: column; align-items: stretch; gap: 32px; }
  .hero-visual { align-self: center; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
/* Phone: one column, exercise cards two per row */
@media (max-width: 720px) {
  .site-header { height: 64px; gap: 10px; }
  .logo { font-size: 20px; }
  .header-cta { display: none; }
  .hero { padding-top: 16px; }
  .hero h1 { font-size: 40px; line-height: 44px; }
  .hero-visual { width: 330px; height: 560px; }
  .blob { left: 10px; width: 310px; height: 500px; }
  .phone { left: 15px; transform: scale(0.92); transform-origin: top center; }
  .section { padding: 56px var(--pad); }
  .section > h2, .split h2 { font-size: 30px; line-height: 36px; }
  .grid-2, .grid-3, .steps, .split { grid-template-columns: 1fr; }
  .steps { gap: 28px; }
  .split { gap: 24px; }
  .grid-4 { gap: 12px; }
  .card.ex { padding: 14px; }
  .card.ex h3 { font-size: 15px; }
  .card.ex p { font-size: 13px; line-height: 18px; }
  .facts { padding: 20px 12px; gap: 18px 8px; }
  .facts strong { font-size: 20px; }
  .facts span { font-size: 13px; }
  .coach-card { padding: 18px; }
  .coach-pic { width: 88px; height: 88px; }
  .final { padding: 36px 20px; border-radius: 28px; }
  .final h2 { font-size: 30px; line-height: 36px; }
  .btn { height: 54px; font-size: 17px; padding: 0 24px; }
  .cta-row .btn { width: 100%; }
  .site-footer nav { margin-left: 0; }
}
