:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #121212;
  background: #f7f5f1;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(232, 220, 205, 0.55), transparent 34%),
    linear-gradient(180deg, #f8f5ef 0%, #ffffff 44%, #f4f1ec 100%);
}

a {
  color: inherit;
  font: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(70, 110, 255, 0.45);
  outline-offset: 3px;
}

.page-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.brand,
.nav-links a,
.button-link {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #ffffff;
  background: #111111;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 20px;
  color: #55504a;
  font-size: 14px;
  font-weight: 700;
}

.document {
  padding: 72px 0 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: #7a6655;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(46px, 8vw, 84px);
  font-weight: 800;
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

p,
li {
  color: #4c4741;
  font-size: 17px;
  line-height: 1.65;
}

.lede {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: 21px;
}

.meta {
  color: #756c64;
  font-size: 14px;
  font-weight: 700;
}

.content-block {
  padding: 34px 0;
  border-top: 1px solid rgba(18, 18, 18, 0.08);
}

.content-block:first-of-type {
  margin-top: 44px;
}

ul,
ol {
  padding-left: 24px;
}

.callout {
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 18px;
}

.callout + .callout {
  margin-top: 14px;
}

.callout p:last-child {
  margin-bottom: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: #ffffff;
  background: #111111;
  border-radius: 999px;
  font-weight: 800;
}

.button-link.secondary {
  color: #111111;
  background: rgba(245, 242, 239, 0.86);
  border: 1px solid rgba(18, 18, 18, 0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 36px;
  color: #55504a;
  font-size: 14px;
  font-weight: 700;
  border-top: 1px solid rgba(18, 18, 18, 0.08);
}

@media (max-width: 620px) {
  .nav-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .document {
    padding-top: 48px;
  }
}

/* Article pages (comparisons and guides) */
.article h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.04;
}

.article h2 {
  font-size: clamp(24px, 3.4vw, 34px);
}

.table-wrap {
  margin: 8px 0 24px;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 18px;
}

.table-wrap table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
  padding: 14px 16px;
  color: #4c4741;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.table-wrap th {
  color: #121212;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #faf8f5;
}

.table-wrap tr:last-child td {
  border-bottom: 0;
}

.table-wrap td:first-child {
  color: #121212;
  font-weight: 700;
}

.table-wrap tr.is-ours td {
  background: #f6f2ec;
}
