/* RecBlitz website, 3.0 look: dark glass, one blue accent. */
:root {
  --bg: #0b0f18;
  --bg-2: #101624;
  --glow-1: rgba(61, 108, 240, .35);
  --glow-2: rgba(88, 70, 220, .22);
  --text: #f2f4f8;
  --muted: #9aa3b5;
  --faint: #6b7385;
  --glass: rgba(255, 255, 255, .06);
  --glass-strong: rgba(255, 255, 255, .09);
  --edge: rgba(255, 255, 255, .12);
  --edge-top: rgba(255, 255, 255, .22);
  --accent: #3d6cf0;
  --accent-hover: #5580ff;
  --accent-soft: rgba(61, 108, 240, .16);
  --stage: #1f1f1f;
  --code-bg: rgba(255, 255, 255, .07);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #eef2f8; --bg-2: #e4eaf4;
    --glow-1: rgba(61, 108, 240, .22); --glow-2: rgba(120, 100, 240, .14);
    --text: #12161f; --muted: #556074; --faint: #7d8799;
    --glass: rgba(255, 255, 255, .55); --glass-strong: rgba(255, 255, 255, .75);
    --edge: rgba(15, 25, 45, .10); --edge-top: rgba(255, 255, 255, .9);
    --accent: #2f5fe6; --accent-hover: #2450cc; --accent-soft: rgba(47, 95, 230, .10);
    --stage: #f2f2f2; --code-bg: rgba(15, 25, 45, .06);
    --shadow: 0 30px 70px -35px rgba(20, 40, 90, .35);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #eef2f8; --bg-2: #e4eaf4;
  --glow-1: rgba(61, 108, 240, .22); --glow-2: rgba(120, 100, 240, .14);
  --text: #12161f; --muted: #556074; --faint: #7d8799;
  --glass: rgba(255, 255, 255, .55); --glass-strong: rgba(255, 255, 255, .75);
  --edge: rgba(15, 25, 45, .10); --edge-top: rgba(255, 255, 255, .9);
  --accent: #2f5fe6; --accent-hover: #2450cc; --accent-soft: rgba(47, 95, 230, .10);
  --stage: #f2f2f2; --code-bg: rgba(15, 25, 45, .06);
  --shadow: 0 30px 70px -35px rgba(20, 40, 90, .35);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: -20vh -20vw auto; height: 120vh; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vw 40vw at 20% 10%, var(--glow-1), transparent 70%),
    radial-gradient(35vw 35vw at 85% 30%, var(--glow-2), transparent 70%);
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 700; }
h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { font: 14px/1.4 ui-monospace, "SF Mono", Menlo, monospace; background: var(--code-bg); padding: 2px 6px; border-radius: 6px; }
pre { background: var(--code-bg); border: 1px solid var(--edge); border-radius: 14px; padding: 14px 16px; overflow-x: auto; margin: 0 0 1.2em; }
p code, li code { overflow-wrap: anywhere; }
pre code { background: none; padding: 0; font-size: 14px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Glass surfaces */
.glass {
  background: var(--glass);
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 var(--edge-top), var(--shadow);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-radius: 26px;
}

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; padding: 12px 0; }
.top .bar { display: flex; align-items: center; gap: 18px; padding: 8px 10px 8px 16px; border-radius: 999px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--text); }
.brand:hover { color: var(--text); }
.brand svg { width: 26px; height: 26px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); padding: 6px 12px; border-radius: 999px; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--glass-strong); }
.theme-btn { border: 1px solid var(--edge); background: var(--glass-strong); color: var(--text); width: 34px; height: 34px; border-radius: 999px; cursor: pointer; display: grid; place-items: center; }
.theme-btn svg { width: 17px; height: 17px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 14px; font-weight: 600; font-size: 16px; border: 1px solid transparent; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: var(--glass-strong); border-color: var(--edge); color: var(--text); }
.btn-ghost:hover { color: var(--text); border-color: var(--edge-top); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero .lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.hero .btn-row { justify-content: center; }
.hero .meta { margin-top: 14px; font-size: 14px; color: var(--faint); }
.pill { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }

/* Screenshot stage: same grey as the app renders, so the edges disappear */
.stage { background: var(--stage); border-radius: 28px; border: 1px solid var(--edge); box-shadow: var(--shadow); overflow: hidden; }
.stage img { width: 100%; }
.hero-shot { margin: 48px auto 0; max-width: 900px; position: relative; }

/* Theme-dependent images */
.img-light { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .img-dark { display: none; }
  :root:not([data-theme="dark"]) .img-light { display: block; }
}
:root[data-theme="light"] .img-dark { display: none; }
:root[data-theme="light"] .img-light { display: block; }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); font-size: 19px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 88px; }
.row:last-child { margin-bottom: 0; }
.row.flip .text { order: 2; }
.row .text p { color: var(--muted); font-size: 18px; }
.row .num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.row .shot { max-width: 420px; justify-self: center; width: 100%; }
.row .shot.wide { max-width: 100%; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 22px; border-radius: 22px; }
.card h3 { margin-bottom: 6px; font-size: 18px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.card .ico svg { width: 20px; height: 20px; }

/* Toggle for light/dark demo */
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--glass-strong); border: 1px solid var(--edge); gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--muted); font: 600 14px/1 inherit; padding: 9px 16px; border-radius: 9px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--accent); color: #fff; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: 22px; }
table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 15px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--edge); vertical-align: top; }
thead th { color: var(--muted); font-weight: 600; font-size: 14px; }
tbody th { font-weight: 500; }
td.us { background: var(--accent-soft); font-weight: 600; }
tr:last-child td, tr:last-child th { border-bottom: 0; }

/* Docs pages */
.doc h2 { font-size: 30px; margin-top: 56px; }
.doc h3 { margin-top: 28px; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .note { padding: 16px 18px; border-radius: 16px; margin: 0 0 1.2em; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.toc a { padding: 6px 12px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--edge); color: var(--text); font-size: 14px; }

/* Release notes */
.release { padding: 30px; border-radius: 26px; margin-bottom: 20px; }
.release h2 { font-size: 28px; margin-bottom: 4px; }
.release .date { color: var(--faint); font-size: 14px; margin-bottom: 18px; display: block; }
.release h3 { font-size: 17px; margin: 20px 0 4px; }
.release p { color: var(--muted); }

/* Final call */
.final { text-align: center; padding: 56px 24px; border-radius: 32px; }
.final p { color: var(--muted); font-size: 19px; }
.final .btn-row { justify-content: center; }

footer { padding: 40px 0 60px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 860px) {
  .row, .row.flip { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .row.flip .text { order: 0; }
  .grid { grid-template-columns: 1fr 1fr; }
  .nav a.hide-sm { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .top .bar { gap: 8px; padding-left: 12px; }
  .brand span { display: none; }
  .nav a { padding: 6px 8px; font-size: 14px; }
  section { padding: 52px 0; }
}

/* Plain banner strip under the hero */
.strip { max-width: 560px; margin: 36px auto 0; }
.strip img { width: 100%; }
.stage.transp img { padding: 0; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .shot-pair { grid-template-columns: 1fr; } }
