@font-face {
  font-family: Comfortaa;
  src: url("/assets/comfortaa-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url("/assets/montserrat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f6f0;
  --ink: #22352b;
  --muted: #46564b;
  --line: #c9cfc5;
  --accent: #49624f;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.65 Montserrat, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .12em; }
:focus-visible { outline: 2px solid #274c37; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: Comfortaa, system-ui, sans-serif; font-weight: 650; }
h2 { line-height: 1.24; }

.frame { width: min(100% - var(--gutter) * 2, 77rem); margin-inline: auto; }
.skip { position: absolute; inset: .5rem auto auto .5rem; transform: translateY(-150%); padding: .5rem .8rem; color: white; background: var(--ink); }
.skip:focus { transform: none; z-index: 1; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.45rem; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; min-height: 2.75rem; }
.wordmark img { width: 7rem; height: auto; }
.header-link { font-size: .9rem; font-weight: 550; }

.landing { display: grid; place-items: center; padding-block: clamp(3rem, 9vw, 6rem); text-align: center; }
.landing-content { display: grid; justify-items: center; gap: 1.5rem; }
.landing-mark img { width: clamp(10rem, 25vw, 13rem); height: auto; }
.open-chatgpt { padding: .65rem 1.25rem; color: white; background: var(--ink); border-radius: .2rem; font-weight: 600; text-decoration: none; }
.open-chatgpt:hover { background: var(--accent); }
.landing-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .55rem 2rem; border-top: 1px solid var(--line); padding-block: 1.35rem; font-size: .875rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; }
.site-footer [aria-current] { font-weight: 650; }

.legal { padding-block: clamp(2.25rem, 6vw, 4.8rem) 4rem; overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(2rem, 6vw, 3.75rem); line-height: 1.12; letter-spacing: -.055em; }
.legal .lede { color: var(--muted); margin-top: .8rem; }
.legal section { margin-top: 2.15rem; }
.legal section, .legal .lede { max-width: 72ch; }
.legal h2 { font-size: 1.4rem; }
.legal :is(p, address) + p, .legal h2 + :is(p, address) { margin-top: .55rem; }
.legal address { font-style: normal; }
