/*
Theme Name: ReelShelf Site
Description: The reelshelf.com website: landing page and demo. Not for general use.
Version: 1.0.0
Author: Lee Fone
Text Domain: reelshelf-site
*/

:root {
	--bg: #0b0c10;
	--bg-2: #12141b;
	--bg-3: #181b24;
	--line: #262a36;
	--text: #eef0f4;
	--muted: #a3a9b8;
	--accent: #ff6b4a;
	--accent-ink: #1a0a05;
	--radius: 14px;
	--wrap: 1120px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 17px/1.65 var(--font);
	-webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #ff8a6e; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 16, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.15rem; text-decoration: none; letter-spacing: -.01em; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--text); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--accent-ink); }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ff8a6e; color: var(--accent-ink); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.btn-sm { padding: 8px 16px; font-size: .92rem; }

/* Hero */
.hero { position: relative; padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 70%; background: radial-gradient(60% 60% at 50% 0%, rgba(255, 107, 74, .22), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; text-align: center; }
.eyebrow { display: inline-block; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 18px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4.2rem); font-weight: 800; max-width: 17ch; margin-inline: auto; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 46ch; margin: 0 auto 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fine { color: var(--muted); font-size: .88rem; margin-top: 16px; }

/* Illustrative mockup */
.mock { margin: clamp(40px, 6vw, 64px) auto 0; max-width: 940px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); padding: clamp(12px, 2vw, 22px); box-shadow: 0 40px 100px -30px rgba(255, 107, 74, .25); text-align: left; }
.mock-player { position: relative; aspect-ratio: 16 / 8; border-radius: 12px; background: linear-gradient(135deg, #3a1d2a, #1b2a4a 55%, #0f3a3a); overflow: hidden; display: grid; place-items: center; }
.mock-player::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 90% at 70% 20%, rgba(255, 140, 90, .35), transparent 60%); }
.play { position: relative; z-index: 1; width: clamp(54px, 9vw, 84px); aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; }
.play::before { content: ""; border-left: 22px solid #111; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.mock-meta { padding: 14px 4px 4px; color: var(--muted); font-size: .9rem; display: flex; gap: 16px; flex-wrap: wrap; }
.mock-meta b { color: var(--text); font-weight: 650; }
.mock-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.mock-card { aspect-ratio: 16 / 10; border-radius: 9px; }
.mock-card:nth-child(1) { background: linear-gradient(135deg, #274060, #1b1f2e); }
.mock-card:nth-child(2) { background: linear-gradient(135deg, #5a2e3b, #1f1a24); }
.mock-card:nth-child(3) { background: linear-gradient(135deg, #2f5a4a, #16221f); }
.mock-card:nth-child(4) { background: linear-gradient(135deg, #5a4a2a, #231d12); }
@media (max-width: 560px) { .mock-row { grid-template-columns: repeat(2, 1fr); } }
.caption { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 12px; }

/* Sections */
section { padding: clamp(56px, 8vw, 96px) 0; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { max-width: 640px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.problem { max-width: 720px; margin-inline: auto; text-align: center; }
.problem p { color: var(--muted); font-size: 1.12rem; }
.problem strong { color: var(--text); }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.alt .card { background: var(--bg); }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 107, 74, .14); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }

.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.alt .steps li { background: var(--bg); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg) translateY(-3px); }
.panel { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; font-size: .95rem; }
.alt .panel { background: var(--bg); }
.panel .row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.panel .row:last-child { border: 0; }
.panel .t { color: var(--accent); font-variant-numeric: tabular-nums; min-width: 48px; font-weight: 650; }
.panel .x { color: var(--muted); }

/* Download */
.download { text-align: center; }
.dl-box { max-width: 720px; margin-inline: auto; background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line); border-radius: 20px; padding: clamp(28px, 5vw, 52px); }
.dl-box p { color: var(--muted); }
.reqs { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; font-weight: 650; padding: 16px 28px 16px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--accent); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 0 0 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* Ordinary pages (demo, privacy, etc.) */
.page { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); }
.page-title { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .6em; max-width: none; text-align: left; }
.page .entry > :is(p, ul, ol, h2, h3, h4, blockquote) { max-width: 760px; }
.page .entry p, .page .entry li { color: var(--text); }
.page .entry { overflow-wrap: anywhere; }
