/* The public pages: landing, privacy, terms. Same dark palette as the app. */
:root {
  --bg: #0a0a0c; --bg-2: #111114; --panel: #16161a; --line: #24242a; --line-2: #313139;
  --text: #f4f4f6; --text-2: #c9c9d1; --muted: #8b8b96; --accent: #f4f4f6; --warm: #ff8a62;
  --serif: 'Fraunces', Georgia, serif; --sans: 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* top bar */
.site-top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
.site-top.scrolled { border-bottom-color: var(--line); }
.site-top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; letter-spacing: -.01em; }
.logo i { width: 28px; height: 28px; border-radius: 22%; background: url(/favicon.svg) center / contain no-repeat; }
.site-top nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 99px; font: 600 14.5px var(--sans); text-decoration: none; border: 1px solid var(--line-2); color: var(--text); background: transparent; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--panel); }
.btn.solid { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.solid:hover { background: #fff; }
.btn.big { height: 52px; padding: 0 26px; font-size: 16px; }
.btn.ghost { border-color: transparent; }

/* hero */
.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--warm); letter-spacing: .02em; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 12px var(--warm); }
h1 { font: 400 clamp(42px, 6.2vw, 74px)/1.02 var(--serif); letter-spacing: -.025em; margin: 18px 0 20px; }
h1 em { font-style: italic; color: var(--text-2); }
.lede { font-size: 18.5px; line-height: 1.6; color: var(--text-2); max-width: 34em; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cta small { width: 100%; color: var(--muted); font-size: 13px; margin-top: 4px; }

/* the made-up library on the right: soft gradient "photos", no real ones */
.stage { position: relative; aspect-ratio: 1 / 1.02; }
.slab { position: absolute; inset: 6% 0 0 10%; border-radius: 26px; background: var(--bg-2); border: 1px solid var(--line); padding: 14px; box-shadow: 0 40px 90px rgba(0,0,0,.55); display: grid; grid-template-rows: auto 1fr; gap: 12px; overflow: hidden; }
.slab-top { display: flex; align-items: center; gap: 8px; }
.slab-top b { font-size: 15px; } .slab-top span { margin-left: auto; height: 26px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 12px; display: grid; place-items: center; color: var(--text-2); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 4px; }
.mosaic i { border-radius: 6px; background: var(--g); animation: drift 9s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.mosaic i.w { grid-column: span 2; grid-row: span 2; }
@keyframes drift { from { filter: saturate(.9) brightness(.95); } to { filter: saturate(1.15) brightness(1.06); } }
.phone { position: absolute; left: 0; bottom: -4%; width: 36%; aspect-ratio: 9 / 19; border-radius: 30px; background: #000; border: 6px solid #1e1e24; box-shadow: 0 30px 70px rgba(0,0,0,.7); padding: 22px 6px 6px; display: grid; grid-template-rows: auto 1fr; gap: 6px; overflow: hidden; }
.phone b { font-size: 12px; padding: 0 4px; }
.phone .mosaic { grid-template-columns: repeat(3, 1fr); gap: 2px; }
.phone .mosaic i { border-radius: 2px; }
.face-tag { position: absolute; right: 6%; top: 18%; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 99px; background: rgba(22,22,26,.92); border: 1px solid var(--line-2); box-shadow: 0 14px 40px rgba(0,0,0,.5); font-size: 13px; backdrop-filter: blur(8px); }
.face-tag i { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(140deg, #f7c59f, #c97c5d); }
.search-tag { position: absolute; right: 2%; bottom: 10%; padding: 10px 16px; border-radius: 14px; background: rgba(22,22,26,.94); border: 1px solid var(--line-2); font-size: 13px; color: var(--text-2); box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.search-tag b { color: var(--text); font-weight: 600; }

/* sections */
section { padding: 70px 0; }
.sec-h { font: 400 clamp(30px, 4vw, 44px)/1.1 var(--serif); letter-spacing: -.02em; margin: 0 0 14px; }
.sec-sub { color: var(--text-2); font-size: 17px; max-width: 38em; margin: 0 0 36px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { padding: 24px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line-2); margin-bottom: 16px; }
.card .ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--text-2); font-size: 15.5px; }
.ticks li::before { content: ''; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: rgba(62,207,142,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ecf8e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.ticks b { color: var(--text); font-weight: 600; }
.quote { padding: 34px; border-radius: 22px; background: linear-gradient(160deg, #18181d, #101013); border: 1px solid var(--line); }
.quote p { font: 400 23px/1.45 var(--serif); margin: 0 0 18px; letter-spacing: -.01em; }
.quote small { color: var(--muted); }
.final { text-align: center; padding: 90px 0 100px; }
.final .sec-sub { margin-left: auto; margin-right: auto; }
.final .cta { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 13.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
footer a { color: var(--text-2); text-decoration: none; } footer a:hover { color: var(--text); }
footer .ver { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 12px; }

/* legal pages */
.doc { max-width: 720px; padding: 56px 0 80px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 8px; }
.doc .upd { color: var(--muted); font-size: 14px; margin: 0 0 34px; }
.doc h2 { font-size: 19px; margin: 36px 0 10px; letter-spacing: -.01em; }
.doc p, .doc li { color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.doc ul { padding-left: 20px; }
.doc b { color: var(--text); }
.doc .box { padding: 16px 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 36px; }
  .stage { max-width: 520px; width: 100%; margin: 0 auto; }
  .grid3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .site-top nav .btn.ghost { display: none; }
  .lede { font-size: 17px; }
  section { padding: 52px 0; }
  .face-tag { right: 0; top: 10%; }
  .search-tag { right: 0; bottom: 4%; }
}
@media (prefers-reduced-motion: reduce) { .mosaic i { animation: none; } }

/* the wordmark: lowercase serif mantel beside the icon */
.logo span { font: 600 22px/1 var(--serif); letter-spacing: -.03em; }
.logo i { width: 30px; height: 30px; }
