/* Shared by every page of olitv.app. */
:root {
  --bg: #0b0b10; --card: #15151d; --card2: #1c1c26; --line: #272732;
  --text: #f4f4f7; --muted: #a2a2b0;
  --orange: #ff8a3d; --pink: #ee2f5c;
  --grad: linear-gradient(135deg, var(--orange), var(--pink));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
section { padding: 96px 0; }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; letter-spacing: -.02em; text-align: center; }
.lead { color: var(--muted); text-align: center; max-width: 620px; margin: 14px auto 0; font-size: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 600; transition: transform .15s, opacity .15s; }
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px var(--pink); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* Nav */
nav { position: sticky; top: 0; z-index: 10; background: rgba(11, 11, 16, .75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .05); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; }
.logo img { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { padding: 8px 16px; font-size: 14px; color: #fff; }

/* Hero */
.hero { position: relative; padding: 88px 0 40px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: -120px 0 auto; height: 620px; background: radial-gradient(600px 320px at 50% 30%, rgba(238, 47, 92, .28), transparent 70%), radial-gradient(500px 280px at 30% 10%, rgba(255, 138, 61, .2), transparent 70%); pointer-events: none; z-index: -1; }
.badge { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 14px; background: rgba(255, 255, 255, .03); }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.04; letter-spacing: -.035em; margin: 22px auto 0; max-width: 860px; }
.hero p { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 620px; margin: 22px auto 0; }
.nopes { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: var(--text); font-weight: 600; font-size: 15px; }
.nopes li::before { content: "✕"; color: var(--pink); margin-right: 7px; font-size: 13px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* App mockup (stands in for screenshots) */
.mock { max-width: 960px; margin: 64px auto 0; border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; box-shadow: 0 40px 120px -40px rgba(238, 47, 92, .45); text-align: left; font-size: 13px; }
.mock-bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: #34343f; }
.mock-body { display: grid; grid-template-columns: 170px 1fr; }
.mock-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; color: var(--muted); }
.mock-side div { padding: 7px 10px; border-radius: 8px; }
.mock-side .on { background: rgba(238, 47, 92, .16); color: var(--text); }
.mock-main { padding: 14px; display: grid; gap: 14px; min-width: 0; }
.player { position: relative; aspect-ratio: 16 / 6; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 70% 40%, #ff8a3d55, transparent 50%), radial-gradient(circle at 25% 70%, #ee2f5c55, transparent 55%), #101018; display: flex; align-items: flex-end; padding: 14px 16px; }
.player .np b { display: block; font-size: 16px; }
.player .np small { color: var(--muted); }
.progress { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .15); margin-top: 8px; width: 220px; max-width: 100%; }
.progress i { display: block; height: 100%; width: 62%; border-radius: 2px; background: var(--grad); }
.play { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.play::after { content: ""; position: absolute; left: 21px; top: 16px; border: 11px solid transparent; border-left: 17px solid #fff; border-right: 0; }
.guide { position: relative; display: grid; gap: 4px; }
.guide .row { display: grid; grid-template-columns: 104px 1fr; gap: 4px; }
.guide .ch { padding: 8px 10px; background: var(--card2); border-radius: 6px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide .track { display: flex; gap: 4px; min-width: 0; }
.guide .track span { padding: 8px 10px; background: var(--card2); border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #d4d4dd; }
.guide .track .live { background: rgba(238, 47, 92, .22); color: #fff; }
.guide .times { color: var(--muted); font-size: 12px; }
.guide .times .track span { background: none; padding: 0 2px; }
.now { position: absolute; top: 20px; bottom: 0; left: calc(108px + (100% - 108px) * .31); width: 2px; background: var(--pink); box-shadow: 0 0 10px var(--pink); }

/* Features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.card h3 { font-size: 19px; margin: 18px 0 8px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; }
.icon b { font-size: 20px; color: #fff; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* iPhone Duo */
.duo { background: linear-gradient(180deg, transparent, rgba(238, 47, 92, .07) 50%, transparent); }
.duo .card { text-align: center; }
.duo .card h3 { margin-top: 22px; }
.fold { height: 150px; display: grid; place-items: center; }
.fold svg { height: 100%; width: auto; max-width: 100%; }
.fold .frame { fill: var(--card2); stroke: #3a3a48; stroke-width: 2; }
.fold .vid { fill: url(#duoGrad); }
.fold .ln { stroke: #4a4a58; stroke-width: 5; stroke-linecap: round; }
.fold .hinge { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 4 4; }
.fold .rail { fill: #2a2a35; }

/* Platforms */
.platforms { display: flex; justify-content: center; gap: 18px; margin-top: 48px; flex-wrap: wrap; }
.platform { width: 200px; padding: 30px 20px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.platform svg { width: 56px; height: 56px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.platform b { display: block; margin-top: 12px; font-size: 17px; }
.platform small { color: var(--muted); }

/* Pricing */
.price-card { max-width: 440px; margin: 48px auto 0; padding: 40px 36px; text-align: center; border-radius: 24px; background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.price-card .name { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.price { font-size: 60px; font-weight: 700; letter-spacing: -.03em; margin-top: 8px; }
.price small { font-size: 18px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.trial { color: var(--orange); font-weight: 600; }
.checks { list-style: none; text-align: left; margin: 28px 0 30px; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; color: #d8d8e0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.price-card .btn { width: 100%; justify-content: center; }

/* FAQ */
.faq { max-width: 760px; margin: 48px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: 10px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; gap: 20px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }
.disclaimer { font-size: 13px; max-width: 760px; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  section { padding: 72px 0; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 56px; }
  .grid { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .player { aspect-ratio: 16 / 8; }
  .guide .row { grid-template-columns: 78px 1fr; }
  .now { left: calc(82px + (100% - 82px) * .31); }
  .guide .row:nth-child(n+6) { display: none; }
  .platform { width: calc(50% - 9px); }
  .duo .grid { gap: 14px; }
}
/* "Coming soon" stand-in for the App Store button until the app is live */
.btn.soon { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--text); box-shadow: none; cursor: default; }
.btn.soon:hover { transform: none; opacity: 1; }
.price-card .btn.soon { width: 100%; justify-content: center; }

/* Sub-pages */
.more { display: inline-block; margin-top: 28px; color: var(--orange); font-weight: 600; }
.more:hover { text-decoration: underline; }
.center { text-align: center; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.platform:is(a):hover { border-color: #3a3a48; }
.cta-band { text-align: center; padding: 88px 0 104px; background: radial-gradient(520px 220px at 50% 60%, rgba(238, 47, 92, .18), transparent 70%); }
.cta-band .cta { margin-top: 26px; }

.duo-hero { height: auto; max-width: 620px; margin: 56px auto 0; filter: drop-shadow(0 40px 80px rgba(238, 47, 92, .35)); }
.duo-hero svg { width: 100%; height: auto; }
.fine a, .faq p a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* Mac mockup: the detached player floating over the main window */
.mac-stage { position: relative; max-width: 960px; margin: 64px auto 0; }
.mac-stage .mock { margin: 0; }
.float-player { position: absolute; right: -18px; bottom: -34px; width: 300px; aspect-ratio: 16 / 9; border-radius: 12px; border: 1px solid #3a3a48; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .04); background: radial-gradient(circle at 30% 40%, #ff8a3d66, transparent 55%), radial-gradient(circle at 75% 70%, #ee2f5c66, transparent 55%), #101018; text-align: left; }
.float-player .pin { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; padding: 5px 7px; border-radius: 7px; background: rgba(20, 20, 28, .75); font-size: 11px; color: var(--text); }
.float-player .np { position: absolute; left: 12px; bottom: 10px; font-size: 13px; }
.float-player .np small { display: block; color: var(--muted); font-size: 11px; }
.schedule { display: grid; gap: 4px; font-size: 13px; }
.schedule div { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 7px 10px; background: var(--card2); border-radius: 6px; color: #d4d4dd; }
.schedule div span { color: var(--muted); }
.schedule .live { background: rgba(238, 47, 92, .22); color: #fff; }

@media (max-width: 900px) {
  .float-player { width: 220px; right: 8px; bottom: -40px; }
}
@media (max-width: 680px) {
  .grid.two { grid-template-columns: 1fr; }
  .float-player { width: 170px; bottom: -48px; }
  .float-player .pin { display: none; }
}
/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 20px 96px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.1; letter-spacing: -.03em; }
.legal .updated { color: var(--muted); margin-top: 10px; }
.legal .summary { margin: 28px 0 8px; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.legal h2 { text-align: left; font-size: 26px; margin: 48px 0 12px; letter-spacing: -.01em; }
.legal h3 { font-size: 18px; margin: 28px 0 8px; }
.legal p, .legal li { color: #d0d0da; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal ul { margin-left: 22px; display: grid; gap: 8px; }
.legal a, .cookie-banner a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.cookie-settings.inline { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }

/* Cookie banner (built by consent.js) */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 600px; margin: 0 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; padding: 18px 20px; background: rgba(21, 21, 29, .96); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 60px -10px rgba(0, 0, 0, .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--muted); font-size: 14px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 260px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 9px 20px; font-size: 14px; cursor: pointer; background: rgba(255, 255, 255, .06); font-family: inherit; }
.cookie-settings { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.cookie-settings:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}
