/* Same look as the app: Classic dark (Figma "Classic look", picked B, 8 Nov 2026). Charcoal
   background, solid cards, one blue accent, flat buttons; no purple or pink.
   DM Sans, Bricolage for the wordmark. --sky is the main accent colour. */
:root {
  --bg: #121417; --surface: #1C1F24; --raised: #24282F; --line: #2A2E35;
  --text: #F8FAFC; --muted: rgba(248,250,252,.72); --faint: rgba(248,250,252,.52);
  --sky: #2F7FE4; --accent: #5AA2F0; --on-sky: #FFFFFF; --live: #F43F5E;
  --pale: rgba(255,255,255,.08); --edge: rgba(255,255,255,.1);
  --gradient: linear-gradient(90deg, #2F7FE4, #2F7FE4);
  --shadow: 0 14px 40px rgba(0,0,0,.35);
  --brand: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--body); }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

header { position: sticky; top: 0; z-index: 10; background: rgba(18,20,23,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--edge); padding-top: env(safe-area-inset-top, 0px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.wordmark .logo { border-radius: 10px; box-shadow: 0 0 18px rgba(125,211,252,.35); }
.wordmark { display: flex; align-items: center; gap: 10px; font: 800 24px/1 var(--brand); letter-spacing: -.02em; text-decoration: none; }
nav { display: flex; align-items: center; gap: 20px; }
nav a.link { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
nav a.link:hover, nav a.link[aria-current="page"] { color: var(--text); }

.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 16px/1 var(--body); text-decoration: none; transition: transform .15s ease; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--gradient); color: var(--on-sky); box-shadow: 0 0 24px rgba(47,127,228,.55); }
.btn.ghost { background: rgba(255,255,255,.08); color: #FFFFFF; border: 1px solid rgba(255,255,255,.28); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 15px; border-radius: 999px; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 72px 56px; }
.hero > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255,59,92,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,59,92,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,92,0); } }
h1 { font: 700 clamp(38px, 6vw, 60px)/1.05 var(--body); letter-spacing: -.03em; margin: 14px 0 18px; text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--muted); font-size: 18px; max-width: 34em; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { color: var(--faint); font-size: 14px; margin-top: 14px; }

section { padding-block: 56px; }
h2 { font: 700 clamp(28px, 4vw, 38px)/1.15 var(--body); letter-spacing: -.02em; margin: 0 0 10px; text-wrap: balance; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 40em; }
.wrap > h2 + .cards { margin-top: 24px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--edge); border-radius: 24px; box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 20px; min-width: 0; }
.card svg { width: 28px; height: 28px; color: var(--accent); }
.card h3 { font-size: 17px; margin: 14px 0 6px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split > * { min-width: 0; }
ol.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 16px; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
ol.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; background: var(--raised); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; font-weight: 700; color: var(--sky); }
ol.steps b { display: block; }
ol.steps span { color: var(--muted); font-size: 15px; }
ol.steps span b { display: inline; color: var(--text); }
ul.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
ul.checks li { padding-left: 30px; position: relative; color: var(--muted); }
ul.checks li b { color: var(--text); }
ul.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--sky); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5-5 1.4 1.4-6.4 6.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5-5 1.4 1.4-6.4 6.4z'/%3E%3C/svg%3E") center / contain no-repeat; }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::after { content: "+"; color: var(--sky); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 10px 0 0; max-width: 46em; }

.cta-band { text-align: center; padding-block: 64px; }
.cta-band .ctas { justify-content: center; }

footer { background: rgba(255,255,255,.03); border-top: 1px solid var(--edge); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer nav { gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-block: 40px 40px; gap: 36px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  nav a.link { display: none; }
}
@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .ctas .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } .btn { transition: none; } }

