/* Redoodl website styles.
   Colors match the app (constants/theme.ts): warm paper, near-black ink, and purple used
   only as a small accent. Dark mode follows the visitor's own device setting. */

:root {
  --paper: #efeae0;        /* app surface1: cards */
  --paper-deep: #e4dfd5;   /* app surface2: screen background */
  --page: #f6f2ea;         /* the website's main background, a touch lighter */
  --ink: #2c2c2a;          /* buttons, strong text */
  --on-ink: #f6f4ef;
  --text: #18181b;
  --text-2: #5b5f68;
  --text-3: #8b8f98;
  --line: #ddd7cb;
  --purple: #6c3baa;
  --logo-purple: var(--purple); /* the logo's squiggle; follows light / dark */
  --purple-soft: #eae2f6;
  --error: #c9353a;
  --ok: #3d7a1c;
  --shadow: 0 1px 2px rgba(30, 25, 15, 0.06), 0 12px 32px rgba(30, 25, 15, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --wordmark: 'Arial Rounded MT Bold', 'Nunito', ui-rounded, system-ui, sans-serif; /* only used if the logo drawing can't load */
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #2b2823;
    --paper-deep: #1b1916;
    --page: #201e1a;
    --ink: #f2eee6;
    --on-ink: #1b1916;
    --text: #f2eee6;
    --text-2: #c2bdb3;
    --text-3: #a39d93;
    --line: #3f3b35;
    --purple: #a17ad1;
    --purple-soft: #2d2742;
    --error: #ee5a5f;
    --ok: #8cc265;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.wordmark { font-family: var(--wordmark); font-weight: 700; letter-spacing: 0; line-height: 1; text-decoration: none; color: var(--text); display: inline-flex; align-items: center; }
/* The logo is a drawing (assets/logo.js). Its height follows the font-size set on .wordmark below,
   so the old sizes keep working: 1em = the letter size. */
.wordmark .logo-svg, .wordmark-score .logo-svg { height: 0.8em; width: auto; aspect-ratio: var(--logo-ratio, 5.2); max-width: none; overflow: visible; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease, background 0.12s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { opacity: 0.88; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--ink); }
.btn-outline:hover { background: var(--paper); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: 0.5; cursor: default; }
.btn-block { width: 100%; }

/* App Store badge (a stand-in until the app is live; swap for Apple's official badge then). */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px;
  border-radius: 12px; background: #000; color: #fff; text-decoration: none; border: 1px solid #000;
}
@media (prefers-color-scheme: dark) { .store-badge { border-color: #5a5a5a; } }
.store-badge svg { width: 26px; height: 26px; }
.store-badge small { display: block; font-size: 11px; line-height: 1.1; opacity: 0.85; }
.store-badge strong { display: block; font-size: 19px; line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.store-badge[aria-disabled='true'] { cursor: default; }

/* ---------- Top navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--page) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav .wordmark { font-size: 34px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-actions .login { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-2);
  background: var(--paper); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; margin-bottom: 24px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.hero h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.scribble { position: relative; white-space: nowrap; }
.scribble svg { position: absolute; left: -2%; bottom: -0.2em; width: 104%; height: 0.38em; overflow: visible; }
.scribble path { stroke: var(--purple); }
.lede { font-size: clamp(18px, 2vw, 20px); color: var(--text-2); max-width: 520px; margin-top: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--text-3); }
.hero-visual { display: flex; justify-content: center; }
@media (max-width: 880px) {
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* ---------- Phone mockup (a small drawing of the real Home screen) ---------- */
.phone {
  position: relative; width: 300px; max-width: 100%; aspect-ratio: 300 / 620;
  border-radius: 48px; background: #111; padding: 10px; box-shadow: var(--shadow), 0 40px 80px rgba(30, 25, 15, 0.18);
  transform: rotate(2deg);
}
.screen {
  position: relative; height: 100%; border-radius: 39px; overflow: hidden;
  background: #e4dfd5; color: #18181b; font-family: var(--font);
  --logo-purple: #6c3baa; /* the phone picture is always light, so its logo squiggle stays the darker purple */
}
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 86px; height: 24px; border-radius: 20px; background: #111; z-index: 3; }
.screen-head { position: relative; padding: 44px 18px 0; display: flex; align-items: center; justify-content: center; }
.screen-head > svg { position: absolute; right: 18px; top: 50px; } /* the bell, like the app: logo centered, bell at the right */
.screen-head .wordmark { font-size: 28px; color: #18181b; }
.screen-search {
  margin: 12px 16px 0; height: 32px; border-radius: 10px; background: #efeae0; color: #9ca3af;
  font-size: 12px; display: flex; align-items: center; gap: 6px; padding: 0 10px;
}
.mock-post { margin: 16px 16px 0; position: relative; }
.mock-banner { font-size: 10.5px; color: #18181b; margin-bottom: 6px; display: flex; align-items: center; gap: 5px; }
.mock-banner b { font-weight: 700; }
.mini-avatar { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #e4dfd5; object-fit: cover; background: #fff; }
.mock-image { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.mock-image svg { width: 100%; height: 100%; }
.mock-text {
  position: absolute; left: 12%; top: 66%; font-weight: 800; font-size: 19px; color: #fff; transform: rotate(-6deg);
  letter-spacing: -0.01em;
}
.mock-bubble {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); width: max-content;
  display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px 0 0; border-radius: 18px;
  background: #efeae0; border: 0.5px solid #d6d6dc; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.mock-bubble .ring-pill { margin-right: 2px; }
.mock-bubble .div { width: 1px; height: 16px; background: #bdb8ad; margin: 0 2px; }
.mock-bubble .stat { display: flex; align-items: center; gap: 4px; color: #6b7280; }
.mock-bubble .stat.more { margin-left: 2px; }
.mock-bubble .stat.more svg { width: 15px; height: 15px; flex-basis: 15px; }
.mock-bubble .stat.on { color: #6c3baa; }
.mock-bubble svg { width: 13px; height: 13px; flex: 0 0 13px; }
.mock-next { margin: 40px 16px 0; aspect-ratio: 2 / 1; border-radius: 16px; background: #378add; position: relative; overflow: hidden; }
.mock-nav {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px 20px; display: flex; gap: 8px; align-items: center;
  background: linear-gradient(to top, #e4dfd5 70%, rgba(228, 223, 213, 0));
}
.mock-nav .sq { width: 38px; height: 38px; border-radius: 12px; background: #d3cfc6; display: grid; place-items: center; }
.mock-nav .sq.on { background: #efeae0; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); }
.mock-nav .sq svg { width: 18px; height: 18px; }
.mock-nav .ring-me { margin: -5px 0 -5px auto; } /* the ring sticks out past the picture, like in the app, without making the bar taller */

/* ---------- Generic sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--paper-deep); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
.section h2 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; letter-spacing: -0.03em; }
.section-head p { color: var(--text-2); font-size: 19px; margin-top: 16px; }
@media (max-width: 600px) { .section { padding: 72px 0; } }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--page); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 20px; }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Score split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .section-head { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; color: var(--text-2); }
.checklist li::before { content: ''; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--purple); margin-top: 9px; }
.checklist b { color: var(--text); font-weight: 600; }
.score-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 40px 32px; text-align: center;
  box-shadow: var(--shadow); max-width: 420px; margin: 0 auto;
}
.score-card .ring-score { display: block; margin: 0 auto 4px; }
.score-card .name { font-weight: 700; font-size: 20px; }
.score-card .handle { color: var(--text-2); font-size: 15px; }
.score-card .counts { display: flex; justify-content: center; gap: 20px; margin-top: 10px; font-size: 14px; color: var(--text-2); }
.score-card .counts b { color: var(--text); }
.score-card .score { font-size: 64px; font-weight: 800; letter-spacing: -0.03em; margin-top: 22px; line-height: 1; }
/* The score caption is the "Redoodl Score" drawing (assets/logo.js), in place of the words. */
.score-card .score-label { display: flex; justify-content: center; font-size: 26px; color: var(--text); margin-top: 12px; }
.fade-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 28px; }
.fade-tile { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
.fade-tile svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The picture drains color; the text stays full color, exactly like in the app. */
.fade-tile .txt text { fill: #fff; font: 800 7.5px var(--font); letter-spacing: -0.01em; }
.section-head-wide { max-width: none; }
.section h2.one-line { white-space: nowrap; font-size: clamp(26px, 4.6vw, 46px); }
@media (max-width: 560px) { .section h2.one-line { white-space: normal; font-size: 30px; } }
.fade-caption { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); margin-top: 8px; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 48px; } }

/* About */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.about-body p { color: var(--text-2); font-size: 18px; }
.about-body p + p { margin-top: 18px; }
.values { display: grid; gap: 12px; margin-top: 32px; }
.value { display: flex; gap: 14px; align-items: baseline; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); }
.value b { flex: 0 0 auto; min-width: 140px; }
.value span { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; gap: 24px; } .value { flex-direction: column; gap: 2px; } }
.values-row { grid-template-columns: repeat(3, 1fr); max-width: 880px; margin: 0 auto; }
.values-row .value { flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 22px 18px; }
.values-row .value b { min-width: 0; font-size: 18px; }
@media (max-width: 700px) { .values-row { grid-template-columns: 1fr; } }

/* Download steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.step h3 { font-size: 19px; font-weight: 700; margin-top: 6px; }
.step p { color: var(--text-2); font-size: 15.5px; flex: 1; }
.step .btn, .step .store-badge { align-self: flex-start; margin-top: 8px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer .wordmark { font-size: 30px; }
.footer-tag { color: var(--text-2); margin-top: 10px; max-width: 260px; }
.footer h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { text-decoration: none; color: var(--text-2); }
.footer ul a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { margin-top: 48px; color: var(--text-3); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Account page ---------- */
.auth-page { min-height: calc(100vh - 68px); display: flex; align-items: flex-start; justify-content: center; padding: 48px 16px 80px; }
.auth-card {
  width: 100%; max-width: 440px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  padding: 32px; box-shadow: var(--shadow);
}
@media (max-width: 480px) { .auth-card { padding: 24px 20px; } }
.auth-card h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.025em; }
.auth-card .sub { color: var(--text-2); margin-top: 8px; font-size: 15.5px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-deep); border-radius: 999px; padding: 4px; margin-bottom: 28px; }
.tabs button {
  border: 0; background: transparent; color: var(--text-2); font: 600 15px var(--font); height: 40px; border-radius: 999px; cursor: pointer;
}
.tabs button[aria-selected='true'] { background: var(--ink); color: var(--on-ink); }
.form { display: grid; gap: 18px; margin-top: 24px; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }
.input-wrap { display: flex; align-items: center; background: var(--page); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color 0.15s; }
.input-wrap:focus-within { border-color: var(--ink); }
.input-wrap .prefix { padding-left: 14px; color: var(--text-3); font-size: 16px; }
.input-wrap input {
  flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; color: var(--text); padding: 0 14px;
  font: 16px var(--font); outline: none; caret-color: var(--purple);
}
.input-wrap .prefix + input { padding-left: 2px; }
.dob { border: 0; padding: 0; margin: 0; min-width: 0; }
.dob legend { padding: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }
.dob-row { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 10px; }
.dob-label { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 4px; }
.too-young { font-size: 18px; font-weight: 600; margin: 24px 0 4px; }
.hint { font-size: 13.5px; margin-top: 6px; color: var(--text-3); min-height: 0; }
.hint.ok { color: var(--ok); }
.hint.bad { color: var(--error); }
.form-error { color: var(--error); font-size: 14.5px; }
.form-error:empty { display: none; }
.fine { font-size: 13px; color: var(--text-3); text-align: center; }
.fine a { color: var(--text-2); }
.link-btn { background: none; border: 0; padding: 0; font: 600 14.5px var(--font); color: var(--text); text-decoration: underline; cursor: pointer; }
.row-end { display: flex; justify-content: flex-end; margin-top: -8px; }
.center-stack { display: grid; gap: 14px; justify-items: center; text-align: center; }
.done-avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 700; background: var(--purple-soft); color: var(--purple); }
.panel-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-deep); }
.panel-icon svg { width: 26px; height: 26px; }
.divider { height: 1px; background: var(--line); width: 100%; margin: 6px 0; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
[hidden] { display: none !important; }

/* ---------- Legal pages ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 56px 24px 96px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
.doc .updated { color: var(--text-3); margin-top: 10px; font-size: 15px; }
.doc h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; letter-spacing: -0.015em; }
.doc p, .doc li { color: var(--text-2); font-size: 16.5px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; display: grid; gap: 8px; margin: 12px 0 0; }
.doc strong { color: var(--text); }
.draft-note {
  margin-top: 28px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--text-3);
  background: var(--paper); color: var(--text-2); font-size: 14.5px;
}
.doc .summary { margin-top: 28px; padding: 20px 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.doc .summary ul { margin-top: 10px; }
.doc .summary p + p, .doc .summary ul + p { margin-top: 12px; }
.doc .toc { margin-top: 28px; }
.doc .toc ol { margin: 10px 0 0; padding-left: 22px; display: block; columns: 2; column-gap: 32px; }
.doc .toc li { font-size: 15px; break-inside: avoid; margin-bottom: 6px; }
.doc .toc a { color: var(--text-2); }
.doc .toc a:hover { color: var(--text); }
.doc address { line-height: 1.6; }
@media (max-width: 600px) { .doc .toc ol { columns: 1; } }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.doc-nav a { font-size: 14px; text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); }
.doc-nav a[aria-current='page'] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .phone { transform: none; } .spinner { animation-duration: 2s; } }
.doc .doc-nav + p { margin-top: 28px; }

/* Tick box (e.g. "I'm 18 or older" on Sign up) */
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 15.5px; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid var(--text-2); display: grid; place-items: center; transition: background 0.12s; }
.check input:checked + .check-box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check-box::after { content: ''; width: 6px; height: 11px; border: solid var(--on-ink); border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.check input:focus-visible + .check-box { outline: 2px solid var(--purple); outline-offset: 2px; }
.nav-actions .login, .nav-actions .btn { white-space: nowrap; }
@media (max-width: 380px) { .nav-inner { gap: 12px; } .nav .wordmark { font-size: 26px; } .nav-actions { gap: 4px; } .nav-actions .login { padding: 10px 8px; } .nav-actions .btn-small { padding: 0 14px; } }
.check a { color: var(--text); text-decoration: underline; }

/* A profile picture wearing its ring (same geometry as the app: the picture is 77% of the outer size,
   the ring picture sits over it). Set the outer size with --outer. */
.ring-avatar { position: relative; display: inline-block; flex: none; width: var(--outer); height: var(--outer); }
.ring-avatar .ring-pic { position: absolute; left: 11.5%; top: 11.5%; width: 77%; height: 77%; border-radius: 50%; object-fit: cover; }
.ring-avatar .ring-img, .ring-avatar picture { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ring-avatar picture img { width: 100%; height: 100%; display: block; }
.trademark { margin-top: 28px; font-size: 12px; }
