/* tickerviews.com marketing site. Colours are the app's tokens (static/app.css :root and [data-theme="light"])
   plus the brand gold from static/brand/README.md. Dark is the default; the toggle sets data-theme="light". */
:root {
  color-scheme: dark;
  --bg: #0b0e13; --bg2: #0e131a; --panel: #12171f; --panel2: #161c26; --line: #243041; --line2: #1c2633;
  --text: #e3e9f1; --body: #c3ccd8; --muted: #8b97a8; --blue: #2962ff; --blue2: #4d7dff; --link: #8fb0ff;
  --gold: #ffd700; --gold-ink: #ffd700; --up: #3ecf8e; --down: #f07178; --chip: #19212d;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .75); --glow: rgba(41, 98, 255, .22);
  --radius: 14px; --max: 1180px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff; --bg2: #f6f8fb; --panel: #ffffff; --panel2: #f1f4f9; --line: #dfe3ea; --line2: #e9edf3;
  --text: #131722; --body: #3a4252; --muted: #626b7c; --blue: #2962ff; --blue2: #1e5bd8; --link: #1e5bd8;
  --gold: #b8860b; --gold-ink: #8a6508; --up: #089981; --down: #f23645; --chip: #eef2f8;
  --shadow: 0 30px 70px -35px rgba(17, 24, 39, .35); --glow: rgba(41, 98, 255, .10);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--body); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--text); }
h1, h2, h3 { color: var(--text); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 6.2vw, 60px); font-weight: 750; letter-spacing: -.03em; }
h2 { font-size: clamp(27px, 4vw, 40px); font-weight: 720; letter-spacing: -.025em; }
h3 { font-size: 20px; font-weight: 650; }
p { margin: 0 0 1em; }
code { font: 14px/1.4 ui-monospace, "SF Mono", Menlo, monospace; background: var(--chip); padding: 1px 5px; border-radius: 5px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue2); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