/* Small screens: the page links move into a menu (no script needed). */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--raised); border: 1px solid var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after, .menu[open] summary::after { content: none; }
.menu[open] summary { border-color: var(--sky); }
.menu ul { position: absolute; right: 0; top: 48px; list-style: none; margin: 0; padding: 8px; min-width: 200px; background: #0B1020; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.menu li a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.menu li a:hover, .menu li a[aria-current="page"] { background: var(--pale); color: var(--sky); }
details.menu { border: 0; padding: 0; }

/* Inner pages */
.page-hero { padding-block: 64px 40px; }
.page-hero > * { max-width: 760px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); }
.prose { max-width: 720px; color: var(--muted); }
.prose h2 { color: var(--text); font-size: clamp(22px, 3vw, 28px); margin-top: 36px; }
.prose p, .prose li { font-size: 17px; }
.prose a, .sub a, details p a, .fine a { color: var(--accent); }
.prose b, .prose strong { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--edge); border-radius: 24px; box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 22px; }
.stat b { display: block; font: 800 clamp(30px, 4vw, 40px)/1 var(--brand); color: var(--accent); margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: 15px; }
.download-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--edge); border-radius: 24px; box-shadow: var(--shadow); padding: 24px; max-width: 640px; }
.download-card .icon { width: 72px; height: 72px; border-radius: 18px; }
.download-card h2 { font-size: 22px; margin: 0 0 4px; }
.download-card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.note { border-left: 3px solid var(--sky); background: var(--surface); box-shadow: var(--shadow); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--muted); max-width: 720px; }
.note b { color: var(--text); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; width: 100%; }
footer h3 { color: var(--text); font-size: 14px; margin: 0 0 10px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer .legal { width: 100%; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; }
@media (max-width: 860px) {
  .menu { display: block; }
  .stats, .cards.three { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .page-hero { padding-block: 40px 24px; }
}
@media (max-width: 480px) {
  .download-card { grid-template-columns: 1fr; }
  header nav { gap: 10px; }
  header .btn.small { padding: 0 12px; }
}

/* Home hero (Figma "A · Photo wall"): tilted live-card wall behind the headline, drifting slowly. */
.hero-photo { position: relative; overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(5,7,13,.92) 38%, rgba(5,7,13,.35) 68%, rgba(5,7,13,.55) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 18%); }
.hero-copy { position: relative; z-index: 1; width: 100%; padding-block: 72px; }
.hero-copy > * { max-width: 640px; }
.hero-copy h1 { font-size: clamp(38px, 4.6vw, 62px); max-width: 820px; }
.hero-copy h1 em { color: var(--accent); }
.eyebrow { padding: 6px 14px; border-radius: 999px; background: rgba(5,7,13,.6); border: 1px solid rgba(255,255,255,.18); color: #FFFFFF; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #FFFFFF; }
.wall { position: absolute; top: -140px; right: -160px; width: min(1100px, 95vw); transform: rotate(-8deg); }
.wall-in { display: grid; gap: 14px; animation: drift 40s linear infinite alternate; }
.wall .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wall .row:nth-child(even) { transform: translateX(60px); }
.lc { position: relative; aspect-ratio: 1 / 1.1; border-radius: 14px; overflow: hidden; background: #111827; }
.lc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lc.glow { outline: 3px solid #2DD4BF; outline-offset: -3px; box-shadow: 0 0 28px rgba(45,212,191,.45); }
.lc .bars { position: absolute; top: 10px; left: 12px; width: 13px; height: 12px;
  background: linear-gradient(#5EEAD4,#5EEAD4) 0 6px / 3px 6px no-repeat, linear-gradient(#5EEAD4,#5EEAD4) 5px 1px / 3px 11px no-repeat, linear-gradient(#5EEAD4,#5EEAD4) 10px 5px / 3px 7px no-repeat; }
.lc .v, .lc .n { position: absolute; color: #FFFFFF; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.75); }
.lc .v { top: 8px; right: 12px; font-size: 13px; }
.lc .v::before { content: "👤 "; font-size: 11px; }
.lc .n { left: 12px; bottom: 10px; font-size: 16px; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-180px); } }
@media (max-width: 860px) {
  .hero-photo { min-height: 0; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(5,7,13,.8) 0%, rgba(5,7,13,.84) 40%, rgba(5,7,13,.92) 70%, var(--bg) 100%); }
  .wall { right: -30%; width: 160vw; top: -80px; }
  .hero-copy { padding-block: 56px 48px; }
}
@media (prefers-reduced-motion: reduce) { .wall-in { animation: none; } }
