/* Nectaris remake: Rust simulator page. The thanks page's dark lunar palette. */

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: #14110c;
  color: #fff;
  font-family: "Segoe UI", system-ui, "Hiragino Sans", "Noto Sans JP", sans-serif;
}
a { color: #8cc4ff; }
a:hover, a:focus-visible { color: #d2e8ff; }

.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 18px 3vw 10px; }
.brand { color: #e9cb69; font-size: clamp(34px, 4vw, 54px); font-weight: 800; letter-spacing: 8px;
  line-height: 1; text-decoration: none; }
.page-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.page-tabs a { padding: 8px 16px; border: 1px solid #685b40; border-radius: 4px; color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.page-tabs a:hover, .page-tabs a:focus-visible { background: #2c261a; border-color: #ffdb59; }
.page-tabs a[aria-current="page"] { background: #43381f; border-color: #ffda76; color: #ffe498; }

main { padding: 0 3vw 40px; }
section { padding: 26px 0; border-top: 1px solid #3a3326; }
section.hero { border-top: none; }

h1 { font-size: clamp(40px, 5vw, 76px); font-weight: 800; line-height: 1.05; margin: 0 0 16px; color: #ffe498; }
h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; line-height: 1.2; margin: 0 0 12px; }
p, li, td { font-size: 17px; line-height: 1.6; }
p { margin: 0 0 12px; }
.kicker { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.lead { font-size: 19px; }

/* Every table row stays on one line; narrow windows scroll the table. */
.table-scroll { overflow-x: auto; margin: 10px 0 14px; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 17px; font-weight: 800; padding: 8px 24px 8px 0;
  border-bottom: 2px solid #685b40; white-space: nowrap; }
td { padding: 7px 24px 7px 0; border-bottom: 1px solid #3a3326; white-space: nowrap; }
th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; }
td.num { font-weight: 600; }
td.ratio { text-align: right; font-size: 21px; font-weight: 700; color: #ffe498; font-variant-numeric: tabular-nums; }

.headline td { font-size: 19px; font-weight: 600; vertical-align: middle; }
.headline td.big { font-size: clamp(34px, 3.4vw, 52px); font-weight: 800; line-height: 1.15; color: #ffe498;
  text-align: right; font-variant-numeric: tabular-nums; padding-right: 28px; }

td.check { font-weight: 700; }
td.when { font-weight: 700; color: #ffe498; }

code, pre { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
code { font-size: 0.95em; }
pre { margin: 8px 0 14px; padding: 14px 16px; border: 1px solid #685b40; border-radius: 6px; background: #1c1812;
  overflow-x: auto; font-size: 15px; line-height: 1.6; color: #fff; }
.note, .note li { font-size: 16px; }
