:root {
  --ink: #111111;
  --paper: #f7f7f2;
  --white: #ffffff;
  --muted: #5c5c56;
  --red: #c92f36;
  --lime: #d9f66f;
  --line: rgba(17, 17, 17, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.content-nav {
  width: min(1120px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.content-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--ink);
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.content-wordmark-symbol {
  position: relative;
  width: 29px;
  height: 29px;
  display: inline-block;
}

.content-wordmark-symbol i {
  position: absolute;
  inset: 4px 8px 4px 6px;
  border: 3px solid currentColor;
  border-radius: 4px;
  transform: rotate(-5deg);
}

.content-wordmark-symbol i + i {
  inset: 7px 4px 1px 10px;
  background: var(--paper);
  transform: rotate(5deg);
}

.content-nav nav,
.content-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.content-nav nav a,
.content-footer nav a {
  color: inherit;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.content-store-badge {
  justify-self: end;
  display: inline-flex;
  line-height: 0;
  transition: transform 180ms ease, filter 180ms ease;
}

.content-store-badge img {
  display: block;
  width: 120px;
  height: auto;
}

.content-store-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.content-breadcrumbs {
  margin-bottom: 42px;
}

.content-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.content-breadcrumbs li + li::before {
  content: "/";
  margin-right: 9px;
  color: rgba(17, 17, 17, 0.34);
}

.content-breadcrumbs a {
  color: inherit;
  text-underline-offset: 3px;
}

.content-shell {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 120px;
}

.article-header,
.page-header,
.guide-hub-header {
  max-width: 800px;
  margin-bottom: 56px;
}

.content-kicker {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-header h1,
.page-header h1,
.guide-hub-header h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.article-deck,
.page-deck,
.guide-hub-header .page-deck {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.article-body,
.page-body {
  font-size: 18px;
  line-height: 1.75;
}

.article-body h2,
.page-body h2 {
  margin: 62px 0 18px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.article-body h3,
.page-body h3 {
  margin: 38px 0 12px;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.article-body p,
.page-body p,
.article-body li,
.page-body li {
  color: #353531;
}

.article-body a,
.page-body a {
  color: #9f2028;
  font-weight: 650;
  text-underline-offset: 3px;
}

.article-body ul,
.article-body ol,
.page-body ul,
.page-body ol {
  padding-left: 26px;
}

.article-body li + li,
.page-body li + li {
  margin-top: 10px;
}

.content-callout {
  margin: 38px 0;
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--lime);
  border-radius: 18px;
}

.content-callout strong {
  display: block;
  margin-bottom: 7px;
}

.related-guides {
  margin-top: 72px;
  padding: 34px;
  color: var(--white);
  background: var(--ink);
  border-radius: 28px;
}

.related-guides h2 {
  margin-top: 0;
  font-size: 30px;
}

.related-guides ul {
  margin-bottom: 0;
}

.related-guides a {
  color: var(--white);
}

.guide-hub-list {
  margin-top: 84px;
}

.guide-hub-heading {
  max-width: 690px;
  margin-bottom: 34px;
}

.guide-hub-heading h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.guide-hub-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.guide-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-hub-card {
  min-height: 320px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.guide-hub-card:first-child {
  grid-column: 1 / -1;
  min-height: 280px;
  background: var(--lime);
}

.guide-hub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 17, 17, 0.28);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.1);
}

.guide-hub-topic {
  color: var(--red);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-hub-card h3 {
  max-width: 660px;
  margin: 32px 0 14px;
  font-size: clamp(29px, 4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.guide-hub-card p {
  max-width: 650px;
  margin: 0 0 30px;
  color: #45453f;
  font-size: 16px;
  line-height: 1.65;
}

.guide-hub-meta {
  width: 100%;
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(17, 17, 17, 0.14);
  font-size: 13px;
}

.guide-hub-meta strong {
  color: var(--red);
}

.legal-updated {
  color: var(--muted);
  font-size: 14px;
}

.content-footer {
  min-height: 210px;
  padding: 52px max(24px, calc((100% - 1120px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px 40px;
  color: var(--white);
  background: var(--ink);
}

.content-wordmark--footer {
  color: var(--white);
}

.content-footer p,
.content-footer > span {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.content-footer > span {
  justify-self: end;
  font-size: 12px;
}

@media (max-width: 720px) {
  .content-nav {
    width: calc(100% - 32px);
    grid-template-columns: 1fr auto;
  }

  .content-nav nav {
    display: none;
  }

  .content-shell {
    width: min(100% - 36px, 880px);
    padding: 64px 0 90px;
  }

  .article-header h1,
  .page-header h1,
  .guide-hub-header h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .content-breadcrumbs {
    margin-bottom: 34px;
  }

  .guide-hub-list {
    margin-top: 64px;
  }

  .guide-hub-grid {
    grid-template-columns: 1fr;
  }

  .guide-hub-card:first-child {
    grid-column: auto;
  }

  .guide-hub-card {
    min-height: 300px;
    padding: 26px;
  }

  .article-body,
  .page-body {
    font-size: 17px;
  }

  .related-guides {
    padding: 27px 24px;
  }

  .content-footer {
    grid-template-columns: 1fr;
    padding: 44px 24px;
  }

  .content-footer nav {
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .content-footer > span {
    justify-self: start;
  }
}
