:root {
  color-scheme: light;
  --paper: #f1ede3;
  --paper-raised: #f7f4ed;
  --ink: #1d1c1a;
  --graphite: #68645c;
  --faint: #999287;
  --rule: rgba(29, 28, 26, 0.17);
  --rule-strong: rgba(29, 28, 26, 0.32);
  --vermilion: #a94435;
  --night: #11110f;
  --night-muted: #aaa398;
  --max-width: 1160px;
  --header-height: 82px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 9px 13px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
.hero,
.manifesto,
.principles,
.closing {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  font-weight: 680;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
}

.mark {
  color: var(--vermilion);
  font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--graphite);
  font-size: 0.82rem;
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover,
[aria-current="page"] {
  color: var(--ink) !important;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  text-wrap: balance;
}

.eyebrow,
.section-label,
.section-number {
  margin: 0 0 20px;
  color: var(--vermilion);
  font-size: 0.69rem;
  font-weight: 680;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.64fr);
  align-items: center;
  gap: clamp(56px, 10vw, 132px);
  padding-block: clamp(70px, 9vw, 112px);
}

.hero-copy {
  max-width: 660px;
}

.hero h1 {
  margin-bottom: 30px;
  font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  font-size: clamp(4rem, 7.8vw, 7.2rem);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 0.91;
}

.lede {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--graphite);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule-strong);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.button-primary {
  color: var(--vermilion);
  border-color: var(--vermilion);
}

.button-secondary {
  color: var(--graphite);
}

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

.board-preview {
  width: min(100%, 470px);
  margin: 0 auto;
  padding: 7px 7px 14px;
  color: var(--night-muted);
  background: var(--night);
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 24px;
  box-shadow: 0 28px 68px rgba(42, 37, 29, 0.22);
}

.board-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.board-preview figcaption {
  padding: 12px 10px 0;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(160px, 0.48fr) minmax(0, 1.52fr);
  gap: clamp(36px, 8vw, 112px);
  padding-block: clamp(100px, 13vw, 168px);
  border-top: 1px solid var(--rule);
}

.manifesto h2 {
  max-width: 850px;
  margin-bottom: 28px;
  font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  font-size: clamp(2.7rem, 5.4vw, 5.2rem);
  font-weight: 430;
  letter-spacing: -0.05em;
  line-height: 0.99;
}

.manifesto p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--graphite);
  font-size: 1.08rem;
}

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

.principles article {
  display: grid;
  grid-template-columns: 64px minmax(240px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: baseline;
  padding: clamp(32px, 5vw, 56px) 0;
}

.principles article + article {
  border-top: 1px solid var(--rule);
}

.principles article > span {
  color: var(--vermilion);
  font-size: 0.7rem;
  font-weight: 680;
  letter-spacing: 0.16em;
}

.principles h2 {
  margin-bottom: 0;
  font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.85rem, 3.3vw, 3rem);
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1.07;
}

.principles p {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--graphite);
}

.closing {
  margin-block: clamp(88px, 11vw, 144px);
  padding: clamp(48px, 8vw, 92px);
  color: var(--paper);
  background: var(--night);
}

.closing .eyebrow {
  color: #d98677;
}

.closing h2 {
  max-width: 780px;
  margin-bottom: 42px;
  font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 420;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.closing a {
  color: var(--paper);
  font-size: 0.9rem;
}

.site-footer {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--graphite);
  border-top: 1px solid var(--rule);
  font-size: 0.8rem;
}

.site-footer p {
  margin: 0;
}

/* Documents */

.document-page,
.support-page {
  width: min(calc(100% - 48px), 1020px);
  margin-inline: auto;
}

.document-hero {
  padding: clamp(78px, 10vw, 132px) 0 clamp(62px, 8vw, 96px);
  border-bottom: 1px solid var(--rule-strong);
}

