/* Disjoncto — disjoncto.com. World: "la planche de l'électricien" (see DESIGN.md). */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plexmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --graphite: #14171c; --slate: #1e232a; --slate-2: #272d36; --line-d: #343b46;
  --paper: #f5f3ee; --paper-2: #ece8df; --line-l: #d9d3c7; --white: #fbfaf7;
  --ink: #1b1f25; --ink-2: #5b6270; --ink-d2: #a3aab6;
  --amber: #ffb020; --amber-text: #9a6200; --copper: #c98a4b;
  --green: #2fbf71; --green-text: #1e8a4f; --red: #e5484d; --red-text: #c2363b;
  --r10: 10px; --r14: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --measure: 68ch;
  --pad: clamp(16px, 4vw, 40px);
  --max: 1240px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Archivo", system-ui, sans-serif; font-stretch: 100%; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--amber); }
::selection { background: rgba(255, 176, 32, .38); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: rgba(91, 98, 112, .45) transparent; }
.mono, code, kbd { font-family: "Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--amber); color: var(--graphite); padding: 10px 14px; border-radius: var(--r10); }

h1, h2, h3 { font-stretch: 116%; font-weight: 660; letter-spacing: -0.025em; line-height: 1.06; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: clamp(20px, 2vw, 24px); font-stretch: 108%; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 56ch; color: var(--ink-2); }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(20, 23, 28, .86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); color: var(--paper); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 680; font-stretch: 112%; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { text-decoration: none; padding: 10px 12px; border-radius: var(--r10); color: var(--ink-d2); font-size: 15.5px; font-weight: 520; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); background: rgba(255, 255, 255, .06); }
.top .grow { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r10); font: inherit; font-weight: 620; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: var(--graphite); }
.btn-amber:hover { background: #ffbd45; }
.btn-ghost { border-color: rgba(255, 255, 255, .18); color: var(--paper); background: transparent; }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .4); }
.on-paper .btn-ghost, .btn-line { border-color: var(--line-l); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink-2); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.menu-btn { display: none; }

/* Language picker (like NovaFisko: button + list) */
.lang { position: relative; }
.lang > button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: var(--r10); border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: var(--paper); font: inherit; font-size: 14.5px; font-weight: 560; cursor: pointer; }
.lang > button svg { width: 16px; height: 16px; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; min-width: 190px; background: var(--slate); border: 1px solid var(--line-d); border-radius: var(--r14); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); display: none; }
.lang.open ul { display: block; }
.lang li a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--paper); font-size: 15px; }
.lang li a span { color: var(--ink-d2); font-family: "Plex Mono", monospace; font-size: 12.5px; }
.lang li a:hover, .lang li a[aria-current="true"] { background: var(--slate-2); }
.foot .lang > button { border-color: var(--line-l); color: var(--ink); }
.foot .lang ul { bottom: calc(100% + 8px); top: auto; left: 0; right: auto; }

