/* View Invoice PDF — public site styles. Self-hosted so CSP can stay 'self'. */
:root {
  --bg: #050506;
  --bg-2: #0b0c0f;
  --panel: #121318;
  --panel-2: #171922;
  --line: #23252e;
  --ink: #eef0f5;
  --muted: #9aa0ad;
  --brand: #4c8dff;
  --brand-2: #7c5cff;
  --ok: #3fb984;
  --radius: 14px;
  --shell: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 700px at 70% -10%, #14162080, transparent 60%), var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.shell { width: min(var(--shell), 92vw); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 10;
}
.skip-link:focus { left: 0; }

.site-header { position: sticky; top: 0; z-index: 5; background: #050506cc; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .shell { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .2px; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; color: var(--muted); font-size: 14px; }
.site-nav a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 10px; padding: 12px 20px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .05s ease, background .2s ease, border-color .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #3a3d49; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

main { display: block; }
.hero { position: relative; padding: 88px 0 64px; overflow: hidden; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); border: 1px solid var(--line); background: #ffffff08; padding: 6px 12px; border-radius: 999px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px #3fb98426; }
h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.05; margin: 20px 0 14px; letter-spacing: -1px; }
.grad { background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); max-width: 60ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; align-items: center; }
.cta-note { font-size: 13px; color: var(--muted); }
.cta-note b { color: var(--ink); font-weight: 600; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat .n { font-size: 26px; font-weight: 800; }
.stat .l { font-size: 13px; color: var(--muted); }

section.band { padding: 64px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 10px; letter-spacing: -.5px; }
.section-head p { color: var(--muted); margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 12px 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.ic { width: 38px; height: 38px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; }

.download { text-align: center; }
.download .panel { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 20px; padding: 44px 28px; }
.download h2 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 8px; }
.download p { color: var(--muted); margin: 0 auto 24px; max-width: 52ch; }
.dl-meta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--muted); }
.dl-status { margin-top: 16px; font-size: 13px; min-height: 18px; color: var(--muted); }
.dl-status[data-kind="warn"] { color: #e7b866; }
.dl-status[data-kind="ok"] { color: var(--ok); }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--ink); }
.small { font-size: 13px; }
.muted { color: var(--muted); }

@media (max-width: 860px) {
  .stat-grid, .feature-grid { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .hero { padding-top: 56px; }
}
