@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&family=Instrument+Serif&display=swap");

:root {
  --ground: #e8ecef;
  --panel: #f6f8f9;
  --ink: #17242e;
  --muted: #5b6b77;
  --steel: #2f6b8f;
  --rule: #c7d0d6;
  --f0: #f6f8f9;
  --f1: #d6dfe5;
  --f2: #a9bccb;
  --f3: #7f98ab;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #131b21;
    --panel: #1a242c;
    --ink: #e3e9ed;
    --muted: #97a6b1;
    --steel: #7fb2d3;
    --rule: #2c3a44;
    --f0: #3a5466;
    --f1: #2c4251;
    --f2: #22343f;
    --f3: #1a2932;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Instrument Sans", system-ui, sans-serif;
}

a { color: var(--steel); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 60rem; margin: 0 auto; padding: 0 1rem; }

header.site {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.brand {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.6rem;
  color: var(--ink);
  text-decoration: none;
}

nav { display: flex; gap: 1.25rem; }
nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
nav a[aria-current="page"], nav a:hover { color: var(--ink); }

main { padding: 3rem 0 4rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 2.5rem 0 0.75rem;
}

p, li { max-width: 36rem; }
.lede { font-size: 1.2rem; color: var(--muted); }

.solid { width: 100%; max-width: 26rem; height: auto; display: block; margin-left: auto; }
.solid .faces polygon { stroke: none; }
.solid .f0 { fill: var(--f0); }
.solid .f1 { fill: var(--f1); }
.solid .f2 { fill: var(--f2); }
.solid .f3 { fill: var(--f3); }
.solid .edges line { stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; }
.solid .hidden line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 5; opacity: 0.55; }

.panel {
  background: var(--panel);
  border-left: 3px solid var(--steel);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  max-width: 40rem;
}
.panel p { margin: 0.25rem 0; }

.mail { font-size: 1.35rem; font-weight: 500; }

ol.checklist { padding-left: 1.25rem; }
ol.checklist li { margin-bottom: 0.5rem; }

footer.site {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 44rem) {
  header.site { flex-direction: column; gap: 0.5rem; }
  .hero { grid-template-columns: 1fr; }
  .solid { margin: 0 auto; max-width: 18rem; order: -1; }
  main { padding-top: 2rem; }
}
