/* Vinylia — site vitrine. Couleurs reprises de l'app : platine 1 bleue, platine 2 rouge. */
:root {
  --bg: #07070b;
  --bg-2: #0e0e15;
  --panel: #13131c;
  --panel-2: #1a1a26;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f2f7;
  --muted: #9a9ab0;
  --deck-a: #4fa3ff;
  --deck-b: #f0524c;
  --violet: #9b6bff;
  --green: #3ddc84;
  --orange: #ff9f2e;
  --radius: 18px;
  --max: 1180px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--deck-a); outline-offset: 3px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 12px max(16px, calc((100vw - var(--max)) / 2));
  background: rgba(7, 7, 11, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: 0.32em; font-size: 15px; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--text); }
.topbar-end { display: flex; align-items: center; gap: 10px; }
.lang {
  font: 700 12px/1 var(--mono); letter-spacing: .08em; color: var(--muted);
  background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer;
}
.lang:hover { color: var(--text); border-color: rgba(255,255,255,.25); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  border-radius: 14px; padding: 14px 22px; font-weight: 700; font-size: 16px;
  transition: transform .15s ease, box-shadow .25s ease, background .2s;
}
.btn:active { transform: scale(.97); }
.btn-small { padding: 9px 16px; font-size: 14px; border-radius: 10px; background: linear-gradient(135deg, var(--deck-a), var(--violet) 55%, var(--deck-b)); color: #fff; }
.btn-store {
  color: #fff; padding: 12px 24px 12px 20px;
  background: linear-gradient(135deg, var(--deck-a) 0%, var(--violet) 50%, var(--deck-b) 100%);
  box-shadow: 0 10px 40px -10px rgba(155, 107, 255, .7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-store:hover { box-shadow: 0 14px 50px -8px rgba(155, 107, 255, .9), inset 0 1px 0 rgba(255,255,255,.3); transform: translateY(-1px); }
.btn-store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn-store small { font-weight: 500; font-size: 12px; opacity: .85; }
.btn-store strong { font-size: 19px; }
.btn-ghost { color: var(--text); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
  max-width: var(--max); margin: 0 auto; padding: 72px 16px 40px;
  min-height: min(860px, calc(100vh - 60px));
}
.hero-lights { position: absolute; inset: -120px -20vw 0; z-index: -1; pointer-events: none; overflow: hidden; -webkit-mask: linear-gradient(#000 60%, transparent); mask: linear-gradient(#000 60%, transparent); }
.hero-lights span { position: absolute; width: 60vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%; filter: blur(90px); opacity: .38; }
.hero-lights span:nth-child(1) { background: var(--deck-a); left: -10%; top: 0; animation: drift 14s ease-in-out infinite alternate; }
.hero-lights span:nth-child(2) { background: var(--deck-b); right: -12%; top: 10%; animation: drift 17s ease-in-out infinite alternate-reverse; }
.hero-lights span:nth-child(3) { background: var(--violet); left: 35%; top: 45%; opacity: .22; animation: drift 20s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(6%, 8%) scale(1.12); } }

.kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-a { background: var(--deck-a); box-shadow: 0 0 10px var(--deck-a); }
.dot-b { background: var(--deck-b); box-shadow: 0 0 10px var(--deck-b); margin-right: 4px; }
.hero h1 { font-size: clamp(44px, 7vw, 88px); font-weight: 900; margin: 22px 0 20px; letter-spacing: -0.04em; }
.grad { background: linear-gradient(100deg, var(--deck-a), var(--violet) 50%, var(--deck-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #c9c9da; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.platforms { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; padding: 0; margin: 28px 0 0; font: 600 13px/1 var(--mono); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.platforms li { display: flex; align-items: center; gap: 8px; }
.platforms em { font-style: normal; color: var(--orange); }

.led { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.led-on { background: var(--green); box-shadow: 0 0 8px var(--green); }
.led-wait { background: var(--orange); box-shadow: 0 0 8px var(--orange); animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* Turntable drawn in CSS (same spirit as the app: everything drawn, no third-party image) */
.hero-deck { display: flex; justify-content: center; }
.deck-plate {
  position: relative; width: min(500px, 100%); aspect-ratio: 1 / 0.86;
  border-radius: 22px; padding: 6%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #2a2a33, #15151b 60%, #101015);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08), inset 0 -2px 0 rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05);
}
.platter { position: relative; width: 78%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.8)); }
.platter-svg { display: block; width: 100%; height: auto; }
.platter-svg .spin { transform-box: fill-box; transform-origin: center; animation: spin 1.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.strobe { position: absolute; left: -2%; bottom: 2%; width: 14px; height: 14px; border-radius: 50%; background: var(--deck-a); box-shadow: 0 0 18px 4px var(--deck-a); }

.tonearm { position: absolute; right: 9%; top: 9%; width: 30%; height: 70%; pointer-events: none; }
.tonearm::before {
  content: ""; position: absolute; right: 0; top: 0; width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle, #d9d9e2 0 18%, #6a6a75 20% 40%, #2a2a31 42%);
  box-shadow: 0 6px 14px rgba(0,0,0,.6);
}
.arm {
  position: absolute; right: 28px; top: 30px; width: 6px; height: 78%;
  background: linear-gradient(90deg, #8d8d98, #f2f2f7 45%, #8d8d98);
  border-radius: 3px; transform-origin: top center; transform: rotate(22deg);
  box-shadow: 4px 6px 10px rgba(0,0,0,.5);
}
.head {
  position: absolute; right: calc(28px + 78% * 0.37); bottom: 6%; width: 18px; height: 30px;
  background: var(--deck-a); border-radius: 4px; transform: rotate(40deg);
  box-shadow: 0 0 14px rgba(79,163,255,.6);
}
.pitch { position: absolute; right: 6%; bottom: 10%; width: 12px; height: 34%; border-radius: 6px; background: #0a0a0d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.pitch-knob { position: absolute; left: -10px; right: -10px; top: 46%; height: 14px; border-radius: 4px; background: linear-gradient(#d8d8e0, #77777f); box-shadow: 0 3px 6px rgba(0,0,0,.6); }
.deck-readout { position: absolute; left: 6%; top: 5%; display: flex; align-items: baseline; gap: 8px; font-family: var(--mono); }
.bpm { font-size: 22px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.bpm-unit { font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.key { font-size: 12px; font-weight: 700; padding: 3px 7px; border-radius: 6px; border: 1px solid rgba(255,255,255,.18); }

.wave-wrap {
  grid-column: 1 / -1; position: relative; height: 120px; margin-top: 12px;
  border-radius: 14px; overflow: hidden; background: #050507;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 40px rgba(0,0,0,.8);
}
#waveform { width: 100%; height: 100%; display: block; }
.playhead { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 12px #fff; }
.playhead::before { content: ""; position: absolute; top: 0; left: -5px; border: 6px solid transparent; border-top-color: #fff; }

/* ---------- Stats ---------- */
.stats {
  max-width: var(--max); margin: 24px auto 0; padding: 0 16px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; text-align: center; }
.stats strong { display: block; font: 800 34px/1 var(--mono); background: linear-gradient(180deg, #fff, #9a9ab0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 110px 16px 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.eyebrow { font: 700 13px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--deck-a); margin-bottom: 14px; }
.section h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 850; }
.section-head p:not(.eyebrow) { color: var(--muted); margin-top: 16px; font-size: 18px; }

/* ---------- Screenshots ---------- */
.device-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 26px; }
.device-tabs button {
  font: 700 14px/1 var(--sans); color: var(--muted); background: transparent; border: 0; cursor: pointer;
  padding: 11px 20px; border-radius: 10px; transition: background .2s, color .2s;
}
.device-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, var(--deck-a), var(--violet)); box-shadow: 0 6px 20px -6px rgba(79,163,255,.7); }
.stage { margin: 0; }
.frame {
  position: relative; margin: 0 auto; padding: 14px; border-radius: 34px;
  background: linear-gradient(160deg, #2b2b35, #0d0d12);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.1), 0 0 120px -40px rgba(155,107,255,.45);
}
.stage[data-device="iphone"] .frame { max-width: 1000px; border-radius: 46px; padding: 12px 18px; }
.stage[data-device="ipad"] .frame { max-width: 900px; border-radius: 32px; padding: 20px; }
.stage[data-device="mac"] .frame { max-width: 1040px; border-radius: 18px 18px 6px 6px; padding: 12px 12px 18px; }
.stage[data-device="mac"] .frame::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: -14px; height: 14px; border-radius: 0 0 16px 16px; background: linear-gradient(#3a3a44, #1c1c22); }
.stage-btn { display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: zoom-in; border-radius: inherit; overflow: hidden; }
.stage[data-device="iphone"] .stage-btn { border-radius: 34px; }
.stage[data-device="ipad"] .stage-btn { border-radius: 14px; }
.stage[data-device="mac"] .stage-btn { border-radius: 8px; }
.stage-btn img { width: 100%; transition: opacity .25s; }
.stage-btn img.is-loading { opacity: .25; }
.stage figcaption { text-align: center; margin-top: 30px; font: 700 14px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.thumbs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #000; cursor: pointer; width: 132px; opacity: .55; transition: opacity .2s, border-color .2s, transform .2s; }
.thumb:hover { opacity: .9; transform: translateY(-2px); }
.thumb[aria-current="true"] { opacity: 1; border-color: var(--deck-a); box-shadow: 0 0 18px -4px var(--deck-a); }
.thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.noscript { text-align: center; color: var(--muted); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  --c: var(--deck-a);
  position: relative; overflow: hidden; padding: 26px 22px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); box-shadow: 0 0 20px var(--c); opacity: .9; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 20px 50px -24px var(--c); }
.card-a { --c: var(--deck-a); }
.card-b { --c: var(--deck-b); }
.card-v { --c: var(--violet); }
.card-g { --c: var(--green); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); margin-bottom: 18px; }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Gear ---------- */
.gear { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.gear-text > p:not(.eyebrow) { color: var(--muted); margin: 18px 0 22px; font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: #d4d4e2; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 6px; background: color-mix(in srgb, var(--green) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 50%, transparent); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 3px); width: 5px; height: 9px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gear-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  padding: 24px; border-radius: 22px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 1px, transparent 1px 3px), linear-gradient(160deg, #22222b, #111116);
  border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9);
}
.chip { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; background: #0b0b0f; border: 1px solid rgba(255,255,255,.06); font: 700 15px/1 var(--mono); letter-spacing: .06em; }
.chip .soon { margin-left: auto; font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); font-style: normal; }
.chip-dim { color: var(--muted); grid-column: 1 / -1; font-family: var(--sans); letter-spacing: 0; }

/* ---------- Library ---------- */
.lib-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.lib-item { background: var(--panel); padding: 26px 22px; }
.lib-item strong { display: block; font-size: 18px; margin-bottom: 8px; }
.lib-item p { color: var(--muted); font-size: 15px; }
.lib-item:nth-child(1) strong { color: var(--deck-a); }
.lib-item:nth-child(2) strong { color: var(--deck-b); }
.lib-item:nth-child(3) strong { color: var(--violet); }
.lib-item:nth-child(4) strong { color: var(--green); }

/* ---------- Price ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 20px; }
.plan { position: relative; padding: 32px 28px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.plan h3 { font-size: 20px; color: var(--muted); font-weight: 700; }
.amount { margin: 14px 0 24px; display: flex; align-items: baseline; gap: 10px; }
.amount span { font-size: 46px; font-weight: 900; letter-spacing: -0.03em; }
.amount small { color: var(--muted); font-size: 15px; }
.plan-hot { border-color: transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(135deg, var(--deck-a), var(--violet), var(--deck-b)) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 80px -40px rgba(155,107,255,.8); }
.badge { position: absolute; top: -12px; right: 22px; font: 700 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--violet), var(--deck-b)); }

/* ---------- Privacy ---------- */
.privacy-box { display: flex; gap: 22px; align-items: flex-start; padding: 32px; border-radius: 22px; background: linear-gradient(135deg, color-mix(in srgb, var(--green) 10%, var(--panel)), var(--panel)); border: 1px solid color-mix(in srgb, var(--green) 25%, transparent); }
.privacy-box svg { flex: none; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.privacy-box h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.privacy-box p { color: var(--muted); }
.privacy-link { margin-top: 12px; }
.privacy-link a { color: var(--green); font-weight: 700; }

/* ---------- Final CTA ---------- */
.final { position: relative; max-width: var(--max); margin: 120px auto 0; padding: 90px 16px; text-align: center; overflow: hidden; border-radius: 28px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.final h2 { font-size: clamp(30px, 4.6vw, 56px); font-weight: 900; max-width: 14em; position: relative; }
.final .btn { position: relative; }
.final-disc {
  position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; opacity: .5;
  background: radial-gradient(circle, var(--bg) 0 12%, transparent 12.2%), repeating-radial-gradient(circle, #121218 0 2px, #0a0a0e 2px 4px);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%);
  mask: radial-gradient(circle, #000 30%, transparent 70%);
  animation: spin 12s linear infinite;
}


/* ---------- What's new ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.news-card { position: relative; padding: 24px 22px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); }
.news-card h3 { font-size: 19px; margin: 12px 0 10px; }
.news-card p:not(.news-tag) { color: var(--muted); font-size: 15px; }
.news-tag { display: inline-block; font: 800 12px/1 var(--mono); letter-spacing: .08em; color: #fff; padding: 7px 10px; border-radius: 8px; background: linear-gradient(135deg, var(--deck-a), var(--violet)); }
.news-hot { grid-column: span 2; background: linear-gradient(var(--panel-2), var(--panel)) padding-box, linear-gradient(135deg, var(--deck-a), var(--violet), var(--deck-b)) border-box; border: 1.5px solid transparent; }
.news-hot h3 { font-size: 24px; }
.news-next { border-style: dashed; grid-column: span 2; }
.news-next .news-tag { background: transparent; color: var(--orange); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--orange) 50%, transparent); }

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.video-card { margin: 0; padding: 10px; border-radius: 22px; background: linear-gradient(160deg, #23232c, #0e0e13); border: 1px solid var(--line); box-shadow: 0 30px 70px -36px rgba(0,0,0,.95); }
.video-wide { grid-column: 1 / -1; }
.video-card video { display: block; width: 100%; height: auto; border-radius: 14px; background: #000; }
.video-card figcaption { display: flex; align-items: center; gap: 8px; padding: 12px 6px 4px; font: 700 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Devices ---------- */
.device-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.device { padding: 28px 24px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); }
.device-icon { width: 64px; height: 48px; fill: none; stroke: var(--deck-a); stroke-width: 2.5; stroke-linejoin: round; margin-bottom: 14px; }
.device:nth-child(2) .device-icon { stroke: var(--violet); }
.device:nth-child(3) .device-icon { stroke: var(--deck-b); }
.device h3 { font-size: 24px; }
.device .req { margin: 8px 0 18px; font: 700 13px/1.4 var(--mono); color: var(--green); }
.device .checks li { font-size: 15px; }
.hw-table-wrap { margin-top: 26px; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.hw-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.hw-table caption { text-align: left; padding: 18px 20px 6px; font: 700 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--deck-a); }
.hw-table th, .hw-table td { padding: 12px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.hw-table th { color: var(--muted); font-weight: 600; font-size: 13px; }
.hw-table td:first-child { font-weight: 700; font-family: var(--mono); }
.hw-table th:nth-child(n+4), .hw-table td:nth-child(n+4) { text-align: center; width: 70px; }
.hw-table td:nth-child(n+4) { color: var(--green); }
.hw-table tr:last-child td { border-bottom: 0; }

/* ---------- Share ---------- */
.share { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 10px; }
.share-title { font: 700 13px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.share-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.share-btn {
  --c: #fff;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; cursor: pointer;
  font: 600 14px/1 var(--sans); color: var(--text); text-decoration: none;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
}
.share-btn svg { width: 18px; height: 18px; fill: var(--c); flex: none; }
.share-btn:hover { transform: translateY(-2px); border-color: var(--c); box-shadow: 0 8px 24px -10px var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.sb-fb { --c: #1877f2; } .sb-x { --c: #e7e7ef; } .sb-tt { --c: #25f4ee; } .sb-ig { --c: #e1306c; }
.sb-wa { --c: #25d366; } .sb-in { --c: #0a66c2; } .sb-tg { --c: #2aabee; } .sb-copy { --c: var(--violet); }
.sb-copy svg { fill: none; color: var(--c); }
.share-note { min-height: 1.4em; font-size: 14px; color: var(--green); text-align: center; max-width: 40em; }
.footer-links a { color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.2); }
.footer-links a:hover { border-color: var(--text); }

/* ---------- Footer ---------- */
.footer { max-width: var(--max); margin: 60px auto 0; padding: 30px 16px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: grid; gap: 8px; }
.fine { font-size: 13px; opacity: .8; max-width: 70em; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4,4,7,.94); color: var(--text); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0,0,0,.7); }
.lightbox img { max-width: 94vw; max-height: 82vh; width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.8); }
.lightbox p { margin-top: 18px; font: 700 14px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; width: 48px; height: 48px; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.18); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .lib-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div:nth-child(n+4) { grid-column: span 1; }
}
@media (max-width: 860px) {
  .nav { display: none; }

  .topbar-end { margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 44px; min-height: 0; text-align: left; }
  .hero-deck { order: 2; }
  .wave-wrap { order: 3; height: 90px; }
  .gear { grid-template-columns: 1fr; gap: 32px; }
  .plans { grid-template-columns: 1fr; }
  .section { padding-top: 84px; }
}
@media (max-width: 699px) {
  .device-grid, .video-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-hot, .news-next { grid-column: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features, .lib-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:last-child { grid-column: 1 / -1; }
  .gear-list { grid-template-columns: 1fr; padding: 16px; }
  .chip-dim { grid-column: auto; }
  .frame, .stage[data-device] .frame { padding: 7px; border-radius: 20px; }
  .stage[data-device] .stage-btn { border-radius: 14px; }
  .stage[data-device="mac"] .frame::after { bottom: -8px; height: 8px; }
  .thumb { width: 86px; }
  .device-tabs { display: flex; }
  .device-tabs button { flex: 1; padding: 11px 8px; }
  .privacy-box { flex-direction: column; padding: 24px; }
  .btn-small { display: none; }
  .final { padding: 70px 16px; }
  .lb-nav { top: auto; bottom: 18px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Large screens (27" and TV): wider content, bigger type */
@media (min-width: 1800px) {
  :root { --max: 1440px; }
  body { font-size: 18px; }
  .hero { min-height: 820px; }
  .deck-plate { width: 580px; }
  .stage[data-device="iphone"] .frame { max-width: 1200px; }
  .stage[data-device="ipad"] .frame { max-width: 1060px; }
  .stage[data-device="mac"] .frame { max-width: 1240px; }
}
@media (min-width: 2400px) {
  :root { --max: 1680px; }
  body { font-size: 19px; }
}
/* Tablets: two columns where there is room */
@media (min-width: 700px) and (max-width: 1020px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device-grid .device:last-child { grid-column: 1 / -1; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
