/* Fable 5.2 vs Opus 5.5 — an AsumaCodes series. Blueprint edition: white linework on blueprint blue,
   square corners, 1.5px lines, no gradients, glows, blur or texture. Archivo for reading, Martian Mono for labels only. */
:root {
  --ground: #13307F;
  --ground-2: #183A92;
  --ground-deep: #0D2461;
  --ink: #FFFFFF;
  --ink-2: #D6E1FF;
  --ink-3: #A9BDF2;
  --line: #FFFFFF;
  --line-2: #7A92D8;
  --line-3: #2E4A9E;
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--ground); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(100% - 32px, 1120px); margin: 0 auto; }
.mono { font-family: var(--mono); font-stretch: 87.5%; font-weight: 500; font-size: 13px; color: var(--ink-3); }

header.top { border-bottom: 1px solid var(--line-2); background: var(--ground); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-stretch: 87.5%; font-size: 18px; }
.brand svg { width: 26px; height: 26px; }
nav.crumbs { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
nav.crumbs a { text-decoration: none; color: var(--ink-2); }
nav.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.hero { padding: 72px 0 40px; }
.kicker { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
h1 { margin: 18px 0 0; font-weight: 800; font-stretch: 75%; font-size: clamp(44px, 8vw, 104px); line-height: .92; letter-spacing: -.01em; text-transform: none; }
h1 .vs { font-weight: 200; font-stretch: 125%; color: var(--ink-3); font-size: .55em; vertical-align: .25em; margin: 0 .2em; }
.f, .o { color: var(--ink); }
.lede { max-width: 40em; margin: 24px 0 0; font-size: 19px; color: var(--ink-2); }

/* Dimension line: ticks at both ends, label in the middle. */
.dim { position: relative; display: flex; align-items: center; gap: 12px; margin: 40px 0 20px; }
.dim::before, .dim::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.dim span { font-family: var(--mono); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.dim .t { position: absolute; top: 50%; width: 1px; height: 14px; background: var(--line-2); transform: translateY(-50%); }
.dim .t.l { left: 0; } .dim .t.r { right: 0; }

.tests { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.tests li { border-bottom: 1px solid var(--line-2); }
.tests a.row, .tests .row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 22px 4px; text-decoration: none; }
.tests a.row:hover { background: var(--ground-2); }
.tests .n { font-family: var(--mono); font-size: 14px; color: var(--ink-3); }
.tests .name { font-weight: 700; font-stretch: 87.5%; font-size: 24px; line-height: 1.2; }
.tests .name small { display: block; font-weight: 400; font-stretch: 100%; font-size: 16px; color: var(--ink-2); margin-top: 4px; }
.tests .lvl { font-family: var(--mono); font-size: 12px; color: var(--ink-2); border: 1px solid var(--line-2); padding: 4px 8px; white-space: nowrap; }
.tests .soon .name { color: var(--ink-3); }

.panel { border: 1px solid var(--line); background: var(--ground-deep); padding: 22px 22px 20px; position: relative; }
.panel + .panel { margin-top: 18px; }
.panel h2, .panel h3 { margin: 0 0 10px; font-weight: 700; font-stretch: 87.5%; }
.panel h2 { font-size: 26px; } .panel h3 { font-size: 20px; }
.label { position: absolute; top: -10px; left: 16px; background: var(--ground); padding: 0 8px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
pre, code { font-family: var(--mono); font-stretch: 87.5%; }
pre { margin: 0; white-space: pre-wrap; word-break: break-word; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.prompt pre { color: var(--ink); font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.side { border: 1px solid var(--line); background: var(--ground-deep); display: flex; flex-direction: column; min-width: 0; }
.side-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.side-head b { font-weight: 800; font-stretch: 87.5%; font-size: 20px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--ink); background: var(--ink); color: var(--ground); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--ground); }
.frame { position: relative; aspect-ratio: 16 / 11; background: #fff; overflow: hidden; }
.frame iframe { position: absolute; top: 0; left: 0; width: 200%; height: 200%; border: 0; transform: scale(.5); transform-origin: 0 0; }
.side .notes { padding: 16px; color: var(--ink-2); font-size: 16px; }
.side .notes ul { margin: 0; padding-left: 18px; }
.side .notes li + li { margin-top: 6px; }
.answer { padding: 18px 16px; overflow: auto; max-height: 720px; }

.verdict { margin-top: 18px; }
.verdict p { margin: 0; color: var(--ink-2); max-width: 46em; }
.verdict p + p { margin-top: 10px; }
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-2); margin-top: 18px; }
.rules div { padding: 14px 16px; border-right: 1px solid var(--line-2); }
.rules div:last-child { border-right: 0; }
.rules b { display: block; font-stretch: 87.5%; font-size: 17px; }
.rules span { font-size: 14.5px; color: var(--ink-2); }
table.key { width: 100%; border-collapse: collapse; font-size: 15.5px; }
table.key th, table.key td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line-3); vertical-align: top; }
table.key th { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--ink-3); }
table.key td.c { font-family: var(--mono); font-size: 13px; white-space: nowrap; }

footer.foot { margin: 72px 0 0; border-top: 1px solid var(--line-2); padding: 24px 0 40px; }
footer.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr 1fr; }
  .rules div:nth-child(2) { border-right: 0; }
  .rules div:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
}
@media (max-width: 560px) {
  .hero { padding: 44px 0 24px; }
  .tests a.row, .tests .row { grid-template-columns: 44px minmax(0, 1fr); }
  .tests .lvl { grid-column: 2; justify-self: start; }
  .tests .name { font-size: 20px; }
  nav.crumbs { display: none; }
  .frame { aspect-ratio: 9 / 13; }
  .frame iframe { width: 100%; height: 100%; transform: none; }
}