/* Hero */
.hero { background: var(--graphite); color: var(--paper); overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(48px, 8vw, 110px); padding-bottom: clamp(40px, 6vw, 90px); }
.hero h1 { color: var(--paper); }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { color: var(--ink-d2); margin-top: 22px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .fine { margin-top: 18px; font-size: 14px; color: var(--ink-d2); }
.stage { position: relative; aspect-ratio: 1.18 / 1; width: 100%; }
.stage svg { width: 100%; height: 100%; overflow: visible; }
.stage .replay { position: absolute; right: 0; bottom: 0; min-height: 36px; padding: 0 12px; font-size: 13.5px; border-radius: 8px; border: 1px solid var(--line-d); color: var(--ink-d2); background: transparent; cursor: pointer; font-family: inherit; }
.stage .replay:hover { color: var(--paper); border-color: var(--ink-d2); }
.legend-strip { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13.5px; color: var(--ink-d2); }
.legend-strip span { display: inline-flex; align-items: center; gap: 8px; }
.legend-strip i { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }

/* Sections */
section { position: relative; }
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec-dark { background: var(--graphite); color: var(--paper); }
.sec-dark .lead { color: var(--ink-d2); }
.sec-slate { background: var(--slate); color: var(--paper); }
.sec-white { background: var(--white); }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.head .lead { margin-top: 20px; }

/* Sheet: a drawing board with title block */
.sheet { background: var(--white); border: 1px solid var(--line-l); border-radius: var(--r14); box-shadow: 0 30px 60px -30px rgba(27, 31, 37, .28); overflow: hidden; }
.sheet .cart { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr .6fr; border-top: 1.2px solid var(--ink); font-size: 12.5px; }
.sheet .cart div { padding: 8px 12px; border-left: 1px solid var(--ink); }
.sheet .cart div:first-child { border-left: 0; }
.sheet .cart b { display: block; font-weight: 620; font-size: 13.5px; }
.sheet .cart small { color: var(--ink-2); font-size: 11px; }

/* Conversion (animation 2) */
.convert { height: 260vh; }
.convert .pin { position: sticky; top: 68px; height: calc(100vh - 68px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.convert .steps { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: s; }
.convert .steps li { padding: 14px 0 14px 0; border-top: 1px solid var(--line-l); color: var(--ink-2); transition: color .4s var(--ease); }
.convert .steps li b { display: block; color: var(--ink); font-weight: 620; font-stretch: 108%; }
.convert .steps li.on { color: var(--ink); }
.convert .steps li.on b { color: var(--amber-text); }
.convert .board { aspect-ratio: 1.45 / 1; }
.convert .board svg { width: 100%; height: 100%; }

/* Finding demo */
.finding { background: var(--white); border: 1px solid var(--line-l); border-radius: var(--r14); padding: 22px 24px; max-width: 620px; }
.finding .row { display: flex; gap: 14px; align-items: flex-start; }
.finding .sev { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.finding .msg { font-size: 17px; line-height: 1.45; }
.finding .art { color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.finding .fix { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; min-height: 42px; padding: 0 16px; border-radius: var(--r10); border: 1px solid rgba(255, 176, 32, .7); color: var(--amber-text); font-weight: 600; font-size: 15px; background: transparent; cursor: pointer; font-family: inherit; }
.finding.done .msg { color: var(--ink-2); text-decoration: line-through; text-decoration-color: rgba(91, 98, 112, .5); }
.finding .ok { display: none; margin-top: 14px; color: var(--green-text); font-weight: 620; align-items: center; gap: 8px; }
.finding.done .ok { display: inline-flex; } .finding.done .fix { display: none; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.rules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-l); }
.rules li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-l); font-size: 16px; }
.rules li span { color: var(--ink-2); font-family: "Plex Mono", monospace; font-size: 13px; white-space: nowrap; }

/* Devices */
.devices { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 3vw, 40px); }
.device { position: relative; }
.device figure { margin: 0; border-radius: var(--r14); overflow: hidden; background: var(--slate); aspect-ratio: 4 / 3; }
.device figure img { width: 100%; height: 100%; object-fit: cover; }
.device h3 { margin-top: 18px; }
.device p { color: var(--ink-d2); margin-top: 8px; max-width: 46ch; }
.device-list { display: grid; gap: 28px; align-content: start; }
.device-list .item { padding-top: 22px; border-top: 1px solid var(--line-d); }
.device-list .item p { color: var(--ink-d2); margin: 8px 0 0; }

/* Documents fan */
.docs-fan { display: flex; gap: 0; align-items: flex-end; justify-content: center; padding: 20px 0 10px; perspective: 1400px; }
.docs-fan .pg { width: clamp(90px, 12vw, 150px); aspect-ratio: 210 / 297; background: var(--white); border: 1px solid var(--line-l); border-radius: 4px; margin-left: -30px; box-shadow: 0 18px 30px -18px rgba(27, 31, 37, .35); transform: rotate(var(--r, 0deg)) translateY(var(--y, 0)); transition: transform .5s var(--ease); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.docs-fan .pg:first-child { margin-left: 0; }
.docs-fan:hover .pg { --y: -6px; }
.docs-fan .pg svg { flex: 1; width: 100%; }
.docs-fan .pg small { font-size: 10px; line-height: 1.2; color: var(--ink-2); font-weight: 560; }
.doclist { columns: 2; column-gap: 40px; margin: 28px 0 0; padding: 0; list-style: none; }
.doclist li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line-l); }

