:root {
  --bg: #F7F6F3; --surface: #FFFFFF; --muted: #EFEDE8; --ink: #1E1E1E; --ink-2: #5E5A54; --line: #E4E1DA;
  --curious: #91D6C2; --honest: #FFC29E; --close: #FF9BA1;
  --new: #BBBCFD; --friend: #86B8F2; --best: #91D6C2; --partner: #F2877E; --family: #FFEBB7; --colleague: #C3A9A9; --self: #A8E5FF;
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #151515; --surface: #202020; --muted: #2A2A2A; --ink: #F2F2F2; --ink-2: #A8A39C; --line: #333333; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Poppins', system-ui, -apple-system, sans-serif; font-weight: 500; line-height: 1.6; }
a { color: inherit; text-underline-offset: 3px; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

header.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
nav { white-space: nowrap; }
nav a { text-decoration: none; color: var(--ink-2); margin-left: 18px; font-size: 15px; }
@media (max-width: 520px) { nav .wide { display: none; } }
body { overflow-x: hidden; }
nav a:hover { color: var(--ink); }

.hero { padding: 48px 0 32px; text-align: center; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.hero h1 { font-size: clamp(34px, 7vw, 54px); line-height: 1.12; font-weight: 700; margin: 26px 0 12px; letter-spacing: -0.5px; }
.hero p { font-size: 19px; color: var(--ink-2); max-width: 560px; margin: 0 auto; }
.soon { display: inline-block; margin-top: 26px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; }

section { padding: 28px 0; }
h2 { font-size: 26px; font-weight: 700; margin: 0 0 6px; }
.lead { color: var(--ink-2); margin: 0 0 20px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.tile { border-radius: var(--radius); padding: 18px; min-height: 124px; display: flex; flex-direction: column; justify-content: space-between; color: #1E1E1E; font-weight: 700; border: 1px solid var(--line); }
.ico { width: 32px; height: 32px; background: rgba(30, 30, 30, 0.82); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.stage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stage .bar { height: 8px; border-radius: 4px; width: 56px; margin-bottom: 14px; }
.stage h3 { margin: 0 0 4px; font-size: 19px; }
.stage p { margin: 0; color: var(--ink-2); font-size: 15px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px 26px; box-shadow: 0 6px 16px rgba(0,0,0,.05); max-width: 520px; margin: 0 auto; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; margin-bottom: 14px; color: #1E1E1E; }
.card .q { font-size: 24px; line-height: 1.4; margin: 0; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature h3 { margin: 0 0 4px; font-size: 17px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15px; }

footer { padding: 40px 0 48px; color: var(--ink-2); font-size: 14px; border-top: 1px solid var(--line); margin-top: 36px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer .links a { overflow-wrap: anywhere; }

/* Legal pages */
.doc { padding: 12px 0 20px; }
.doc h1 { font-size: 34px; line-height: 1.2; margin: 18px 0 6px; }
.doc h2 { font-size: 20px; margin: 30px 0 6px; }
.doc p, .doc li { color: var(--ink); font-weight: 400; }
.doc .meta { color: var(--ink-2); }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0; font-weight: 400; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 600; }
.table { overflow-x: auto; }
mark.todo { background: #FFEBB7; color: #1E1E1E; padding: 0 4px; border-radius: 4px; }
