:root {
  color-scheme: light;
  --paper: #f5efe2;
  --ink: #29251e;
  --wine: #792d30;
  --line: #cfc0aa;
  --green: #25372d;
  font: 100%/1.6 Georgia, serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #a95026; outline-offset: 4px; }
h1, h2, p, figure { margin: 0; }
p + p { margin-top: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; font-weight: normal; margin-bottom: .85rem; }
code { overflow-wrap: anywhere; font-size: .92em; }
.privacy { max-width: 76ch; }
.privacy h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.1; }
.privacy h2 { font-size: 1.5rem; margin-top: 1.8rem; }
.privacy li + li { margin-top: .65rem; }
.masthead, nav, .section-head { display: flex; align-items: center; gap: 1rem; }
.masthead { justify-content: space-between; padding: 1rem max(5vw, 1rem); border-top: 4px solid var(--wine); }
.masthead a { text-decoration: none; }
.masthead a:hover { text-decoration: underline; }
.wordmark { font-weight: bold; font-size: 1.45rem; }
.wordmark span, .eyebrow, nav, .button, .download span, button, figcaption, footer {
  font-family: system-ui, sans-serif;
}
.wordmark span, .eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wordmark span { color: var(--wine); }
.hero { background: var(--green); color: var(--paper); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.hero-copy { align-self: center; padding: clamp(2rem, 5vw, 6rem); }
.hero .eyebrow { color: #e6ca9d; }
h1 { font-size: clamp(4.5rem, 11vw, 10rem); line-height: .8; font-weight: normal; margin: 1.85rem 0 1.75rem; }
h1 span { display: block; font-size: .46em; margin-top: .15em; font-style: italic; }
.hero-copy > p:not(.eyebrow) { max-width: 33rem; font-size: 1.12rem; }
.button, button { background: var(--wine); color: white; border: 0; padding: .75rem 1.15rem; font-weight: 700; font-size: 1rem; cursor: pointer; }
.button { display: inline-block; margin-top: 1.5rem; text-decoration: none; }
.button:hover, button:hover { background: #5d2125; }
button:disabled { opacity: .7; cursor: wait; }
figure { display: flex; flex-direction: column; min-width: 0; }
figure img { width: 100%; height: auto; min-height: 0; flex: 1 1 0; object-fit: cover; object-position: center; }
figcaption { padding: .6rem 1rem; color: #ffecd2; background: #1d2b23; font-size: .875rem; }
.content { width: min(64rem, 90%); margin: auto; }
.content > section { padding: clamp(2rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--line); }
.content .eyebrow { color: var(--wine); margin-bottom: .5rem; }
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; margin-top: 1.25rem; }
.download { display: flex; flex-direction: column; padding: 1.1rem 1.4rem; border: 1px solid var(--line); text-decoration: none; }
.download:hover { border-color: var(--wine); background: #eee2d0; }
.download strong { color: var(--wine); font-size: 1.25rem; }
.download span, .muted { color: #5d5044; }
.steps { padding-left: 1.4rem; }
.steps li + li { margin-top: .7rem; }
details { border-left: 3px solid var(--line); padding-left: 1rem; margin-bottom: 1rem; }
summary { cursor: pointer; font-weight: bold; }
details p { margin-top: .65rem; }
.section-head { justify-content: space-between; flex-wrap: wrap; margin-bottom: .85rem; }
.section-head h2 { margin: 0; }
#rank-status, table { margin-top: 1rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .65rem .8rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--green); color: white; }
th:last-child, td:last-child { text-align: right; }
td { overflow-wrap: anywhere; }
tbody tr:nth-child(even) { background: #eee5d6; }
footer { width: min(64rem, 90%); margin: auto; padding: 1.5rem 0; font-size: .875rem; }

@media (max-width: 46rem) {
  .masthead, nav { flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; }
  figure img { flex: auto; aspect-ratio: 16 / 10; }
}
