@import "./glass.css";

@font-face {
  font-family: Geist;
  src: url("/fonts/geist-latin-400-normal.woff2");
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/fonts/geist-latin-500-normal.woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-latin-400-normal.woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin-400-normal.woff2");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-grad) var(--bg);
  color: var(--t1);
  font:
    16px / 1.55 Geist,
    system-ui,
    sans-serif;
}
body::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0 0 auto;
  height: 900px;
  background: repeating-conic-gradient(rgba(var(--ink), 0.032) 0 25%, transparent 0 50%) 0 0 / 112px 112px;
  mask-image: radial-gradient(ellipse at 20% 35%, black, transparent 70%);
  z-index: -1;
}
h1,
h2,
h3,
.brand {
  font:
    400 48px / 1.06 "Instrument Serif",
    Georgia,
    serif;
  letter-spacing: -0.025em;
  margin: 0;
}
h2 {
  font-size: 48px;
}
h3 {
  font-size: 30px;
}
p {
  margin: 12px 0 20px;
  color: var(--t2);
}
a,
button {
  color: inherit;
}
a {
  text-underline-offset: 3px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled,
fieldset:disabled {
  cursor: default;
  opacity: 0.65;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
small,
.meta,
code {
  font:
    12px / 1.55 "Geist Mono",
    monospace;
  font-variant-numeric: tabular-nums;
  color: var(--t2);
}
.brand {
  white-space: nowrap;
  font-size: 28px;
  text-decoration: none;
}
.head,
footer {
  max-width: 1600px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 16px 64px;
}
.head {
  min-height: 68px;
}
.head nav,
footer nav,
.actions,
.buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.head nav,
.head .actions,
.head > a:last-child:not(.brand),
footer nav {
  font-size: 14px;
}
.head .actions,
.head > a:last-child:not(.brand),
.head .stepper,
footer nav {
  margin-left: auto;
}
.head a,
footer nav a,
.glass {
  text-decoration: none;
}
.head a:hover,
footer a:hover {
  text-decoration: underline;
}
.narrow {
  max-width: 520px;
  padding: 80px 20px 100px;
  margin: auto;
  min-height: calc(100vh - 192px);
}
.quiet {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wide {
  width: 100%;
}
.buttons {
  margin: 20px 0;
  gap: 14px;
}
.hint {
  font-size: 14px;
  color: var(--t2);
}
footer {
  border-top: 1px solid rgba(var(--ink), 0.12);
  padding-block: 28px;
  justify-content: space-between;
}
footer small {
  display: block;
  margin-top: 3px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 899px) {
  .head,
  footer {
    padding-inline: 20px;
    gap: 14px;
  }
  .head nav:not(.stepper) {
    display: none;
  }
  .narrow {
    padding-top: 48px;
  }
  .head .stepper {
    font-size: 12px;
    gap: 6px;
  }
  footer {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  footer nav {
    margin-left: 0;
  }
  .head .actions {
    gap: 12px;
  }
}
