@font-face { font-family: "MADE Display"; src: url("fonts/michroma-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "MADE Text"; src: url("fonts/barlow-semi-condensed-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "MADE Text"; src: url("fonts/barlow-semi-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --yellow: #f2d704;
  --bg: #ffffff;
  --text: #111111;
  --muted: #595959;
  --border: #dcdcdc;
  --code-bg: #f4f4f4;
  --focus: #111111;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "MADE Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

.topbar { background: #000; color: #fff; }
.topbar-in {
  max-width: 1504px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-title, .topbar-tag {
  font-family: "MADE Display", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.topbar-title { font-size: 13px; }
.topbar-tag { font-size: 10px; color: var(--yellow); }

.wrap {
  max-width: 1504px;
  margin: 0 auto;
  padding: 48px 32px 72px;
}

.kicker {
  margin: 0 0 10px;
  font-family: "MADE Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  max-width: 980px;
  font-family: "MADE Display", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  padding-bottom: 16px;
  background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 72px 4px no-repeat;
}
.lede { margin: 18px 0 0; font-size: 19px; }
.sponsor-note { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

section { margin-top: 44px; }
h2 {
  margin: 0;
  font-family: "MADE Display", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.toggle { display: inline-flex; background: #ececec; border-radius: 10px; padding: 4px; }
.toggle button, .copy {
  appearance: none;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  border: 0;
  padding: 7px 16px;
  border-radius: 7px;
  cursor: pointer;
}
.toggle button[aria-pressed="true"] { background: var(--yellow); }
.copy { background: #ececec; }
.copy:hover { background: #e0e0e0; }
button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.host {
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
}
.host[data-host="light"] { background: #f4f4f4; }
.host[data-host="dark"] { background: #000; border-color: #000; }
#mount { max-width: 1440px; margin: 0 auto; }

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

pre {
  margin: 0;
  padding: 16px 18px;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.55;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.86em; }
.note { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

.options { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; margin-top: 14px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.options th, .options td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.options tbody tr:last-child td { border-bottom: 0; }
.options th { background: #e9e9e9; font-weight: 700; }

.foot { margin-top: 48px; color: var(--muted); font-size: 14px; }

@media (max-width: 1099px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .topbar-in { padding: 14px 16px; }
  .wrap { padding: 28px 16px 48px; }
  h1 { font-size: 21px; }
  .lede { font-size: 17px; }
  .host { padding: 10px; border-radius: 12px; }
  pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  .options { font-size: 14px; }
  .options th, .options td { padding: 10px; }
  .options th:nth-child(3), .options td:nth-child(3) { display: none; }
}
