/* useoncue.app — OnCue's own site. SAGE7 Ensō Seven kit:
   Ink #121A33 · Ember #F26A1B · Paper #FAFAF7 · Sage #8A9A7B. Light "paper" surface, one ember accent. */
:root {
  --paper: #fafaf7;
  --ink: #121a33;
  --ember: #f26a1b;
  --ember-hover: #d95a10;
  --sage: #8a9a7b;
  --card: #ffffff;
  --warm: #f3f3ee;
  --muted: #5a6275;
  --line: #e0dccf;
  --shadow: 0 1px 2px rgb(18 26 51 / 0.06), 0 12px 32px -16px rgb(18 26 51 / 0.18);
  --shadow-hero: 0 24px 60px -24px rgb(18 26 51 / 0.3);
  --radius: 24px;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  background-image: radial-gradient(rgb(224 220 207 / 0.7) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
  color: var(--ink);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Inter Tight", Inter, system-ui, sans-serif; font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: rgb(242 106 27 / 0.25); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.ember-rule { position: relative; display: inline-block; }
.ember-rule::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.16em; height: 0.13em; background: var(--ember); border-radius: 2px; transform: rotate(-0.4deg); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgb(250 250 247 / 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 18px "Inter Tight", Inter, sans-serif; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav-links .opt { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: background .2s, transform .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-hover); }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Hero */
.hero { padding: 72px 0 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 20px; }
.hero .lede { font-size: 19px; color: var(--muted); margin-bottom: 32px; max-width: 30em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.fine { font-size: 14px; color: var(--muted); }
.hero-art { position: relative; }
.hero-art img { border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-hero); }
@media (max-width: 900px) { .hero { padding-top: 40px; } .hero-grid { grid-template-columns: minmax(0,1fr); gap: 40px; } }

/* Live menu-bar pill */
.menubar { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; margin-bottom: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ring { width: 22px; height: 22px; transform: rotate(-90deg); flex: none; }
.ring circle { fill: none; stroke-width: 3; }
.ring .track { stroke: var(--warm); }
.ring .bar { stroke: var(--ember); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.menubar .when { color: var(--ember); font-weight: 600; }

/* Sections */
section { padding: 48px 0; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.step { padding: 22px; transition: transform .3s; }
.step:hover { transform: translateY(-3px); }
.icon-chip { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 14px; background: rgb(242 106 27 / 0.1); color: var(--ember); margin-bottom: 14px; }
.icon-chip svg { width: 20px; height: 20px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0,1fr); } }

.feature { display: grid; grid-template-columns: minmax(0,6fr) minmax(0,5fr); gap: 40px; align-items: center; padding: 32px; }
.feature h2 { font-size: clamp(26px, 3.2vw, 34px); margin: 10px 0 14px; }
.feature p { color: var(--muted); margin-bottom: 18px; }
.feature strong { color: var(--ink); }
.feature img { border-radius: 16px; border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--warm); color: var(--muted); }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0,1fr); padding: 22px; gap: 24px; } }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.gallery a { text-decoration: none; }
.gallery img { border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s; }
.gallery a:hover img { transform: translateY(-3px); }
.gallery span { display: block; margin-top: 12px; font-size: 14px; font-weight: 500; }
@media (max-width: 760px) { .gallery { grid-template-columns: minmax(0,1fr); } }

