@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/fraunces-latin-full-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/fraunces-latin-full-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --paper: #f8f4ec;
  --sheet: #fdfbf7;
  --ink: #161513;
  --muted: #4b4740;
  --rule: #d4ccbc;
  --forest: #1d4d33;
  --forest-deep: #163d28;
  --sage: #e3e8dc;
  --sage-line: #c9d3bf;
  --on-forest: #f6f2e9;
  --on-forest-muted: #d4ddcd;
  --focus: #b0451f;
  --focus-on-forest: #f2cf63;
  --serif: "Fraunces", "Iowan Old Style", "Charter", "Sitka Text", Cambria, Georgia, serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "SOFT" 70, "WONK" 1, "opsz" 144;
  --heading: "SOFT" 50, "WONK" 1, "opsz" 72;
  --title: "SOFT" 30, "WONK" 0, "opsz" 32;
  --mono: "IBM Plex Mono", "SF Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #cfe0c8;
  color: var(--forest-deep);
}

.wide,
.narrow {
  width: 100%;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.wide {
  max-width: 72rem;
}

.narrow {
  max-width: 46rem;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.way-dark :focus-visible,
.cta :focus-visible,
.footer :focus-visible {
  outline-color: var(--focus-on-forest);
}

.masthead {
  background: var(--paper);
}

.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--ink);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 760;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 48;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.dot {
  color: var(--forest);
}

.wordmark-light {
  color: var(--on-forest);
}

.wordmark-light .dot {
  color: var(--on-forest-muted);
}

.tagline {
  display: none;
  padding-left: 1.25rem;
  border-left: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9375rem;
}

.status {
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: var(--forest);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: none;
  gap: 1.5rem;
  margin-left: auto;
  font-size: 0.9375rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

.head-row .btn-small {
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--forest);
  border-radius: 4px;
  background: var(--forest);
  color: var(--on-forest);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  background: var(--forest-deep);
}

.btn-small {
  min-height: 2.75rem;
  padding: 0.375rem 1rem;
  font-size: 0.9375rem;
}

.btn-light {
  border-color: var(--on-forest);
  background: var(--on-forest);
  color: var(--forest-deep);
}

.btn-light:hover {
  background: #ffffff;
}

.btn-outline {
  border-color: var(--ink);
  background: var(--sheet);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--sage);
}

label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

input[type="email"],
input[type="text"] {
  display: block;
  width: 100%;
  min-height: 2.875rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid #8e877a;
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--sans);

  font-size: 1.0625rem;
  line-height: 1.4;
}

input[type="email"]:focus {
  border-color: var(--forest);
}

.join {
  max-width: 34rem;
  margin: 1.5rem 0 0;
}

.join-row {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.join-dark label {
  color: var(--on-forest);
}

.join-dark input[type="email"] {
  border-color: var(--on-forest);
}

.join-dark .note {
  color: var(--on-forest-muted);
}

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

p {
  margin: 0 0 0.875rem;
  text-wrap: pretty;
  hanging-punctuation: first;
}

h1 {
  margin: 0.75rem 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(2.625rem, 10vw, 4.5rem);
  font-weight: 640;
  font-variation-settings: var(--display);
  letter-spacing: -0.022em;
  word-spacing: 0.04em;
  line-height: 1;
  text-wrap: balance;
  hanging-punctuation: first;
}

.underline {
  padding-bottom: 0.08em;
  background: url("/underline.svg") no-repeat left 100% / 100% 0.28em;
  animation: pen 900ms cubic-bezier(0.45, 0.05, 0.35, 1) 700ms backwards;
}

@keyframes pen {
  from {
    background-size: 0% 0.28em;
  }
  to {
    background-size: 100% 0.28em;
  }
}

h1 em {
  display: block;
  margin-top: 0.875rem;
  color: var(--forest);
  font-size: 0.5em;
  font-style: italic;
  font-weight: 420;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72;
  letter-spacing: -0.005em;
}

h1.small-h1 {
  margin-top: 0;
  font-size: clamp(2.125rem, 7.5vw, 3rem);
  font-weight: 600;
  font-variation-settings: var(--heading);
  line-height: 1.04;
}

h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 6.5vw, 3rem);
  font-weight: 620;
  font-variation-settings: var(--heading);
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}

