/* Storeboard site — shared styles. Brand indigo from the app icon (#6366F1). */
:root {
  --accent: #6366f1;
  --accent-2: #818cf8;
  --accent-dark: #4338ca;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --line: rgba(0, 0, 0, 0.10);
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --bg: #0b0b0f;
    --bg-2: #16161c;
    --card: #17171d;
    --line: rgba(255, 255, 255, 0.11);
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* Header / nav */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 24px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--text); text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 7px; object-fit: contain;
  display: inline-block;
}
nav.site { margin-left: auto; display: flex; gap: 22px; align-items: center; }
nav.site a { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 600; }
nav.site a:hover { color: var(--accent); }
nav.site a.nav-cta { color: #fff; background: var(--accent); padding: 8px 16px; border-radius: 9px; }

/* ---------- HERO (self-contained dark, premium) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 50% -10%, #1a1a3a 0%, #0b0b12 55%);
  color: #f5f5f7;
  padding: 96px 0 88px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
/* floating mesh blobs */
.hero .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; z-index: 0; animation: float 14s ease-in-out infinite; }
.hero .blob.b1 { width: 480px; height: 480px; background: #6366f1; top: -160px; left: -120px; }
.hero .blob.b2 { width: 420px; height: 420px; background: #7c3aed; bottom: -180px; right: -100px; animation-delay: -4s; }
.hero .blob.b3 { width: 300px; height: 300px; background: #22d3ee; top: 120px; right: 12%; opacity: .28; animation-delay: -8s; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-26px) } }
.hero .wrap { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  font-weight: 700; font-size: 13px; color: #e5e7ff;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); font-weight: 850; letter-spacing: -0.03em; line-height: 1.06; }
.hero h1 .grad {
  background: linear-gradient(110deg, #818cf8 10%, #c4b5fd 55%, #22d3ee 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { max-width: 640px; margin: 22px auto 0; font-size: 20px; color: #b8b8c8; }

.cta-row { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 13px; font-weight: 750; font-size: 15px;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; box-shadow: 0 10px 30px rgba(99,102,241,.45); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(99,102,241,.55); }
.btn.ghost { border: 1px solid rgba(255,255,255,0.22); color: #f5f5f7; }
.btn.ghost:hover { background: rgba(255,255,255,0.06); }

/* trust chips */
.chips { margin-top: 30px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 650;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #dcdce8;
}
.chip .g { font-size: 14px; }

/* hero product visual — CSS-built screenshot canvas (no image needed) */
.hero-visual {
  margin: 52px auto 0; max-width: 560px; position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(150deg, #4f46e5, #2e1065);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: flex-start; justify-content: center;
}
.hero-visual .cap { position: absolute; top: 26px; left: 28px; right: 28px; text-align: left;
  font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -.01em; }
.hero-visual .phone {
  width: 150px; margin-top: 92px; aspect-ratio: 1 / 2.05;
  background: #0d1220; border-radius: 26px; border: 5px solid #c9c6bf;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  position: relative; overflow: hidden;
}
.hero-visual .phone::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 13px; background: #000; border-radius: 999px; }
.hero-visual .phone .row { position: absolute; left: 12px; right: 12px; height: 26px; border-radius: 8px; }
.hero-visual .phone .r1 { top: 42px; background: #3a4a8a; }
.hero-visual .phone .r2 { top: 76px; background: #2e6a5a; }
.hero-visual .phone .r3 { top: 110px; background: #7a4a6a; }
.hero-visual .flag { position: absolute; bottom: 16px; font-size: 20px; }
.hero-visual .f1 { left: 20px; } .hero-visual .f2 { left: 48px; } .hero-visual .f3 { left: 76px; }

/* ---------- sections ---------- */
section.block { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .kicker { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 820; letter-spacing: -0.02em; margin-top: 8px; }
.section-head p { color: var(--text-2); font-size: 17px; margin-top: 12px; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.card h3 { margin: 16px 0 7px; font-size: 18px; font-weight: 780; }
.card p { color: var(--text-2); font-size: 14.5px; }

/* workflow pipeline */
.pipeline { display: flex; align-items: stretch; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pipeline .step {
  flex: 1 1 200px; max-width: 240px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px; text-align: center;
}
.pipeline .step .n {
  width: 24px; height: 24px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.pipeline .step .si { font-size: 30px; }
.pipeline .step h4 { margin: 8px 0 5px; font-size: 15.5px; font-weight: 780; color: var(--text); }
.pipeline .step p { color: var(--text-2); font-size: 13px; }
.pipeline .step.finale {
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 20%, var(--card)), var(--card));
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 12px 34px color-mix(in srgb, var(--accent) 22%, transparent);
}
.pipeline .arrow { align-self: center; color: var(--accent); font-size: 22px; font-weight: 800; opacity: .6; }
@media (max-width: 820px) { .pipeline .arrow { transform: rotate(90deg); } .pipeline .step { max-width: none; } }

/* publish spotlight */
.spotlight {
  position: relative; border-radius: 26px; padding: 48px 44px; overflow: hidden;
  background: radial-gradient(900px 400px at 100% 0%, #2a2a6e 0%, #111133 60%);
  color: #f5f5f7; border: 1px solid rgba(255,255,255,.1);
}
.spotlight .badge-usp {
  display: inline-block; padding: 6px 13px; border-radius: 999px; margin-bottom: 16px;
  background: rgba(129,140,248,.18); border: 1px solid rgba(129,140,248,.4);
  color: #c7d2fe; font-weight: 750; font-size: 12.5px;
}
.spotlight h2 { font-size: clamp(24px, 3.6vw, 36px); font-weight: 820; letter-spacing: -.02em; max-width: 720px; }
.spotlight h2 .u { color: #818cf8; }
.spotlight > p { color: #c2c2d4; max-width: 660px; margin-top: 14px; font-size: 16px; }
.spotlight .facts { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.spotlight .fact { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 11px; padding: 10px 15px; font-weight: 650; font-size: 13.5px; color: #dcdce8; }

/* privacy manifesto band */
.band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #111133, #0b0b12);
  color: #f5f5f7; border-radius: 26px; padding: 56px 44px; text-align: center;
  border: 1px solid rgba(255,255,255,.08);
}
.band .lock { font-size: 34px; }
.band h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 820; letter-spacing: -.02em; margin: 14px 0 10px; max-width: 780px; margin-inline: auto; }
.band h2 .u { color: #818cf8; }
.band p { color: #b8b8c8; max-width: 620px; margin-inline: auto; font-size: 16px; }
.band .facts { margin-top: 26px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.band .fact { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 18px; font-weight: 650; font-size: 14px; color: #dcdce8; }

/* AI callout (split) */
.ai { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.ai .emblem {
  aspect-ratio: 1; border-radius: 24px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #3730a3, #0b0b12);
  border: 1px solid rgba(255,255,255,.1); position: relative; overflow: hidden;
}
.ai .emblem .spark { font-size: 84px; filter: drop-shadow(0 0 24px rgba(129,140,248,.8)); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .92 } 50% { transform: scale(1.08); opacity: 1 } }
.ai h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 820; letter-spacing: -.02em; }
.ai ul { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.ai li { display: flex; gap: 11px; color: var(--text-2); font-size: 15.5px; }
.ai li b { color: var(--text); }
.ai li .tick { color: var(--accent); font-weight: 900; }
@media (max-width: 760px) { .ai { grid-template-columns: 1fr; } .ai .emblem { max-width: 260px; margin: 0 auto; } }

/* comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare .col { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.compare .col.them { background: var(--bg-2); }
.compare .col.us { background: color-mix(in srgb, var(--accent) 8%, var(--card)); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.compare h3 { font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.compare ul { list-style: none; display: grid; gap: 12px; }
.compare li { display: flex; gap: 10px; font-size: 15px; color: var(--text-2); }
.compare .them li .m { color: #ef4444; font-weight: 800; }
.compare .us li .m { color: #22c55e; font-weight: 800; }
.compare .us li b { color: var(--text); }
@media (max-width: 680px) { .compare { grid-template-columns: 1fr; } }

/* final CTA */
.finalcta { text-align: center; }
.finalcta h2 { font-size: clamp(28px, 4.5vw, 42px); font-weight: 850; letter-spacing: -.02em; }
.finalcta p { color: var(--text-2); font-size: 17px; margin: 12px auto 28px; max-width: 540px; }

/* ---------- Doc pages (privacy / terms / support) ---------- */
main.doc { padding: 56px 0 80px; }
main.doc h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.01em; }
main.doc p.updated { color: var(--text-2); font-size: 14px; margin: 6px 0 34px; }
main.doc h2 { font-size: 20px; font-weight: 760; margin: 34px 0 10px; }
main.doc p, main.doc li { color: var(--text-2); font-size: 15.5px; }
main.doc ul, main.doc ol { padding-left: 22px; margin: 10px 0; }
main.doc li { margin: 6px 0; }
main.doc strong { color: var(--text); }
main.doc a { color: var(--accent); }
.tldr { background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); border-radius: 12px; padding: 18px 20px; margin: 0 0 8px; }
.tldr p { color: var(--text); font-weight: 600; }
details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 10px 0; background: var(--card); }
details summary { cursor: pointer; font-weight: 700; color: var(--text); font-size: 15.5px; }
details p { margin-top: 10px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 40px 0 52px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
footer.site p { color: var(--text-2); font-size: 13.5px; }
footer.site nav { margin-left: auto; display: flex; gap: 18px; }
footer.site a { color: var(--text-2); font-size: 13.5px; text-decoration: none; }
footer.site a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) { .hero .blob, .ai .emblem .spark { animation: none; } }
