/* Bead website: the app's look. White and black, sharp rectangles, one blue only for links. Inter (the app uses the iPhone's system font;
   outside the app the logo and text use Inter Bold with the letter spacing tightened by 3%). Mobile first. */
@font-face { font-family: 'Inter'; src: url('/assets/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --black: #0a0a0a; --white: #fff; --g100: #f4f4f5; --g200: #e4e4e7; --g300: #d4d4d8; --g600: #555; --accent: #0e4c92; color-scheme: light; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--black); font: 400 17px/1.5 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; letter-spacing: -0.01em; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.1; }
h1 { font-size: clamp(38px, 9vw, 72px); font-weight: 700; }
h2 { font-size: clamp(28px, 6vw, 40px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.wordmark { font-weight: 700; font-size: 26px; letter-spacing: -0.03em; color: inherit; text-decoration: none; }
header.top { position: sticky; top: 0; z-index: 5; background: var(--black); color: var(--white); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
header.top nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
header.top nav a { color: var(--white); text-decoration: none; }
header.top nav .hide-small { display: none; }
@media (min-width: 640px) { header.top nav .hide-small { display: inline; } }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--black); color: var(--white); border: 2px solid var(--black); font: 600 15px/1 'Inter', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn.light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn.ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn.outline { background: var(--white); color: var(--black); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 13px; }
.hero { background: var(--black); color: var(--white); padding: 72px 0 80px; }
.hero p.lead { margin-top: 24px; max-width: 34em; font-size: 20px; color: var(--g300); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .small { margin-top: 24px; font-size: 15px; color: var(--g300); }
.hero .small a { color: var(--white); }
section { padding: 72px 0; }
section.grey { background: var(--g100); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g600); margin-bottom: 12px; }
.steps { list-style: none; counter-reset: s; margin: 40px 0 0; padding: 0; display: grid; gap: 32px; grid-template-columns: 1fr; }
.steps li { counter-increment: s; border-top: 2px solid var(--black); padding-top: 16px; }
.steps li::before { content: counter(s); font-size: 40px; font-weight: 700; letter-spacing: -0.04em; display: block; line-height: 1; margin-bottom: 12px; }
.steps p { color: var(--g600); margin-top: 8px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 24px; }
.points li { border-left: 3px solid var(--black); padding-left: 16px; }
.points p { color: var(--g600); margin-top: 4px; }
@media (min-width: 720px) { .points { grid-template-columns: repeat(2, 1fr); } }
.cols { display: grid; gap: 40px; }
@media (min-width: 860px) { .cols { grid-template-columns: 1fr 1fr; align-items: start; } }
details { border-bottom: 1px solid var(--g300); }
details summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 16px; min-height: 52px; align-items: center; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; font-size: 26px; font-weight: 400; }
details[open] summary::after { content: '–'; }
details p { padding: 0 0 20px; color: var(--g600); max-width: 40em; }
.form { background: var(--white); border: 2px solid var(--black); padding: 8px; margin-top: 32px; min-height: 360px; }
.note { margin-top: 16px; font-size: 15px; color: var(--g600); }
footer { background: var(--black); color: var(--g300); padding: 48px 0; font-size: 15px; }
footer .wrap { display: grid; gap: 24px; }
footer a { color: var(--white); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.prose { padding: 56px 0 80px; max-width: 44em; }
.prose h1 { font-size: clamp(32px, 7vw, 48px); }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose p, .prose ul { margin-top: 12px; color: #222; }
.prose ul { padding-left: 22px; }
.prose li { margin-top: 6px; }
.draft { margin: 20px 0 0; border: 2px solid var(--black); padding: 12px 16px; font-weight: 600; background: var(--g100); }
.card { border: 2px solid var(--black); padding: 24px; display: grid; gap: 16px; }
.profile { display: flex; gap: 16px; align-items: center; }
.profile img, .profile .ph { width: 88px; height: 88px; object-fit: cover; background: var(--g200); border: 1px solid var(--g300); flex: none; }
.muted { color: var(--g600); }
.rows { display: grid; gap: 4px; }
.rows div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--g200); padding: 10px 0; }
.center { min-height: 60vh; display: grid; align-content: center; gap: 24px; padding: 56px 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