h2.center {
  margin-bottom: 1.75rem;
  text-align: center;
}

h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 640;
  font-variation-settings: var(--title);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.eyebrow {
  margin: 0;
  color: var(--forest);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede {
  max-width: 34rem;
  font-size: 1.1875rem;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.sub {
  max-width: 34rem;
  color: var(--muted);
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 600;
}

.hero {
  padding: 2.25rem 0 2.5rem;
}

.hero-plain {
  padding: 3rem 0;
}

.hero-plain .join {
  margin-bottom: 1rem;
}

.hero-art {
  max-width: 22rem;
  margin: 2.25rem auto 0;
  perspective: 1400px;
}

.desk {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  transform: rotateX(5deg) rotateY(-7deg) rotateZ(0.6deg);
  transform-origin: 50% 70%;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.desk .folder,
.desk .folder-front,
.desk .sheet,
.desk .stamp {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.25, 1);
}

.desk .folder,
.desk .folder-front {
  animation: settle 700ms cubic-bezier(0.25, 0.8, 0.3, 1) 80ms backwards;
}

.desk .sheet-back {
  animation: drop-back 1000ms cubic-bezier(0.2, 0.85, 0.3, 1.12) 260ms backwards;
}

.desk .sheet-front {
  animation: drop-front 1100ms cubic-bezier(0.2, 0.85, 0.3, 1.1) 560ms backwards;
}

.desk .marker path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: ink 560ms cubic-bezier(0.55, 0.1, 0.35, 1) backwards;
}

.desk .sheet-back .marker path:nth-child(1) {
  animation-delay: 1250ms;
}

.desk .sheet-back .marker path:nth-child(2) {
  animation-delay: 1520ms;
  animation-duration: 640ms;
}

.desk .sheet-front .marker path:nth-child(1) {
  animation-delay: 1850ms;
  animation-duration: 600ms;
}

.desk .sheet-front .marker path:nth-child(2) {
  animation-delay: 2140ms;
  animation-duration: 720ms;
}

.desk .stamp {
  transform-origin: 50% 50%;
  animation: thunk 460ms cubic-bezier(0.3, 1.5, 0.5, 1) 3000ms backwards;
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes drop-back {
  from {
    opacity: 0;
    transform: translate(10px, -34px) rotate(-3.5deg);
  }
  55% {
    opacity: 1;
  }
}

@keyframes drop-front {
  from {
    opacity: 0;
    transform: translate(-12px, -40px) rotate(4.5deg);
  }
  50% {
    opacity: 1;
  }
}

@keyframes ink {
  from {
    stroke-dashoffset: 1;
  }
}

@keyframes thunk {
  0% {
    opacity: 0;
    transform: scale(1.4) rotate(-5deg);
  }
  65% {
    opacity: 1;
    transform: scale(0.95) rotate(0.6deg);
  }
  85% {
    transform: scale(1.02);
  }
  100% {
    transform: none;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-art:hover .desk {
    transform: rotateX(1deg) rotateY(-2deg);
  }

  .hero-art:hover .sheet-back {
    transform: translate(8px, -7px) rotate(1.2deg);
  }

  .hero-art:hover .sheet-front {
    transform: translate(-8px, 5px) rotate(-1.4deg);
  }

  .hero-art:hover .folder-front {
    transform: translateX(5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .underline,
  .desk,
  .desk * {
    animation: none !important;
    transition: none !important;
  }
}

.band {
  padding: 2.75rem 0;
}

.band > .wide,
.band > .narrow {
  padding-top: 2.75rem;
  border-top: 1px solid var(--ink);
}

.cta + .band > .narrow {
  border-top: 0;
  padding-top: 0;
}

.ways {
  display: grid;
  gap: 1.25rem;
}

.way {
  padding: 1.5rem;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--sheet);
}

.way-dark {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--on-forest);
}

.way-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1rem;
}

.way-head p {
  margin: 0.375rem 0 0;
  font-size: 0.9375rem;
}

.way-dark .way-head p {
  color: var(--on-forest-muted);
}

.icon {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--forest);
}

.way-dark .icon {
  color: var(--on-forest);
}

.pill {
  display: inline-block;
  margin-left: 0.375rem;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: var(--sage);
  color: var(--forest-deep);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 0.2em;
}

.pill-light {
  background: var(--on-forest);
}

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding: 0.375rem 0 0.375rem 2rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.75rem;
  width: 0.875rem;
  height: 0.5rem;
  border-left: 2.5px solid var(--forest);
  border-bottom: 2.5px solid var(--forest);
  transform: rotate(-45deg);
}

