:root {
  color-scheme: light;
  --ink: #17263c;
  --muted: #526178;
  --paper: #faf8f3;
  --rule: #d8dce2;
  --accent: #1d477b;
  --serif: serif;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
a { color: var(--accent); text-underline-offset: .23em; }
button, select, input { font: inherit; }
:focus-visible { outline: 3px solid #326ba9; outline-offset: 4px; }
[hidden] { display: none !important; }
.site-width { width: min(100% - 48px, 1060px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -100px; background: white; z-index: 2; padding: 10px; }
.skip:focus { top: 12px; }
.site-header { background: #10223c; color: #f4f7ff; }
.header-row, .footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.header-row { min-height: 66px; }
.header-row a { color: inherit; }
.site-brand { font-weight: 700; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.site-brand img { width: 32px; height: 32px; border-radius: 7px; }
.memory-cover { color: #f5f8ff; background: #102849 url("/_a/archive-cover.b813618aee.jpg") center right / cover; }
.cover-copy { display: grid; align-content: center; min-height: clamp(280px, 38vw, 398px); padding-block: 40px; justify-items: start; }
.cover-copy h1, .prose h1 { font-family: var(--serif); letter-spacing: .045em; font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.18; margin: 0 0 14px; }
.cover-copy p { color: #e1ebfa; margin: 0 0 22px; font-size: clamp(1rem, 2.3vw, 1.23rem); max-width: 26em; }
.entry-button { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 17px; background: #f1dfa9; color: #192a41; border-radius: 5px; font-weight: 700; text-decoration: none; }
.entry-button:hover { background: #fff0c1; }
.prose { max-width: 792px; padding-block: 45px 58px; overflow-wrap: anywhere; }
.prose h1 { font-size: clamp(1.85rem, 5vw, 3rem); }
.prose h2 { font-family: var(--serif); line-height: 1.35; margin-top: 30px; }
.prose :first-child { margin-top: 0; }
.prose p, .prose li { color: #394c64; }
.site-footer { border-top: 1px solid var(--rule); color: var(--muted); }
.footer-row { min-height: 82px; flex-wrap: wrap; padding-block: 16px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 9px 19px; }
@media (max-width: 600px) {
  .site-width { width: calc(100% - 34px); }
  .header-row { min-height: 58px; font-size: .9rem; }
  .cover-copy { min-height: 280px; }
  .prose { padding-block: 30px 39px; }
}
.tool-cover { min-height: clamp(155px, 21vw, 225px); padding-block: 24px; }
.tool-cover h1 { font-size: clamp(2rem, 5.1vw, 3.6rem); }
.tool-cover p { margin: 0; }
.memoir-workbench { margin-top: 22px; }
.prose details { border-top: 1px solid var(--rule); padding: 12px 0; }
.prose summary { cursor: pointer; font-weight: 650; }

.contact-page form[data-gf-ticket] { display:grid; gap:12px; max-width:610px; }
.contact-page label { display:grid; gap:5px; font-weight:600; }
.contact-page input, .contact-page textarea { border:1px solid #697d99; border-radius:5px; padding:8px 11px; width:100%; color:#17263c; background:#fffdf8; }
.contact-page textarea { resize:vertical; }
.contact-page button { border:0; cursor:pointer; justify-self:start; }
.contact-page .gf-ticket { border:1px solid #d8dce2; padding:15px; margin-bottom:14px; overflow-wrap:anywhere; }
