:root {
  --bg: #ffffff;
  --bg-soft: #f7f7fa;
  --fg: #0a0a0a;
  --fg-muted: #555555;
  --fg-soft: #777777;
  --accent: #4F46E5;
  --accent-2: #7C3AED;
  --accent-hover: #3a31cf;
  --border: #e5e5e5;
  --code-bg: #f4f4f6;
  --max-width: 1080px;
  --max-narrow: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --bg-soft: #14141a;
    --fg: #f5f5f7;
    --fg-muted: #b0b0b5;
    --fg-soft: #888890;
    --accent: #7F77DD;
    --accent-2: #A78BFA;
    --accent-hover: #9d8aff;
    --border: #2a2a30;
    --code-bg: #1a1a20;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  z-index: 10;
}

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }

/* ─────────────────────────────────────────── Header ────────────── */

header.site {
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: saturate(140%) blur(12px);
}
header.site .site-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
header.site a.brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--fg);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
header.site nav a {
  color: var(--fg-muted);
  text-decoration: none;
  margin-left: 1rem;
}
header.site nav a:hover { color: var(--fg); }

/* ─────────────────────────────────────────── Hero ──────────────── */

.hero {
  padding: 3.5rem 1.25rem 2rem;
  text-align: center;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(79, 70, 229, 0.10), transparent 70%),
    var(--bg);
}
.hero-inner {
  max-width: 820px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 1.25rem 0 1rem;
  color: var(--fg);
}
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 620px;
  margin: 0 auto 1.75rem;
}
.cta-note {
  font-size: 0.85rem;
  color: var(--fg-soft);
  margin-top: 1rem;
}

/* ─────────────────────────── Social-proof pill ─────────────────── */

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.8rem 0.4rem 0.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.avatar-stack {
  display: inline-flex;
}
.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 2px solid var(--bg);
  margin-left: -8px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.01em;
}
.avatar:first-child { margin-left: 0; }
.avatar-a { background: linear-gradient(135deg, #C4B5FD, #7F77DD); }
.avatar-b { background: linear-gradient(135deg, #7F77DD, #4F46E5); }
.avatar-c { background: linear-gradient(135deg, #D4537E, #7C3AED); }
.social-text strong { color: var(--fg); font-weight: 600; }
.rating {
  font-weight: 700;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}
.rating .star { color: #F59E0B; }

/* ───────────────────────────────── CTA pills ───────────────────── */

.cta-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.25rem;
  background: #0a0a0a;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  min-width: 220px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-pill:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.cta-glyph {
  width: 22px;
  height: 22px;
  fill: #fff;
  flex-shrink: 0;
}
.cta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.cta-pre {
  font-size: 0.7rem;
  opacity: 0.85;
  margin-bottom: 2px;
}
.cta-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ───────────────────────────────── Mockups ─────────────────────── */

.mockups {
  padding: 2.5rem 1.25rem 3.5rem;
  text-align: center;
}
.phones {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: 0 auto;
}
.phone {
  width: 220px;
  height: 440px;
  background: #0a0a0a;
  border-radius: 32px;
  padding: 8px;
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.18),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  position: relative;
}
.phone::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 14px;
  background: #000;
  border-radius: 7px;
}
.phone-left { transform: rotate(-3deg) translateY(8px); }
.phone-right { transform: rotate(3deg) translateY(8px); }

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: #14141a;
  color: #f5f5f7;
  padding: 32px 14px 14px;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shot-status {
  height: 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  width: 60%;
  margin-bottom: 2px;
}
.shot-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b0b0b5;
}
.shot-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  font-size: 11px;
}
.shot-row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5DCAA5;
  flex-shrink: 0;
}
.shot-row .dot-orange { background: #EF9F27; }
.shot-row .dot-purple { background: #7F77DD; }
.shot-row.done { color: #8de2bf; }

.shot-curve { width: 100%; height: 110px; flex-shrink: 0; }
.shot-axis {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #888;
  padding: 0 4px;
}

.mockups-caption {
  margin-top: 2rem;
  color: var(--fg-muted);
  font-size: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ───────────────────────────── Section title ───────────────────── */

.section-title {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
  color: var(--fg);
}

/* ───────────────────────────── Feature grid ────────────────────── */

.features {
  padding: 3rem 1.25rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}
.feature h3 {
  margin: 0.75rem 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.feature p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.feature-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

@media (max-width: 880px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────── Testimonials ──────────────────── */

.testimonials {
  padding: 3rem 1.25rem;
}
.testimonial-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  margin: 0;
}
.testimonial p {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--fg);
  line-height: 1.5;
}
.testimonial footer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg-soft);
  font-size: 0.85rem;
}
.testimonial cite { font-style: normal; }
.testimonial .stars {
  color: #F59E0B;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

@media (max-width: 880px) {
  .testimonial-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ───────────────────────────── Disclaimer ──────────────────────── */

.disclaimer {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  color: var(--fg-soft);
  font-size: 0.85rem;
  text-align: center;
}
.disclaimer strong { color: var(--fg-muted); }

/* ────────────────────────────── Footer ─────────────────────────── */

footer.site {
  border-top: 1px solid var(--border);
  color: var(--fg-soft);
  font-size: 0.85rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
footer.site a { color: var(--fg-muted); }

footer.site-marketing .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
}

/* ───────────────────────── Article (privacy/support) ───────────── */
/* Preserve the existing typography for the privacy / support pages
   that still use the .wrap container — these styles are unchanged. */

.wrap {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
.wrap h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 1.5rem 0 0.5rem;
  letter-spacing: -0.02em;
}
.wrap h2 {
  font-size: 1.4rem;
  margin: 2.25rem 0 0.5rem;
  letter-spacing: -0.01em;
}
.wrap h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}
.wrap p { margin: 0.75rem 0; }
.wrap ul, .wrap ol { padding-left: 1.5rem; }
.wrap li { margin: 0.25rem 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.meta {
  color: var(--fg-soft);
  font-size: 0.9rem;
  margin: 0.25rem 0 1.5rem;
}
hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}
code, pre {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--code-bg);
  padding: 0.1em 0.35em;
  border-radius: 0.25em;
}
pre { padding: 1rem; overflow-x: auto; }
pre code { padding: 0; background: transparent; }
blockquote {
  border-left: 3px solid var(--border);
  padding-left: 1rem;
  color: var(--fg-muted);
  margin: 1rem 0;
}

@media print {
  header.site, footer.site, .skip { display: none; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .wrap { max-width: none; padding: 0; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
