:root {
  --color-newsprint: #f3f3f3;
  --color-paper: #ffffff;
  --color-rule: #d4d4d4;
  --color-caption: #6b6b6b;
  --color-graphite: #8a8a8a;
  --color-ink: #111111;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-sans: "Sora", ui-sans-serif, system-ui, sans-serif;
  --radius-card: 24px;
}

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

html {
  min-height: 100%;
  color: var(--color-ink);
  background: var(--color-newsprint);
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.625;
  background: var(--color-newsprint);
  color: var(--color-ink);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

a {
  color: var(--color-ink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page {
  flex: 1;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-footer,
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img,
.mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-ink);
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.site-footer {
  margin-top: auto;
  padding-top: 24px;
  font-size: 13px;
  line-height: 18px;
}

.disclaimer {
  color: var(--color-caption);
}

/* Home */

.home {
  padding: 80px 80px 48px;
}

@media (max-width: 1280px) {
  .home {
    padding-inline: 40px;
  }
}

.home-inner {
  width: min(1056px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
}

.home-letter {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  width: min(720px, 100%);
}

.hero .mark {
  width: 56px;
  height: 56px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 400;
  line-height: 80px;
  letter-spacing: -0.03em;
}

.tagline {
  margin: 0;
  width: 100%;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-caption);
}

.jobs {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  width: 100%;
  margin: 0;
  padding: 64px 0 8px;
  list-style: none;
}

.jobs li {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
}

.jobs li::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--color-graphite);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-ink);
  color: var(--color-paper);
  border-radius: var(--radius-card);
  padding: 8px 18px 8px 14px;
  text-decoration: none;
}

.store-badge:hover {
  text-decoration: none;
  opacity: 0.92;
}

.store-badge svg {
  width: 18px;
  height: 22px;
  flex-shrink: 0;
}

.store-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-align: left;
}

.store-copy small {
  font-size: 11px;
  line-height: 13px;
  letter-spacing: 0.02em;
}

.store-copy strong {
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.02em;
}

.caption {
  margin: 48px 0 20px;
  text-align: center;
  color: var(--color-caption);
  font-size: 16px;
  line-height: 26px;
}

.home .site-footer {
  width: 100%;
  flex-shrink: 0;
  margin-top: 0;
  padding-top: 32px;
}

/* Legal / support */

.legal {
  padding: 40px 24px 64px;
}

.legal-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.legal-header {
  padding-bottom: 64px;
}

.prose {
  width: min(680px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.prose h1,
.faq-layout h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 56px);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.03em;
}

.lede {
  margin: 12px 0 0;
  color: var(--color-caption);
}

.section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.04em;
  color: var(--color-caption);
}

.section p {
  margin: 0;
}

.prose a,
.faq-intro a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-layout {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  padding-top: 8px;
}

.faq-layout h1 {
  width: 320px;
  flex-shrink: 0;
}

.faq-list {
  flex: 1;
  min-width: 0;
}

.faq-intro {
  margin: 0 0 8px;
  color: var(--color-caption);
}

.faq-list details {
  border-bottom: 1px solid var(--color-rule);
  padding: 24px 0;
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--color-caption);
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 12px 0 0;
  color: var(--color-caption);
}

.legal .site-footer {
  width: 100%;
  padding-top: 64px;
}

@media (max-width: 1100px) {
  .jobs {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 40px;
  }

  .jobs li {
    width: min(320px, 100%);
  }

  .jobs li:not(:first-child)::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .home {
    padding: 48px 20px 40px;
  }

  .hero h1 {
    line-height: 56px;
  }

  .caption {
    margin: 32px 0 8px;
  }

  .store-badge {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .home .site-footer {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

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

  .legal {
    padding: 32px 20px 40px;
  }

  .legal-header {
    padding-bottom: 40px;
  }

  .faq-layout {
    flex-direction: column;
    gap: 16px;
  }

  .faq-layout h1 {
    width: 100%;
  }
}
