* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, ul, dl { margin: 0; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--tno-space-5); }

.nav { border-bottom: 1px solid var(--tno-border-subtle); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; gap: var(--tno-space-5); }
.nav-links a { text-decoration: none; color: var(--tno-fg-1); font-weight: var(--tno-w-bold); font-size: var(--tno-text-sm); }
.nav-links a:hover { color: var(--tno-fg-brand); }
.logo { height: 28px; width: auto; display: block; }

.hero { padding: var(--tno-space-9) var(--tno-space-5) var(--tno-space-4); }
.hero h1 { margin: var(--tno-space-4) 0 var(--tno-space-5); }
.hero .tno-lead { max-width: 64ch; }
.access { margin-top: var(--tno-space-7); }

.grid { display: grid; gap: var(--tno-space-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; gap: var(--tno-space-3); background: var(--tno-surface-raised); border: 1px solid var(--tno-border-subtle); border-radius: var(--tno-radius-lg); padding: var(--tno-space-5); transition: border-color var(--tno-dur-base) var(--tno-ease-standard), box-shadow var(--tno-dur-base) var(--tno-ease-standard); }
.card-link { text-decoration: none; color: var(--tno-fg-1); }
.card-link:hover { color: var(--tno-fg-1); border-color: var(--tno-border-brand); box-shadow: var(--tno-shadow-md); }
.card-link:focus-visible, a:focus-visible { outline: none; box-shadow: var(--tno-shadow-focus); border-radius: var(--tno-radius-sm); }
.card code { align-self: flex-start; overflow-wrap: anywhere; }

.panel { background: var(--tno-surface-muted); border-radius: var(--tno-radius-lg); padding: var(--tno-space-6); }
.panel h2 { margin-bottom: var(--tno-space-4); }

.section { padding-top: var(--tno-space-8); padding-bottom: var(--tno-space-4); }
.section > .tno-eyebrow { margin-bottom: var(--tno-space-3); }
.section > h2 { margin-bottom: var(--tno-space-5); }
.section > h3 { margin: var(--tno-space-7) 0 var(--tno-space-3); }
.section > p, .section > ul { max-width: 80ch; margin-bottom: var(--tno-space-4); }
#v1, #v2 { border-top: 1px solid var(--tno-border-subtle); margin-top: var(--tno-space-7); }

ul { padding-left: var(--tno-space-5); }
li { margin: var(--tno-space-1) 0; }
code { overflow-wrap: anywhere; }

.defs { display: grid; grid-template-columns: max-content 1fr; gap: var(--tno-space-2) var(--tno-space-5); max-width: 80ch; margin: var(--tno-space-5) 0; padding: var(--tno-space-5); border: 1px solid var(--tno-border-subtle); border-radius: var(--tno-radius-lg); }
.defs dt { font-family: var(--tno-font-mono); font-size: var(--tno-text-sm); color: var(--tno-fg-brand); padding-top: 2px; }
.defs dd { margin: 0; }
@media (max-width: 640px) { .defs { grid-template-columns: 1fr; } .defs dd { margin-bottom: var(--tno-space-3); } }

.example { display: flex; flex-direction: column; gap: var(--tno-space-2); max-width: 100%; margin: var(--tno-space-4) 0 var(--tno-space-5); padding: var(--tno-space-5); background: var(--tno-surface-muted); border-radius: var(--tno-radius-lg); }
.example a { font-family: var(--tno-font-mono); font-size: var(--tno-text-sm); overflow-wrap: anywhere; }

.footer { margin-top: var(--tno-space-9); background: var(--tno-surface-inverse); color: var(--tno-fg-on-dark); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--tno-space-2) var(--tno-space-5); min-height: 72px; padding-block: var(--tno-space-4); font-size: var(--tno-text-sm); }
.footer a { color: var(--tno-fg-on-dark); }
.footer a:hover { color: var(--tno-base2-2); }

.ig-wrap { position: relative; margin: var(--tno-space-5) 0 0; }
/* Clickable v1/v2 badges on top of the infographic image */
.ig-hot { position: absolute; width: 3%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; transition: box-shadow var(--tno-dur-fast) var(--tno-ease-standard); }
.ig-hot:hover, .ig-hot:focus-visible { box-shadow: 0 0 0 3px var(--tno-fg-brand); outline: none; }
.infographic { display: block; width: 100%; height: auto; background: linear-gradient(180deg, var(--tno-surface-canvas), var(--tno-surface-muted)); border-radius: var(--tno-radius-lg); }
/* v2 is the recommended version: TNO orange as signal colour; dark text on orange keeps contrast above 4.5:1 */
.pill { display: inline-block; vertical-align: middle; margin-left: var(--tno-space-2); padding: 2px 10px; border-radius: 999px; background: var(--tno-surface-accent); color: var(--tno-surface-inverse); font-family: var(--tno-font-sans); font-size: var(--tno-text-xs, 12px); font-weight: var(--tno-w-bold); letter-spacing: normal; text-transform: none; line-height: 1.5; }
.card-recommended, .panel-recommended { border: 2px solid var(--tno-surface-accent); }
.card-recommended:hover { border-color: var(--tno-surface-accent); }
.panel h3 { margin-bottom: var(--tno-space-4); }
.proscons { list-style: none; padding-left: 0; }
.proscons li { position: relative; padding-left: 28px; }
.proscons li::before { position: absolute; left: 0; top: 0; width: 20px; text-align: center; font-weight: var(--tno-w-bold); }
.proscons .pro::before { content: "+"; color: var(--tno-success); }
.proscons .con::before { content: "\2212"; color: var(--tno-danger); }
.nav-end { display: flex; align-items: center; gap: var(--tno-space-5); }
.nav-end .lang { text-decoration: none; color: var(--tno-fg-brand); font-weight: var(--tno-w-bold); font-size: var(--tno-text-sm); }
.nav-end .lang:hover { text-decoration: underline; }
.tno-eyebrow:has(.pill) { min-height: 26px; } .card .tno-eyebrow, .panel .tno-eyebrow { display: flex; align-items: center; min-height: 26px; } .tno-eyebrow .pill { margin-left: var(--tno-space-2); }
