:root {
  --bg: #0b0b0b;
  --card: #141414;
  --ink: #f3f1ea;
  --mute: #9a978e;
  --line: #2a2a2a;
  --gold: #c4a35a;
}

* { box-sizing: border-box; }
html { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 "Inter", "Helvetica Neue", Arial, sans-serif;
  overflow-x: clip;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

.note-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 5vw;
  border-bottom: 1px solid var(--line);
}
.note-bar strong {
  font: 600 12px/1 "Inter", sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.note-bar nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
.note-bar nav a { color: var(--mute); text-decoration: none; }

.note-grid {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
  gap: 40px;
  padding: 40px 0 72px;
}
.note-grid h1 {
  font: 400 clamp(26px, 4.5vw, 40px)/1.15 "Libre Baskerville", Georgia, serif;
  margin: 10px 0 16px;
}
.note-grid h2 {
  font: 400 22px/1.3 "Libre Baskerville", Georgia, serif;
  margin: 32px 0 10px;
}
.note-k { color: var(--gold); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.note-side {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px 18px;
  align-self: start;
  position: sticky;
  top: 16px;
}
.note-side h2 { margin: 0 0 8px; font-size: 16px; }
.note-side p { color: var(--mute); font-size: 14px; }
.note-side a.btn {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 11px 12px;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}
.note-side .main { background: var(--ink); color: #111; }
.note-side .alt { border: 1px solid var(--ink); }
.note-figure { margin: 22px 0; }
.note-figure figcaption { color: var(--mute); font-size: 13px; margin-top: 8px; }
.note-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0; }
.note-table { width: 100%; min-width: 380px; border-collapse: collapse; font-size: 14px; }
.note-table th, .note-table td { border-bottom: 1px solid var(--line); padding: 11px 6px; text-align: left; vertical-align: top; }
.note-table th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.note-faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.note-faq summary { cursor: pointer; font-weight: 600; }
.note-ext a { color: var(--gold); }
.note-foot {
  padding: 18px 5vw;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .note-bar { flex-direction: column; text-align: center; }
  .note-bar nav { justify-content: center; }
  .note-grid { grid-template-columns: 1fr; padding: 24px 0 48px; }
  .note-side { position: static; text-align: center; }
}
