/* ego.highvibe.studio, in the highvibe.studio manner: white ground, black ink, one monospace,
   square corners, solid black marks. The same look as the Ego dashboard. */
@font-face { font-family: 'Source Code Pro'; src: url(/fonts/source-code-pro.woff2) format('woff2'); font-weight: 200 900; font-display: swap; }
:root { --ink: #000; --bg: #fff; --muted: #8f8f8f; --line: #ececec; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 400 14px/1.6 'Source Code Pro', ui-monospace, Menlo, monospace; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }
[hidden] { display: none !important; }

.top { display: flex; align-items: center; justify-content: space-between; max-width: 680px; margin: 0 auto; padding: 18px 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.top nav { display: flex; gap: 20px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover, .top nav a[aria-current='page'] { color: var(--ink); }

main { max-width: 680px; margin: 0 auto; padding: 0 16px; }

.hero { padding: 56px 0 24px; text-align: center; }
.hero .mark { width: 120px; height: 120px; }
.hero h1 { margin: 20px 0 0; font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.hero .tag { margin: 4px 0 0; font-weight: 600; font-size: 13px; }
.say { margin: 40px auto 0; width: fit-content; text-align: left; white-space: pre; font: inherit; }
.cta { margin: 40px 0 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.btn { display: inline-block; padding: 10px 22px; border: 2px solid var(--ink); background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; }
.btn:hover { background: var(--bg); color: var(--ink); }
.btn.soon { background: var(--bg); color: var(--ink); cursor: default; }
.meta { color: var(--muted); font-size: 12px; }

.what { margin: 64px 0 0; padding: 0; list-style: none; }
.what li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px dotted var(--muted); }
.what li:first-child { border-top: 1px dotted var(--muted); }
.what b { width: 92px; flex: none; text-decoration: underline; text-underline-offset: 3px; }
.what span { flex: 1; color: var(--muted); }
.what svg { width: 40px; height: 40px; flex: none; }

.box { margin: 56px auto 0; width: fit-content; padding: 10px 16px; border: 3px solid var(--ink); white-space: pre; }

.how { margin: 56px 0 0; padding: 0; list-style: none; counter-reset: step; }
.how li { counter-increment: step; display: flex; gap: 16px; padding: 6px 0; }
.how li::before { content: counter(step); font-weight: 800; }
.how h2 { font-size: 14px; margin: 0 0 8px; }

footer { max-width: 680px; margin: 88px auto 0; padding: 20px 16px 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 12px; }
footer a { color: var(--muted); }

/* the relay: Notion's answer on its way back to the Ego app */
.relay { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.relay p { color: var(--muted); }

/* legal/*.html, shared with the app's first-launch screen */
.legal { padding: 24px 0 0; }
.legal h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.legal .date { color: var(--muted); margin: 4px 0 28px; }
.legal h2 { font-size: 15px; margin: 32px 0 8px; }
.legal p, .legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 20px; }
.legal code { background: #f4f4f4; padding: 0 4px; }

@media (max-width: 520px) {
  .say, .box { white-space: pre-wrap; }
  .what b { width: auto; }
}
