* { box-sizing: border-box; }
body.notes-page {
  margin: 0; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--oath-c-0a0a0b); color: var(--oath-card-ink);
  font: 400 16px/1.55 'Instrument Sans', system-ui, sans-serif;
  --notes-action: #1755c9;
}
[data-oath-theme="dark"] .notes-page { --notes-action: #285fd4; }
[hidden] { display: none !important; }
button, input { font: inherit; }
a { color: inherit; }
.notes-page :is(a, button, input, summary):focus-visible { outline: 3px solid var(--oath-c-6da7ff); outline-offset: 4px; }
.notes-bar, .notes-footer { width: min(100%, 1184px); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.notes-bar { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.notes-brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 22px; font-weight: 600; letter-spacing: -.05em; text-decoration: none; }
.notes-appearance { display: flex; padding: 3px; border-radius: 99px; background: var(--oath-surface); }
.notes-appearance button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--oath-card-muted); cursor: pointer; }
.notes-appearance button[aria-pressed="true"] { background: var(--oath-card-ink); color: var(--oath-c-0a0a0b); }
.notes-appearance svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.notes-main { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: clamp(24px, 4vh, 44px) 20px clamp(40px, 7vh, 76px); text-align: center; }
.notes-letter { height: 116px; width: 170px; display: grid; align-items: end; justify-items: center; margin: 0 0 19px; }
.notes-envelope { position: relative; isolation: isolate; width: 112px; height: 70px; border-radius: 7px; transform: rotate(-7deg); background: #234bb6; box-shadow: 0 12px 22px -11px rgb(21 50 117 / .42); }
.notes-envelope::before { content: ''; position: absolute; inset: -37px 0 5px; border-radius: 7px; background: linear-gradient(155deg,#4387ff,#2954be); clip-path: polygon(0 38%,47% 2%,51% 0,55% 2%,100% 38%,100% 100%,0 100%); }
.notes-paper { position: absolute; left: 12px; right: 12px; top: -27px; height: 70px; display: block; padding: 8px 12px; transform: rotate(11deg); border-radius: 4px; background: linear-gradient(145deg,rgb(255 255 255),#e5edff); box-shadow: 0 3px 7px #19397533; text-align: start; }
.notes-paper img { display: block; margin-bottom: 6px; }
.notes-paper i { display: block; width: 80%; height: 2px; margin-block: 4px; background: #aabbda; }
.notes-paper i:last-child { width: 52%; }
.notes-fold, .notes-fold::after { position: absolute; inset: 0; border-radius: 7px; }
.notes-fold { background: linear-gradient(116deg,#5294ff,#3776ee 56%,#1b53c7); clip-path: polygon(0 0,49% 52%,100% 0,100% 100%,0 100%); }
.notes-fold::after { content: ''; background: linear-gradient(155deg,#82b4ff,#347bfa 68%); clip-path: polygon(0 100%,48% 41%,52% 41%,100% 100%); }
.notes-main h1 { margin: 0; font: 400 clamp(64px, 7.5vw, 96px)/1 'Instrument Serif', Georgia, serif; letter-spacing: -.052em; }
.notes-main h1 em { font-weight: 400; }
.notes-intro { margin: 17px auto 0; max-width: 43ch; color: var(--oath-card-muted); font-size: clamp(16px, 2vw, 18px); line-height: 1.55; text-wrap: pretty; }
#notes-signup { width: min(100%, 496px); margin: 31px auto 0; text-align: start; }
#notes-form-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.notes-entry { display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 19px; background: var(--oath-surface); }
#notes-email { flex: 1; min-width: 0; min-height: 48px; background: transparent; color: inherit; border: 0; border-radius: 14px; padding-inline: 13px; }
#notes-email::placeholder { color: var(--oath-card-muted); opacity: .95; }
.notes-submit, .notes-return { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 10px 20px; border: 0; border-radius: 15px; color: rgb(255 255 255); background: var(--notes-action); font-weight: 600; text-decoration: none; cursor: pointer; }
.notes-submit:hover, .notes-return:hover { background: #1649ac; }
.notes-submit:disabled { opacity: .72; cursor: default; }
.notes-topics { margin: 9px 2px 0; }
.notes-topics summary { display: flex; align-items: center; gap: 8px; min-height: 44px; width: fit-content; font-size: 14px; font-weight: 500; list-style: none; cursor: pointer; }
.notes-topics summary::-webkit-details-marker { display: none; }
.notes-topics summary::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.notes-topics[open] summary::after { transform: translateY(2px) rotate(225deg); }
#notes-count { color: var(--oath-card-muted); font-size: 12px; font-weight: 400; }
.notes-topics fieldset { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 12px; margin: 0 0 14px; padding: 8px 12px; border: 0; border-radius: 16px; background: var(--oath-surface); }
.notes-topics label { min-height: 44px; display: flex; gap: 9px; align-items: center; cursor: pointer; font-size: 14px; }
.notes-topics input { width: 17px; height: 17px; accent-color: var(--notes-action); }
.notes-consent { margin: 17px 0 0; text-align: center; color: var(--oath-card-muted); font-size: 13px; line-height: 1.6; }
.notes-consent a { text-underline-offset: 3px; }
#notes-status { margin: 8px 0; font-size: 14px; }
#notes-status:empty { display: none; }
.notes-return { margin-top: 22px; }
.notes-footer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 23px; padding-block: 12px 18px; color: var(--oath-card-muted); }
.notes-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; }
.notes-footer a:hover { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width: 480px) {
  .notes-bar { padding-block: 12px; }
  .notes-main { padding-top: 20px; }
  .notes-entry { display: grid; padding: 0; gap: 10px; background: transparent; }
  #notes-email { min-height: 52px; background: var(--oath-surface); }
  .notes-submit { width: 100%; }
  .notes-letter { margin-bottom: 14px; }
}
@media(max-width: 350px) { .notes-topics fieldset { grid-template-columns: 1fr; } }
@media(forced-colors: active) { .notes-submit, #notes-email, .notes-appearance button[aria-pressed="true"] { outline: 1px solid ButtonText; } }