/* Pricing */
.trial { display: flex; gap: 18px; align-items: center; padding: 24px 28px; margin-bottom: 16px; border-color: rgb(242 106 27 / 0.4); background: linear-gradient(135deg, #fff, rgb(242 106 27 / 0.05)); }
.trial svg { width: 28px; height: 28px; color: var(--ember); flex: none; }
.trial h3 { font-size: 22px; margin-bottom: 4px; }
.trial p { color: var(--muted); }
@media (max-width: 600px) { .trial { flex-direction: column; align-items: flex-start; padding: 22px; } }

.table-card { overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--line); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { font-weight: 400; color: var(--muted); text-align: center; }
thead th:first-child { text-align: left; padding-left: 24px; }
thead b { display: block; font-size: 16px; color: var(--ink); }
thead .pro b { color: var(--ember); }
tbody th { font-weight: 400; text-align: left; padding-left: 24px; }
td { text-align: center; width: 120px; }
td.pro, th.pro { background: rgb(242 106 27 / 0.04); }
.yes, .no { display: inline-block; width: 18px; height: 18px; vertical-align: middle; }
.yes { color: var(--ember); }
.no { color: #c7c9cf; }
@media (max-width: 600px) { th, td { padding: 11px 8px; } tbody th, thead th:first-child { padding-left: 14px; } td { width: 64px; } }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }

/* Privacy band */
.privacy-band { display: flex; align-items: center; gap: 16px; padding: 22px 26px; }
.privacy-band svg { width: 24px; height: 24px; color: var(--ember); flex: none; }
.privacy-band p { flex: 1; }
.privacy-band a { color: var(--ember); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.privacy-band a:hover { text-decoration: underline; }
@media (max-width: 600px) { .privacy-band { flex-direction: column; align-items: flex-start; } }

/* FAQ / support */
.support { background: rgb(243 243 238 / 0.7); border-top: 1px solid var(--line); padding: 80px 0; margin-top: 32px; }
.support-grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 56px; }
.support h2 { font-size: 34px; margin: 10px 0 12px; }
.support .lede { color: var(--muted); margin-bottom: 22px; }
.support .lede a { color: var(--ember); font-weight: 600; text-decoration: none; }
.faq { padding: 4px 22px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; font-size: 15.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--ember); }
.faq details p { color: var(--muted); padding-bottom: 16px; }
.faq details a { color: var(--ember); }
@media (max-width: 900px) { .support-grid { grid-template-columns: minmax(0,1fr); gap: 32px; } .support { padding: 56px 0; } }

/* Footer */
footer { padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Long-form (privacy) */
.doc { max-width: 720px; padding: 56px 0 32px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin: 14px 0 10px; }
.doc .updated { color: var(--muted); margin-bottom: 28px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p { margin: 12px 0; font-size: 16.5px; line-height: 1.75; color: rgb(18 26 51 / 0.9); }
.doc a { color: var(--ember); text-underline-offset: 3px; }
.doc .lead { font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Comparison pages (/vs/<slug>) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare { max-width: 960px; }
.compare-head { padding: 56px 0 8px; }
.compare-head .eyebrow a { text-decoration: none; }
.compare-head .eyebrow a:hover { text-decoration: underline; }
.compare-head h1 { font-size: clamp(34px, 5vw, 48px); margin: 14px 0 14px; }
.compare-head .lede { font-size: 18px; color: var(--muted); max-width: 46em; }
.compare section { padding: 28px 0 0; }
.table-scroll { overflow-x: auto; }
table.vs { min-width: 560px; }
table.vs th, table.vs td { text-align: left; vertical-align: top; width: auto; padding: 13px 16px; }
table.vs thead th { color: var(--ink); font-weight: 700; font-size: 16px; }
table.vs thead th:first-child { width: 26%; }
table.vs tbody th { font-weight: 600; padding-left: 24px; }
table.vs .us { background: rgb(242 106 27 / 0.04); }
table.vs thead .us { color: var(--ember); }
table.vs td.nl { color: var(--muted); }
.note { margin-top: 12px; font-size: 13px; }
.note a, .sources a { color: inherit; }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; align-items: start; }
.pick { padding: 26px; }
.pick h2 { font-size: 21px; margin-bottom: 16px; }
.pick-us { border-color: rgb(242 106 27 / 0.4); }
.ticks { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 12px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; }
.ticks svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--muted); }
.pick-us .ticks svg { color: var(--ember); }
.sources { margin: 24px 0 24px; font-size: 13px; }
@media (max-width: 760px) { .picks { grid-template-columns: minmax(0,1fr); } .compare-head { padding-top: 36px; } }

/* "Compare" line under the pricing table */
.compare-links { margin-top: 14px; font-size: 14px; color: var(--muted); }
.compare-links a { color: var(--ember); font-weight: 600; text-decoration: none; }
.compare-links a:hover { text-decoration: underline; }