/* Theme-specific images */
.only-light { display: none !important; }
:root[data-theme="light"] .only-light { display: block !important; }
:root[data-theme="light"] .only-dark { display: none !important; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line2); }
.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.brand { display: flex; align-items: center; margin-right: auto; padding: 6px 0; }
.brand img { height: 28px; width: auto; }
.nav { display: none; gap: 4px; align-items: center; }
.nav a { white-space: nowrap; color: var(--muted); text-decoration: none; font-size: 15px; padding: 8px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--chip); }
.theme { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.theme svg { width: 18px; height: 18px; }
.theme .sun { display: none; }
:root[data-theme="light"] .theme .sun { display: block; }
:root[data-theme="light"] .theme .moon { display: none; }
.top .btn { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 18px; height: 18px; }
.menu .sheet { position: absolute; right: 0; top: 48px; width: min(300px, calc(100vw - 32px)); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); display: grid; }
.menu .sheet a { color: var(--text); text-decoration: none; padding: 11px 12px; border-radius: 9px; font-size: 16px; }
.menu .sheet a:hover { background: var(--chip); }
.menu .sheet .btn { margin-top: 6px; display: flex; }
@media (min-width: 1120px) {
  .nav { display: flex; }
  .menu { display: none; }
  .top .btn { display: inline-flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 650; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn.primary:hover { background: #3a70ff; color: #fff; }
.btn.ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn.ghost:hover { background: var(--chip); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 26px 0 12px; }
.cta-note { font-size: 14px; color: var(--muted); margin: 0; }
.cta-row .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .cta-row .btn { flex: 0 0 auto; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 44px 0 30px; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto -10%; height: 640px; background: radial-gradient(60% 55% at 70% 30%, var(--glow), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 34px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--body); max-width: 40em; }
.hero h1 { max-width: 14em; }
.proof { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.proof li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); background: var(--chip); border: 1px solid var(--line2); border-radius: 999px; padding: 6px 12px; }
.proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--up); flex: none; }
.shot { position: relative; }
.shot .frame { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.shot .frame img { width: 100%; }
.shot .phone { position: absolute; right: -6px; bottom: -26px; width: 27%; max-width: 190px; border-radius: 22px; border: 6px solid #05070a; box-shadow: var(--shadow); overflow: hidden; background: #05070a; }
.shot figcaption { font-size: 13px; color: var(--muted); margin-top: 34px; }
@media (min-width: 1040px) {
  .hero { padding: 72px 0 56px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: 48px; }
}

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg2); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.head { max-width: 760px; margin-bottom: 34px; }
.head p { font-size: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.pain { display: grid; gap: 28px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line2); }
.pain:first-of-type { border-top: 0; }
.pain .said { font-size: 14px; font-weight: 650; color: var(--down); margin: 0 0 8px; letter-spacing: .01em; }
.pain h3 { font-size: clamp(23px, 3vw, 30px); letter-spacing: -.02em; }
.pain ul { padding-left: 0; list-style: none; margin: 0 0 14px; }
.pain li { position: relative; padding-left: 28px; margin: 0 0 10px; }
.pain li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 14px; height: 8px; border-left: 2px solid var(--up); border-bottom: 2px solid var(--up); transform: rotate(-45deg); }
.pain .fine { font-size: 14px; color: var(--muted); }
@media (min-width: 900px) {
  .pain { grid-template-columns: 1fr 1fr; gap: 56px; padding: 46px 0; }
  .pain.flip > .media { order: -1; }
}
.media .frame { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.media.narrow { max-width: 340px; margin: 0 auto; }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .k { font-size: 13px; font-weight: 650; color: var(--gold-ink); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.card ul { padding-left: 20px; margin: 0 0 1em; }
.card li { margin-bottom: 6px; }
.card.hi { border-color: color-mix(in srgb, var(--blue) 55%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--blue) 30%, transparent), var(--shadow); }

/* Mock UI (built in HTML from the app's Alerts panel design) */
.mock { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; font-size: 14px; }
.mock .bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line2); color: var(--text); font-weight: 650; }
.mock .bar span { font-weight: 500; color: var(--muted); font-size: 13px; }
.mock .row { padding: 14px 16px; border-bottom: 1px solid var(--line2); }
.mock .row:last-child { border-bottom: 0; }
.mock .t { color: var(--text); font-weight: 600; }
.mock .s { color: var(--muted); font-size: 13px; }
.mock .ch { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mock .ch span { font-size: 12px; border-radius: 999px; padding: 2px 9px; border: 1px solid var(--line); color: var(--muted); }
.mock .ch .ok { color: var(--up); border-color: color-mix(in srgb, var(--up) 45%, transparent); }
.mock .ch .retry { color: var(--gold-ink); border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.mock .lbl { display: inline-block; font-size: 11px; color: var(--muted); border: 1px dashed var(--line); border-radius: 6px; padding: 1px 6px; margin-left: 6px; font-weight: 500; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
table.cmp th, table.cmp td { padding: 14px 16px; text-align: left; border-top: 1px solid var(--line2); }
table.cmp thead th { border-top: 0; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; font-weight: 650; }
table.cmp td { color: var(--text); }
table.cmp tr.us td, table.cmp tr.us th { background: color-mix(in srgb, var(--blue) 9%, transparent); }
table.cmp tr.us th { color: var(--text); }
table.cmp tbody th { font-weight: 600; color: var(--body); }
.src { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 17px 30px 17px 0; position: relative; color: var(--text); font-weight: 620; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 13px; font-size: 22px; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 16px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Final CTA */
.final { text-align: center; padding: 76px 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 100%, var(--glow), transparent 70%); pointer-events: none; }
.final .wrap { position: relative; }
.final .cta-row { justify-content: center; }
.final .lede { margin: 0 auto; }

/* Inner pages */
.page { padding: 46px 0 64px; }
.page .wrap { max-width: 860px; }
.page h1 { font-size: clamp(32px, 5vw, 46px); }
.page h2 { font-size: clamp(22px, 3vw, 28px); margin-top: 1.6em; padding-top: .6em; border-top: 1px solid var(--line2); }
.page h3 { margin-top: 1.4em; }
.page ul, .page ol { padding-left: 22px; }
.page li { margin-bottom: 8px; }
.page .note { font-size: 15px; color: var(--muted); }
.page .card { margin: 16px 0; }
.page .card h3 { margin-top: 0; }
table.facts { width: 100%; border-collapse: collapse; margin: 8px 0 4px; font-size: 15px; }
table.facts th, table.facts td { text-align: left; vertical-align: top; padding: 10px; border-top: 1px solid var(--line2); }
table.facts th { width: 34%; color: var(--text); font-weight: 600; }
@media (max-width: 560px) {
  table.facts, table.facts tbody, table.facts tr, table.facts th, table.facts td { display: block; width: 100%; }
  table.facts th { padding-bottom: 2px; }
  table.facts td { border-top: 0; padding-top: 0; }
}
.wide .wrap { max-width: var(--max); }
.plans { display: grid; gap: 16px; margin: 26px 0; }
@media (min-width: 820px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plans .card h3 { font-size: 22px; }
.plans .price { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.plans .btn { width: 100%; margin-top: 10px; }

/* Forms */
.form { display: grid; gap: 10px; max-width: 520px; }
.form label { font-weight: 600; color: var(--text); font-size: 15px; }
.form .line { display: flex; flex-wrap: wrap; gap: 10px; }
.form input[type="email"] { flex: 1 1 240px; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: 0 14px; font-size: 16px; }
.form input[type="email"]:focus { outline: 2px solid var(--blue2); outline-offset: 1px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .msg { min-height: 1.4em; font-size: 15px; margin: 0; }
.form .msg.ok { color: var(--up); }
.form .msg.err { color: var(--down); }
.beta { display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .beta { grid-template-columns: 1.1fr 1fr; } }

/* Footer */
.foot { border-top: 1px solid var(--line2); padding: 46px 0 36px; font-size: 14px; color: var(--muted); background: var(--bg2); }
.foot .cols { display: grid; gap: 26px; grid-template-columns: 1fr 1fr; }
.foot .about { grid-column: 1 / -1; }
.foot .about img { height: 26px; width: auto; margin-bottom: 12px; }
.foot h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text); margin: 0 0 10px; border: 0; padding: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 0 0 8px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }
.foot .legal { border-top: 1px solid var(--line2); margin-top: 30px; padding-top: 20px; font-size: 13px; line-height: 1.55; }
.foot .legal p { margin: 0 0 10px; }
@media (min-width: 820px) { .foot .cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .foot .about { grid-column: auto; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.beta-foot { margin-top: 30px; max-width: 640px; }
.beta-foot label { font-weight: 500; color: var(--body); font-size: 14px; }
.beta-foot input[type="email"] { min-height: 40px; border-radius: 10px; }
figure { margin: 0; }
@media (max-width: 699px) {
  .shot .frame { display: none; }
  .shot .phone { position: static; width: 72%; max-width: 300px; margin: 0 auto; border-width: 8px; border-radius: 30px; }
  .shot figcaption { margin-top: 14px; text-align: center; }
}
@media (min-width: 700px) { .shot figcaption { padding-right: 30%; } }

/* Trial pill and Live now / Coming badges (home page) */
.trial-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 18px; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--text); background: color-mix(in srgb, var(--gold) 12%, var(--panel)); border: 1px solid color-mix(in srgb, var(--gold) 55%, var(--line)); }
.trial-pill b { color: var(--gold-ink); font-weight: 750; }
.trial-pill span { font-size: 13px; color: var(--muted); }
@media (min-width: 560px) { .trial-pill span::before { content: "·"; margin-right: 8px; color: var(--muted); } }
@media (max-width: 559px) { .trial-pill { border-radius: 12px; } }
.badge { display: inline-block; vertical-align: 1px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.badge.live { color: var(--up); background: color-mix(in srgb, var(--up) 14%, transparent); border: 1px solid color-mix(in srgb, var(--up) 45%, transparent); }
.badge.soon { color: var(--gold-ink); background: color-mix(in srgb, var(--gold) 12%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.pain .said .badge, .card .k .badge { margin-left: 6px; }
.card .k .badge:first-child { margin-left: 0; }
.issues .card { display: flex; flex-direction: column; }
.issues .card h3 { font-size: 19px; }
.issues .card .fine { font-size: 14px; color: var(--muted); }
.card ul.status { list-style: none; padding-left: 0; }
.card ul.status li { margin-bottom: 10px; }
.card ul.status .badge { margin-right: 6px; }
.roadmap .card .k { margin-bottom: 12px; }
.roadmap .card ul + .k { margin-top: 18px; }
.pain li.soon::before { width: 10px; height: 10px; top: 8px; left: 3px; border: 2px solid var(--gold); border-radius: 50%; transform: none; }
/* Problem elsewhere -> fix (home page): the problem is a muted label, the heading is the fix */
.pain .problem { font-size: 14.5px; color: var(--muted); margin: 0 0 10px; line-height: 1.45; }
.pain .problem .lbl { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--down); margin-bottom: 3px; }
.pain h3 .badge, .issues .card h3 .badge { margin-left: 8px; vertical-align: 4px; }
.issues .card .prob { font-size: 13.5px; color: var(--muted); margin: 0 0 8px; line-height: 1.4; }
.issues .card .prob b { color: var(--down); font-weight: 650; }
.nw { white-space: nowrap; }

/* Pricing: the plan ladder inside a plan card fits the card (the .cmp comparison table keeps its own minimum). */
.cmp.ladder { min-width: 0; width: 100%; margin: 4px 0 8px; }
