/* RevSprint Studio website — one stylesheet for every page. */
:root {
  --ink: #0b1220;
  --text: #1f2a3d;
  --muted: #5b6678;
  --line: #e3e8ef;
  --bg: #ffffff;
  --soft: #f6f8fb;
  --brand: #0f766e;
  --brand-ink: #ffffff;
  --brand-soft: #e7f5f3;
  --accent: #1e293b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.06), 0 8px 24px rgba(11, 18, 32, 0.06);
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --ink: #f3f6fb;
    --text: #d5dce7;
    --muted: #9aa6b8;
    --line: #243045;
    --bg: #0b1220;
    --soft: #111a2b;
    --brand: #2dd4bf;
    --brand-ink: #062a27;
    --brand-soft: #0e2b2a;
    --accent: #e2e8f0;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}
:root[data-theme='dark'] {
  --ink: #f3f6fb;
  --text: #d5dce7;
  --muted: #9aa6b8;
  --line: #243045;
  --bg: #0b1220;
  --soft: #111a2b;
  --brand: #2dd4bf;
  --brand-ink: #062a27;
  --brand-soft: #0e2b2a;
  --accent: #e2e8f0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; letter-spacing: -0.01em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 0.8rem; font-weight: 900; }
.site-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.site-nav a { color: var(--muted); font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .site-nav .hide-sm { display: none; } .site-nav { gap: 14px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent; font-weight: 650; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; transition: transform 120ms ease, background-color 150ms ease, border-color 150ms ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--bg); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 0.875rem; }

/* Sections */
section { padding: 72px 0; }
.section-soft { background: var(--soft); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.1875rem; color: var(--muted); }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; font-size: 0.9375rem; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks li::before { content: ''; width: 18px; height: 18px; border-radius: 99px; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230f766e'%3E%3Cpath d='M8.2 13.6 4.9 10.3l1.2-1.2 2.1 2.1 5.7-5.7 1.2 1.2z'/%3E%3C/svg%3E") center/14px no-repeat; }
.shot { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.shot-caption { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); text-align: center; }
.hero-visual { position: relative; max-width: 540px; margin-inline: auto; }
.hero-visual .phone { position: absolute; right: -28px; bottom: -28px; width: 38%; border-radius: 22px; border: 6px solid var(--ink); box-shadow: var(--shadow); overflow: hidden; background: #fff; }
@media (max-width: 960px) { .hero-visual .phone { display: none; } }

/* Feature grid */
.grid-3 { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.card p { margin: 0; color: var(--muted); font-size: 0.9625rem; }
.icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }

/* Split rows */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.flip > :first-child { order: 2; } }
.split + .split { margin-top: 72px; }
.bullets { padding: 0; margin: 16px 0 0; list-style: none; display: grid; gap: 10px; }
.bullets li { padding-left: 28px; position: relative; }
.bullets li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 99px; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230f766e'%3E%3Cpath d='M8.2 13.6 4.9 10.3l1.2-1.2 2.1 2.1 5.7-5.7 1.2 1.2z'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Steps */
.steps { display: grid; gap: 18px; counter-reset: step; padding: 0; list-style: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 99px; background: var(--ink); color: var(--bg); font-weight: 800; }
.steps p { margin: 0; color: var(--muted); }

/* Pricing */
.price-card { max-width: 520px; margin: 0 auto; padding: 32px; border: 2px solid var(--ink); border-radius: 18px; background: var(--bg); box-shadow: var(--shadow); }
.price { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 4px; }
.price strong { font-size: 3rem; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.price-card .btn { width: 100%; margin-top: 22px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 650; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--muted); font-weight: 400; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta { text-align: center; padding: 64px 24px; border-radius: 20px; background: var(--ink); color: var(--bg); }
.cta h2 { color: var(--bg); }
.cta p { color: color-mix(in oklab, var(--bg) 75%, transparent); }
.cta .btn-primary { background: var(--bg); color: var(--ink); }

/* Apps list (studio home) */
.app-card { display: grid; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); box-shadow: var(--shadow); text-decoration: none; color: inherit; }
@media (min-width: 820px) { .app-card { grid-template-columns: 1fr 1fr; align-items: center; } }
.app-card h3 { font-size: 1.5rem; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-size: 0.8125rem; font-weight: 700; }
.tag-muted { background: var(--soft); color: var(--muted); }

/* Documents (docs, privacy, terms) */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 0 80px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.5rem; margin-top: 2.2em; scroll-margin-top: 84px; }
.doc h3 { margin-top: 1.6em; }
.doc ul, .doc ol { padding-left: 1.25em; }
.doc li { margin-bottom: 0.4em; }
.doc .meta { color: var(--muted); font-size: 0.9375rem; }
.doc code { padding: 2px 6px; border-radius: 6px; background: var(--soft); font-size: 0.875em; }
.toc { padding: 18px 22px; margin: 28px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.toc ol { margin: 8px 0 0; columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.note { padding: 14px 18px; border-left: 4px solid var(--brand); border-radius: 8px; background: var(--brand-soft); }

/* Footer */
.site-footer { padding: 48px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

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