:root {
  --paper: #FAFAF7;
  --ink: #16191A;
  --ink-muted: #5F6663;
    --ink-muted2:rgb(233, 233, 233)3;

  --rule: rgba(22, 25, 26, 0.14);
  --accent: #1D4ED8;
  --accent-bright: #2563EB;
  --accent-wash: #DBEAFE;
  --on-accent: #FFFFFF;
  --numeral: rgba(22, 25, 26, 0.16);
  --numeral-on-accent: rgba(255, 255, 255, 0.26);
  --rule-on-accent: rgba(255, 255, 255, 0.22);
  --font-display: 'Newsreader', serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) { body { font-size: 14px; } }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}

p, ul, ol, dl, dd, dt, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
button { font: inherit; }

::selection { background: var(--accent); color: var(--on-accent); }

html { scrollbar-color: var(--accent) var(--paper); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- shared utilities ---------- */
.measure { max-width: 68ch; }
.column { max-width: 720px; }
.breakout { max-width: 1040px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-muted); }
.accent { color: var(--accent); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
hr.rule { border: 0; border-top: 1px solid var(--rule); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.link-accent {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: opacity 160ms ease;
}
.link-accent:hover { opacity: 0.7; }

.link-plain { color: var(--ink); transition: color 160ms ease; }
.link-plain:hover { color: var(--accent); }

.btn-accent {
  height: 44px;
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 150ms ease;
}
.btn-accent:hover { opacity: 0.9; }

.screen { min-height: 100vh; background: var(--paper); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--accent);
  color: var(--on-accent);
  border-bottom: 1px solid var(--rule-on-accent);
}
.site-header .bar {
  height: 64px;
  padding: 0 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark { font-family: var(--font-display); font-size: 20px; line-height: 1; }
.nav-desktop { display: none; align-items: center; gap: 28px; font-size: 14px; }
.site-header .link-plain, .site-header .accent, .site-header .wordmark { color: var(--on-accent); }
.site-header .link-plain:hover { color: var(--on-accent); text-decoration: underline; text-underline-offset: 4px; }
.site-header :focus-visible { outline-color: var(--on-accent); outline-offset: 3px; }
.site-header [data-logout] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: -6px; padding: 0; background: none; border: 0; color: var(--on-accent); cursor: pointer; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-bars { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }.nav-active { padding-bottom: 4px; border-bottom: 3px solid var(--on-accent); }
.nav-inactive { padding-bottom: 0px; border-bottom: 2px solid transparent; }
.nav-mobile { border-top: 1px solid var(--rule-on-accent); background: var(--accent); }
.nav-mobile .inner { display: flex; flex-direction: column; padding: 8px 20px; }
.nav-mobile a, .nav-mobile button {
  padding: 12px 0; font-size: 15px; text-align: left;
  border: 0; border-bottom: 1px solid var(--rule-on-accent); background: none; color: var(--on-accent); cursor: pointer;
}
.nav-mobile .last { border-bottom: 0; }

@media (min-width: 768px) {
  .site-header .bar { padding: 0 32px; }
  .nav-desktop { display: flex; }
  .nav-toggle, .nav-mobile { display: none; }
}

/* ---------- home ---------- */
.home-main {
  padding: 0 20px 40px;
  display: flex; flex-direction: column; gap: 72px;
}
@media (min-width: 768px) { .home-main { padding: 0 32px 40px; gap: 128px; } }

section[id] { scroll-margin-top: 80px; }

.hero { padding-top: 64px; }
@media (min-width: 768px) { .hero { padding-top: 112px; } }
.hero h1 { font-size: 40px; margin-top: 20px; }
@media (min-width: 768px) { .hero h1 { font-size: 60px; } }
.hero .standfirst { margin-top: 24px; font-size: 20px; line-height: 1.55; color: var(--ink-muted); max-width: 60ch; }
.hero .dateline { margin-top: 32px; font-size: 13px; color: var(--ink-muted); }
.hero hr { margin-top: 40px; }
@media (min-width: 768px) { .hero hr { margin-top: 56px; } }

.contents ol { margin-top: 24px; }
.contents li {
  padding: 16px 0; border-bottom: 1px solid var(--rule);
  display: flex; gap: 20px; align-items: baseline;
}
.contents .num { font-family: var(--font-display); font-size: 15px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.contents .body { display: flex; flex-direction: column; }
.contents .title { font-size: 16px; font-weight: 500; white-space: nowrap; }
.contents .desc { font-size: 15px; color: var(--ink-muted); }
@media (min-width: 640px) {
  .contents .body { flex-direction: row; align-items: baseline; gap: 16px; }
}

.section-title { margin-top: 12px; font-size: 30px; }
@media (min-width: 768px) { .section-title { font-size: 40px; } }
.section-p { margin-top: 24px; }

figure.diagram { margin: 48px auto; }
@media (min-width: 768px) { figure.diagram { margin: 64px auto; } }
.diagram svg.rings { width: 100%; height: auto; color: var(--ink); }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.tile {
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule); border-radius: 4px; color: var(--ink);
}
.tile svg { width: 32px; height: 32px; opacity: 0.65; }
.tile.on { border-color: var(--accent); background: var(--accent-wash); color: var(--accent); }
.tile.on svg { opacity: 1; }

.controls { margin-top: 40px; border-top: 1px solid var(--rule); }
.controls li {
  padding: 20px 0; border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 8px;
}
.controls .label { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.controls .label svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }
.controls .label span { font-size: 15px; font-weight: 500; }
.controls .desc { font-size: 15px; color: var(--ink-muted); }
@media (min-width: 768px) {
  .controls li { flex-direction: row; align-items: center; gap: 24px; }
  .controls .label { width: 224px; }
}

.quiet-block { margin-top: 40px; border-radius: 4px; background: var(--accent-wash); padding: 32px; }
.quiet-block ul { display: flex; flex-direction: column; gap: 16px; }
.quiet-block li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.quiet-block svg { width: 12px; height: 12px; margin-top: 8px; flex-shrink: 0; color: var(--accent); }

/* preview panel */
.preview-grid { margin-top: 40px; display: grid; gap: 48px; align-items: start; }
@media (min-width: 768px) { .preview-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.panel { border: 1px solid var(--rule); border-radius: 4px; }
.panel .tabs { display: flex; height: 44px; align-items: center; gap: 24px; border-bottom: 1px solid var(--rule); padding: 0 16px; }
.tab {
  padding: 0 4px 8px; font-size: 13px; background: none; border: 0;
  border-bottom: 2px solid transparent; color: var(--ink-muted); cursor: pointer;
  transition: color 150ms ease;
}
.tab.active { border-bottom-color: var(--accent); color: var(--ink); }
.panel li { border-bottom: 1px solid var(--rule); }
.panel .row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; transition: background-color 150ms ease; }
a.row:hover { background: var(--accent-wash); }
.panel .footnote { padding: 12px 16px; font-size: 12px; color: var(--ink-muted); }
.row .grow { min-width: 0; flex: 1; }
.row .name { display: block; font-size: 15px; }
.row .sub { display: block; font-size: 14px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .band { flex-shrink: 0; font-size: 13px; color: var(--accent); }

.monogram {
  display: flex; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--accent-wash); color: var(--ink);
}

.signin-block h3 { font-size: 24px; }
.signin-block .lead { margin-top: 12px; font-size: 15px; color: var(--ink-muted); }
.signin-form { margin-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.signin-form label { display: flex; flex-direction: column; gap: 8px; }
.signin-form .lbl { font-size: 13px; color: var(--ink-muted); }
.signin-form input {
  height: 44px; border-radius: 4px; border: 1px solid var(--rule);
  background: var(--paper); padding: 0 12px; font: inherit; font-size: 16px; outline: none;
}
.signin-form input:focus { border-color: var(--accent); }

.faq dl { margin-top: 32px; border-top: 1px solid var(--rule); }
.faq .item { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.faq dt { font-size: 16px; font-weight: 500; }
.faq dd { margin-top: 8px; font-size: 15px; color: var(--ink-muted); max-width: 68ch; }

.site-footer { border-top: 1px solid var(--rule-on-accent); margin-top: 80px; background: var(--accent); color: var(--on-accent); }
@media (min-width: 768px) { .site-footer { margin-top: 128px; } }
.site-footer .inner {
  padding: 40px 20px; display: flex; flex-direction: column; gap: 16px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.site-footer .wm { font-family: var(--font-display); font-size: 18px; }
.site-footer .link-plain, .site-footer .note { color: var(--on-accent); }
.site-footer .link-plain:hover { color: var(--on-accent); text-decoration: underline; text-underline-offset: 4px; }
.site-footer :focus-visible { outline-color: var(--on-accent); outline-offset: 3px; }
@media (min-width: 768px) {
  .site-footer .inner { padding: 40px 32px; flex-direction: row; align-items: baseline; justify-content: space-between; }
}

/* ---------- honesty strip ---------- */
.honesty { border-bottom: 1px solid var(--rule); background: var(--accent-wash); }
.honesty p { padding: 8px 20px; text-align: center; font-size: 12px; color: var(--ink-muted); }

/* ---------- auth screens ---------- */
.auth { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.auth main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 64px 20px; }
.auth .box { width: 100%; max-width: 380px; }
.auth h1 { margin-top: 40px; font-size: 32px; }
.auth .lead { margin-top: 8px; font-size: 15px; color: var(--ink-muted); }
.auth form { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 12px; color: var(--ink-muted); }
.field input {
  height: 40px; width: 100%; border: 0; border-bottom: 1px solid var(--rule);
  background: transparent; font: inherit; font-size: 16px; color: var(--ink); outline: none;
  transition: border-color 150ms ease; border-radius: 0;
}
.field input:focus { border-bottom-color: var(--accent); }
.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input {
  margin-top: 3px; height: 16px; width: 16px; flex-shrink: 0;
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--rule); border-radius: 2px; background: var(--paper); cursor: pointer;
}
.consent input:checked { border-color: var(--accent); background: var(--accent); }
.consent label { font-size: 13px; color: var(--ink-muted); }
.auth .fine { margin-top: 16px; font-size: 12px; color: var(--ink-muted); }
.auth .alt { margin-top: 24px; font-size: 13px; color: var(--ink-muted); }

/* ---------- app header (56px) ---------- */
.app-header { border-bottom: 1px solid var(--rule-on-accent); background: var(--accent); color: var(--on-accent); }
.app-header :focus-visible { outline-color: var(--on-accent); outline-offset: 3px; }
.app-header .bar { height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 20px; }
.app-header .spacer { flex: 1; }
.back svg { width: 20px; height: 20px; display: block; }

/* ---------- discover ---------- */
.discover main { padding: 40px 20px; }
.discover h1 { font-size: 28px; }
.discover .lead { margin-top: 8px; font-size: 15px; color: var(--ink-muted); }
.card-grid { margin-top: 32px; display: grid; gap: 20px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: block; border: 1px solid var(--rule); border-radius: 4px;
  background: var(--paper); padding: 24px; transition: background-color 150ms ease;
}
.card:hover { background: var(--accent-wash); }
.card .name { margin-top: 16px; font-family: var(--font-display); font-size: 20px; }
.card .band { margin-top: 4px; font-size: 13px; color: var(--accent); }
.card .interests { margin-top: 8px; font-size: 14px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- profile ---------- */
.profile main { max-width: 560px; margin: 0 auto; padding: 40px 20px; }
.profile h1 { margin-top: 20px; font-size: 32px; }
.profile .band { margin-top: 4px; font-size: 14px; color: var(--accent); }
.profile hr { margin: 32px 0; }
.section-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-muted); }
.tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--rule); border-radius: 2px; padding: 4px 12px; font-size: 13px; }
.profile .note { margin-top: 12px; font-size: 16px; line-height: 1.7; }
.profile .guidelines { margin-top: 16px; font-size: 13px; color: var(--ink-muted); }
@media (min-width: 768px) { .profile .btn-accent { width: 240px; } }

/* ---------- conversations ---------- */
.conversations main { max-width: 720px; margin: 0 auto; padding: 0 20px 64px; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 96px 0; text-align: center; }
.empty-state svg { width: 32px; height: 32px; color: var(--ink-muted); }
.list-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); }
.conv-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; transition: background-color 150ms ease; }
.conv-row:hover { background: var(--accent-wash); }
.conv-row .name { display: block; font-size: 15px; font-weight: 500; }
.conv-row .sub { display: block; font-size: 14px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-row .time { flex-shrink: 0; font-size: 11px; color: var(--ink-muted); }
.conv-list li { border-bottom: 1px solid var(--rule); }

/* ---------- thread ---------- */
.thread { display: flex; min-height: 100vh; flex-direction: column; background: var(--paper); }
.thread main { width: 100%; max-width: 720px; margin: 0 auto; flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 24px 20px 112px; }
.thread .empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.thread .empty .nm { font-family: var(--font-display); font-size: 20px; }
.thread .disclaimer { text-align: center; font-size: 12px; color: var(--ink-muted); }
.bubbles { display: flex; flex-direction: column; gap: 8px; }
.bubble {
  max-width: 78%; align-self: flex-end; border: 1px solid var(--rule); border-radius: 4px;
  background: var(--paper); padding: 8px 16px; font-size: 15px; line-height: 1.5;
}
.bubble-time { align-self: flex-end; font-size: 11px; color: var(--ink-muted); }
.composer { position: fixed; inset-inline: 0; bottom: 0; border-top: 1px solid var(--rule); background: var(--paper); }
.composer .inner { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 20px; }
.composer input { height: 40px; flex: 1; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.composer input::placeholder { color: var(--ink-muted); }
.composer button { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0; }
.composer svg { width: 24px; height: 24px; display: block; }

/* ---------- legal ---------- */
.legal { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.legal main { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 48px 20px 40px; }
@media (min-width: 768px) { .legal main { padding: 64px 32px 40px; } }
.legal h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.01em; }
.legal .updated { margin-top: 12px; font-size: 13px; color: var(--ink-muted); }
.legal main > hr { margin-top: 32px; }
.legal h2 { font-size: 24px; line-height: 1.35; margin-top: 48px; }
.legal p.t { margin-top: 16px; font-size: 16px; line-height: 1.7; }
.legal ul.t { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; padding-left: 20px; font-size: 16px; line-height: 1.7; list-style: disc; }
.legal ul.t::marker, .legal ul.t li::marker { color: var(--ink-muted); }
.legal .wash { margin-top: 16px; border-radius: 4px; background: var(--accent-wash); padding: 32px; }
.legal .wash p { font-size: 16px; line-height: 1.7; }
.legal .cross { margin-top: 64px; font-size: 14px; }

/* ---------- not found ---------- */
.notfound { min-height: 100vh; background: var(--paper); display: flex; align-items: center; }
.notfound .inner { margin: 0 auto; max-width: 720px; padding: 0 20px; }
.notfound h1 { margin-top: 16px; font-size: 40px; }

.conv-row .band { flex-shrink: 0; font-size: 13px; color: var(--accent); }

/* visibility driven by the session state on <body> */
[hidden] { display: none !important; }
body:not(.signed-in) .signed-in-only { display: none; }
body.signed-in .signed-out-only { display: none; }

/* ---------- image slots ---------- */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .hero-slot { margin-right: -80px; }
}

.image-slot {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: var(--accent-wash);
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
}
.image-slot img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.image-slot.has-image { border: 0; background: var(--paper); }
.image-slot.has-image .slot-label { display: none; }
.hero-slot {     aspect-ratio: 8 / 9;; }
.slot-label { font-size: 12px; font-weight: 500; color: var(--accent); }

.image-band {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  border-top: 6px solid var(--accent);
  border-bottom: 6px solid var(--accent);
  overflow: hidden;
}
.band-slot { aspect-ratio: 4 / 2; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; border-bottom: 0; }
.image-band + section[id], .image-band { scroll-margin-top: 80px; }
@media (min-width: 768px) {
  .home-main > .image-band { margin-top: -64px; margin-bottom: -64px; }
}

/* ---------- solid blue pass ---------- */
.eyebrow, .section-num { display: inline-block; background: var(--accent); color: var(--on-accent); padding: 6px 10px; font-family: var(--font-body); font-size: 11px; line-height: 1; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; border-radius: 0; }
.row .band, .card .band, .profile .band, .conv-row .band { display: inline-block; background: var(--accent); color: var(--on-accent); padding: 4px 8px; font-size: 11px; line-height: 1; border-radius: 0; }
.monogram { border-radius: 0; background: var(--accent); color: var(--on-accent); }
.tab, .nav-active, .nav-inactive { border-bottom-width: 0px; }
.btn-accent { height: auto; padding: 18px 0; font-size: 16px; line-height: 1; background: var(--accent); color: var(--on-accent); transition: box-shadow 150ms ease; }
.btn-accent:hover { opacity: 1; box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.08); }
@media (min-width: 768px) { .btn-accent { width: 280px; } }
.tile.on { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
mark { background: var(--accent); color: var(--on-accent); padding: 0 2px; margin: -1px 0; border-radius: 0; font-weight: inherit; font-style: inherit; }
#safety { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 56px 20px; background: var(--accent-bright); color: var(--on-accent); }
@media (min-width: 768px) { #safety { padding: 96px 32px; } }
#safety > * { margin-left: auto; margin-right: auto; }
#safety h2, #safety p, #safety li, #safety svg { color: var(--on-accent); }
#safety .section-num { background: var(--accent); }
#safety .quiet-block { background: transparent; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.28); }
#safety .quiet-block li { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
#safety .quiet-block ul { gap: 0; }
body { overflow-x: hidden; }

/* ---------- oversized section numerals ---------- */
.has-numeral { position: relative; isolation: isolate; }
.has-numeral > :not(.numeral) { position: relative; z-index: 1; }
.numeral {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--numeral);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.numeral-on-accent { color: var(--numeral-on-accent); }

@media (min-width: 640px) {
   .numeral { position: absolute; top: calc(12px + 16.5px - 60px); margin: 0; font-size: 120px; width: max-content; }
  .numeral-left { left: calc(50% - 50vw - 0.08ch); }
  .numeral-right { right: calc(50% - 50vw - 0.08ch); }
  #safety > .numeral { top: calc(56px + 12px + 16.5px - 60px); }
}

@media (min-width: 768px) {
  .numeral { top: calc(12px + 22px - 60px); }
  #safety > .numeral { top: calc(96px + 12px + 22px - 60px); }
}

@media (min-width: 1024px) {
  .numeral { font-size: 220px; top: calc(12px + 22px - 110px); }
  .numeral-left { left: calc(50% - 50vw - 0.12ch); }
  .numeral-right { right: calc(50% - 50vw - 0.12ch); }
  #safety > .numeral { top: calc(96px + 12px + 22px - 110px); }
}

/* profile pictures cover the letter square */
.monogram[data-avatar]{position:relative;overflow:hidden}
.monogram[data-avatar] img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}