/* Breaking IT — www.breakingit.nl
   One stylesheet, no framework, no web fonts. Colours follow the BreakTest
   mark: deep navy, gold, and a signal red for the moment something breaks. */

:root {
  --bg: #050b15;
  --bg-2: #081120;
  --panel: #0b1728;
  --panel-2: #0f1e34;
  --line: #1a2a42;
  --line-2: #2a3f5f;
  --ink: #f3f6fb;
  --text: #b7c3d6;
  --muted: #8796ae;
  --gold: #f0c75f;
  --blue: #56b4f0;
  --red: #ff6464;
  --green: #45d9a1;
  /* BreakTest live dashboard palette, used inside the chart cards */
  --bt-bg: #1b1a1f;
  --bt-panel: #212027;
  --bt-line: #302f39;
  --bt-grid: #2b2a32;
  --bt-off: #2a2932;
  --bt-axis: #c8c8ce;
  --bt-label: #9b9ca4;
  --bt-title: #ededf0;
  --bt-blue: #83b4f3;
  --bt-green: #95c589;
  --bt-orange: #f0bd5e;
  --bt-red: #d35a4c;
  --bt-accent: #4561e5;
  --maxw: 1160px;
  --r: 14px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--gold); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: #ffe08f; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -0.022em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); font-weight: 750; }
h3 { font-size: 1.18rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 650; }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #17110a; padding: 0.6rem 1rem; z-index: 20; }
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.eyebrow {
  font: 600 0.78rem/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; color: var(--text); }
