@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #14285a;
  --ink-deep: #0b1838;
  --accent: #c1272d;
  --muted: #3b4a73;
  --label: #5a6890;
  --paper: #ffffff;
  --panel: #f2f4f9;
  --rule: #d3d9e6;
  --rule-strong: #c9d0e0;
  --on-ink: #d9def0;
  --on-ink-label: #aebbe0;
  --on-ink-rule: #3a4f86;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}

a {
  color: var(--ink);
}

a:hover {
  color: var(--ink-deep);
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 12px 16px;
  background: var(--ink);
  color: #ffffff;
  z-index: 10;
}

.skip-link:focus {
  top: 16px;
  color: #ffffff;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono-label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Airmail border */

.stripe {
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 18px, #ffffff 18px 30px, var(--ink) 30px 48px, #ffffff 48px 60px);
}

/* Header */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  text-decoration: none;
}

.brand-name {
  font-weight: 800;
  font-size: 25px;
  font-stretch: 125%;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
}

.site-nav a {
  display: inline-block;
  padding: 14px 0;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Hero */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-top: 48px;
  padding-bottom: 80px;
}

.hero-copy {
  flex: 1 1 480px;
  min-width: 0;
}

.eyebrow {
  margin-bottom: 22px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.lede {
  margin-top: 28px;
  max-width: 34rem;
  font-size: 19px;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: #ffffff;
}

.button-outline {
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.button-light {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--ink);
}

.button-light:hover {
  border-color: var(--on-ink);
  background: var(--on-ink);
  color: var(--ink);
}

/* Envelope illustration */

.hero-art {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.envelope {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 3 / 2;
  min-height: 300px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--rule-strong);
  box-shadow: 0 22px 40px -28px rgba(20, 40, 90, 0.45);
  transform: rotate(1.5deg);
}

.envelope-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 22px;
  border: 10px solid transparent;
  border-image: repeating-linear-gradient(-45deg, var(--accent) 0 12px, #ffffff 12px 20px, var(--ink) 20px 32px, #ffffff 32px 40px) 10;
}

.stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 62px;
  height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--accent);
  outline: 3px dotted #ffffff;
  outline-offset: -7px;
  color: #ffffff;
}

.stamp-glyph {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.stamp-text {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.postmark {
  position: absolute;
  top: 8px;
  right: 52px;
  width: 150px;
  height: 96px;
}

.rubber-stamp {
  align-self: flex-start;
  margin: 0 0 22px 4px;
  padding: 5px 10px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-7deg);
}

.address-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label);
}

.address {
  font-family: var(--mono);
  font-size: clamp(12.5px, 3.5vw, 16px);
  font-weight: 500;
  white-space: nowrap;
}

.address-line {
  height: 1px;
  margin-top: 12px;
  background: var(--rule-strong);
}

.address-line-short {
  width: 62%;
  margin-top: 18px;
}

.route {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--label);
  text-align: center;
}

/* At a glance strip */

.glance {
  background: var(--panel);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.glance ul {
  list-style: none;
  margin: 0 auto;
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 36px;
  letter-spacing: 0.06em;
}

/* Sections */

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-title {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
}

.section-intro {
  color: var(--muted);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 48px;
  margin-bottom: 44px;
}

.section-head .section-intro {
  max-width: 28rem;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
}

.split-narrow {
  flex: 1 1 320px;
  min-width: 0;
}

.split-wide {
  flex: 1.4 1 480px;
  min-width: 0;
}

.split-narrow .section-title {
  margin-bottom: 16px;
}

/* How it works */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 44px 32px;
}

.steps li {
  flex: 1 1 260px;
  min-width: 0;
  padding-top: 18px;
  border-top: 3px solid var(--ink);
}

.step-number {
  color: var(--accent);
}

.steps h3 {
  margin: 10px 0;
  font-size: 22px;
  font-weight: 700;
  font-stretch: 106%;
  letter-spacing: -0.01em;
}

.steps p {
  color: var(--muted);
}

/* Privacy promises */

.panel {
  background: var(--panel);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.promises {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.promise {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--rule-strong);
}

.promise dt {
  font-size: 19px;
  font-weight: 700;
}

.promise dd {
  margin: 6px 0 0;
  max-width: 38rem;
  color: var(--muted);
}

/* Membership */

.membership {
  background: var(--ink);
  color: #ffffff;
}

.membership .split {
  align-items: center;
  gap: 48px 64px;
}

.membership .mono-label {
  margin-bottom: 18px;
  letter-spacing: 0.1em;
  color: var(--on-ink-label);
}

.membership h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.02;
}

.membership .split-narrow p {
  max-width: 34rem;
  color: var(--on-ink);
}

.invite {
  flex: 1 1 340px;
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--on-ink-rule);
}

.invite h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: -0.01em;
}

.invite p {
  margin-bottom: 24px;
  color: var(--on-ink);
}

.invite .invite-note {
  margin: 20px 0 0;
  font-size: 15px;
  color: var(--on-ink-label);
}

/* Abuse and contacts */

.contacts {
  border-top: 2px solid var(--ink);
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-strong);
}

.contact-row .mono-label {
  flex: 0 0 180px;
  padding-top: 3px;
  letter-spacing: 0.06em;
  color: var(--label);
}

.contact-detail {
  flex: 1 1 240px;
}

.contact-detail a {
  font-weight: 600;
}

.contact-detail span {
  display: block;
  color: var(--muted);
}

/* Footer */

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding-top: 28px;
  padding-bottom: 40px;
  font-size: 14px;
  color: var(--muted);
}

.footer-row strong {
  color: var(--ink);
  font-stretch: 125%;
}

/* Not found page */

.not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  padding-bottom: 96px;
}

.not-found h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.not-found .lede {
  margin-bottom: 32px;
}

@media (max-width: 480px) {
  .hero {
    padding-top: 24px;
  }

  .envelope-inner {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .site-nav a {
    transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
  }
}
