@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-var.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --base: #EEF3F7;
  --surface: #FFFFFF;
  --text: #0F1E36;
  --text-2: #4A5B75;
  --amber: #F2AE4E;
  --on-amber: #0B1530;
  --brass: #D4AE3C;
  --wax: #8E2B2B;
  --line: rgba(15, 30, 54, 0.12);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --base: #0A1428;
    --surface: #13203A;
    --text: #F3F5F9;
    --text-2: #9FB0CB;
    --line: rgba(243, 245, 249, 0.12);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: inherit; text-decoration-color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--brass); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -0.01em; }
.brand::before {
  content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%;
  background: var(--wax); margin-right: 9px; vertical-align: 1px;
}

main { padding: 40px 0 64px; }

h1 { font-size: 40px; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 12px; font-weight: 800; }
h2 { font-size: 24px; line-height: 1.25; margin: 48px 0 12px; font-weight: 750; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 6px; font-weight: 700; }
p, li { color: var(--text); }
.muted { color: var(--text-2); }
.lead { font-size: 20px; color: var(--text-2); margin: 0 0 24px; }
.eyebrow { color: var(--brass); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; margin: 0 0 8px; }

.hero { display: grid; gap: 32px; align-items: center; }
.hero img { width: 100%; height: auto; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 50% 0; border-radius: 20px; display: block; }
@media (min-width: 820px) {
  .wrap.wide { max-width: 1040px; }
  .hero { grid-template-columns: 1.1fr 0.9fr; }
}

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 12px; font-weight: 700;
  text-decoration: none; background: var(--amber); color: var(--on-amber);
}
.btn:hover { color: var(--on-amber); filter: brightness(1.05); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { color: var(--text); border-color: var(--brass); }

.cards { display: grid; gap: 14px; }
@media (min-width: 820px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card .num {
  display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--amber); color: var(--on-amber); font-weight: 800; font-size: 15px; margin-bottom: 12px;
}
.card p { margin: 0; color: var(--text-2); }

ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; }
ul.checks li:last-child { border-bottom: 0; }
ul.checks li::before {
  content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 10px; border-radius: 50%; background: var(--brass);
}

.note { border-left: 3px solid var(--brass); padding: 4px 0 4px 16px; color: var(--text-2); }

pre, code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; }
pre {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; overflow-x: auto; line-height: 1.5;
}
:not(pre) > code { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }

ol.steps { padding-left: 22px; }
ol.steps li { margin-bottom: 14px; }

table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text-2); font-weight: 700; }

.doc h2 { font-size: 21px; margin-top: 36px; }
.doc .updated { color: var(--text-2); font-size: 15px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--text-2); font-size: 15px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 10px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