/* Index lists (trades, needs, tools) */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-l); }
.index a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 28px; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line-l); text-decoration: none; transition: padding .3s var(--ease), background .3s; }
.index a:hover { padding-left: 10px; padding-right: 10px; background: rgba(255, 176, 32, .07); }
.index a b { font-size: 21px; font-weight: 620; font-stretch: 110%; letter-spacing: -0.01em; }
.index a span { color: var(--ink-2); }
.index a svg { width: 20px; height: 20px; align-self: center; color: var(--amber-text); }
.sec-dark .index, .sec-dark .index a { border-color: var(--line-d); }
.sec-dark .index a span { color: var(--ink-d2); }
.sec-dark .index a svg { color: var(--amber); }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-l); border-radius: var(--r14); overflow: hidden; background: var(--white); }
.price { padding: 28px 26px 30px; border-left: 1px solid var(--line-l); display: flex; flex-direction: column; }
.price:first-child { border-left: 0; }
.price.main { background: var(--graphite); color: var(--paper); }
.price h3 { font-size: 20px; }
.price .amt { font-size: 44px; font-weight: 660; font-stretch: 112%; letter-spacing: -0.03em; margin: 16px 0 2px; line-height: 1; }
.price .amt small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.price.main .amt small, .price.main .per { color: var(--ink-d2); }
.price .per { color: var(--ink-2); font-size: 14.5px; }
.price ul { list-style: none; padding: 0; margin: 20px 0 24px; flex: 1; }
.price li { padding: 7px 0 7px 26px; position: relative; font-size: 15.5px; }
.price li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 2px; background: var(--amber); border-radius: 2px; }
.price-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 24px; border-top: 1px solid var(--line-l); }
.price-more div { padding: 18px 20px 0 0; }
.price-more b { display: block; font-weight: 620; }
.price-more span { color: var(--ink-2); font-size: 15px; }
.vat { color: var(--ink-2); font-size: 14px; margin-top: 18px; }

/* Article / docs prose */
.page-head { background: var(--graphite); color: var(--paper); padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 70px); }
.page-head .lead { color: var(--ink-d2); margin-top: 18px; }
.crumbs { font-size: 14px; color: var(--ink-d2); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-d2); }
.prose { max-width: var(--measure); font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 2.2em 0 .6em; }
.prose h3 { margin: 1.8em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1.4em 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-l); vertical-align: top; }
.prose th { font-weight: 620; background: var(--paper-2); }
.prose td.mono, .prose th.mono { white-space: nowrap; }
.note { border: 1px solid var(--line-l); background: var(--white); border-radius: var(--r10); padding: 16px 18px; font-size: 16px; color: var(--ink-2); margin: 1.6em 0; }
.note b { color: var(--ink); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 90px); }
.aside { position: sticky; top: 96px; align-self: start; font-size: 15px; }
.aside .box { border-top: 1px solid var(--line-l); padding-top: 18px; margin-bottom: 28px; }
.aside a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink-2); }
.aside a:hover { color: var(--ink); }
.meta { color: var(--ink-d2); font-size: 14.5px; margin-top: 20px; }

/* Blog list */
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.posts li { border-top: 1px solid var(--line-l); padding: 26px 0 30px; }
.posts a { text-decoration: none; display: block; }
.posts h3 { font-size: 24px; margin-bottom: 10px; }
.posts a:hover h3 { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: .2em; }
.posts p { color: var(--ink-2); margin: 0; }
.posts .tag { font-size: 13px; color: var(--amber-text); font-weight: 600; margin-bottom: 10px; display: block; }

