/* /w — public website. Happy Mates tokens, same look as the app. */
:root {
  --fg: #020817; --muted: #f1f5f9; --muted-fg: #64748b; --border: #e2e8f0; --primary: #2563eb;
  --brand: linear-gradient(90deg, #e63946 0%, #f77f00 25%, #fcbf49 50%, #06d6a0 75%, #118ab2 100%);
}
* { box-sizing: border-box; }
html, body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--fg); background: #fff; }
body { display: flex; flex-direction: column; min-height: 100vh; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.inner { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.top { border-bottom: 1px solid var(--border); background: rgba(255,255,255,.92); position: sticky; top: 0; backdrop-filter: blur(8px); z-index: 10; }
.top .inner { display: flex; align-items: center; gap: 16px; min-height: 56px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--fg); }
.brand:hover { text-decoration: none; }
.brand img { height: 28px; }
.dot { width: 26px; height: 26px; border-radius: 9999px; background: linear-gradient(to right, #f59e0b, #facc15); }
nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
nav a { padding: 6px 12px; border-radius: 8px; color: var(--muted-fg); font-size: 14px; font-weight: 600; }
nav a:hover, nav a.active { background: var(--muted); color: var(--fg); text-decoration: none; }
nav a.login { background: var(--fg); color: #fff; }
.content { flex: 1; width: 100%; max-width: 820px; margin: 0 auto; padding: clamp(40px, 8vw, 80px) clamp(16px, 4vw, 32px); }
.content h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; text-wrap: balance; }
.content h1::after { content: ""; display: block; width: 72px; height: 4px; border-radius: 4px; background: var(--brand); margin-top: 18px; }
.content h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; margin: 40px 0 12px; }
.content p, .content li { font-size: 18px; color: #334155; }
.content img { max-width: 100%; border-radius: 16px; }
.content pre { background: var(--fg); color: #e2e8f0; padding: 16px; border-radius: 12px; overflow-x: auto; }
.content blockquote { margin: 0; padding: 4px 20px; border-left: 4px solid #facc15; background: var(--muted); border-radius: 0 12px 12px 0; }
.content table { border-collapse: collapse; width: 100%; }
.content th, .content td { border-bottom: 1px solid var(--border); padding: 8px 10px; text-align: left; }
footer { border-top: 1px solid var(--border); background: var(--muted); font-size: 14px; color: var(--muted-fg); }
footer .inner { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin-left: auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1); z-index: 20; }
.consent h3 { margin: 0 0 6px; font-size: 17px; }
.consent p { margin: 0 0 14px; font-size: 14px; color: var(--muted-fg); }
.consent button { font: inherit; font-size: 15px; font-weight: 600; border-radius: 8px; padding: 9px 16px; cursor: pointer; border: 1px solid var(--border); background: #fff; margin-right: 8px; }
.consent button.yes { background: var(--primary); border-color: var(--primary); color: #fff; }

.login-card { margin-top: 48px; padding: 24px 26px; border: 1px solid rgba(37,99,235,.2); border-radius: 16px; background: #fff; box-shadow: 0 0 0 4px rgba(250,204,21,.12), 0 10px 15px -3px rgb(0 0 0 / .06); max-width: 460px; }
.login-card h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.02em; }
.login-card p { margin: 0 0 14px; font-size: 16px; color: var(--muted-fg); }
.login-card p.first { color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.login-card .button { display: inline-block; background: var(--fg); color: #fff; font-weight: 600; padding: 10px 18px; border-radius: 8px; }
.login-card .button:hover { text-decoration: none; opacity: .9; }
