/* Phonothèque – design "Nachtschicht" (D-075): dark, large type, motion.
   No JS; all motion is CSS and stops with "reduce motion". Colors from the app icon. */
:root {
  --bg: #0b0b0a;
  --bg-2: #141412;
  --tile: #171614;
  --line: rgba(255, 255, 255, 0.09);
  --ink: #f4eee4;
  --ink-2: #a7a095;
  --accent: #ff8a2a;
  --accent-2: #ffc46b;
  --green: #4ade80;
  --radius: 28px;
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--accent-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif; }

/* Header: floating glass pill */
.top { position: sticky; top: 0; z-index: 10; padding: 14px 0; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); background: rgba(11, 11, 10, 0.6); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.pill { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.pill a { color: var(--ink-2); text-decoration: none; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.pill a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.08); }

/* Hero */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(255, 138, 42, 0.35), rgba(255, 138, 42, 0.08) 55%, transparent 70%); filter: blur(20px); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--ink-2); font-size: 14px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 138, 42, 0.6); animation: ping 2s infinite; }
h1 { font-size: clamp(44px, 7.4vw, 92px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 800; margin: 0 0 24px; }
.grad { background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 60%, #fff3dd 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 32em; margin: 0 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; text-decoration: none; font-weight: 600; }
.btn small { display: block; font-size: 11px; font-weight: 400; opacity: 0.75; line-height: 1.1; }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.primary[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }
.btn.ghost { color: var(--ink); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.09); }

/* Turntable stage: spinning record behind the phone (33 1/3 rpm = 1.8 s per turn) */
.stage { position: relative; height: 620px; display: grid; place-items: center; }
.record { position: absolute; width: 560px; aspect-ratio: 1; right: -140px; top: 30px; border-radius: 50%;
  background:
    conic-gradient(from 30deg, transparent 0 8%, rgba(255,255,255,0.12) 12%, transparent 18% 50%, rgba(255,255,255,0.08) 56%, transparent 62%),
    repeating-radial-gradient(circle, #121212 0 2px, #1b1b1b 2px 3px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 6px #0a0a0a;
  animation: spin 1.8s linear infinite; }
.record .label { position: absolute; inset: 34%; border-radius: 50%; background: radial-gradient(circle, #0b0b0a 0 6%, var(--accent) 6.5%); display: grid; place-content: center; text-align: center; color: #2b1300; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.record .label span + span { font-size: 10px; opacity: 0.7; }
.phone { position: relative; transform: rotate(-4deg); }
.phone img, .rail img { display: block; border-radius: 40px; border: 9px solid #000; outline: 1px solid rgba(255,255,255,0.14); box-shadow: 0 50px 100px rgba(0, 0, 0, 0.65); }
.phone img { width: min(300px, 64vw); }

/* Ticker: label texts the recognition reads */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 14px 0; background: var(--bg-2); }
.track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; font: 500 15px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink-2); letter-spacing: 0.06em; text-transform: uppercase; }
.track span::before { content: "◉"; color: var(--accent); margin-right: 14px; font-size: 10px; vertical-align: 2px; }

/* Sections */
.block { padding: 96px 0; }
.kicker { color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; margin: 0 0 12px; text-transform: uppercase; }
h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 48px; }
.sub { color: var(--ink-2); font-size: 19px; max-width: 36em; margin: -28px 0 40px; }

/* Pillars: sticky head with visual, point cards on the right */
.pillar { padding: 110px 0; border-top: 1px solid var(--line); }
.pillar.alt { background: var(--bg-2); }
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pillar.alt .pillar-head { order: 2; }
.pillar-head { position: sticky; top: 100px; }
.pillar-head h2 { margin-bottom: 40px; }
.kicker b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #1a0900; font-size: 13px; margin-right: 8px; }
.visual { margin-top: 8px; }
.points { display: grid; gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--tile); border: 1px solid var(--line); padding: 26px 28px; }
.tile h3 { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.2; }
.tile p { margin: 0; color: var(--ink-2); }
.tile:hover { border-color: rgba(255, 255, 255, 0.2); }
.tile.accent { background: linear-gradient(135deg, var(--accent), #ff5f1f); border: 0; }
.tile.accent h3 { color: #1a0900; }
.tile.accent p { color: rgba(30, 10, 0, 0.82); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: var(--ink); text-decoration: none; font-size: 15px; }
.chips a:hover { background: rgba(255,255,255,0.1); }
.chips b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,138,42,0.18); color: var(--accent); font-size: 12px; }
.duo { display: flex; gap: 16px; }
.duo img { width: 47%; max-width: 220px; display: block; border-radius: 32px; border: 7px solid #000; outline: 1px solid rgba(255,255,255,0.14); box-shadow: 0 40px 80px rgba(0,0,0,0.6); }
.duo img + img { transform: translateY(40px) rotate(3deg); }
.player { border-radius: var(--radius); border: 1px solid var(--line); background: var(--tile); padding: 28px; }
.extras { padding: 72px 0; border-top: 1px solid var(--line); }
.extras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.extras h3 { font-size: 20px; margin: 0 0 6px; }
.extras p { margin: 0; color: var(--ink-2); }

/* OCR illustration: sleeve text with detection boxes */
.ocr { display: grid; place-items: center; min-height: 300px; }
.sleeve { position: relative; width: min(100%, 420px); aspect-ratio: 1.55; border-radius: 10px; background: linear-gradient(160deg, #efe7da, #d9cfbf); color: #141413; padding: 22px; display: grid; align-content: space-between; box-shadow: 0 30px 60px rgba(0,0,0,0.5); transform: perspective(900px) rotateX(8deg) rotateZ(-2deg); }
.b { justify-self: start; font: 600 14px/1.3 ui-monospace, "SF Mono", Menlo, monospace; padding: 3px 6px; border-radius: 4px; outline: 2px solid transparent; animation: detect 6s infinite; }
.b1 { font: 700 15px/1.2 -apple-system, sans-serif; letter-spacing: 0.12em; }
.b2 { font-size: 30px; letter-spacing: 0.04em; animation-delay: 0.6s; }
.b3 { animation-delay: 1.2s; }
.b4 { justify-self: end; animation-delay: 1.8s; font-style: italic; }

/* Shelf finder */
.shelf { display: flex; gap: 6px; height: 260px; align-items: flex-end; }
.shelf i { flex: 1; text-align: center; writing-mode: vertical-rl; transform: rotate(180deg); font: 600 14px/1 -apple-system, sans-serif; font-style: normal; color: var(--ink-2); background: #23211e; border-radius: 4px; padding: 10px 6px; height: 100%; white-space: nowrap; overflow: hidden; }
.shelf i:nth-child(2n) { height: 88%; background: #1d2a2e; }
.shelf i:nth-child(3n) { height: 94%; background: #2c241c; }
.shelf .hit { color: var(--ink); outline: 3px solid var(--green); outline-offset: 2px; animation: found 2.4s ease-in-out infinite; }

/* Equalizer */
.eq { display: flex; gap: 6px; align-items: flex-end; height: 120px; }
.eq i { width: 14px; border-radius: 7px; background: linear-gradient(var(--accent-2), var(--accent)); animation: bar 1.1s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -0.3s; } .eq i:nth-child(3) { animation-delay: -0.6s; } .eq i:nth-child(4) { animation-delay: -0.15s; }
.eq i:nth-child(5) { animation-delay: -0.8s; } .eq i:nth-child(6) { animation-delay: -0.45s; } .eq i:nth-child(7) { animation-delay: -0.9s; }
.mono { margin-top: 14px !important; font: 500 13px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--green) !important; }

/* Screens rail */
.screens-block { background: var(--bg-2); border-block: 1px solid var(--line); }
.rail { display: flex; gap: 28px; overflow-x: auto; padding: 8px max(20px, calc((100vw - var(--max)) / 2 + 20px)) 32px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.rail img { width: 240px; }
.rail figcaption { margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.note { color: var(--ink-2); font-size: 14px; }

/* Price */
.price-card { max-width: 760px; margin: 0 auto; text-align: center; padding: 56px 32px; border-radius: 36px; border: 1px solid var(--line); background: radial-gradient(100% 120% at 50% 0%, rgba(255,138,42,0.22), transparent 60%), var(--tile); }
.price-card h2 { margin-bottom: 40px; }
.price-card .sub { margin: -24px auto 28px; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.checks li { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); font-size: 15px; }
.checks li::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* Text pages (help, privacy, legal notice) */
.page { padding: 56px 0 96px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(36px, 6vw, 64px); margin: 12px 0 28px; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.page h2 { font-size: 26px; letter-spacing: -0.02em; margin: 48px 0 10px; }
.page h3 { font-size: 19px; margin: 28px 0 6px; }
.page p, .page li { color: var(--ink-2); }
.page p strong, .page .addr { color: var(--ink); }
.page .meta { font-size: 15px; }
.page .intro { font-size: 20px; color: var(--ink); }
.faq { margin-top: 12px; }
details { border-radius: 18px; background: var(--tile); border: 1px solid var(--line); padding: 18px 22px; margin-bottom: 10px; }
details[open] { border-color: rgba(255, 138, 42, 0.45); }
summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: rotate 0.2s; }
details[open] summary::after { rotate: 45deg; }
details p { margin: 12px 0 0; }
.mail { display: inline-flex; margin-top: 4px; }
.todo { background: #ffd86b; color: #2b2000; padding: 0 5px; border-radius: 4px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--ink-2); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot .row { flex-wrap: wrap; }
.foot a { color: var(--ink-2); }
.foot a[aria-current="page"], .pill a[aria-current="page"] { color: var(--ink); }
.disclaimer { font-size: 12px; margin-top: 18px; }

/* Motion */
@keyframes spin { to { rotate: 360deg; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 138, 42, 0); } }
@keyframes detect { 0%, 8% { outline-color: transparent; background: transparent; } 14%, 70% { outline-color: var(--accent); background: rgba(255, 138, 42, 0.14); } 80%, 100% { outline-color: transparent; background: transparent; } }
@keyframes found { 50% { outline-color: rgba(74, 222, 128, 0.35); } }
@keyframes bar { from { height: 18%; } to { height: 100%; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(0.98); } to { opacity: 1; transform: none; } }

@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}

/* Layout below tablet width */
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid, .pillar-grid, .extras-grid { grid-template-columns: 1fr; }
  .pillar-head { position: static; }
  .pillar.alt .pillar-head { order: 0; }
  .pillar { padding: 72px 0; }
  .stage { height: 520px; }
  .record { width: 440px; right: auto; left: 50%; margin-left: -60px; }
  .duo img + img { transform: translateY(24px) rotate(3deg); }
  .duo { margin-bottom: 24px; }
  .shelf { height: 200px; }
  .pill a.opt { display: none; }
  .block { padding: 72px 0; }
}

/* Anchors land below the sticky header */
[id] { scroll-margin-top: 72px; }