.way-dark .ticks li::before {
  border-color: var(--on-forest);
}

.tiles {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tiles li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.tiles li:first-child {
  padding-top: 0;
  border-top: 0;
}

.tiles h3 {
  margin: 0.625rem 0 0.375rem;
  font-family: var(--sans);
  font-size: 1.1875rem;
}

.tiles p {
  margin: 0;
  color: var(--muted);
}

.promise {
  margin: 2rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  background: var(--sage);
  color: var(--forest-deep);
  font-weight: 600;
  text-align: center;
}

.qa {
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}

h2 + .qa {
  padding-top: 0.25rem;
  border-top: 0;
}

.qa h3 {
  margin: 0 0 0.375rem;
  font-family: var(--sans);
  font-size: 1.1875rem;
}

.qa p {
  margin: 0;
  color: var(--muted);
}

.plain {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain li {
  padding: 0.875rem 0;
  border-top: 1px solid var(--rule);
}

.plain li:first-child {
  padding-top: 0.25rem;
  border-top: 0;
}

.plain + p {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--rule);
}

.cta {
  padding: 0 0 2.75rem;
}

.cta-grid {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 1.25rem;
  border-radius: 8px;
  background: var(--forest);
  color: var(--on-forest);
}

.cta h2 {
  margin-bottom: 0.625rem;
  font-size: clamp(1.75rem, 5.5vw, 2.375rem);
}

.cta-grid p {
  margin: 0;
  color: var(--on-forest-muted);
}

.cta .join {
  margin: 0;
}

.footer {
  margin-top: 1rem;
  background: var(--forest-deep);
  color: var(--on-forest-muted);
  font-size: 0.875rem;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
}

.foot-text p {
  margin: 0;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--on-forest);
}

@media (max-width: 39.99rem) {
  .head-row {
    flex-wrap: nowrap;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
  }

  .wordmark {
    font-size: 1.5rem;
  }

  .hero {
    padding-top: 1.75rem;
  }

  .band {
    padding: 2rem 0;
  }

  .band > .wide,
  .band > .narrow {
    padding-top: 2rem;
  }

  h2.center {
    margin-bottom: 1.25rem;
  }

  .tiles {
    gap: 0;
  }

  .tiles li {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    column-gap: 0.875rem;
    padding: 0.875rem 0;
  }

  .tiles li:first-child {
    padding-top: 0;
  }

  .tiles .icon {
    grid-row: span 2;
    width: 2.25rem;
    height: 2.25rem;
  }

  .tiles h3 {
    margin: 0 0 0.125rem;
  }

  .promise {
    margin-top: 1.25rem;
  }

  .way {
    padding: 1.25rem;
  }
}

@media (max-width: 29.99rem) {
  .head-row .btn-small {
    display: none;
  }

  .status {
    margin-left: auto;
  }
}

@media (min-width: 40rem) {
  .wide,
  .narrow {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .join-row {
    flex-direction: row;
  }

  .join-row input {
    flex: 1;
  }

  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .tiles li,
  .tiles li:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .cta-grid {
    padding: 2.5rem;
  }
}

@media (min-width: 52rem) {
  .tagline {
    display: inline;
  }

  .nav {
    display: flex;
  }

  .head-row .btn-small {
    margin-left: 0;
  }

  .hero {
    padding: 3.5rem 0 3.25rem;
  }

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

  .hero-art {
    max-width: none;
    margin: 0;
  }

  .ways {
    grid-template-columns: 1fr 1fr;
  }

  .tiles {
    grid-template-columns: repeat(4, 1fr);
  }

  .tiles li {
    padding-left: 1.25rem;
    border-left: 1px solid var(--rule);
  }

  .tiles li:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .cta-grid > .join {
    padding-left: 2.5rem;
    border-left: 1px solid rgba(246, 242, 233, 0.35);
  }

  .foot-links {
    margin-left: auto;
  }
}
