  :root {
    --bg: #000000;
    --panel: #101010;
    --panel-2: #161616;
    --border: #2a2a2a;
    --text: #f2f2f2;
    --muted: #9a9a9a;
    --accent-blue: #4a90ff;
    --accent-green: #34c759;
    --accent-yellow: #ffd60a;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  .wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
  a { color: inherit; }

  .nav-sticky {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
  }
  .nav-sticky.scrolled { border-bottom-color: var(--border); }
  header.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
  }
  .brand { font-weight: 800; letter-spacing: 0.5px; font-size: 18px; }
  .brand .dot { color: var(--accent-blue); }
  nav.links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
  nav.links a { transition: color 0.2s ease; }
  nav.links a:hover { color: var(--text); }
  nav.links a.lang-switch {
    font-weight: 700;
    font-size: 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 10px;
    color: var(--text);
  }
  nav.links a.lang-switch:hover { border-color: rgba(255,255,255,0.4); }

  .hero {
    position: relative;
    padding: 64px 0 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
  }

  /* Profondeur d'ambiance : formes floues qui dérivent doucement derrière le
     contenu, comme une "photo de studio" plutôt qu'un fond plat. Purement
     décoratif, jamais interactif. */
  .hero-decor {
    /* Sans placement grid explicite, un enfant absolu occupe quand même une
       case d'auto-placement et décale les vrais items (texte/molette) —
       piège classique CSS Grid + position:absolute. */
    grid-area: 1 / 1 / -1 / -1;
    position: absolute;
    inset: -80px -10% -40px;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }
  .hero-decor span {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    animation: hero-drift 16s ease-in-out infinite;
  }
  .hero-decor span:nth-child(1) {
    width: 260px; height: 260px;
    background: radial-gradient(circle, var(--accent-blue), transparent 70%);
    top: 6%; right: 8%;
    animation-duration: 18s;
  }
  .hero-decor span:nth-child(2) {
    width: 180px; height: 180px;
    background: radial-gradient(circle, var(--accent-green), transparent 70%);
    bottom: 4%; left: 4%;
    opacity: 0.18;
    animation-duration: 22s;
    animation-delay: -6s;
  }
  .hero-decor span:nth-child(3) {
    width: 140px; height: 140px;
    background: radial-gradient(circle, var(--accent-yellow), transparent 70%);
    top: 42%; left: 14%;
    opacity: 0.12;
    animation-duration: 20s;
    animation-delay: -11s;
  }
  @keyframes hero-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-16px, 22px) scale(1.08); }
  }
  .hero > * { position: relative; z-index: 1; }
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--accent-green);
    background: rgba(52, 199, 89, 0.12);
    border: 1px solid rgba(52, 199, 89, 0.3);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 44px;
    line-height: 1.08;
    margin: 0 0 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
  }
  h1 .hl { color: var(--accent-blue); }
  .lede {
    color: var(--muted);
    font-size: 18px;
    margin: 0 0 28px;
    max-width: 46ch;
  }
  .cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out), border-color 0.3s ease, background 0.3s ease;
  }
  .btn-primary { background: var(--text); color: #000; }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,255,255,0.18); }
  .btn-ghost { border-color: var(--border); color: var(--text); }
  .btn-ghost:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.04); }
  .btn[disabled], .btn.disabled {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
  }
  .subnote { color: var(--muted); font-size: 13px; margin-top: 10px; }

  /* Molette CSS, même esthétique que l'app (voir JogWheelView.swift) */
  .wheel-hero { display: flex; justify-content: center; perspective: 900px; }
  /* Conteneur de tilt : suit doucement la souris (voir script en bas de
     index.html) pour un effet de profondeur "penché vers l'écran", séparé
     de `.wheel-ring` qui gère sa propre rotation — les deux transforms ne
     se marchent jamais dessus puisqu'ils vivent sur des éléments différents. */
  .wheel-tilt {
    transition: transform 0.4s var(--ease-out);
    transform-style: preserve-3d;
    will-change: transform;
  }
  .wheel {
    width: 280px; height: 280px; border-radius: 50%;
    position: relative;
    background: radial-gradient(circle at center, #4d4d4d 0%, #1f1f1f 55%, #1f1f1f 100%);
    border: 2px solid rgba(255,255,255,0.18);
    box-shadow: 0 30px 80px rgba(74,144,255,0.15), inset 0 0 40px rgba(0,0,0,0.6);
  }
  .wheel { cursor: grab; touch-action: none; }
  .wheel:active { cursor: grabbing; }
  .wheel-ring {
    position: absolute; inset: 0;
    border-radius: 50%;
    animation: wheel-idle-spin 22s linear infinite;
  }
  /* Une animation CSS garde la main sur `transform` même en pause (elle
     l'emporte sur tout style inline) : impossible de faire tourner la roue
     à la main tant que l'animation n'est pas complètement coupée. */
  .wheel-ring.manual { animation: none; }
  .wheel .tick {
    position: absolute;
    width: 3px; height: 20px;
    background: rgba(255,255,255,0.35);
    left: 50%; top: 6px;
    transform-origin: 50% 134px;
    margin-left: -1.5px;
    border-radius: 2px;
  }
  .wheel .tick.major { background: rgba(255,255,255,0.7); height: 24px; }
  .wheel .hub {
    position: absolute; inset: 36%;
    border-radius: 50%;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; letter-spacing: 2px; color: #6b6b6b;
  }
  @keyframes wheel-idle-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  section { padding: 64px 0; border-top: 1px solid var(--border); }
  .kicker {
    color: var(--accent-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  h2 { font-size: 30px; margin: 0 0 12px; letter-spacing: -0.3px; }
  .section-lede { color: var(--muted); max-width: 60ch; margin: 0 0 36px; }

  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
  }
  .card:hover {
    border-color: rgba(74, 144, 255, 0.35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  }
  .card h3 { margin: 0 0 8px; font-size: 17px; }
  .card p { margin: 0; color: var(--muted); font-size: 14px; }
  .card .icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; margin-bottom: 16px;
    background: var(--panel-2);
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease-spring);
  }
  .card:hover .icon { transform: scale(1.08) rotate(-4deg); }

  .how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step { position: relative; padding-left: 44px; }
  .step .n {
    position: absolute; left: 0; top: 0;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--panel-2); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px; color: var(--accent-blue);
  }
  .step h4 { margin: 0 0 6px; font-size: 15px; }
  .step p { margin: 0; color: var(--muted); font-size: 14px; }

  table.pricing {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
  }
  table.pricing th, table.pricing td {
    text-align: left;
    padding: 16px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }
  table.pricing th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
  table.pricing td.price { font-weight: 700; white-space: nowrap; }
  table.pricing tr.free td.price { color: var(--accent-green); }
  .compare-note {
    margin-top: 20px;
    color: var(--muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .download-box {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .download-box .col h3 { margin: 0 0 10px; font-size: 18px; }
  .download-box .col p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
  .req-list { list-style: none; padding: 0; margin: 0 0 16px; font-size: 13px; color: var(--muted); }
  .req-list li { padding: 4px 0; padding-left: 20px; position: relative; }
  .req-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent-blue); }

  /* Apparition au scroll (voir script en bas de index.html) */
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.5s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .reveal.in-view { opacity: 1; transform: translateY(0); }
  .reveal.in-view:hover { transform: translateY(-6px); }
  .grid-3 .reveal:nth-child(1) { transition-delay: 0s; }
  .grid-3 .reveal:nth-child(2) { transition-delay: 0.06s; }
  .grid-3 .reveal:nth-child(3) { transition-delay: 0.12s; }
  .grid-3 .reveal:nth-child(4) { transition-delay: 0.18s; }
  .grid-3 .reveal:nth-child(5) { transition-delay: 0.24s; }
  .grid-3 .reveal:nth-child(6) { transition-delay: 0.3s; }
  .how-steps .reveal:nth-child(1) { transition-delay: 0s; }
  .how-steps .reveal:nth-child(2) { transition-delay: 0.1s; }
  .how-steps .reveal:nth-child(3) { transition-delay: 0.2s; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .wheel-ring { animation: none; }
    .hero-decor span { animation: none; }
    .wheel-tilt { transition: none; }
  }

  footer { padding: 40px 0 60px; color: var(--muted); font-size: 13px; }
  footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
  footer .legal-links { display: flex; gap: 18px; }
  footer .legal-links a { color: var(--muted); text-decoration: none; }
  footer .legal-links a:hover { color: var(--text); }

  /* Pages légales */
  .legal-page { padding: 48px 0 80px; }
  .legal-page .updated { color: var(--muted); font-size: 13px; margin: 0 0 40px; }
  .legal-page h2 { font-size: 20px; margin: 36px 0 10px; }
  .legal-page h2:first-of-type { margin-top: 0; }
  .legal-page p, .legal-page li { color: #cfcfcf; font-size: 15px; }
  .legal-page ul { padding-left: 20px; }
  .legal-page a.inline { color: var(--accent-blue); }
  .placeholder {
    background: rgba(255, 214, 10, 0.08);
    border: 1px dashed rgba(255, 214, 10, 0.4);
    border-radius: 8px;
    padding: 2px 8px;
    color: var(--accent-yellow);
    font-weight: 600;
    font-size: 0.95em;
  }
  .back-link { display: inline-block; margin-bottom: 24px; color: var(--muted); text-decoration: none; font-size: 14px; }
  .back-link:hover { color: var(--text); }

  @media (max-width: 760px) {
    .hero { grid-template-columns: 1fr; padding-top: 32px; }
    .wheel-hero { order: -1; }
    h1 { font-size: 32px; }
    .grid-3, .how-steps { grid-template-columns: 1fr; }
    .download-box { grid-template-columns: 1fr; }
    nav.links { display: none; }
  }
