@font-face { font-family: "Inter Ledger"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/inter-latin.woff2") format("woff2"); }
/* Compact rules and a single, always-visible engine panel. */
.rules-section { padding: 32px 0 20px; }
.rules-card { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 32px; box-shadow: 0 1px 2px #16171903, 0 12px 36px #16171905; }
.rules-heading { margin-bottom: 28px; }
.rules-heading h2 { margin: 0; font-size: clamp(1.625rem,2.5vw,2rem); font-weight: 600; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
.rules-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: clamp(28px,4vw,56px); align-items: start; }
.rules-principles { list-style: none; margin: 0; padding: 0; }
.rules-principles li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 16px; padding: 20px 0; }
.rules-principles li:first-child { padding-top: 4px; }
.rules-principles li:last-child { padding-bottom: 4px; }
.rules-principles li+li { border-top: 1px solid #ececef; }
.rule-number { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #a1d82040; border-radius: 50%; background: linear-gradient(145deg,#e6ffb4,#caff69); box-shadow: inset 0 1px 0 #ffffffb3, 0 2px 4px #15200006; color: #35451b; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.rules-principles h3 { margin: 0 0 5px; color: #1d1d1f; font-size: 1rem; font-weight: 600; line-height: 1.45; letter-spacing: -.01em; }
.rules-principles p { margin: 0; max-width: 49ch; color: #6e6e73; font-size: 1rem; line-height: 1.55; text-wrap: pretty; }
.engine-card { min-width: 0; padding: 28px; border: 1px solid #303234; border-radius: 24px; color: #f5f5f7; background: radial-gradient(ellipse at 0 0,#ffffff09,transparent 65%),linear-gradient(145deg,#202223,#111213); box-shadow: inset 0 1px 0 #ffffff0d, 0 8px 24px #15161909; }
.engine-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.engine-heading h3 { margin: 0; font-size: 1.1875rem; font-weight: 500; line-height: 1.35; letter-spacing: -.015em; }
.engine-status { padding: 5px 9px; border: 1px solid #ffffff16; border-radius: 99px; background: #ffffff06; color: #b8b9bd; font-size: .75rem; line-height: 1.3; }
.engine-parameters { margin: 0; }
.engine-parameters>div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 16px 0; }
.engine-parameters>div+div { border-top: 1px solid #ffffff12; }
.engine-parameters>div:last-child { padding-bottom: 0; }
.engine-parameters dt { color: #a9abb0; font-size: .875rem; line-height: 1.5; }
.engine-parameters dd { margin: 0; color: #f5f5f7; font-size: .9375rem; font-weight: 500; line-height: 1.5; text-align: right; }
.engine-parameters .engine-budget { align-items: center; padding: 0 0 25px; }
.engine-budget dt { max-width: 13ch; }
.engine-budget dd { color: #c6ff73; font-size: 3rem; font-weight: 500; line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.engine-budget dd>span { font-size: 1.125rem; font-weight: 400; letter-spacing: 0; }
.engine-parameters a { display: inline-flex; align-items: center; gap: 7px; margin: -6px; padding: 6px; border-radius: 6px; color: inherit; text-decoration: none; transition: color .16s; }
.engine-parameters a:hover { color: #c6ff73; }
.engine-parameters a:focus-visible { outline: 2px solid #c6ff73; outline-offset: 3px; }
.engine-parameters a svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) {
  .rules-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .rules-principles p { max-width: 65ch; }
  .engine-budget dt { max-width: none; }
}
@media (max-width: 640px) {
  .rules-section { padding-top: 28px; }
  .rules-card { padding: 24px 20px; border-radius: 24px; }
  .rules-heading { margin-bottom: 24px; }
  .rules-principles li { gap: 12px; padding: 18px 0; }
  .engine-card { padding: 22px; border-radius: 20px; }
  .engine-heading { margin-bottom: 24px; }
  .engine-budget dt { max-width: 13ch; }
  .engine-budget dd { font-size: 2.625rem; }
}
@media (max-width: 380px) {
  .engine-parameters>div { gap: 12px; }
  .engine-parameters dd { font-size: .875rem; }
  .engine-budget dd { font-size: 2.5rem; }
}
.footer-connections { display: flex; gap: 22px; width: 100%; color: #797980; font-size: 12px; }
.site-footer { flex-wrap: wrap; }
@media (max-width: 620px) { .footer-connections { flex-wrap: wrap; gap: 8px 20px; } }

/* BLAST's boxed ledger: identity, narrative + links, compact result. */
.history-card { font-family: "Inter Ledger", var(--font); background: #fff; border-radius: 32px; padding: 28px; box-shadow: 0 1px 2px #1111110a, 0 12px 40px #1111110f; }
.history-card>h2 { font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; margin: 0 0 6px; }
.history-description { font-size: 16px; line-height: 1.55; color: #6f6f6f; margin: 0 0 22px; }
.history-list { margin: 0; padding: 0; list-style: none; }
.history-record { display: grid; grid-template-columns: 110px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid #11111114; }
.history-record:last-child { border-bottom: 0; }
.history-identity { min-width: 0; }
.history-identity>strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.history-identity time { display: block; font-size: 12px; font-weight: 400; line-height: 1.45; color: #6f6f6f; white-space: nowrap; }
.history-narrative { min-width: 0; font-size: 14px; line-height: 1.5; color: #6f6f6f; }
.history-narrative>strong { color: #171719; font-weight: 400; }
.history-links { color: #6f6f6f; font-size: 14px; }
.history-links button { display: inline-block; padding: 2px 0; min-height: 25px; border: 0; border-radius: 2px; background: transparent; color: #2f7a12; font-size: 14px; line-height: 1.5; }
.history-links button:hover { text-decoration: underline; text-underline-offset: 3px; }
.history-demo { font-size: 12px; color: #6f6f6f; }
.history-result { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.history-result>strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; color: #476a34; }
.history-result>span { display: block; font-size: 12px; font-weight: 400; line-height: 1.5; color: #6f6f6f; }
@media (max-width: 640px) {
  .history-card { padding: 20px; border-radius: 24px; }
  .history-record { grid-template-columns: 90px minmax(0,1fr); gap: 16px; align-items: center; }
  .history-result { grid-column: 2; text-align: left; }
  .history-identity>strong { font-size: 14px; }
  .history-identity time { white-space: normal; }
  .history-links button { min-height: 34px; }
}
@media (max-width: 380px) {
  .history-record { grid-template-columns: 78px minmax(0,1fr); gap: 16px 12px; }
  .history-result>span { display: block; margin-left: 0; }
}
