@font-face {
  font-family: 'STIX Two Text';
  src: url('/assets/stix-two-text.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --candle: #efe7d5;
  --golden: #e7c982;
  --treehouse: #222124;
  --chile: #533c76;
  --display: 'STIX Two Text', Georgia, serif;
  --nav: 'Segoe UI', Arial, sans-serif;
  --mono: 'Cascadia Mono', Consolas, monospace;
  --nav-height: clamp(66px, 8.6vw, 94px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--treehouse); background: var(--candle); font-family: var(--nav); }
p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .58; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 20; padding: .65rem 1rem; color: #141313; background: var(--candle); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { background: transparent; color: #f9f3e8; }
.site-nav { min-height: var(--nav-height); padding: 8px clamp(16px, 2.8vw, 54px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; font-family: var(--display); }
.wordmark { display: inline-flex; width: fit-content; gap: 8px; align-items: center; font: italic 700 clamp(23px,2.4vw,36px)/1 var(--display); text-transform: uppercase; }
.site-nav-actions { justify-self: end; }
.site-nav a:hover { color: var(--golden); }
.swap-key {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 8px 11px 8px 17px;
  color: #292333;
  background: linear-gradient(#faf1de, #dfcfb3);
  border: 1px solid #fff2d6;
  border-radius: 6px;
  box-shadow: inset 0 1px #fff9ee, 0 3px #8f7a63, 0 5px 8px #0006;
  font: 700 15px/1 var(--mono);
}
.swap-key > [aria-hidden] { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 3px; background: #37305b; color: #fff3da; font-size: 19px; }
.swap-key:hover:not(:disabled) { color: #211b2a; background: #fff1d2; }
.swap-key:focus-visible { outline: 2px solid #fff2d6; outline-offset: 5px; }
.swap-key:active { transform: translateY(2px); box-shadow: inset 0 1px #fff9ee, 0 1px #8f7a63; }
@media (max-width: 700px) {
  :root { --nav-height: 64px; }
  .site-nav { gap: 8px; }
  .wordmark { font-size: 25px; }
}
@media (max-width: 380px) {
  .swap-key { gap: 7px; padding-inline: 8px; font-size: 13px; }
}