/* Calculators */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line-l); border-radius: var(--r14); overflow: hidden; background: var(--white); }
.calc form { padding: 28px; display: grid; gap: 16px; align-content: start; }
.calc .out { padding: 28px; background: var(--graphite); color: var(--paper); display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14.5px; font-weight: 580; }
.field .hint { font-size: 13px; color: var(--ink-2); }
.field input, .field select { font: inherit; font-size: 16px; min-height: 46px; padding: 0 12px; border: 1px solid var(--line-l); border-radius: var(--r10); background: var(--white); color: var(--ink); font-family: "Plex Mono", monospace; }
.field input:focus, .field select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 176, 32, .25); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: inline-grid; grid-auto-flow: column; border: 1px solid var(--line-l); border-radius: var(--r10); overflow: hidden; }
.seg label { padding: 10px 14px; font-size: 15px; cursor: pointer; font-weight: 560; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--graphite); color: var(--paper); }
.out .big { font-family: "Plex Mono", monospace; font-size: 44px; line-height: 1; font-weight: 500; letter-spacing: -0.02em; }
.out .big small { font-size: 18px; color: var(--ink-d2); }
.out .lbl { font-size: 13.5px; color: var(--ink-d2); margin-bottom: 6px; }
.out .verdict { display: inline-flex; align-items: center; gap: 8px; font-weight: 620; }
.out .verdict.ok { color: var(--green); } .out .verdict.bad { color: #ff6b6f; }
.out .bar { height: 8px; background: var(--slate-2); border-radius: 4px; overflow: hidden; }
.out .bar i { display: block; height: 100%; background: var(--amber); width: 0; transition: width .5s var(--ease); }
.out .small { font-size: 14px; color: var(--ink-d2); }
.loads { display: grid; gap: 8px; }
.loads .ld { display: grid; grid-template-columns: 1fr 90px 64px 40px; gap: 8px; align-items: center; }
.loads .ld input, .loads .ld select { min-height: 42px; }
.icon-btn { min-width: 40px; min-height: 40px; border-radius: var(--r10); border: 1px solid var(--line-l); background: transparent; cursor: pointer; font: inherit; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--graphite); color: var(--paper); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { max-width: 18ch; }

/* Footer */
.foot { background: var(--paper-2); color: var(--ink); font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 64px; padding-bottom: 40px; }
.foot h4 { font-size: 14px; font-weight: 640; margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 4px 0; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .legal { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-l); padding-top: 22px; padding-bottom: 32px; color: var(--ink-2); font-size: 14px; }
.foot .notice { max-width: 46ch; color: var(--ink-2); margin-top: 14px; }

/* Cookie banner: accept / refuse / customise at the same level, nothing loaded before consent. */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-left: auto; background: var(--slate); color: var(--paper); border: 1px solid var(--line-d); border-radius: var(--r14); padding: 20px 20px 18px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); display: none; }
.cookies.show { display: block; }
.cookies h2 { font-size: 18px; font-stretch: 108%; margin-bottom: 8px; }
.cookies p { font-size: 15px; color: var(--ink-d2); margin: 0 0 14px; }
.cookies .acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cookies .acts .btn { min-height: 44px; padding: 0 10px; font-size: 15px; }
.cookies .acts .btn-c { background: var(--slate-2); color: var(--paper); border-color: var(--line-d); }
.cookies .acts .btn-c:hover { border-color: var(--ink-d2); }
.cookies .prefs { display: none; margin: 4px 0 14px; border-top: 1px solid var(--line-d); }
.cookies.custom .prefs { display: block; }
.cookies .prefs label { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-d); font-size: 15px; }
.cookies .prefs small { display: block; color: var(--ink-d2); font-size: 13px; }

/* Reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 1020px) {
  .hero .wrap, .split, .devices, .article-grid { grid-template-columns: 1fr; }
  .convert { height: auto; }
  .convert .pin { position: static; height: auto; grid-template-columns: 1fr; padding: 72px var(--pad); }
  .aside { position: static; }
  .prices { grid-template-columns: 1fr; }
  .price { border-left: 0; border-top: 1px solid var(--line-l); }
  .price:first-child { border-top: 0; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; background: var(--graphite); padding: 8px var(--pad) 18px; border-bottom: 1px solid var(--line-d); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .menu-btn { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border-radius: var(--r10); border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: var(--paper); cursor: pointer; }
  .top .btn-amber { display: none; }
  .posts { grid-template-columns: 1fr; }
  .index a { grid-template-columns: 1fr 24px; }
  .index a span { grid-column: 1; }
  .index a svg { grid-row: 1 / span 2; grid-column: 2; }
  .doclist { columns: 1; }
  .price-more { grid-template-columns: 1fr; }
  .cookies { padding: 16px 16px 14px; }
  .cookies p { font-size: 14px; margin-bottom: 12px; }
  .cookies .acts .btn { font-size: 14px; padding: 0 6px; }
  .sheet .cart { grid-template-columns: 1fr 1fr; }
  .sheet .cart div:nth-child(n+3) { display: none; }
  .loads .ld { grid-template-columns: 1fr 80px 40px; }
  .loads .ld .q { display: none; }
  .foot .cols { grid-template-columns: 1fr; }
}
