/* Camposite site. One stylesheet, no build step, no external fonts or scripts.
   Accent = the app icon's blue-to-indigo (#4C8DF6 → #6A5BE2) with its cyan bar (#7FE3F5).
   Accent text and buttons use a darker ink in light mode (#2F55C9) for WCAG AA on white. */

:root {
  color-scheme: light dark;
  --bg: #f9fafc;
  --bg-alt: #f0f3f9;
  --surface: #ffffff;
  --surface-2: #eef1f7;
  --text: #161a22;
  --muted: #545c6b;
  --line: #dde2ec;
  --accent: #4c8df6;
  --accent-2: #6a5be2;
  --accent-ink: #2f55c9;
  --button-bg: #2f55c9;
  --button-text: #ffffff;
  --tint: #e8efff;
  --tint-ink: #23439f;
  --warn-bg: #fff7e6;
  --warn-line: #f0d9a8;
  --shadow: 0 1px 2px rgba(15, 25, 50, .06), 0 12px 32px rgba(15, 25, 50, .08);
  --shadow-lg: 0 30px 60px -24px rgba(20, 30, 80, .35), 0 10px 24px -12px rgba(20, 30, 80, .22);
  --header-bg: rgba(249, 250, 252, .8);
  --radius: 18px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f14;
    --bg-alt: #13161d;
    --surface: #181b23;
    --surface-2: #20242e;
    --text: #f2f4f8;
    --muted: #a3abba;
    --line: #2a2f3a;
    --accent: #6fa3ff;
    --accent-2: #8b7ff0;
    --accent-ink: #8fb6ff;
    --button-bg: #8fb6ff;
    --button-text: #0b1530;
    --tint: #18223a;
    --tint-ink: #a9c6ff;
    --warn-bg: #221d12;
    --warn-line: #4a3d20;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
    --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .75), 0 10px 24px -12px rgba(0, 0, 0, .6);
    --header-bg: rgba(13, 15, 20, .75);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--surface); color: var(--text); padding: .6rem 1rem; z-index: 100; border-radius: 8px; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; display: block; }
.site-header nav ul { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }
.site-header .nav-link { display: none; }
@media (min-width: 760px) { .site-header .nav-link { display: list-item; } }
.site-header .doc-nav .nav-link { display: list-item; }
.site-header nav .button { min-height: 34px; padding: .3rem .95rem; font-size: .88rem; color: var(--button-text); }

/* ---------- Type ---------- */
h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; font-family: var(--font-display); }
h1 { font-size: clamp(2.5rem, 7.4vw, 4.6rem); margin: 0 0 1.1rem; letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.8vw, 3rem); margin: 0 0 1rem; letter-spacing: -.03em; font-weight: 750; }
h3 { font-size: 1.18rem; margin: 0 0 .45rem; line-height: 1.25; }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 38em; line-height: 1.5; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .9rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.grad {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

section { padding: 72px 0; scroll-margin-top: 56px; }
@media (min-width: 800px) { section { padding: 104px 0; } }
.alt { background: var(--bg-alt); }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1rem; align-items: center; }
.center .actions { justify-content: center; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .7rem 1.5rem; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--button-bg); color: var(--button-text); border: 2px solid var(--button-bg);
}
.button:hover { filter: brightness(1.08); }
.button.secondary { background: transparent; color: var(--text); border-color: var(--line); }
.button.secondary:hover { border-color: var(--muted); filter: none; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
@media (min-width: 800px) { .hero { padding: 88px 0 104px; } }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 80%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%);
}
.hero .facts { color: var(--muted); font-size: .92rem; margin: 0; }
.hero-figure { margin: 48px auto 0; max-width: 980px; }
.hero-figure svg { display: block; width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); }
.hero-figure figcaption { margin-top: .8rem; color: var(--muted); font-size: .85rem; text-align: center; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px; box-shadow: var(--shadow); counter-increment: step;
}
.step-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2)); color: #fff;
}
.step-icon svg { width: 26px; height: 26px; }
.steps h3::before { content: counter(step) ". "; color: var(--accent-ink); }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Why ---------- */
.why-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li {
  position: relative; padding: 14px 18px 14px 50px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px;
}
.checks li::before {
  content: ""; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%234c8df6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.checks strong { display: block; }
.checks span { color: var(--muted); font-size: .95rem; }

/* ---------- Use cards ---------- */
.cards { display: grid; gap: 20px; margin-top: 44px; }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card svg { display: block; width: 100%; height: auto; }
.card-body { padding: 20px 22px 22px; }
.card-body p { color: var(--muted); margin: 0; }

/* ---------- Honest-use note ---------- */
.note {
  max-width: 760px; margin: 0 auto; padding: 22px 24px; border-radius: 14px;
  background: var(--warn-bg); border: 1px solid var(--warn-line); font-size: .95rem;
}
.note h2 { font-size: 1.1rem; letter-spacing: -.01em; margin: 0 0 .5rem; }
.note p:last-child { margin: 0; }
section.note-section { padding: 0 0 72px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 36px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--muted);
}
.faq details[open] summary::after { content: "−"; }
.faq details p, .faq details ul { color: var(--muted); margin: 0 0 1rem; }
.faq details ul { padding-left: 1.2rem; }
.faq-support { text-align: center; margin-top: 2rem; color: var(--muted); }

/* ---------- Beta / CTA ---------- */
.cta-card {
  max-width: 680px; margin: 0 auto; text-align: center; padding: 44px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg);
}
@media (min-width: 700px) { .cta-card { padding: 56px 48px; } }
.cta-card > img { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 18px; display: block; }
.cta-card p { color: var(--muted); }
.form-row { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.5rem; }
.form-row input {
  flex: 1 1 240px; min-height: 50px; padding: .6rem 1.1rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--text); font: inherit;
}
.form-row input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.form-row .button { flex: 0 0 auto; }
@media (max-width: 520px) { .form-row .button { flex: 1 1 100%; } }
.form-note {
  margin: 1rem 0 0; padding: 12px 16px; border-radius: 12px; background: var(--tint); color: var(--tint-ink); font-size: .95rem;
}
.form-note a { color: inherit; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer p { margin: 0; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0; padding: 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* ---------- Document pages (privacy) ---------- */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.doc h2 { font-size: 1.45rem; margin: 2.4rem 0 .7rem; letter-spacing: -.015em; }
.doc ul { padding-left: 1.25rem; }
.doc li { margin-bottom: .4rem; }
.updated { color: var(--muted); font-size: .92rem; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.nw { white-space: nowrap; }
