/* intelligentlinks.org — 2026-09-17 */
:root {
  --paper: #f7f8f4;
  --paper-2: #eef3ec;
  --card: #ffffff;
  --ink: #0e1511;
  --ink-2: #3c4a42;
  --muted: #6d7a72;
  --line: #dde3dc;
  --green: #0b4d2c;
  --green-2: #127a3f;
  --glow: #22c55e;
  --lime: #3ddc6f;
  --grey: #c3c9c4;
  --amber: #f0a024;
  --red: #e0493f;
  --dark: #0c1712;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(14, 21, 17, .04), 0 8px 28px rgba(14, 21, 17, .06);
  --display: 'Archivo', system-ui, sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --hand: 'Caveat', cursive;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--display); font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

/* type */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-2); margin-bottom: 14px; }
.eyebrow.light, .eyebrow.lime { color: var(--lime); }
.display { font-family: var(--display); font-weight: 850; font-stretch: 68%; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; font-size: clamp(46px, 7.4vw, 92px); }
.display.sm { font-size: clamp(34px, 4.4vw, 54px); line-height: .94; margin-bottom: 18px; }
.display .green { color: var(--green-2); }
.serif { font-family: var(--serif); font-size: 19px; color: var(--ink-2); }
.small, .note { font-size: 13px; color: var(--muted); }
.note { font-style: italic; margin: 10px 2px 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; border: 1.5px solid transparent; border-radius: 6px; padding: 15px 22px; font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 11px 16px; font-size: 12px; }
.btn-dark { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(11, 77, 44, .22); }
.btn-dark:hover { background: #083d23; box-shadow: 0 10px 26px rgba(11, 77, 44, .3); }
.btn-line { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-lime { background: var(--lime); color: var(--dark); }
.btn-lime:hover { background: #5ae88a; }
.arr { display: inline-block; width: 14px; height: 10px; position: relative; transition: transform .25s var(--ease); }
.arr::before { content: ''; position: absolute; left: 0; right: 1px; top: 4px; height: 1.6px; background: currentColor; }
.arr::after { content: ''; position: absolute; right: 1px; top: 1px; width: 6px; height: 6px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); }
a:hover .arr, button:hover .arr { transform: translateX(4px); }
.play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(247, 248, 244, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.stuck { border-color: var(--line); box-shadow: 0 4px 20px rgba(14, 21, 17, .04); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-word { font-family: var(--serif); font-weight: 500; font-size: 27px; letter-spacing: -.02em; line-height: 1; }
.brand-tag { border-left: 1px solid var(--line); padding-left: 12px; font-size: 8.5px; line-height: 1.35; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.links { display: flex; gap: 30px; margin-left: auto; }
.links a { font-size: 14px; text-decoration: none; position: relative; padding: 6px 0; }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--green-2); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.links a:hover::after, .links a.on::after { transform: scaleX(1); }
.nav-cta { margin-left: 12px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.drawer { border-top: 1px solid var(--line); padding: 8px 24px 20px; display: grid; }
.drawer[hidden] { display: none; }
.drawer a { padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }

/* hero */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -10%; top: -20%; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(34, 197, 94, .1), transparent 62%); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero h1 { margin-bottom: 26px; font-size: clamp(42px, 5.3vw, 78px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .22s; }
@keyframes rise { to { transform: none; } }
.lede { font-size: 19px; max-width: 34em; color: var(--ink-2); animation: fade .8s .45s both; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 26px; animation: fade .8s .55s both; }
.maxims { font-family: var(--serif); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 18px; animation: fade .8s .7s both; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }

.net { position: relative; margin: 0; }
.net svg { width: 100%; height: auto; overflow: visible; }
.net .edge { stroke: #cfd6d0; stroke-width: 1; }
.net .edge.g { stroke: rgba(18, 122, 63, .45); stroke-width: 1.4; }
.net .edge.g.hot { stroke: var(--glow); stroke-width: 2.2; }
.net .edge.try { stroke: var(--amber); stroke-width: 1.3; stroke-dasharray: 4 4; }
.net .node { fill: var(--grey); transition: fill .2s; }
.net .node.r { fill: #d8b27a; }
.net .node.g { fill: var(--green-2); }
.net .halo { fill: rgba(34, 197, 94, .18); }
.net .pulse { fill: var(--glow); }
.net text { paint-order: stroke; stroke: rgba(247, 248, 244, .92); stroke-width: 4px; stroke-linejoin: round; }
.net .lbl { font: 700 11px var(--display); letter-spacing: .04em; text-transform: uppercase; fill: var(--ink); }
.net .sub { font: 400 10.5px var(--display); fill: var(--muted); }
.net .lbl.n { font-weight: 500; text-transform: none; letter-spacing: 0; fill: var(--ink-2); }
.net .hub-glow { fill: url(#hubGlow); animation: breathe 3.2s ease-in-out infinite; transform-origin: 320px 260px; transform-box: view-box; }
.net .hub { fill: var(--green); }
.net .hub-ring { fill: none; stroke: var(--glow); stroke-width: 2; opacity: .8; }
.net .hub-t { stroke: none; font: 850 17px var(--display); font-stretch: 75%; letter-spacing: .06em; fill: #fff; text-anchor: middle; }
.net .x { stroke: var(--red); stroke-width: 2; stroke-linecap: round; }
.net g.gn { cursor: pointer; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
.legend { position: absolute; top: 0; left: 0; list-style: none; margin: 0; padding: 12px 16px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; display: grid; gap: 4px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 0; flex: none; }
.dot.g { background: var(--glow); }
.dot.n { background: var(--grey); }
.dot.r { background: var(--amber); }
.scrawl { position: absolute; right: 0; bottom: -4px; margin: 0; font: 600 23px/1.05 var(--hand); color: var(--ink-2); transform: rotate(-9deg); text-align: right; }

/* bands */
.band { padding: 84px 0; border-top: 1px solid var(--line); }
.two { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* approach */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition-delay: .1s; }
.card.warn { border-color: #f1dcb4; transition-delay: .22s; }
.card.good { border-color: #cfe7d6; }
.card h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; margin-bottom: 16px; }
.ticks, .crosses { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.ticks li, .crosses li { position: relative; padding-left: 26px; opacity: 0; transform: translateX(-8px); transition: .45s var(--ease); }
.in .ticks li, .in .crosses li { opacity: 1; transform: none; }
.ticks li:nth-child(2), .crosses li:nth-child(2) { transition-delay: .12s; }
.ticks li:nth-child(3), .crosses li:nth-child(3) { transition-delay: .24s; }
.ticks li:nth-child(4), .crosses li:nth-child(4) { transition-delay: .36s; }
.ticks li:nth-child(5), .crosses li:nth-child(5) { transition-delay: .48s; }
.ticks li::before { content: ''; position: absolute; left: 3px; top: 5px; width: 11px; height: 6px; border: solid var(--green-2); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.crosses li::before { content: '!'; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fcebd0; color: #b8740c; font-size: 11px; font-weight: 800; text-align: center; line-height: 17px; }
.art { margin-top: auto; display: flex; align-items: center; gap: 14px; background: var(--paper-2); border-radius: 8px; padding: 12px 14px; }
.warn .art { background: #fbf5ea; }
.art svg { width: 112px; flex: none; }
.art .serif { font-size: 16px; margin: 0; line-height: 1.25; }
.art .land { fill: #c9d3cb; }
.warn .art .land { fill: #e4dccd; }
.bridge .deck, .bridge .cable { fill: none; stroke: var(--green); stroke-width: 2; }
.bridge .cable { stroke-width: 1.2; }
.bridge .walk { fill: none; stroke: var(--glow); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 90; animation: walk 3s linear infinite; }
@keyframes walk { from { stroke-dashoffset: 96; } to { stroke-dashoffset: 0; } }
.ladder .lad path { fill: none; stroke: #9a8a6c; stroke-width: 2; }
.ladder .lad { transform-origin: 72px 96px; animation: wobble 4s ease-in-out infinite; }
.ladder .cloud { fill: #fff; stroke: #d9cdb6; animation: drift 6s ease-in-out infinite alternate; }
@keyframes wobble { 50% { transform: rotate(3deg); } }
@keyframes drift { to { transform: translateX(-10px); } }

/* scoring */
.scoring { background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.weights { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 22px 0; }
.weights-h { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.weights ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.weights li { display: grid; grid-template-columns: 1fr 44px; font-size: 14px; position: relative; padding: 3px 8px; border-radius: 4px; z-index: 0; }
.weights li::before { content: ''; position: absolute; inset: 0; width: calc(var(--w) * 4%); background: #dcefe2; border-radius: 4px; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.weights.in li::before { transform: none; }
.weights b { text-align: right; }
.weights .small { margin: 0; }
.scores { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.scores .note { grid-column: 1 / -1; }
.score-card { background: var(--card); border: 1.5px solid #bfe0c9; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.score-card.pass { border-color: #f3d5a3; transition-delay: .15s; }
.score-card header { display: flex; justify-content: space-between; align-items: center; margin: -18px -18px 16px; padding: 12px 18px; background: #eef8f1; border-radius: var(--radius) var(--radius) 0 0; }
.score-card.pass header { background: #fdf6ea; }
.score-card h3 { font-size: 15px; }
.chip { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: #d6efdd; color: var(--green); }
.pass .chip { background: #fde3e1; color: #b3261e; }
.site { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.site .mark { width: 38px; height: 38px; border-radius: 6px; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-weight: 850; font-stretch: 75%; flex: none; }
.pass .site .mark { background: #1d3f91; color: #fff; }
.site b { display: block; font-size: 15px; }
.site small { color: var(--muted); font-size: 12px; word-break: break-all; }
.score-body { display: grid; gap: 16px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.bars li { display: grid; grid-template-columns: 1fr 26px 70px; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.bars b { text-align: right; color: var(--ink); font-weight: 600; }
.bars i { height: 6px; background: #eceeea; border-radius: 3px; position: relative; overflow: hidden; }
.bars i::after { content: ''; position: absolute; inset: 0; width: calc(var(--v) * 1%); border-radius: 3px; background: var(--green-2); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.bars i.mid::after { background: var(--amber); }
.bars i.lo::after { background: var(--red); }
.in .bars i::after { transform: none; }
.bars li:nth-child(2) i::after { transition-delay: .06s; }
.bars li:nth-child(3) i::after { transition-delay: .12s; }
.bars li:nth-child(4) i::after { transition-delay: .18s; }
.bars li:nth-child(5) i::after { transition-delay: .24s; }
.bars li:nth-child(6) i::after { transition-delay: .3s; }
.bars li:nth-child(7) i::after { transition-delay: .36s; }
.verdict { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: center; }
.gauge { position: relative; }
.gauge svg { transform: rotate(-90deg); }
.gauge circle { fill: none; stroke: #eceeea; stroke-width: 7; }
.gauge .val { stroke: var(--green-2); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.pass .gauge .val { stroke: var(--amber); }
.in .gauge .val { stroke-dashoffset: calc(100 - var(--v)); }
.gauge p { position: absolute; inset: 0; margin: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.gauge b { font-size: 32px; font-weight: 800; font-stretch: 80%; }
.gauge span { font-size: 11px; color: var(--muted); }
.result { border-radius: 8px; padding: 12px 14px; background: #eef8f1; }
.pass .result { background: #fdecea; }
.result small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.result strong { display: block; font-size: 28px; font-weight: 850; font-stretch: 72%; text-transform: uppercase; color: var(--green-2); line-height: 1.1; }
.pass .result strong { color: #c8352b; }
.result span { font-size: 12px; color: var(--ink-2); line-height: 1.35; display: block; }

/* method */
.method-head, .measures-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.method-head .serif, .measures-head > p { max-width: 30em; margin: 0 0 20px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { position: relative; }
.steps li:nth-child(2) { transition-delay: .12s; }
.steps li:nth-child(3) { transition-delay: .24s; }
.steps li:nth-child(4) { transition-delay: .36s; }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 25px; left: 130px; right: -10px; height: 1.5px; background: repeating-linear-gradient(90deg, var(--grey) 0 6px, transparent 6px 11px); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .5s; }
.steps li.in::after { transform: none; }
.ico { width: 52px; height: 52px; border-radius: 50%; background: var(--green); display: inline-grid; place-items: center; vertical-align: middle; transition: transform .4s var(--ease), background .3s; }
.steps li:hover .ico { transform: rotate(-12deg) scale(1.06); background: var(--green-2); }
.ico svg { width: 24px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.num { font-size: 30px; font-weight: 300; margin-left: 12px; vertical-align: middle; color: var(--ink-2); }
.steps h3 { font-size: 19px; letter-spacing: .06em; text-transform: uppercase; margin: 18px 0 8px; }
.steps p { font-size: 15px; color: var(--ink-2); }
.pull { margin: 48px 0 0; padding: 26px 0 0 28px; border-left: 3px solid var(--glow); max-width: 760px; }
.pull p { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; margin-bottom: 10px; }
.pull cite { font-style: normal; font-size: 13px; color: var(--muted); }

/* x-ray */
.xray { background: var(--paper-2); }
.xray-in { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 48px; align-items: start; }
.scan { display: flex; margin: 24px 0 10px; border: 1.5px solid var(--ink); border-radius: 7px; background: #fff; overflow: hidden; }
.scan input { flex: 1; min-width: 0; border: 0; padding: 0 14px; background: none; }
.scan input:focus { outline: none; }
.scan:focus-within { box-shadow: 0 0 0 3px rgba(34, 197, 94, .3); }
.scan .btn { border-radius: 0; box-shadow: none; }
.scan .btn:hover { transform: none; }
.xray-panels { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.xray-panels .note { grid-column: 1 / -1; }
.beam { position: absolute; inset: -8px; pointer-events: none; border-radius: 12px; overflow: hidden; z-index: 3; }
.beam::after { content: ''; position: absolute; left: 0; right: 0; height: 60px; top: -70px; background: linear-gradient(180deg, transparent, rgba(34, 197, 94, .28), transparent); border-bottom: 2px solid var(--glow); }
.scanning .beam::after { animation: sweep 1.1s var(--ease) 2; }
@keyframes sweep { to { top: 100%; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.panel h3 { font-size: 15px; margin-bottom: 14px; }
.donut-row { display: grid; grid-template-columns: 136px 1fr; gap: 16px; align-items: center; }
.donut { position: relative; }
.donut svg { transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 13; }
.donut .trk { stroke: #eceeea; }
.donut .seg { stroke-dasharray: 0 100; transition: stroke-dasharray 1.1s var(--ease), stroke-dashoffset 1.1s var(--ease); }
.donut .s1 { stroke: var(--glow); }
.donut .s2 { stroke: var(--grey); }
.donut .s3 { stroke: var(--amber); }
.donut p { position: absolute; inset: 0; margin: 0; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.donut b { font-size: 30px; font-weight: 800; font-stretch: 80%; }
.donut span { font-size: 10px; color: var(--muted); max-width: 70px; }
.kv { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13px; }
.kv li { display: grid; grid-template-columns: auto 1fr auto 38px; align-items: center; gap: 4px; }
.kv b { font-weight: 600; }
.kv span { color: var(--muted); text-align: right; }
.mini-h { font-size: 12px; color: var(--ink-2); margin: 18px 0 8px; }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 96px; align-items: end; }
.months span { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; cursor: default; }
.months i { display: block; height: calc(var(--h) * 4.6px); background: #cfd6d0; border-radius: 2px 2px 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease), background .2s; }
.months .hot i { background: var(--glow); }
.months span:hover i { background: var(--green); }
.months span:hover::before { content: attr(data-n); position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(var(--h) * 4.6px + 20px); font-size: 11px; font-weight: 700; }
.in .months i { transform: none; }
.months em { font-style: normal; font-size: 10px; color: var(--muted); text-align: center; margin-top: 4px; }
.gaps table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gaps th { text-align: left; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 6px 8px; background: var(--paper); }
.gaps td { padding: 11px 8px; border-bottom: 1px solid var(--line); }
.gaps tr { transition: background .2s; }
.gaps tbody tr:hover { background: #f4faf6; }
.lvl { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.lvl.hi { background: #fde6d0; color: #b85c0c; }
.lvl.md { background: #fbf0cf; color: #9a7108; }
.alert { margin: 14px 0 0; font-size: 12px; background: #fdf6e3; border: 1px solid #f1dfb0; border-radius: 6px; padding: 9px 12px; color: #7a5a0c; }

/* measures */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tiles li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, opacity .7s var(--ease); }
.tiles li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bfe0c9; }
.tiles li:nth-child(2) { transition-delay: .06s; }
.tiles li:nth-child(3) { transition-delay: .12s; }
.tiles li:nth-child(4) { transition-delay: .18s; }
.tiles li:nth-child(5) { transition-delay: .24s; }
.tiles li:nth-child(6) { transition-delay: .3s; }
.tiles li.in:hover { transition-delay: 0s; }
.tiles svg { width: 28px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.tiles svg * { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 1.2s var(--ease) .3s; }
.tiles li.in svg * { stroke-dashoffset: 0; }
.tiles h3 { font-size: 17px; line-height: 1.15; margin-bottom: 8px; }
.tiles p { font-size: 13.5px; color: var(--ink-2); margin: 0; }

/* emergency */
.emergency { background: var(--green); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.emergency::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .03) 0 14px, transparent 14px 28px); }
.em-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.em-in p { max-width: 38em; color: #cfe6d7; margin: 0; }
.em-in h2 { color: #fff; }
.swap { display: inline-block; color: var(--lime); position: relative; vertical-align: bottom; overflow: hidden; }
.swap span { display: inline-block; }
.swap span.out { animation: swapOut .35s var(--ease) forwards; }
.swap span.inn { animation: swapIn .45s var(--ease); }
@keyframes swapOut { to { transform: translateY(-100%); opacity: 0; } }
@keyframes swapIn { from { transform: translateY(100%); opacity: 0; } }

/* insights */
.more { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; margin-bottom: 20px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, opacity .7s var(--ease); }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bfe0c9; }
.post:nth-child(2) { transition-delay: .1s; }
.post:nth-child(3) { transition-delay: .2s; }
.post small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-2); font-weight: 700; margin-bottom: 10px; }
.post h2, .post h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15; margin-bottom: 12px; }
.post p { color: var(--ink-2); font-size: 15px; }
.read { margin-top: auto; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; }

/* contact */
.contact .mail a { color: var(--green-2); font-weight: 600; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.form small { font-weight: 400; color: var(--muted); }
.form input:not([type=radio]), .form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 6px; padding: 12px 13px; background: var(--paper); font-weight: 400; font-size: 16px; transition: border-color .2s, background .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--green-2); background: #fff; }
.form [aria-invalid="true"] { border-color: var(--red) !important; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { cursor: pointer; display: block !important; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 20px; font-weight: 500; font-size: 14px; transition: .2s; }
.pill input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; }
.form .btn { justify-self: start; }
.status { margin: 0; font-size: 15px; min-height: 1.4em; }
.status.ok { color: var(--green-2); font-weight: 600; }
.status.err { color: #b3261e; }
.form.sent { position: relative; }
.form.sent > *:not(.status) { opacity: .35; pointer-events: none; }

/* closing */
.closing { position: relative; color: #fff; min-height: 440px; display: flex; align-items: center; overflow: hidden; background: var(--dark); }
.peaks { position: absolute; inset: 0; width: 100%; height: 100%; }
.peaks .p1 { fill: #3a4a41; }
.peaks .p2 { fill: #1f2c25; }
.peaks .p3 { fill: #0e1813; }
.peaks .walker path { fill: none; stroke: #0a120e; stroke-width: 1.9; stroke-linecap: round; }
.peaks .walker circle { fill: #0a120e; }
.peaks .mist { animation: mist 26s ease-in-out infinite alternate; }
.peaks .m2 { animation-duration: 34s; animation-direction: alternate-reverse; }
.peaks .stars circle { fill: #fff; animation: twinkle 4s ease-in-out infinite; }
@keyframes mist { to { transform: translateX(160px); } }
@keyframes twinkle { 50% { opacity: .2; } }
.closing::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 23, 18, .9) 0%, rgba(12, 23, 18, .5) 38%, rgba(12, 23, 18, 0) 58%); }
.peaks .dawn { animation: dawn 9s ease-in-out infinite alternate; }
@keyframes dawn { to { opacity: .7; } }
.closing-in { position: relative; z-index: 1; padding: 72px 0; }
.closing h2 { margin-bottom: 16px; font-size: clamp(46px, 6.4vw, 80px); }
.closing-in p:not(.eyebrow) { color: #d6e2da; max-width: 30em; margin-bottom: 26px; }
.closing-side { position: absolute; right: 48px; bottom: 40px; z-index: 1; }
.spaced { margin: 0; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #cfdad3; line-height: 1.8; border-bottom: 2px solid var(--lime); padding-bottom: 12px; }

/* footer */
.foot { padding: 26px 0; border-top: 1px solid var(--line); font-size: 13px; }
.foot-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.brand-foot { font-family: var(--serif); font-size: 20px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a, .foot-mail { text-decoration: none; }
.foot nav a:hover, .foot-mail:hover { text-decoration: underline; }
.foot-mail { margin-left: auto; font-weight: 600; }
.foot-note { margin: 0; color: var(--muted); width: 100%; }

/* pages */
.page-head { border-top: 0; padding: 72px 0 40px; }
.page-head .serif { max-width: 34em; }
.lost .display { font-size: clamp(44px, 7vw, 84px); }
.article { border-top: 0; padding-top: 56px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--green-2); }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.prose { font-family: var(--serif); font-size: 21px; line-height: 1.6; }
.prose h2 { font-family: var(--display); font-size: 24px; font-weight: 800; margin: 1.6em 0 .5em; line-height: 1.2; }
.prose p { margin-bottom: 1.1em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--glow); font-size: 25px; line-height: 1.35; color: var(--green); }
.prose blockquote p { margin: 0; }
.article-cta { margin: 56px 0 40px; padding: 30px; background: var(--paper-2); border-radius: 12px; }
.article-cta h2 { font-weight: 850; font-stretch: 70%; text-transform: uppercase; font-size: 32px; margin-bottom: 8px; }
.more-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.more-posts a { padding: 18px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-family: var(--serif); font-size: 19px; line-height: 1.25; background: var(--card); transition: border-color .2s; }
.more-posts a:hover { border-color: var(--green-2); }
.more-posts small { display: block; font-family: var(--display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-2); font-weight: 700; margin-bottom: 6px; }

/* responsive */
@media (max-width: 1100px) {
  .links { gap: 20px; }
  .brand-tag { display: none; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .two, .xray-in { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 900px) {
  .links, .nav-cta { display: none; }
  .burger { display: block; }
  .hero-in { grid-template-columns: 1fr; }
  .net { max-width: 640px; margin-inline: auto; width: 100%; }
  .method-head, .measures-head { flex-direction: column; align-items: start; gap: 0; }
  .em-in { flex-direction: column; align-items: start; }
  .cards3 { grid-template-columns: 1fr; }
  .closing-side { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .band { padding: 60px 0; }
  .hero { padding-top: 32px; }
  .compare, .scores, .xray-panels, .row2, .more-posts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .legend { position: static; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 14px; background: none; border: 0; padding: 0; }
  .scrawl { position: static; transform: rotate(-3deg); margin-top: 10px; text-align: left; font-size: 21px; }
  .scan { flex-direction: column; }
  .scan input { padding: 14px; }
  .donut-row { grid-template-columns: 116px 1fr; }
  .brand-word { font-size: 23px; }
  .form { padding: 20px; }
  .prose { font-size: 19px; }
  .closing::after { background: rgba(12, 23, 18, .6); }
  .net .sub, .net .lbl.n { display: none; }
  .net .lbl { font-size: 17px; }
  .peaks .walker { display: none; }
}
@media (max-width: 420px) {
  .tiles { grid-template-columns: 1fr; }
  .donut-row { grid-template-columns: 1fr; justify-items: center; }
  .donut { width: 140px; }
  .kv { width: 100%; }
  .verdict { grid-template-columns: 88px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .ticks li, .crosses li { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .bars i::after, .weights li::before, .months i { transform: none; }
  .gauge .val { stroke-dashoffset: calc(100 - var(--v)); }
  .tiles svg * { stroke-dashoffset: 0; }
}
