/* CURVESIGHT — shared styles (home, token, report, chat, feed, modal) */
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/instrument-serif-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/instrument-serif-400i.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gloock'; src: url('/assets/fonts/gloock-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist-500.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/geist-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/geist-mono-500.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }

:root {
  --bg: #050505; --bg2: #0b0b0a; --card: rgba(18, 18, 16, .72);
  --fg: #ecebe6; --mut: #8f8d86; --dim: #5d5b55; --line: rgba(236, 235, 230, .11); --line2: rgba(236, 235, 230, .2);
  --acc: #f5aa42; --ok: #8be3a8; --ok2: #c8e08b; --warn: #f3c157; --bad: #ff6f5e; --info: #8f8d86;
  --serif: 'Instrument Serif', 'Times New Roman', serif; --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --pad: clamp(18px, 4vw, 56px); --max: 1360px; --r: 14px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 1.5px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.mut { color: var(--mut); }
.acc { color: var(--acc); }
.small { font-size: 12px; line-height: 1.6; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(139, 227, 168, .14); margin-right: 8px; vertical-align: 1px; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(139, 227, 168, 0); } }

/* ---------- field ---------- */
.field { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
main, .foot { position: relative; z-index: 1; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 18px var(--pad); transition: background .35s, border-color .35s, padding .35s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(5, 5, 5, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 500 16px/1 var(--sans); letter-spacing: -.01em; }
.brand .wm { font: 400 19px/1 'Gloock', var(--serif); letter-spacing: .015em; padding-top: 2px; }
.foot .brand .wm { font-size: 17px; }
.nav__links { display: flex; gap: 28px; margin: 0 auto; font-size: 13px; color: var(--mut); }
.nav__links a { transition: color .2s; position: relative; }
.nav__links a:hover { color: var(--fg); }
.nav__end { display: flex; align-items: center; gap: 14px; }
.ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--mut); transition: color .2s, background .2s; }
.ico svg { width: 16px; height: 16px; }
.ico:hover { color: var(--fg); background: rgba(255, 255, 255, .05); }
.nav__cta { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-style: italic; font-family: var(--serif); font-size: 17px; }
.nav__cta .circ { width: 28px; height: 28px; border: 1px solid var(--line2); border-radius: 50%; display: grid; place-items: center; font: 400 13px/1 var(--sans); font-style: normal; transition: background .2s, color .2s; }
.nav__cta:hover .circ { background: var(--fg); color: var(--bg); }
.nav__menu { display: none; width: 36px; height: 36px; position: relative; }
.nav__menu span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--fg); transition: transform .3s; }
.nav__menu span:first-child { top: 14px; } .nav__menu span:last-child { top: 21px; }
.nav.is-open .nav__menu span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__menu span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: .98; margin: 0; }
h1.display { font-size: clamp(48px, 6.6vw, 104px); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .12em; text-decoration-color: rgba(236, 235, 230, .5); }
h2.display { font-size: clamp(38px, 4.6vw, 70px); max-width: 13ch; }
.kick { font-size: 12px; color: var(--mut); margin: 0 0 22px; }
.lede { font-size: clamp(15px, 1.15vw, 17px); color: var(--mut); max-width: 46ch; margin: 22px 0 0; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font: italic 400 20px/1 var(--serif); border-bottom: 1px solid var(--line2); padding-bottom: 6px; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--fg); }
.link-arrow.is-mut { color: var(--mut); }

/* ---------- sections ---------- */
.sec { min-height: 100vh; min-height: 100svh; padding: 120px var(--pad) 80px; display: flex; align-items: center; position: relative; max-width: var(--max); margin: 0 auto; }
.col { width: min(560px, 46%); }
.col--l { margin-right: auto; }
.col--r { margin-left: auto; }
.center { margin: 0 auto; text-align: center; max-width: 720px; display: flex; flex-direction: column; align-items: center; }
.center h2.display { max-width: 16ch; }

/* hero */
.hero { align-items: center; }
.hero__copy { width: min(540px, 44%); margin-left: auto; }
.hero__cta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; }
.hero__foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 34px; display: flex; gap: 22px; font-size: 11.5px; color: var(--mut); align-items: baseline; }
.ticker { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; transition: opacity .3s; }
.ticker.is-out { opacity: 0; }
.hero__note { position: absolute; left: var(--pad); bottom: 70px; font-size: 10.5px; color: var(--dim); margin: 0; }