.document-hero h1,
.not-found h1 {
  margin-bottom: 28px;
  font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  font-size: clamp(3.7rem, 8vw, 7rem);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.document-intro {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--graphite);
  font-size: clamp(1.06rem, 1.9vw, 1.27rem);
}

.effective-date {
  margin-bottom: 0;
  color: var(--faint);
  font-size: 0.8rem;
}

.privacy-summary {
  display: grid;
  grid-template-columns: minmax(190px, 0.52fr) minmax(0, 1.48fr);
  gap: clamp(34px, 7vw, 84px);
  margin-top: clamp(62px, 8vw, 92px);
  padding: 34px 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}

.privacy-summary h2 {
  margin: 0;
  font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 480;
  letter-spacing: -0.03em;
}

.privacy-summary ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 34px;
  margin: 0;
  padding-left: 1.2em;
  color: var(--graphite);
}

.document-content {
  max-width: 750px;
  margin: 0 auto;
  padding: clamp(76px, 10vw, 128px) 0;
}

.document-content section + section {
  margin-top: 58px;
  padding-top: 58px;
  border-top: 1px solid var(--rule);
}

.document-content h2 {
  margin-bottom: 22px;
  font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1.07;
}

.document-content h3 {
  margin: 38px 0 12px;
  font-size: 0.96rem;
  font-weight: 700;
}

.document-content p,
.document-content li,
.document-content address {
  color: var(--graphite);
}

.document-content strong {
  color: var(--ink);
}

.document-content a {
  color: var(--vermilion);
}

.document-content ul {
  padding-left: 1.2em;
}

.document-content li + li {
  margin-top: 10px;
}

.document-content address {
  font-style: normal;
}

/* Support */

.support-page {
  min-height: calc(100svh - var(--header-height) - 108px);
  display: flex;
  align-items: center;
}

.support-brief {
  width: min(100%, 760px);
  padding-block: clamp(88px, 12vw, 150px);
}

.support-brief h1 {
  margin-bottom: 28px;
  font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  font-size: clamp(4rem, 9vw, 7.4rem);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.support-lede {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--graphite);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.support-contact {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin: 50px 0 22px;
  padding: 22px 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  text-decoration: none;
}

.support-contact span:first-child {
  color: var(--vermilion);
  font-size: 0.68rem;
  font-weight: 680;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-contact strong {
  color: var(--ink);
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

.support-contact span:last-child {
  color: var(--vermilion);
  font-size: 1.2rem;
}

.support-note {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--faint);
  font-size: 0.82rem;
}

/* Not found */

.not-found {
  min-height: 100svh;
  width: min(calc(100% - 48px), 850px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-inline: auto;
}

.not-found > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--graphite);
  font-size: 1.08rem;
}

.not-found .button {
  align-self: flex-start;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 72px 100px;
  }

  .board-preview {
    width: min(74vw, 470px);
  }

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

  .principles article {
    grid-template-columns: 50px 1fr;
  }

  .principles p {
    grid-column: 2;
  }

}

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  .hero,
  .manifesto,
  .principles,
  .closing,
  .document-page,
  .support-page,
  .not-found {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    min-height: 72px;
  }

  .wordmark {
    letter-spacing: 0.14em;
  }

  .site-header nav {
    gap: 16px;
  }

  .site-header nav a:first-child {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 17vw, 5rem);
  }

  .board-preview {
    width: min(90vw, 430px);
  }

  .manifesto {
    padding-block: 94px;
  }

  .principles article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .principles p {
    grid-column: 1;
  }

  .closing {
    padding: 42px 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    justify-content: center;
    padding-block: 28px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .privacy-summary,
  .privacy-summary ul {
    grid-template-columns: 1fr;
  }

  .support-page {
    min-height: auto;
  }

  .support-contact {
    grid-template-columns: 1fr auto;
  }

  .support-contact strong {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .support-contact span:last-child {
    grid-column: 2;
    grid-row: 1;
  }
}

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