/* beta-notice.css — one-time beta welcome card.
 * Scoped under .bnote-; never touches existing stylesheets. Colours/fonts fall
 * back to the paper theme (theme-pure.css) via the same CSS vars the feedback
 * widget uses, so it matches with or without the cascade loaded. */

.bnote-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(33, 7, 6, 0.42);
  backdrop-filter: blur(4px) saturate(108%);
  -webkit-backdrop-filter: blur(4px) saturate(108%);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink, #210706);
  -webkit-font-smoothing: antialiased;
  animation: bnoteFade 0.22s ease both;
}
@keyframes bnoteFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bnoteRise {
  from { opacity: 0; transform: translateY(8px) scale(0.972); }
  to { opacity: 1; transform: none; }
}

.bnote-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  background: var(--surface, #fbf7ef);
  border: 1px solid var(--line-strong, #d8c6a8);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 30px 66px -28px rgba(33, 7, 6, 0.6);
  padding: 25px 26px 22px;
  animation: bnoteRise 0.3s cubic-bezier(0.22, 0.7, 0.3, 1) both;
}

.bnote-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 8px;
  border: 1px solid rgba(137, 29, 26, 0.3);
  border-radius: 6px;
  background: rgba(137, 29, 26, 0.05);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent, #891d1a);
  margin-bottom: 14px;
}
.bnote-eyebrow .bnote-tick {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent, #891d1a);
}

.bnote-title {
  margin: 0 0 7px;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.012em;
  color: var(--ink, #210706);
}
.bnote-intro {
  margin: 0 0 17px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted, #6e5a49);
}

.bnote-list {
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
  display: grid;
  gap: 13px;
}
.bnote-list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  line-height: 1.47;
  color: var(--ink, #210706);
}
.bnote-list li .bnote-mark {
  flex: none;
  margin-top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent, #891d1a);
}
.bnote-list b { font-weight: 700; }

.bnote-rule {
  border: 0;
  border-top: 1px solid var(--line, #e4d8c2);
  margin: 18px 0 14px;
}
.bnote-share {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: center;
  color: var(--muted, #6e5a49);
}
.bnote-link {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--accent, #891d1a);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}
.bnote-link:hover { text-decoration-thickness: 2px; }
.bnote-link:focus-visible { outline: 2px solid var(--accent, #891d1a); outline-offset: 2px; border-radius: 3px; }
.bnote-link.bnote-link-done { color: var(--muted, #6e5a49); text-decoration: none; cursor: default; }

.bnote-board { margin: 2px 0 16px; }
.bnote-board-label { display: block; font-weight: 700; font-size: 14px; color: var(--ink, #210706); margin: 0 0 7px; }
.bnote-board-row { display: flex; align-items: center; gap: 10px; }
.bnote-board-select {
  flex: 1; min-height: 44px; padding: 9px 12px; font: inherit; font-size: 15px;
  color: var(--ink, #210706); background: var(--surface, #fbf7ef);
  border: 1px solid var(--line-strong, #d8c6a8); border-radius: 10px; cursor: pointer;
}
.bnote-board-select:focus-visible { outline: 2px solid var(--accent, #891d1a); outline-offset: 1px; }
.bnote-board-saved {
  flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--accent, #891d1a);
  opacity: 0; transition: opacity 0.15s ease;
}
.bnote-board-saved.is-on { opacity: 1; }
.bnote-board-hint { margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--muted, #6e5a49); }
@media (prefers-reduced-motion: reduce) { .bnote-board-saved { transition: none; } }

.bnote-actions { display: flex; justify-content: flex-end; }
.bnote-btn {
  appearance: none;
  border: 1px solid var(--ink, #210706);
  cursor: pointer;
  background: var(--ink, #210706);
  color: var(--bg, #f1e6d2);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 999px;
  box-shadow: 0 10px 28px -12px rgba(33, 7, 6, 0.45);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.bnote-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -12px rgba(33, 7, 6, 0.5); }
.bnote-btn:active { transform: translateY(0) scale(0.985); box-shadow: 0 8px 22px -12px rgba(33, 7, 6, 0.45); }
.bnote-btn:focus-visible { outline: 2px solid var(--accent, #891d1a); outline-offset: 3px; }

.bnote-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted, #6e5a49);
  font-size: 19px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.16s ease, color 0.16s ease;
}
.bnote-close:hover { background: rgba(33, 7, 6, 0.07); color: var(--ink, #210706); }
.bnote-close:focus-visible { outline: 2px solid var(--accent, #891d1a); outline-offset: 2px; }

@media (max-width: 480px) {
  .bnote-card { padding: 22px 20px 18px; border-radius: 15px; }
  .bnote-title { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .bnote-overlay, .bnote-card { animation: none; }
  .bnote-btn, .bnote-close { transition: none; }
}
