@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/assets/fonts/schibsted-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #101219;
  --stage: #171a23;
  --raised: #232836;
  --border: #262a35;
  --text: #e8eaf2;
  --soft: #b4b9cb;
  --muted: #8c92a8;
  --faint: #7d839b;
  --live: #a7f0dd;
  --next: #f3b47a;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Schibsted Grotesk', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--text); font: 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--text); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 24px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark span:first-child { width: 10px; height: 10px; border-radius: 50%; background: var(--live); box-shadow: 0 0 12px rgb(167 240 221 / 0.6); }
.mark span:last-child { font: 600 22px var(--display); letter-spacing: -0.03em; }
.nav { display: flex; gap: 24px; flex: 1 1 auto; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--border); color: var(--text); text-decoration: none; font: inherit; font-weight: 500; background: none; cursor: pointer; }
.btn:hover { border-color: #3a4052; color: var(--text); }
.btn.primary { background: var(--text); border-color: var(--text); color: var(--ink); font-weight: 600; }
.btn.primary:hover { background: #fff; color: var(--ink); }
.btn.live { background: var(--live); border-color: var(--live); color: var(--ink); font-weight: 600; }
.btn.small { min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Home */
.hero { padding-top: 96px; padding-bottom: 48px; }
.hero h1 { max-width: 820px; font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.035em; }
.lede { margin: 24px 0 0; max-width: 560px; font-size: 20px; color: var(--muted); }
.downloads { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin: 14px 0 0; font-size: 13.5px; color: var(--faint); }
.shots { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; }
.shot { margin: 0; overflow: hidden; border: 1px solid var(--border); background: var(--stage); }
.shot img { display: block; width: 100%; height: auto; }
.shot.desktop { flex: 999 1 640px; min-width: 0; border-radius: 18px; }
.shot.phone { flex: 1 1 220px; max-width: 242px; border-radius: 28px; }
.appearance-shots { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 242px); gap: 40px; align-items: center; max-width: 1000px; margin: 40px auto 0; }
.shot.themes { border-radius: 18px; }
@media (max-width: 700px) {
  .top > .btn.small { display: none; }
  .shots { display: grid; gap: 28px; }
  .shot.desktop { width: 100%; }
  .shot.phone { width: min(70%, 242px); justify-self: center; }
  .appearance-shots { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
.section { padding-top: 120px; }
.section > h2, .head h2 { font-size: 40px; line-height: 1.1; }
.stats { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.stats div { background: var(--ink); padding: 28px; }
.stats strong { display: block; font: 600 44px/1.2 var(--display); letter-spacing: -0.03em; }
.stats span { color: var(--muted); font-size: 15px; }
.fine { margin: 12px 0 0; font-size: 13px; color: var(--faint); }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 32px; }
.head h2, .head h1 { flex: 1 1 400px; }
.livetag { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.livetag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.livetag.off::before { background: var(--faint); }
.top3 { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.top3 li { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.top3 .title { font-weight: 600; font-size: 17px; }
.top3 .detail { color: var(--muted); font-size: 15px; }
.more { display: inline-block; margin-top: 20px; color: var(--live); font-weight: 500; }
.close { padding-top: 160px; text-align: center; }
.close h2 { font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -0.035em; }
.close .btn { margin-top: 32px; }
.foot { display: flex; flex-wrap: wrap; gap: 16px 32px; padding-top: 120px; padding-bottom: 64px; color: var(--faint); font-size: 14px; }
.foot a { color: var(--faint); }

/* Votes */
.vote { flex: none; width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--border); background: var(--stage); color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.vote svg { width: 12px; height: 12px; }
.vote:hover { border-color: #3a4052; }
.vote[aria-pressed='true'] { border-color: var(--live); background: rgb(167 240 221 / 0.1); color: var(--live); }
.vote:disabled { cursor: progress; opacity: 0.7; }

/* Roadmap */
.page { padding-top: 72px; padding-bottom: 32px; }
.page h1 { font-size: clamp(40px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.035em; }
.board { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.col { background: var(--stage); border: 1px solid var(--border); border-radius: 18px; padding: 16px; }
.col h2 { margin: 0 4px 12px; display: flex; align-items: center; gap: 8px; font: 600 14px var(--body); letter-spacing: 0; }
.col h2::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.col h2 span { color: var(--faint); font-weight: 400; }
.cards { display: flex; flex-direction: column; gap: 8px; }
.card { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: var(--ink); border: 1px solid var(--border); }
.card h3 { font: 600 15.5px/1.4 var(--body); letter-spacing: 0; }
.card p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.suggest { display: flex; gap: 8px; margin-bottom: 10px; }
.suggest input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px dashed #343a4a; background: transparent; color: var(--text); font: inherit; font-size: 14.5px; }
.suggest input:focus { border-style: solid; border-color: var(--live); outline: none; }
.status { min-height: 1.5em; margin: 0 4px 8px; font-size: 13.5px; color: var(--muted); }
.empty { color: var(--faint); font-size: 14px; padding: 8px 4px; }
.have { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); column-gap: 40px; }
.have li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); color: var(--soft); }
.have li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 4px; background: var(--live); -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat; mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat; }
.section.tight { padding-top: 96px; }
.section.tight > h2 { font-size: 32px; }

/* Text pages (privacy, invite, download) */
.prose { max-width: 680px; margin: 0 auto; padding: 72px 24px 32px; font-size: 17px; line-height: 1.6; }
.prose h1 { font-size: 48px; line-height: 1.05; letter-spacing: -0.035em; }
.prose h2 { margin-top: 48px; font-size: 24px; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--soft); }
.prose .lede { font-size: 19px; color: var(--soft); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 20px; }
.steps li { margin-top: 8px; }
.code { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 8px 8px 8px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--stage); }
.code code { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; color: var(--text); }
.platforms { margin-top: 32px; border: 1px solid var(--border); border-radius: 16px; }
.platforms a { display: flex; align-items: center; gap: 12px; padding: 16px 20px; text-decoration: none; border-top: 1px solid var(--border); }
.platforms a:first-child { border-top: 0; }
.platforms .name { flex: 1 1 auto; font-weight: 600; }
.platforms .ver { color: var(--muted); font-size: 14px; }
.platforms svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.platforms .ver { white-space: nowrap; }

/* Account recovery uses the same fields and buttons as the roadmap. */
.account-form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin-top: 28px; }
.account-form[hidden] { display: none; }
.account-form label { font-size: 14.5px; color: var(--muted); }
.account-form input { min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px dashed #343a4a; background: transparent; color: var(--text); font: inherit; }
.account-form input:focus { border-style: solid; border-color: var(--live); outline: none; }
.account-form .btn { align-self: flex-start; }
.account-form .note { margin: 0; }
