/* LiveTVIP marketing site
   Palette pulled from the app icon and tvOS top shelf art:
   ink #0b1220, panel #161f30, accent #0a84ff, text #ffffff, muted #a8b4c6 */

:root {
    --ink: #0b1220;
    --ink-2: #101929;
    --panel: #161f30;
    --line: #263349;
    --accent: #0a84ff;
    --accent-soft: #4aa8ff;
    --text: #ffffff;
    --muted: #a8b4c6;
    --muted-2: #8593a8;
    --radius: 14px;
    --maxw: 1120px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-soft); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

code, .ip { font-family: var(--mono); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
    left: 12px; top: 12px; z-index: 100;
    background: var(--accent); color: #04121f;
    padding: 10px 16px; border-radius: 8px;
}

/* ---------- header ---------- */

.site-head {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 18, 32, .92);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-head .wrap {
    display: flex; align-items: center; gap: 18px;
    min-height: 62px;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    color: var(--text); font-weight: 800; font-size: 1.12rem;
    letter-spacing: -0.02em; text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.site-nav {
    margin-left: auto;
    display: flex; align-items: center; gap: 22px;
    font-size: .95rem;
}
.site-nav a { color: var(--muted); font-weight: 600; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav .nav-cta {
    color: #04121f; background: var(--accent);
    padding: 8px 16px; border-radius: 999px; font-weight: 700;
}
.site-nav .nav-cta:hover { background: var(--accent-soft); color: #04121f; }
@media (max-width: 860px) {
    .site-nav a:not(.nav-cta) { display: none; }
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 56px;
    background:
        radial-gradient(900px 460px at 76% -8%, rgba(10, 132, 255, .26), transparent 62%),
        linear-gradient(180deg, #101a2c 0%, var(--ink) 78%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    gap: 48px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    font-size: .78rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase;
    color: var(--accent-soft);
    border: 1px solid rgba(10, 132, 255, .42);
    background: rgba(10, 132, 255, .12);
    padding: 5px 12px; border-radius: 999px;
    margin-bottom: 20px;
}
.hero h1 span { color: var(--accent-soft); }
.lede {
    font-size: clamp(1.06rem, 1.6vw, 1.24rem);
    color: var(--muted);
    max-width: 34em;
}
.lede strong { color: var(--text); font-weight: 650; }

.store-buttons {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin: 26px 0 12px;
}
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 1rem;
    padding: 14px 24px;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #04121f; }
.btn-primary:hover { background: var(--accent-soft); color: #04121f; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted-2); background: rgba(255,255,255,.04); }
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.btn small { display: block; font-size: .72rem; font-weight: 600; opacity: .75; line-height: 1.1; }
.btn b { display: block; font-size: 1rem; line-height: 1.2; }

.store-note { font-size: .88rem; color: var(--muted-2); margin: 0 0 18px; }

.trust {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 8px 22px;
    font-size: .92rem; color: var(--muted-2);
}
.trust li::before {
    content: "✓";
    color: var(--accent-soft);
    font-weight: 800;
    margin-right: 7px;
}

/* device mockups */
.tv {
    position: relative;
    margin: 0 auto;
    max-width: 520px;
    padding: 10px;
    background: linear-gradient(160deg, #333e4f, #141a25);
    border-radius: 16px;
    box-shadow: 0 28px 70px rgba(0,0,0,.62), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.tv img { border-radius: 8px; width: 100%; }
.tv::after {
    content: "";
    display: block;
    width: 34%; height: 12px;
    margin: 10px auto -18px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, #333e4f, #1a2130);
}
.phone {
    position: relative;
    margin: 0 auto;
    max-width: 268px;
    padding: 10px;
    background: linear-gradient(160deg, #333e4f, #141a25);
    border-radius: 40px;
    box-shadow: 0 26px 64px rgba(0,0,0,.58), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.phone img { border-radius: 30px; width: 100%; }
.hero-media { position: relative; padding-bottom: 34px; }
.hero-media .phone {
    position: absolute; z-index: 2;
    right: 0; bottom: -24px;
    max-width: 156px;
}

@media (max-width: 900px) {
    .hero { padding-top: 46px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-media { padding-bottom: 0; }
    .hero-media .phone { display: none; }
}

/* ---------- sections ---------- */

section { padding: 72px 0; }
section.alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.kicker {
    font-size: .78rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase;
    color: var(--accent-soft); margin: 0 0 10px;
}

/* steps */
.steps {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    counter-reset: step;
}
.step {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 26px 24px;
}
.step::before {
    counter-increment: step;
    content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; margin-bottom: 14px;
    border-radius: 10px;
    background: rgba(10,132,255,.16); color: var(--accent-soft);
    font-weight: 800;
}
.step h3 { margin-bottom: .35em; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px;
}
.feature .ico { font-size: 1.5rem; line-height: 1; margin-bottom: 12px; }
.feature h3 { margin-bottom: .35em; font-size: 1.06rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

@media (max-width: 900px) {
    .steps, .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    section { padding: 56px 0; }
    .steps, .features { grid-template-columns: 1fr; }
}

/* split rows */
.split {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 52px; align-items: center;
}
.split + .split { margin-top: 76px; }
.split.flip .split-media { order: -1; }
.split ul { color: var(--muted); padding-left: 1.15em; margin: 0; }
.split li { margin-bottom: .5em; }
.split li strong { color: var(--text); font-weight: 650; }
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split.flip .split-media { order: 0; }
}

/* shot pair */
.shots { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.shots .phone { max-width: 220px; margin: 0; }
.shots .phone:nth-child(2) { margin-top: 34px; }
@media (max-width: 620px) {
    .shots .phone:nth-child(2) { display: none; }
}

/* use-case list */
.uses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.use {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px 26px;
}
.use h3 { font-size: 1.05rem; margin-bottom: .35em; }
.use p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 760px) { .uses { grid-template-columns: 1fr; } }

/* honest / privacy cards */
.privacy-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pcard {
    border-radius: var(--radius); padding: 26px; border: 1px solid var(--line);
    background: var(--panel);
}
.pcard.good { border-color: rgba(10,132,255,.45); background: rgba(10,132,255,.08); }
.pcard h3 { display: flex; align-items: center; gap: 9px; }
.pcard ul { margin: 0; padding-left: 1.15em; color: var(--muted); font-size: .96rem; }
.pcard li { margin-bottom: .45em; }
.pcard li strong { color: var(--text); font-weight: 650; }
@media (max-width: 760px) { .privacy-cols { grid-template-columns: 1fr; } }

/* audience chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.chips li {
    border: 1px solid var(--line); background: var(--panel);
    border-radius: 999px; padding: 9px 17px; font-size: .95rem; color: var(--muted);
}
.chips li strong { color: var(--text); font-weight: 650; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
    display: flex; flex-direction: column;
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 26px 24px;
}
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; position: relative; }
.plan .tag {
    position: absolute; top: -12px; left: 24px;
    background: var(--accent); color: #04121f;
    font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    padding: 4px 11px; border-radius: 999px;
}
.plan h3 { margin-bottom: .2em; }
.plan .tvs { color: var(--accent-soft); font-weight: 700; font-size: .95rem; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 8px; color: var(--muted); font-size: .95rem; }
.plan li { padding-left: 1.5em; position: relative; margin-bottom: .5em; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-soft); font-weight: 800; }
.plan .foot { margin-top: auto; font-size: .86rem; color: var(--muted-2); }
.price-note { color: var(--muted-2); font-size: .92rem; margin-top: 22px; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }

/* honest section */
.honest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.honest .feature h3 { color: var(--text); }
@media (max-width: 900px) { .honest { grid-template-columns: 1fr; } }

/* spec table */
.spec { width: 100%; border-collapse: collapse; font-size: .97rem; }
.spec th, .spec td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { color: var(--text); font-weight: 700; width: 34%; }
.spec td { color: var(--muted); }
.spec-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }

/* faq */
.faq details {
    border: 1px solid var(--line); background: var(--panel);
    border-radius: var(--radius); padding: 0 22px; margin-bottom: 12px;
}
.faq summary {
    cursor: pointer; font-weight: 700; font-size: 1.03rem;
    padding: 18px 0; list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; color: var(--accent-soft); font-weight: 800; font-size: 1.35rem; line-height: 1; flex: none;
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { color: var(--muted); padding-bottom: 18px; font-size: .98rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* final cta */
.cta-band {
    text-align: center;
    background:
        radial-gradient(760px 380px at 50% 110%, rgba(10,132,255,.24), transparent 60%),
        var(--ink-2);
    border-top: 1px solid var(--line);
}
.cta-band .store-buttons { justify-content: center; }
.cta-band .trust { justify-content: center; }
.cta-band .store-note { text-align: center; }

/* footer */
.site-foot {
    border-top: 1px solid var(--line);
    padding: 42px 0 54px;
    color: var(--muted-2); font-size: .92rem;
    background: var(--ink);
}
.foot-grid { display: flex; flex-wrap: wrap; gap: 26px 48px; align-items: flex-start; }
.site-foot h4 { margin: 0 0 10px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: .45em; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--text); }
.foot-brand { max-width: 320px; }
.foot-brand p { margin: 0; }
.legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .86rem; }

/* article pages */
.doc { padding: 56px 0 72px; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.35rem; margin-top: 1.8em; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .5em; }
.updated { color: var(--muted-2); font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn:hover { transform: none; }
}
