:root {
  color-scheme: light dark;
  --bg: #FAF9F7; --surface: #FFFFFF; --surface-sunken: #F2F0EC;
  --ink: #1B1916; --ink-2: #57524B; --ink-3: #736D65;
  --line: #E8E4DE; --accent: #D33A13; --on-accent: #FFFFFF; --accent-ink: #A62D0D; --av: #EADFD2;
  --font: 'IBM Plex Sans Hebrew', system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131210; --surface: #1B1A17; --surface-sunken: #23211E;
    --ink: #ECE7DF; --ink-2: #B5AEA4; --ink-3: #958E84;
    --line: #2D2B27; --accent: #FF6A42; --on-accent: #1E0D07; --accent-ink: #FF9675; --av: #3D342A;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-text-size-adjust: 100%; }
body { min-height: 100dvh; }
.page {
  min-height: 100dvh; max-width: 480px; margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 20px) 24px calc(env(safe-area-inset-bottom) + 28px);
  display: flex; flex-direction: column; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand .mark { transform: scaleX(-1); }
.m-accent { fill: var(--accent); } .m-ink { fill: var(--ink); } .m-ground { fill: var(--bg); }
.word { font-weight: 700; font-size: 22px; letter-spacing: -0.4px; }
.accent { color: var(--accent); }
.card { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--av); color: var(--ink);
  display: grid; place-items: center; font-weight: 600; font-size: 26px; margin-bottom: 12px;
}
.from { margin: 0; font-size: 17px; color: var(--ink-2); }
h1 { margin: 0; font-size: 34px; line-height: 1.15; font-weight: 700; letter-spacing: -0.5px; }
.about { margin: 6px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 36ch; }
.actions { display: flex; flex-direction: column; gap: 12px; }
.button {
  display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 14px;
  font-size: 17px; font-weight: 600; text-decoration: none;
}
.primary { background: var(--accent); color: var(--on-accent); }
.secondary { background: var(--surface-sunken); color: var(--ink); }
.note { margin: 0; text-align: center; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.spinner {
  width: 28px; height: 28px; margin: 0 auto; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
[hidden] { display: none !important; }