/* CA block (hero only) */
.ca { margin-top: 34px; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border: 1px solid var(--line2); border-radius: 12px; background: rgba(10, 10, 9, .78); backdrop-filter: blur(6px); max-width: 100%; min-height: 54px; }
.ca__lbl { font-size: 11px; color: var(--acc); flex: none; }
.ca__addr { font: 500 13px/1.4 var(--mono); color: var(--fg); word-break: break-all; flex: 1; min-width: 0; }
.ca__addr.is-soon { color: var(--mut); font-weight: 400; }
.ca__copy { flex: none; display: inline-flex; gap: 6px; align-items: center; font: 500 11px/1 var(--mono); padding: 9px 11px; border-radius: 8px; background: var(--fg); color: var(--bg); transition: background .2s; }
.ca__copy svg { width: 13px; height: 13px; }
.ca__copy.is-done { background: var(--ok); }

/* reads list */
.list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.list li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.list .n { font-size: 11px; color: var(--dim); padding-top: 4px; }
.list b { font: 400 22px/1.2 var(--serif); }
.list p { margin: 6px 0 0; color: var(--mut); font-size: 13.5px; max-width: 52ch; }

/* how */
.grid4 { display: grid; grid-template-columns: 1fr 1fr; margin: 40px 0 36px; border: 1px solid var(--line); background: rgba(5, 5, 5, .55); backdrop-filter: blur(3px); }
.cell { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cell:nth-child(2n) { border-right: 0; } .cell:nth-child(n+3) { border-bottom: 0; }
.cell .mono { font-size: 10.5px; margin: 0 0 10px; }
.cell b { font: 400 24px/1.1 var(--serif); }
.cell p:last-child { color: var(--mut); font-size: 13px; margin: 8px 0 0; }

/* notes */
.facts { display: grid; gap: 0; margin: 40px 0 22px; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 170px 1fr; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.fact .big { font: 400 48px/1 var(--serif); white-space: nowrap; }
.fact .vs, .fact .of { font: 400 22px/1 var(--serif); color: var(--mut); margin: 0 6px; }
.fact .of { margin: 0 0 0 2px; }
.fact p { margin: 0; color: var(--mut); font-size: 13.5px; }

/* feed */
.feed { margin: 36px 0 18px; border-top: 1px solid var(--line); }
.frow { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--line); transition: background .2s; }
.frow:hover { background: rgba(255, 255, 255, .03); }
.frow .art, .rep__art { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: #151513; }
.ph { display: grid; place-items: center; font: 500 12px/1 var(--mono); color: var(--mut); background: #151513; text-transform: uppercase; }
.frow b { display: block; font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow small { display: block; font: 400 11.5px/1.5 var(--mono); color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow__flags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.flag { font: 500 10.5px/1 var(--mono); padding: 5px 7px; border-radius: 999px; border: 1px solid var(--line2); color: var(--mut); white-space: nowrap; }
.flag.tone-ok { color: var(--ok); border-color: rgba(139, 227, 168, .3); }
.flag.tone-warn { color: var(--warn); border-color: rgba(243, 193, 87, .35); }
.flag.tone-bad { color: var(--bad); border-color: rgba(255, 111, 94, .4); }

/* chat */
.chat { margin: 36px 0 16px; border: 1px solid var(--line2); border-radius: var(--r); background: rgba(8, 8, 7, .86); backdrop-filter: blur(8px); overflow: hidden; }
.chat__head { display: flex; justify-content: space-between; font-size: 11px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.chat__log { height: 340px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; }
.msg { max-width: 92%; font-size: 13.5px; line-height: 1.55; }
.msg.bot { color: var(--fg); }
.msg.me { align-self: flex-end; background: rgba(236, 235, 230, .08); padding: 8px 12px; border-radius: 12px 12px 2px 12px; font-family: var(--mono); font-size: 12px; word-break: break-all; }
.msg.step { font: 400 11.5px/1.5 var(--mono); color: var(--mut); }
.msg.step::before { content: '› '; color: var(--acc); }
.msg .rep { margin-top: 4px; }
.msg a.more { display: inline-block; margin-top: 10px; font: italic 400 17px/1 var(--serif); border-bottom: 1px solid var(--line2); padding-bottom: 4px; }
.chat__chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 16px 12px; }
.chat__chips button { font-size: 12px; padding: 7px 11px; border: 1px solid var(--line2); border-radius: 999px; color: var(--mut); transition: color .2s, border-color .2s; }
.chat__chips button:hover { color: var(--fg); border-color: var(--fg); }
.chat__in { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat__in input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 10px 8px; font: 400 13px/1.4 var(--mono); outline: 0; }
.chat__in input::placeholder { color: var(--dim); }
.chat__in button { width: 38px; height: 38px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; flex: none; }
.chat__in button svg { width: 16px; height: 16px; }

/* token */
.tok { min-height: 90vh; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px; background: var(--fg); color: var(--bg); font-weight: 500; font-size: 14px; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.is-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line2); }
.btn.is-ghost:hover { border-color: var(--fg); }
.btn.is-acc { background: var(--acc); color: #120c03; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--bg); }
.foot__in { max-width: var(--max); margin: 0 auto; padding: 40px var(--pad) 46px; display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: center; }
.foot__links { display: flex; gap: 22px; font-size: 12px; color: var(--mut); justify-self: end; }
.foot__links a:hover { color: var(--fg); }
.foot p { grid-column: 1 / -1; margin: 0; }

/* ---------- report (scanner output) ---------- */
.rep { border: 1px solid var(--line2); border-radius: var(--r); background: rgba(9, 9, 8, .9); overflow: hidden; }
.rep__head { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.rep__tok { display: flex; gap: 12px; align-items: center; min-width: 0; }
.rep__tok b { display: block; font-weight: 500; font-size: 15px; }
.rep__tok .mono { font-size: 11px; color: var(--mut); }
.rep__links { display: flex; gap: 14px; font-size: 11.5px; color: var(--mut); align-items: center; }
.rep__links a:hover, .rep__copy:hover { color: var(--fg); }
.rep__copy { font: 500 11px/1 var(--mono); color: var(--mut); border: 1px solid var(--line2); padding: 6px 9px; border-radius: 999px; }
.rep__verdict { display: flex; gap: 20px; align-items: center; padding: 20px 18px; border-bottom: 1px solid var(--line); }
.rep__verdict h3 { font: 400 34px/1 var(--serif); margin: 2px 0 6px; }
.rep__verdict p { margin: 0; color: var(--mut); font-size: 13.5px; }
.rep__verdict .kick { margin: 0; font-size: 10.5px; }
.ring { --p: 50; --c: var(--ok); width: 76px; height: 76px; flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(236, 235, 230, .08) 0); position: relative; }
.ring::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: #0a0a09; }
.ring span { position: relative; font: 400 30px/1 var(--serif); }
.tone-ok .ring { --c: var(--ok); } .tone-ok2 .ring { --c: var(--ok2); } .tone-warn .ring { --c: var(--warn); } .tone-bad .ring { --c: var(--bad); }
.tone-bad h3 { color: var(--bad); } .tone-warn h3 { color: var(--warn); }
.rep__stats { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; border-bottom: 1px solid var(--line); }
.rep__stats div { padding: 12px 14px; border-right: 1px solid var(--line); }
.rep__stats div:last-child { border-right: 0; }
.rep__stats dt { font: 400 10.5px/1.3 var(--mono); color: var(--mut); }
.rep__stats dd { margin: 4px 0 0; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rep__rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); position: relative; }
.row::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--info); opacity: .5; }
.row.tone-ok::before { background: var(--ok); } .row.tone-warn::before { background: var(--warn); opacity: .9; } .row.tone-bad::before { background: var(--bad); opacity: 1; }
.row__n { font-size: 10.5px; color: var(--dim); padding-top: 3px; }
.row__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.row__top b { font: 400 20px/1.1 var(--serif); }
.row__v { font-size: 11.5px; color: var(--mut); text-align: right; }
.row.tone-bad .row__v { color: var(--bad); } .row.tone-warn .row__v { color: var(--warn); } .row.tone-ok .row__v { color: var(--ok); }
.row p { margin: 5px 0 0; color: var(--mut); font-size: 13px; }
.row__ev { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 11px; }
.row__ev a { color: var(--fg); border-bottom: 1px solid var(--line2); }
.row__ev a:hover { border-color: var(--acc); color: var(--acc); }
.rep__note { margin: 0; padding: 12px 18px; font-size: 11px; color: var(--dim); }
.rep.is-compact .rep__head { padding: 12px 14px; }
.rep.is-compact .row { padding: 10px 14px; }
.rep.is-compact .row__top b { font-size: 17px; }

/* ---------- modal + toast ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 18px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__box { width: min(440px, 100%); background: #0c0c0b; border: 1px solid var(--line2); border-radius: 18px; overflow: hidden; transform: translateY(10px); transition: transform .3s; max-height: calc(100vh - 36px); overflow-y: auto; }
.modal.is-open .modal__box { transform: none; }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.modal__head h3 { margin: 0; font: 400 26px/1 var(--serif); }
.modal__x { width: 32px; height: 32px; border-radius: 50%; color: var(--mut); }
.modal__x:hover { background: rgba(255, 255, 255, .06); color: var(--fg); }
.modal__body { padding: 18px 20px 22px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 80; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- page (token) ---------- */
.page { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; padding: 140px var(--pad) 90px; }
.page h1.display { text-decoration: none; font-size: clamp(46px, 6vw, 84px); }
.page h2 { font: 400 32px/1.1 var(--serif); margin: 56px 0 14px; }
.page p, .page li { color: var(--mut); }
.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); counter-reset: s; }
.steps li { padding: 16px 0 16px 46px; border-bottom: 1px solid var(--line); position: relative; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 18px; font: 400 11px/1 var(--mono); color: var(--acc); }
.steps b { color: var(--fg); font-weight: 500; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.kv div { padding: 16px; border-right: 1px solid var(--line); }
.kv div:last-child { border-right: 0; }
.kv dt { font: 400 11px/1 var(--mono); color: var(--mut); }
.kv dd { margin: 8px 0 0; font: 400 26px/1 var(--serif); }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::after { content: '+'; color: var(--mut); }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(5, 5, 5, .96); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 16px; }
  .nav.is-open .nav__links { display: flex; }
  .nav.is-open { background: rgba(5, 5, 5, .96); }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--fg); }
  .nav__menu { display: block; }
  .nav__cta { display: none; }
  .col, .hero__copy { width: 100%; max-width: 600px; margin: 0; }
  .sec { min-height: auto; padding: 110px var(--pad) 70px; }
  .hero { min-height: 100vh; min-height: 100svh; padding-bottom: 130px; align-items: flex-end; }
  .rep__stats { grid-template-columns: repeat(3, 1fr); }
  .rep__stats div:nth-child(3) { border-right: 0; }
  .rep__stats div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .hero__foot { font-size: 10.5px; gap: 12px; bottom: 24px; }
  .hero__note { display: none; }
  .ca { flex-wrap: wrap; gap: 8px 10px; padding: 12px; }
  .ca__addr { font-size: 12px; flex-basis: calc(100% - 90px); }
  .grid4 { grid-template-columns: 1fr; }
  .cell { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .cell:last-child { border-bottom: 0 !important; }
  .fact { grid-template-columns: 1fr; gap: 8px; }
  .frow { grid-template-columns: 36px 1fr; }
  .frow__flags { grid-column: 2; justify-content: flex-start; }
  .chat__log { height: 300px; }
  .rep__verdict { gap: 14px; }
  .rep__verdict h3 { font-size: 28px; }
  .ring { width: 62px; height: 62px; }
  .ring span { font-size: 24px; }
  .row { padding: 12px 14px; grid-template-columns: 26px 1fr; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__links { justify-self: start; flex-wrap: wrap; }
  .kv { grid-template-columns: 1fr; }
  .kv div { border-right: 0; border-bottom: 1px solid var(--line); }
}
.page h1 em { font-style: italic; color: var(--mut); }