.head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.head h2 { margin-bottom: 1rem; }
.muted { color: var(--muted); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(5, 11, 21, 0.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ink); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; flex: none; border-radius: 7px; }
.brand i { font-style: normal; color: var(--gold); }
.nav { display: flex; gap: 0.2rem; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; font-weight: 550; padding: 0.45rem 0.7rem; border-radius: 8px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: var(--panel-2); }
.lang { font: 600 0.8rem/1 var(--mono); letter-spacing: 0.08em; color: var(--muted); text-decoration: none; padding: 0.5rem 0.55rem; border: 1px solid var(--line-2); border-radius: 8px; }
.lang:hover { color: var(--ink); border-color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.35rem; border-radius: 10px; border: 1px solid var(--line-2);
  background: transparent; color: var(--ink); font: 650 1rem/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  transition: border-color 0.15s, background-color 0.15s, transform 0.15s;
}
.btn:hover { color: var(--ink); border-color: var(--gold); transform: translateY(-1px); }
.btn-primary { background: var(--gold); border-color: var(--gold); color: #17110a; }
.btn-primary:hover { background: #ffd978; color: #17110a; }
.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.93rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.more { display: inline-block; margin-top: 1.6rem; font-weight: 600; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(2.6rem, 6vw, 5.2rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 100%;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 70% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 75% at 70% 20%, #000 0%, transparent 72%);
}
.hero .wrap { position: relative; display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.4rem; }
.hero:not(.solo) h1 { font-size: clamp(2.2rem, 4.3vw, 3.35rem); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { max-width: 36rem; }
.proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 2rem; padding: 0; list-style: none; font-size: 0.92rem; color: var(--muted); }
.proof li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 0.55rem; border-radius: 50%; background: var(--green); vertical-align: 0.15em; }
.crumbs { font: 500 0.82rem/1.4 var(--mono); color: var(--muted); margin-bottom: 1.6rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------- chart cards: the BreakTest live dashboard ---------- */
.chart {
  background: var(--bt-bg);
  border: 1px solid var(--bt-line); border-radius: var(--r);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden; color: var(--bt-title);
  container-type: inline-size;
}
.bt-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--bt-line); font: 650 0.8rem/1 var(--sans); white-space: nowrap; }
.bt-stop { background: var(--bt-red); color: #fff; padding: 0.45rem 0.7rem; border-radius: 7px; }
.bt-pause { width: 1.75rem; height: 1.75rem; flex: none; border-radius: 7px; background: var(--bt-accent) linear-gradient(90deg, transparent 38%, #fff 38% 46%, transparent 46% 54%, #fff 54% 62%, transparent 62%) center / 100% 42% no-repeat; }
.bt-pill { background: var(--bt-panel); border: 1px solid var(--bt-line); padding: 0.45rem 0.7rem; border-radius: 7px; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bt-time { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; font-variant-numeric: tabular-nums; }
.bt-time b { font-weight: 650; }
.bt-time i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #4fc08d; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.bt-time progress { width: 4.5rem; height: 6px; border: 0; border-radius: 3px; overflow: hidden; background: var(--bt-line); -webkit-appearance: none; appearance: none; }
.bt-time progress::-webkit-progress-bar { background: var(--bt-line); }
.bt-time progress::-webkit-progress-value { background: var(--bt-accent); }
.bt-time progress::-moz-progress-bar { background: var(--bt-accent); }

.bt-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; padding: 0.6rem 0.7rem 0; }
.bt-tiles div { position: relative; min-width: 0; background: var(--bt-panel); border: 1px solid var(--bt-line); border-radius: 10px; padding: 0.5rem 0.5rem 0.55rem 0.95rem; overflow: hidden; }
.bt-tiles div::before { content: ""; position: absolute; left: 0.5rem; top: 0.5rem; bottom: 0.5rem; width: 3px; border-radius: 2px; background: var(--bt-label); }
.bt-tiles .vu::before { background: var(--bt-blue); }
.bt-tiles .rq::before { background: var(--bt-green); }
.bt-tiles .rt::before { background: var(--bt-orange); }
.bt-tiles .bad::before { background: var(--bt-red); }
.bt-tiles dt { position: relative; font: 600 0.6rem/1.3 var(--sans); letter-spacing: 0.05em; text-transform: uppercase; color: var(--bt-label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-tiles dd { position: relative; margin: 0.1rem 0 0; font: 750 clamp(1.05rem, 3.3cqi, 1.3rem)/1.15 var(--sans); font-variant-numeric: tabular-nums; color: var(--bt-title); white-space: nowrap; }
.bt-tiles dd small { font-size: 0.6em; font-weight: 600; color: var(--bt-label); margin-left: 0.2em; }
.bt-tiles .bad dd { color: #f08b7f; }
.bt-tiles canvas { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; padding: 0; }

canvas { width: 100%; aspect-ratio: 16 / 9; }
canvas[data-chart] { aspect-ratio: 5 / 4; }
canvas[data-grid] { aspect-ratio: 8 / 5; }
.chart > canvas { padding: 0.5rem 0.5rem 0; }
.chart > canvas[data-grid] { padding: 0.7rem; }

.bt-table { width: calc(100% - 1.4rem); margin: 0.4rem 0.7rem 0; border-collapse: collapse; font: 500 0.8rem/1.3 var(--sans); font-variant-numeric: tabular-nums; color: var(--bt-title); }
.bt-table th { background: var(--bt-panel); font-weight: 700; padding: 0.4rem 0.6rem; text-align: right; }
.bt-table td { padding: 0.4rem 0.6rem; text-align: right; border-top: 1px solid var(--bt-line); }
.bt-table th:first-child, .bt-table td:first-child { text-align: left; white-space: nowrap; }
.bt-table i { display: inline-block; width: 0.65rem; height: 0.65rem; margin-right: 0.5rem; border-radius: 2px; vertical-align: -0.05em; }
.bt-table .b { background: var(--bt-blue); }
.bt-table .g { background: var(--bt-green); }

@container (min-width: 500px) {
  .bt-tiles { grid-template-columns: repeat(4, 1fr); }
}
@container (max-width: 600px) {
  .bt-time progress { display: none; }
}
@container (max-width: 440px) {
  canvas[data-chart]:not([data-compact]) { aspect-ratio: 1 / 1; }
  .bt-pill { display: none; }
  .bt-table { font-size: 0.7rem; }
  .bt-table th, .bt-table td { padding: 0.35rem 0.25rem; }
  .bt-table td:first-child { white-space: normal; }
  .bt-table i { margin-right: 0.3rem; }
}
@container (max-width: 330px) {
  .bt-bar { font-size: 0.72rem; gap: 0.35rem; }
  .bt-time [data-r="pct"] { display: none; }
}

.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; padding: 0.7rem 0.9rem 0; list-style: none; font-size: 0.82rem; color: var(--bt-label); }
.legend li::before { content: ""; display: inline-block; width: 0.65rem; height: 0.65rem; margin-right: 0.5rem; border-radius: 2px; background: currentColor; vertical-align: -0.05em; }
.legend .u::before { color: var(--bt-blue); }
.legend .t::before { color: var(--bt-orange); }
.legend .r::before { color: var(--bt-red); }
.chart figcaption { padding: 0.7rem 0.9rem 0.95rem; font-size: 0.84rem; line-height: 1.5; color: var(--bt-label); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stats div { background: var(--bg-2); padding: clamp(1.2rem, 3vw, 2.2rem) clamp(0.9rem, 3vw, 2rem); min-width: 0; }
.stats dt { font: 750 clamp(1.3rem, 6.2vw, 2.7rem)/1.05 var(--mono); letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats dt small { font-size: 0.5em; color: var(--gold); letter-spacing: 0; margin-left: 0.15em; }
.stats dd { margin: 0.55rem 0 0; font-size: 0.93rem; line-height: 1.45; color: var(--muted); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 1rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.5rem; color: var(--text); text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, background-color 0.15s;
}
a.card:hover { color: var(--text); border-color: var(--gold); background: var(--panel-2); transform: translateY(-2px); }
.card .q { font: 600 0.76rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem; }
.card h3 { margin-bottom: 0.55rem; }
.card p { font-size: 0.98rem; line-height: 1.6; }
.card .go { margin-top: auto; padding-top: 1.1rem; font-size: 0.92rem; font-weight: 600; color: var(--gold); }
.card > canvas { aspect-ratio: 8 / 5; }
.card > canvas { margin: -1.5rem -1.5rem 1.3rem; width: calc(100% + 3rem); max-width: none; border-bottom: 1px solid var(--line); background: var(--bt-bg); border-radius: var(--r) var(--r) 0 0; }

/* ---------- process ---------- */
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 1rem; }
.steps li { counter-increment: s; position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.4rem 1.4rem 4.2rem; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 1.3rem; top: 1.35rem; font: 700 1.05rem/1.3 var(--mono); color: var(--gold); }
.steps h3 { margin-bottom: 0.4rem; }
.steps h2 { font-size: 1.3rem; letter-spacing: -0.015em; margin-bottom: 0.5rem; }
.steps p { font-size: 0.98rem; }
.steps.long li { padding-block: 1.8rem; }
.steps.long p + p, .steps.long p + ul { margin-top: 0.8rem; }

/* ---------- split / prose ---------- */
.split { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.split > * { min-width: 0; }
.split h2 { margin-bottom: 1rem; }
.split p + p, .prose p + p { margin-top: 1rem; }
.ticks { list-style: none; padding: 0; margin-top: 1.3rem; display: grid; gap: 0.65rem; }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before { content: ""; position: absolute; left: 0.15rem; top: 0.52em; width: 0.7rem; height: 0.4rem; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.shot { border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: var(--panel); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.shot figcaption { padding: 0.7rem 1rem; font-size: 0.84rem; color: var(--muted); border-top: 1px solid var(--line); }

.test { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.test:first-of-type { border-top: 0; padding-top: 0; }
.test .q { font: 600 0.78rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.test h2 { margin-bottom: 1rem; }
.test p + p { margin-top: 1rem; }
.test h3 { margin-top: 1.6rem; font-size: 0.8rem; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- small CSS-only visuals ---------- */
.panel { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); padding: 1.3rem; font: 500 0.88rem/1.5 var(--mono); }
.panel-title { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.pipe { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.pipe li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); }
.pipe b { color: var(--ink); font-weight: 600; }
.pipe .ok { color: var(--green); }
.pipe .gate { border-color: var(--gold); display: block; }
.pipe .gate > div { display: flex; justify-content: space-between; gap: 1rem; }
.pipe .gate ul { list-style: none; padding: 0.6rem 0 0; margin: 0.6rem 0 0; border-top: 1px dashed var(--line-2); display: grid; gap: 0.3rem; color: var(--muted); }
.pipe .gate ul li { border: 0; padding: 0; background: none; }
.bars { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.bars li { display: grid; grid-template-columns: 6.2rem 1fr 4.6rem; gap: 0.7rem; align-items: center; color: var(--muted); }
.bars i { display: block; height: 0.6rem; border-radius: 3px; background: var(--blue); min-width: 3px; }
.bars span:last-child { text-align: right; color: var(--text); }
.bars .w1 { width: 2%; } .bars .w2 { width: 3%; } .bars .w3 { width: 9%; } .bars .w4 { width: 100%; background: var(--red); }
.bars .hot, .bars .hot span:last-child { color: var(--red); }
.viz-svg { width: 100%; height: auto; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.7rem; max-width: 52rem; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.3rem; position: relative; font-weight: 650; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-52%); font: 400 1.5rem/1 var(--mono); color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.3rem 1.2rem; }

/* ---------- CTA + footer ---------- */
.cta { text-align: center; background: radial-gradient(ellipse 70% 120% at 50% 110%, rgba(240, 199, 95, 0.14), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.cta p { max-width: 38rem; margin: 0 auto; }
.cta .btn-row { justify-content: center; }

.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; font-size: 0.93rem; color: var(--muted); }
.foot { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
.foot > div:first-child { grid-column: 1 / -1; }
.foot p { max-width: 24rem; margin-top: 0.9rem; }
.foot h2 { font: 600 0.74rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 0.45rem; }
.foot a:not(.brand) { color: var(--text); text-decoration: none; }
.foot a:not(.brand):hover { color: var(--gold); }
.legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; justify-content: space-between; font-size: 0.84rem; }
.legal a { color: var(--muted); }
.perf { font-family: var(--mono); color: var(--green); }

.details { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.5rem; }
.details dt { color: var(--muted); }
.details dd { margin: 0; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin: 2.4rem 0 0.8rem; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }

/* ---------- breakpoints ---------- */
@media (max-width: 1059px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 0; padding-top: 0.55rem; }
  .site-header .lang { margin-left: auto; }
  .nav { order: 3; width: calc(100% + 2.2rem); margin: 0.35rem -1.1rem 0; padding: 0 0.7rem 0.5rem; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
}
@media (max-width: 419px) {
  .details { grid-template-columns: 1fr; gap: 0.1rem; }
  .details dd { margin-bottom: 0.8rem; }
}
@media (min-width: 560px) {
  .grid.c2, .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps.long { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
  .hero.solo .wrap { grid-template-columns: minmax(0, 46rem); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats dt { font-size: clamp(1.5rem, 2.9vw, 2.7rem); }
  .grid.c3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .split, .test { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .test:nth-of-type(even) > :first-child { order: 2; }
  .foot { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .foot > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
