@font-face {
  font-family: "Fraunces";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-semibold.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #0e0b08;
  --surface: #1a1511;
  --border: #322a22;
  --text: #f6efe4;
  --secondary: #bdb2a3;
  --tertiary: #9c9182;
  --accent: #f5b942;
  --accent-dim: #3a2e15;
  --serif: "Fraunces", Georgia, serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--secondary);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.top,
main,
footer {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
}
.brand {
  color: var(--text);
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
}
.brand span {
  color: var(--accent);
}
.top nav a {
  color: var(--secondary);
  font-size: 15px;
  text-decoration: none;
  margin-left: 18px;
}

main {
  padding-top: 28px;
  padding-bottom: 32px;
}
.crumbs {
  font-size: 14px;
  color: var(--tertiary);
  margin: 0 0 14px;
}
.crumbs a {
  color: var(--tertiary);
}
h1,
h2,
h3 {
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
}
h1 {
  font-size: clamp(32px, 7vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(23px, 4.6vw, 29px);
  line-height: 1.2;
  margin: 40px 0 10px;
}
h3 {
  font-size: 18px;
  margin: 24px 0 6px;
}
.meta {
  color: var(--tertiary);
  font-size: 14px;
  margin: 12px 0 0;
}
.lede {
  color: var(--text);
  font-size: 19px;
  margin: 20px 0 0;
}
p,
ul,
ol {
  margin: 12px 0;
}
ul,
ol {
  padding-left: 22px;
}
li {
  margin: 7px 0;
}
strong {
  color: var(--text);
}

.answer {
  margin: 28px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--accent-dim);
  border-radius: 16px;
  background: var(--surface);
}
.answer p {
  margin: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 14px 0;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 9px 10px 9px 0;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--text);
  font-weight: 600;
}

.pair {
  margin: 26px 0;
}
.pair-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pair-images img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  background: var(--surface);
}
.pair figcaption {
  font-size: 14px;
  color: var(--tertiary);
  margin-top: 8px;
}

.try {
  margin: 44px 0 8px;
  padding: 24px 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.try h2 {
  margin: 0 0 8px;
}
.try p {
  margin: 0 0 18px;
}
.cta {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1206;
  font-weight: 700;
  text-decoration: none;
}
.try .store {
  display: inline-block;
  margin-left: 16px;
  color: var(--secondary);
  font-size: 15px;
}
.try small {
  display: block;
  margin-top: 14px;
  color: var(--tertiary);
  font-size: 13px;
}

.related {
  margin-top: 36px;
}
.related h2 {
  font-size: 21px;
  margin: 0 0 6px;
}
.related ul {
  list-style: none;
  padding: 0;
}

.index-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}
.index-list li {
  margin: 0 0 12px;
}
.index-list a {
  display: block;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
}
.index-list b {
  display: block;
  color: var(--text);
  font-size: 18px;
}
.index-list span {
  color: var(--secondary);
  font-size: 15px;
}

footer {
  margin-top: 24px;
  padding-top: 18px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--tertiary);
}
footer a {
  color: var(--tertiary);
  margin-right: 16px;
}
