/* Clay at Home — тёплая гончарная мастерская: костяной фон, терракота, глина, песок, сланец.
   Шрифты: Fraunces (заголовки, OFL) + Figtree (текст, OFL), self-hosted. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-soft-normal.woff2) format("woff2-variations"), url(/fonts/fraunces-latin-soft-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-soft-italic.woff2) format("woff2-variations"), url(/fonts/fraunces-latin-soft-italic.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/fonts/figtree-latin-wght-normal.woff2) format("woff2-variations"), url(/fonts/figtree-latin-wght-normal.woff2) format("woff2"); }

:root {
  --bone: #F6F1E7; --paper: #FCFAF5; --sand: #E8D9BF; --sand-2: #F0E6D4; --line: #E0D2BC; --line-2: #CDBBA0;
  --terra: #B4532A; --terra-d: #8F3E1C; --tenmoku: #5E2711; --clay: #C98B62; --clay-l: #EBC9AE;
  --ink: #2B2420; --ink-2: #4F443C; --muted: #6A5E55; --slate: #4A5A63; --slate-d: #2F3B42; --celadon: #6E8F82; --celadon-l: #DCE6E0;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif; --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px; --wob: 18px 22px 16px 24px / 22px 16px 24px 18px; --wob2: 46% 54% 42% 58% / 55% 45% 55% 45%;
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 14px 30px -22px rgba(43,36,32,.55);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .25 0 0 0 0 .17 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --drip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V8Q95 8 94 12Q93 18 90 18Q87 18 87 12Q86 8 80 8Q74 8 73 11Q72 14 69 14Q66 14 65 10Q64 8 55 8Q49 8 48 13Q47 20 43 20Q39 20 39 13Q38 8 30 8Q24 8 23 11Q22 15 19 15Q16 15 15 11Q14 8 8 8Q2 8 0 8Z'/%3E%3C/svg%3E");
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; background: var(--bone) var(--grain); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra-d); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--tenmoku); }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 600; line-height: 1.12; letter-spacing: -.012em; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 650; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bone); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; margin-inline: auto; }
.muted { color: var(--muted); } .small { font-size: .85rem; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.demo-bar { background: var(--tenmoku); color: #fff; text-align: center; font-size: .82rem; padding: 6px 12px; }

/* ---------- кнопки: «стекающая глазурь» при наведении ---------- */
.btn { --fill: var(--tenmoku); position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .78em 1.3em; border: 2px solid var(--terra-d); border-radius: var(--wob); background: var(--terra); color: #fff; font: 700 1rem/1.15 var(--body); text-decoration: none; cursor: pointer; transition: color .3s, border-color .3s, transform .15s; white-space: nowrap; }
.btn::before { content: ""; position: absolute; z-index: -1; left: -2px; right: -2px; top: -2px; height: calc(100% + 22px); background: var(--fill); -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 18px) no-repeat, var(--drip) bottom / 100% 20px no-repeat; mask: linear-gradient(#000 0 0) top / 100% calc(100% - 18px) no-repeat, var(--drip) bottom / 100% 20px no-repeat; transform: translateY(calc(-100% - 2px)); transition: transform .55s cubic-bezier(.55, 0, .2, 1); }
.btn:hover, .btn:focus-visible { color: #fff; }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 1.1em; height: 1.1em; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); --fill: var(--terra); }
.btn-line:hover, .btn-line:focus-visible { color: #fff; border-color: var(--terra-d); }
.btn-bone { background: var(--bone); color: var(--tenmoku); border-color: var(--bone); --fill: var(--ink); }
.btn-bone:hover, .btn-bone:focus-visible { color: var(--bone); }
.btn-sm { padding: .55em .95em; font-size: .9rem; }
.more-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--terra-d); text-decoration: none; white-space: nowrap; }
.more-link .ic { transition: transform .2s; } .more-link:hover .ic { transform: translateX(4px); }

/* рукописное подчёркивание */
.scribble { position: relative; white-space: nowrap; display: inline-block; }
.scribble svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--terra); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
html.js .scribble path { animation: draw 1.1s .3s cubic-bezier(.6, 0, .3, 1) both; }
@keyframes draw { from { stroke-dashoffset: 100; } }

/* ---------- шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 231, .93); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 8px 24px -20px rgba(43, 36, 32, .6); }
.bar { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark svg { width: 38px; height: 38px; display: block; }
.logo-word { font: 700 1.42rem/1 var(--display); font-variation-settings: "SOFT" 100; letter-spacing: -.02em; }
.logo-word i { font-weight: 400; color: var(--terra); }
.search { position: relative; flex: 1; max-width: 440px; margin-left: auto; }
.search > .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; font: 500 .98rem var(--body); padding: .68em 1em .68em 2.6em; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(180, 83, 42, .15); }
.search-results { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(43, 36, 32, .5); padding: 6px; max-height: 70vh; overflow: auto; z-index: 60; }
.search-results.open { display: block; }
.search-results a { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.search-results a:hover, .search-results a.on { background: var(--sand-2); }
.search-results img, .search-results .sr-ic { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; background: #fff; flex: none; }
.search-results .sr-ic { background: var(--clay-l); border-radius: var(--wob2); }
.search-results b { display: block; font-size: .93rem; line-height: 1.25; }
.search-results span { font-size: .8rem; color: var(--muted); }
.head-cta { flex: none; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: var(--wob); background: transparent; cursor: pointer; flex: none; }
.nav-toggle .bars { display: grid; gap: 4px; } .nav-toggle i { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.site-header.open .nav-toggle i:nth-child(1) { transform: translateY(6px) rotate(45deg); } .site-header.open .nav-toggle i:nth-child(2) { opacity: 0; } .site-header.open .nav-toggle i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mainnav { border-top: 1px solid var(--line); }
.navrow { display: flex; align-items: center; gap: 4px; position: relative; }
.navrow > a, .mega-btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 13px; font: 650 .95rem var(--body); color: var(--ink-2); text-decoration: none; border: 0; background: none; cursor: pointer; border-radius: 10px; }
.navrow > a:hover, .mega-btn:hover, .navrow > a[aria-current] { color: var(--terra-d); background: rgba(232, 217, 191, .5); }
.navrow > a.hot { color: var(--terra-d); }
.navrow > a.hot::after { content: "new"; font: 700 .62rem var(--body); text-transform: uppercase; letter-spacing: .06em; background: var(--celadon); color: #fff; padding: 2px 6px; border-radius: 99px; }
.mega-btn { color: var(--ink); }
.mega-btn .ic { width: 1em; height: 1em; transition: transform .2s; }
.mega-wrap.open .mega-btn .ic { transform: rotate(180deg); }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 55; background: var(--paper) var(--grain); border: 1px solid var(--line); border-radius: 0 0 22px 22px; box-shadow: 0 30px 50px -30px rgba(43, 36, 32, .55); padding: 18px; grid-template-columns: 1fr 270px; gap: 18px; }
.mega-wrap.open .mega { display: grid; }
.mega-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.mega-cats a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.mega-cats a:hover, .mega-cats a[aria-current] { background: var(--sand-2); }
.mega-cats .mi { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--wob2); background: color-mix(in srgb, var(--c) 16%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); flex: none; }
.mega-cats b { display: block; font: 650 1.02rem var(--display); }
.mega-cats small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.mega-side { background: var(--sand-2); border-radius: 16px; padding: 14px; }
.mega-h { display: block; font: 650 1rem var(--display); margin-bottom: 6px; }
.mega-side ul { list-style: none; margin: 0 0 10px; padding: 0; }
.mega-side li a { display: flex; gap: 8px; align-items: center; padding: 6px 4px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .93rem; }
.mega-side li a:hover { color: var(--terra-d); }
.mega-side li .ic { color: var(--terra); width: 1.05em; height: 1.05em; }
.mega-tool { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--slate-d); color: var(--bone); text-decoration: none; }
.mega-tool:hover { color: #fff; background: var(--ink); }
.mega-tool small { display: block; opacity: .8; font-size: .8rem; }

/* ---------- общее: секции ---------- */
.section { padding: clamp(44px, 7vw, 84px) 0; }
.section + .section { padding-top: 0; }
.clay-band, .sand-band, .path-band { position: relative; }
.clay-band + .section, .sand-band + .section, .path-band + .section { padding-top: clamp(44px, 7vw, 84px); }
.clay-band { background: var(--sand-2); padding: clamp(44px, 7vw, 84px) 0; border-radius: 48px 56px 0 0 / 30px 36px 0 0; }
.clay-band + .section, .section + .clay-band { margin-top: 0; }
.sand-band { background: linear-gradient(var(--sand-2), var(--bone)); padding: clamp(44px, 7vw, 84px) 0 !important; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head > div { max-width: 720px; }
.section-head h2 { margin: 0 0 .25em; display: flex; align-items: center; gap: .4em; flex-wrap: wrap; }
.section-head h2 .ic { color: var(--terra); }
.section-head p { color: var(--ink-2); margin: 0; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: .45em; font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-d); margin-bottom: 12px; }
.kicker .ic { width: 1.3em; height: 1.3em; }
.lede { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 680px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(20px, 4vw, 40px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); margin-bottom: .35em; }
.hero h1 .scribble { color: var(--terra-d); font-style: italic; font-weight: 500; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.orbit { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; }
.orbit::before { content: ""; position: absolute; inset: 9%; border-radius: var(--wob2); background: radial-gradient(circle at 50% 45%, #fff 0, var(--sand-2) 55%, transparent 72%); }
.orbit::after { content: ""; position: absolute; inset: 13%; border: 2px dashed var(--line-2); border-radius: 50%; opacity: .7; }
.wheel-art { position: absolute; z-index: 1; left: 50%; top: 50%; width: 66%; transform: translate(-50%, -47%); overflow: visible; }
html.wheel-on .wheel-spin { animation: spin-dash 1.1s linear infinite; }
html.wheel-on .wheel-spin2 { animation: spin-dash2 .9s linear infinite; }
html.wheel-on .speck { animation: speck 1.2s linear infinite; }
html.wheel-on .splash circle { animation: splash 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
html.wheel-on .splash circle:nth-child(2n) { animation-delay: 1.2s; }
@keyframes spin-dash { to { stroke-dashoffset: -72; } }
@keyframes spin-dash2 { to { stroke-dashoffset: -32; } }
@keyframes speck { to { transform: translateX(34px); } }
@keyframes splash { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: .7; transform: scale(1); } }
.orbs { position: absolute; inset: 0; z-index: 2; }
.orb { --r: 43%; position: absolute; left: 50%; top: 50%; width: 104px; margin: -40px 0 0 -52px; display: grid; justify-items: center; gap: 4px; text-align: center; text-decoration: none; color: var(--ink); font: 650 .8rem/1.15 var(--body); transform: rotate(var(--a)) translate(var(--rr, 230px)) rotate(calc(-1 * var(--a))); }
.orb .ic { width: 50px; height: 50px; padding: 12px; border-radius: var(--wob2); background: var(--paper); color: color-mix(in srgb, var(--c) 82%, #000); border: 2px solid color-mix(in srgb, var(--c) 45%, var(--paper)); box-shadow: 0 10px 18px -12px rgba(43, 36, 32, .6); transition: transform .25s, background .25s, color .25s; }
.orb:hover .ic, .orb:focus-visible .ic { background: var(--c); color: #fff; transform: translateY(-3px) rotate(-6deg); }
.orb span { background: rgba(252, 250, 245, .85); padding: 1px 6px; border-radius: 8px; }
.trust { list-style: none; margin: 0; padding: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--wob); box-shadow: var(--shadow); }
.trust li { display: flex; gap: 12px; align-items: center; }
.trust .ic { width: 42px; height: 42px; padding: 9px; border-radius: var(--wob2); background: var(--clay-l); color: var(--tenmoku); }
.trust b { display: block; font: 650 1rem var(--display); }
.trust small { color: var(--muted); font-size: .86rem; }

/* ---------- плитки категорий и ситуаций ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--wob); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.tile:hover { transform: translateY(-4px) rotate(-.4deg); border-color: color-mix(in srgb, var(--c) 50%, var(--line)); box-shadow: 0 22px 36px -24px rgba(43, 36, 32, .6); color: var(--ink); }
.tile-ic { position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 4px; color: color-mix(in srgb, var(--c) 85%, #000); }
.tile-pot { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile-pot path { fill: color-mix(in srgb, var(--c) 20%, #fff); transition: fill .25s; }
.tile:hover .tile-pot path { fill: color-mix(in srgb, var(--c) 34%, #fff); }
.tile-ic .ic { position: relative; width: 32px; height: 32px; margin-top: 10px; }
.tile b { font: 650 1.16rem/1.2 var(--display); }
.tile > span:not(.tile-ic) { color: var(--ink-2); font-size: .9rem; line-height: 1.45; }
.tile small { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .8rem; color: var(--terra-d); }
.tiles.small { grid-template-columns: repeat(4, 1fr); max-width: 900px; margin: 24px auto 0; }
.needs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.need { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--wob); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s, border-color .2s; }
.need:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, var(--line)); color: var(--ink); }
.need > .ic { width: 48px; height: 48px; padding: 11px; border-radius: var(--wob2); background: color-mix(in srgb, var(--c) 15%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); }
.need b { display: block; font: 650 1.08rem var(--display); margin-bottom: 2px; }
.need small { display: block; color: var(--ink-2); font-size: .9rem; line-height: 1.45; }
.need em { display: inline-block; margin-top: 6px; font-style: normal; font-weight: 700; font-size: .8rem; color: var(--terra-d); }
.needs.big .need { padding: 22px; }

/* ---------- инструменты (карточки) ---------- */
.toolgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.toolgrid.big { grid-template-columns: repeat(3, 1fr); }
.toolcard { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--wob); background: var(--slate-d); color: var(--bone); text-decoration: none; position: relative; overflow: hidden; transition: transform .25s; }
.toolcard::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 120px; height: 120px; border-radius: var(--wob2); background: rgba(201, 139, 98, .25); transition: transform .4s; }
.toolcard:hover { transform: translateY(-4px); color: #fff; }
.toolcard:hover::after { transform: scale(1.3) rotate(20deg); }
.toolcard b { font: 650 1.12rem/1.2 var(--display); color: #fff; position: relative; z-index: 1; }
.toolcard span:not(.tc-ic) { font-size: .88rem; opacity: .85; line-height: 1.45; position: relative; z-index: 1; }
.tc-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--wob2); background: var(--terra); color: #fff; flex: none; }
.tc-ic .ic { width: 24px; height: 24px; }
.tool-cta { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 1.2em 0; border-radius: var(--wob); background: var(--slate-d); color: var(--bone); text-decoration: none; }
.tool-cta:hover { color: #fff; background: var(--ink); }
.tool-cta b { display: block; font: 650 1.05rem var(--display); color: #fff; }
.tool-cta small { display: block; opacity: .85; font-size: .88rem; }
.tool-cta > .ic { margin-left: auto; }
.tool-ctas { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 16px; margin-top: 24px; }

/* путь из 4 этапов */
.path-band { padding: clamp(44px, 7vw, 84px) 0; background: var(--slate-d) var(--grain); color: var(--bone); }
.path-band h2, .path-band .eyebrow { color: var(--bone); } .path-band .eyebrow { color: var(--clay-l); }
.path-band .more-link { color: var(--clay-l); }
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.path li { position: relative; padding: 22px 18px; border-radius: var(--wob); background: rgba(246, 241, 231, .07); border: 1px solid rgba(246, 241, 231, .18); }
.path li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 38px; width: 12px; height: 2px; background: var(--clay); }
.path .sn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--wob2); background: var(--terra); color: #fff; font: 700 1.1rem var(--display); margin-bottom: 10px; }
.path b { display: block; font: 650 1.15rem var(--display); color: #fff; margin-bottom: 4px; }
.path p { font-size: .92rem; opacity: .85; }
.path a { color: var(--clay-l); font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.path a:hover { color: #fff; }

/* ---------- карточки товаров: «глазурованная плитка» ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.grid.g2 { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.grid-in { margin: 1.4em 0; }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 12px 12px 16px 14px; box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 22px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 92%, #fff), var(--c)); -webkit-mask: var(--drip) top / 100% 100% no-repeat; mask: var(--drip) top / 100% 100% no-repeat; opacity: .95; transition: height .35s cubic-bezier(.5, 0, .2, 1); pointer-events: none; }
.card::after { content: ""; position: absolute; z-index: 3; left: 10%; top: 4px; width: 30%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .45); pointer-events: none; }
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 40px -26px rgba(43, 36, 32, .65); }
.card:hover::before { height: 32px; }
.card[hidden] { display: none; }
.card .ph { position: relative; display: block; aspect-ratio: 1; background: #fff; padding: 26px 18px 12px; }
.card .ph picture, .card .ph img { width: 100%; height: 100%; object-fit: contain; }
.badge { position: absolute; z-index: 3; left: 12px; top: 24px; background: var(--ink); color: var(--bone); font: 700 .7rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 8px 10px 8px 12px; }
.badge.inline { position: static; display: inline-block; margin-bottom: 10px; }
.card .body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; border-top: 1px dashed var(--line); }
.card .brand { font: 700 .72rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 1.04rem; line-height: 1.28; margin: 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--terra-d); }
.kspecs { margin: 4px 0 0; display: grid; gap: 4px; }
.kspecs div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 10px; padding: 4px 8px; border-radius: 8px; background: var(--sand-2); font-size: .82rem; }
.kspecs dt { color: var(--muted); font-weight: 600; white-space: nowrap; } .kspecs dd { margin: 0; font-weight: 700; text-align: right; color: var(--ink); }
.kspecs.row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 6px 0 12px; }
.card .blurb { font-size: .88rem; color: var(--ink-2); margin: 0; }
.bestfor { font-size: .84rem; color: var(--ink-2); margin: 2px 0 0; }
.bestfor b { color: var(--terra-d); margin-right: 4px; }
.bestfor.big { font-size: 1rem; }
.card .actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; flex-wrap: wrap; }
.card .actions .btn { flex: 1; }
.show-more { display: flex; margin: 26px auto 0; }
.empty, .empty-state { color: var(--muted); padding: 20px 0; }
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--clay) transparent; }
.rail .card { scroll-snap-align: start; }
@media (min-width: 900px) { .rail { grid-auto-columns: calc((100% - 54px) / 4); } }
.rail-btn { position: absolute; top: 38%; z-index: 4; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; color: var(--ink); }
.rail-btn.prev { left: -18px; } .rail-btn.prev .ic { transform: rotate(180deg); } .rail-btn.next { right: -18px; }
.rail-btn:hover { background: var(--ink); color: var(--bone); }

/* фильтр-чипсы */
.chipbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; padding: 14px; border-radius: var(--wob); background: var(--paper); border: 1px solid var(--line); }
.chipbar-l { font: 700 .78rem var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: 4px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 2px solid color-mix(in srgb, var(--c) 35%, var(--line)); background: var(--bone); font: 650 .88rem var(--body); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.fchip .ic { width: 1.05em; height: 1.05em; color: color-mix(in srgb, var(--c) 80%, #000); }
.fchip small { font-weight: 700; color: var(--muted); }
.fchip:hover { border-color: var(--c); }
.fchip.on { background: color-mix(in srgb, var(--c) 80%, #000); border-color: transparent; color: #fff; }
.fchip.on .ic, .fchip.on small { color: #fff; }
.chipbar .reset { border: 0; background: none; color: var(--terra-d); font-weight: 700; cursor: pointer; text-decoration: underline; }
.chipbar .count { margin-left: auto; font-size: .9rem; color: var(--ink-2); }

/* ---------- герои категорий/статей ---------- */
.cat-hero, .article-hero, .page-hero { position: relative; overflow: hidden; padding: 6px 0 clamp(30px, 5vw, 52px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--c, var(--clay)) 13%, var(--bone)), var(--bone)); }
.page-hero { --c: var(--clay); }
.hero-pot { position: absolute; right: max(-40px, calc((100vw - 1200px) / 2 - 60px)); top: 10px; width: clamp(180px, 30vw, 360px); height: auto; opacity: .9; pointer-events: none; }
.hero-pot path { fill: color-mix(in srgb, var(--c, var(--clay)) 20%, transparent); }
.cat-hero .wrap, .article-hero .wrap, .page-hero .wrap { position: relative; }
.cat-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: var(--wob2); background: var(--c); color: #fff; margin: 10px 0 14px; box-shadow: 0 12px 22px -14px var(--c); }
.cat-ic .ic { width: 30px; height: 30px; }
.cat-hero h1, .article-hero h1, .page-hero h1 { max-width: 860px; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.article-hero .kicker, .page-hero .kicker { margin-top: 10px; }
.meta { font-size: .88rem; color: var(--muted); margin: 0; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.quick a { padding: 7px 13px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 650; font-size: .9rem; }
.quick a:hover { border-color: var(--terra); color: var(--terra-d); }
.quick small { color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px; padding: 14px 0 6px; font-size: .84rem; color: var(--muted); position: relative; z-index: 1; }
.crumbs a { color: var(--ink-2); text-decoration: none; } .crumbs a:hover { color: var(--terra-d); text-decoration: underline; }
.crumbs span::before { content: "/"; margin: 0 6px 0 2px; color: var(--line-2); }
.hub { padding: 30px 0 60px; }
.hub-prose { margin-top: 48px; max-width: 820px; }
.hub-prose.top { margin: 0 0 30px; }
.hub-read { margin-top: 48px; }
.need-group { margin-bottom: 44px; }
.need-group .section-head { margin-bottom: 16px; }
.need-group h2 { font-size: 1.5rem; }

/* статьи-карточки */
.acards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.acard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--wob); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; }
.acard:hover { transform: translateY(-4px); color: var(--ink); }
.acard .art { position: relative; display: grid; place-items: center; height: 130px; background: color-mix(in srgb, var(--c) 12%, var(--sand-2)); color: color-mix(in srgb, var(--c) 85%, #000); overflow: hidden; }
.acard .art .pot-shape { position: absolute; width: 150px; height: 150px; bottom: -36px; right: 14%; transition: transform .5s; }
.acard .art .pot-shape path { fill: color-mix(in srgb, var(--c) 28%, #fff); }
.acard:hover .art .pot-shape { transform: translateY(-8px) rotate(-4deg); }
.acard .art > .ic { position: relative; width: 44px; height: 44px; }
.acard .txt { padding: 16px 18px 18px; }
.acard .kind { font: 700 .72rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--terra-d); }
.acard h3 { margin: 6px 0; font-size: 1.12rem; }
.acard p { color: var(--ink-2); font-size: .9rem; margin: 0; }

/* бренды */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.brand-tile { display: grid; justify-items: center; gap: 6px; padding: 22px 14px; text-align: center; border-radius: var(--wob); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.brand-tile:hover { border-color: var(--terra); }
.mono { display: grid; place-items: center; width: 58px; height: 58px; border-radius: var(--wob2); background: var(--c, var(--terra)); color: #fff; font: 700 1.3rem var(--display); }
.brand-tile small { color: var(--muted); }

/* ---------- товар ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); padding: 10px 0 30px; }
.gallery .main { position: relative; aspect-ratio: 1; background: #fff; border-radius: var(--wob); border: 1px solid var(--line); overflow: hidden; }
.gallery .main picture { position: absolute; inset: 0; padding: 26px; opacity: 0; transition: opacity .3s; }
.gallery .main picture.on { opacity: 1; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { width: 70px; height: 70px; flex: none; border: 2px solid var(--line); border-radius: 12px; background: #fff; padding: 4px; cursor: pointer; }
.thumbs button.on { border-color: var(--terra); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pinfo .brand { font: 700 .8rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--terra-d); text-decoration: none; }
.pinfo h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 8px 0 12px; }
.pinfo .blurb { font-size: 1.08rem; color: var(--ink-2); }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.tagrow a { display: inline-flex; gap: 6px; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: .85rem; font-weight: 650; text-decoration: none; color: color-mix(in srgb, var(--c) 75%, #000); background: color-mix(in srgb, var(--c) 13%, #fff); }
.tagrow .ic { width: 1em; height: 1em; }
.hl { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.hl li { position: relative; padding-left: 26px; font-weight: 600; }
.hl li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: var(--wob2); background: var(--terra); }
.buybox { margin: 18px 0; padding: 18px; border-radius: var(--wob); background: var(--sand-2); border: 1px solid var(--line); }
.buybox .btn { width: 100%; font-size: 1.05rem; }
.buybox p { font-size: .84rem; color: var(--muted); margin: 10px 0 0; }
.product-more { display: grid; gap: 30px; padding-bottom: 50px; max-width: 900px; margin-inline: auto; }
.product-more h2 { font-size: 1.5rem; }
.spec { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.spec th, .spec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 40%; font-weight: 650; color: var(--ink-2); background: var(--sand-2); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.facts { padding-left: 1.2em; } .facts li { margin-bottom: .45em; }
.src-note { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }

/* ---------- статьи ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(24px, 4vw, 56px); padding: 34px 0 60px; }
.prose { min-width: 0; }
.prose h2 { margin-top: 1.7em; padding-bottom: .2em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5c18-4 34-3 52-1s38 2 66-2' fill='none' stroke='%23C98B62' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 90px 8px no-repeat; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--clay); background: var(--paper); border-radius: 0 14px 14px 0; font-family: var(--display); font-size: 1.1rem; }
.prose blockquote cite { display: block; font: 600 .85rem var(--body); color: var(--muted); margin-top: 6px; font-style: normal; }
.tldr, .verdict, .method { margin: 0 0 1.6em; padding: 18px 20px; border-radius: var(--wob); background: var(--paper); border: 1px solid var(--line); }
.tldr { background: var(--celadon-l); border-color: transparent; }
.tldr > b, .verdict > b, .method > b { display: block; font: 650 1.1rem var(--display); margin-bottom: 6px; }
.tldr ul { margin: 0; }
.verdict { background: var(--slate-d); color: var(--bone); border: 0; margin-top: 2em; }
.verdict > b { color: #fff; } .verdict a { color: var(--clay-l); }
.method { border-style: dashed; border-width: 2px; }
.method p:last-child { margin: 0; font-size: .95rem; color: var(--ink-2); }
.callout { display: flex; gap: 12px; margin: 1.4em 0; padding: 16px 18px; border-radius: var(--wob); background: var(--celadon-l); }
.callout > .ic { color: #3E5F53; margin-top: 2px; }
.callout b { display: block; margin-bottom: 2px; }
.callout.warn { background: #F7E2D3; } .callout.warn > .ic { color: var(--terra-d); }
.callout .src { display: block; margin-top: 6px; font-size: .8rem; color: var(--muted); }
.callout > div > :last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); }
.table-wrap + .src-note { margin-top: -14px; margin-bottom: 1.4em; }
.table-cap { margin: 0; padding: 10px 14px; font-weight: 700; border-bottom: 1px solid var(--line); }
.t { width: 100%; border-collapse: collapse; font-size: .93rem; }
.t th, .t td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.t thead th { background: var(--sand-2); font-weight: 700; white-space: nowrap; }
.t tbody tr:last-child td, .t tbody tr:last-child th { border-bottom: 0; }
.t caption { caption-side: top; text-align: left; padding: 10px 12px; font-size: .84rem; color: var(--muted); }
.yes { color: #2F6B3E; font-weight: 800; } .no { color: #A3321A; font-weight: 800; } .maybe { color: #8A6A12; font-weight: 800; }
.steps { list-style: none; padding: 0 !important; margin: 1.4em 0; display: grid; gap: 14px; }
.steps > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px; border-radius: var(--wob); background: var(--paper); border: 1px solid var(--line); margin: 0; }
.steps .sn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--wob2); background: var(--terra); color: #fff; font: 700 1.15rem var(--display); }
.steps b { display: block; font: 650 1.08rem var(--display); margin: 8px 0 4px; }
.steps p { margin: 0; }
.step-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.step-picks a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--sand-2); text-decoration: none; color: var(--ink); font-size: .85rem; font-weight: 600; }
.step-picks img { width: 30px; height: 30px; object-fit: contain; border-radius: 50%; background: #fff; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; padding: 15px 46px 15px 18px; font: 650 1.03rem var(--display); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--body); color: var(--terra); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 18px 16px; color: var(--ink-2); }
.sources { font-size: .88rem; word-break: break-word; }
.aside { min-width: 0; }
.aside .box { position: relative; margin-bottom: 16px; padding: 16px 18px; border-radius: var(--wob); background: var(--paper); border: 1px solid var(--line); }
.aside .toc { position: static; }
.aside h3 { font-size: 1rem; margin-bottom: 8px; }
.aside ul { list-style: none; margin: 0; padding: 0; }
.aside li a { display: flex; gap: 8px; align-items: center; padding: 5px 0; color: var(--ink-2); text-decoration: none; font-size: .92rem; line-height: 1.35; }
.aside li a:hover { color: var(--terra-d); }
.aside li .ic { color: var(--terra); width: 1.05em; height: 1.05em; }

/* рейтинг best-of */
.rank { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; margin: 22px 0; padding: 22px; border-radius: var(--wob); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rank .num { position: absolute; left: -12px; top: -12px; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--wob2); background: var(--c); color: #fff; font: 700 1.3rem var(--display); box-shadow: 0 8px 16px -10px rgba(43, 36, 32, .8); }
.rank .ph { display: block; aspect-ratio: 1; background: #fff; border-radius: 14px; padding: 12px; border: 1px solid var(--line); }
.rank .ph img { width: 100%; height: 100%; object-fit: contain; }
.award { display: inline-block; padding: 4px 10px; border-radius: 8px 12px 8px 12px; background: color-mix(in srgb, var(--c) 14%, #fff); color: color-mix(in srgb, var(--c) 70%, #000); font: 700 .75rem var(--body); letter-spacing: .08em; text-transform: uppercase; }
.rank h3 { margin: 8px 0 4px; font-size: 1.32rem; }
.rank h3 a { color: var(--ink); text-decoration: none; }
.fit { display: grid; gap: 4px; margin-bottom: 12px; font-size: .93rem; } .fit p { margin: 0; }
.yes-fit b { color: #2F6B3E; } .no-fit b { color: #A3321A; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; font-size: .9rem; }
.pc b { display: block; margin-bottom: 4px; font-size: .84rem; text-transform: uppercase; letter-spacing: .06em; }
.pros b { color: #2F6B3E; } .cons b { color: #A3321A; }
.pc ul { margin: 0; padding-left: 1.1em; }
.ractions { display: flex; gap: 8px; flex-wrap: wrap; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin: 1.5em 0; }
.vs .side { text-align: center; padding: 18px; border-radius: var(--wob); background: var(--paper); border: 1px solid var(--line); }
.vs .ph { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 14px; background: #fff; margin-bottom: 10px; overflow: hidden; position: relative; }
.vs .ph img { max-height: 160px; width: auto; object-fit: contain; }
.vs .ph.art { background: color-mix(in srgb, var(--c) 16%, var(--sand-2)); color: color-mix(in srgb, var(--c) 85%, #000); }
.vs .ph.art .pot-shape { position: absolute; width: 70%; bottom: -16%; }
.vs .ph.art .pot-shape path { fill: color-mix(in srgb, var(--c) 30%, #fff); }
.vs .ph.art > .ic, .vs .ph.art .mono { position: relative; width: 52px; height: 52px; }
.vs .side h3 { margin: 4px 0; }
.vs .side p { font-size: .9rem; color: var(--ink-2); }
.vs .mid { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--wob2); background: var(--ink); color: var(--bone); font: italic 700 1.2rem var(--display); }
.vs-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs-picks h3 { margin-top: 0; }

/* ---------- свободные фото: герои, карточки, плитки, фигуры, credits ---------- */
.ph-frame { position: relative; overflow: hidden; border-radius: var(--wob); background: var(--sand-2); border: 1px solid var(--line); box-shadow: 0 26px 40px -30px rgba(43, 36, 32, .75); }
.ph-frame img { width: 100%; height: 100%; object-fit: cover; }
.credit { display: block; margin-top: 7px; font-size: .72rem; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.credit a { color: inherit; text-decoration-thickness: 1px; }
.credit a:hover { color: var(--terra-d); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); align-items: center; }
.hero-split .hero-text { min-width: 0; }
.has-photo h1 { font-size: clamp(1.9rem, 3.9vw, 2.9rem); }
.hero-photo { margin: 14px 0 0; position: relative; }
.hero-photo .ph-frame { aspect-ratio: 4 / 3; transform: rotate(.6deg); box-shadow: 12px 12px 0 color-mix(in srgb, var(--c, var(--clay)) 24%, transparent), 0 26px 40px -30px rgba(43, 36, 32, .75); }
.hero-photo .credit { margin-top: 12px; }
.hero-split.small-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.hero-photo.small .ph-frame { aspect-ratio: 3 / 2; }
.acard .art.photo { display: block; height: auto; aspect-ratio: 16 / 10; background: var(--sand-2); }
.acard .art.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.acard:hover .art.photo img { transform: scale(1.04); }
.badge-ic { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--wob2); background: var(--c, var(--terra)); color: #fff; border: 2px solid var(--paper); box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .6); }
.badge-ic .ic { width: 21px; height: 21px; }
.tile.has-photo { padding-top: 0; }
.tile-ph { position: relative; display: block; margin: 0 -18px 8px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-2); }
.tile-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover .tile-ph img { transform: scale(1.05); }
.fig { margin: 26px 0 28px; max-width: 720px; }
.fig .ph-frame { aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.fig figcaption { margin-top: 8px; font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
.fig figcaption > span:first-child:not(.credit) { display: block; }
.credits { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.credit-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: start; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.credit-row img { width: 150px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.credit-row b { font-family: var(--display); font-size: 1.02rem; }
.credit-row p { margin: 4px 0 0; font-size: .86rem; color: var(--ink-2); overflow-wrap: anywhere; }
.credit-row .used { color: var(--muted); }

/* ---------- инструменты (формы) ---------- */
.tool-hero { --c: var(--slate); }
.tool-wrap { padding-top: 30px; }
.tool { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; border-radius: 22px 26px 22px 28px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.tool-in { padding: clamp(18px, 3vw, 30px); display: grid; gap: 16px; align-content: start; }
.tool-out { padding: clamp(18px, 3vw, 30px); background: var(--slate-d) var(--grain); color: var(--bone); display: grid; gap: 16px; align-content: start; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .seg legend { font-weight: 700; font-size: .93rem; }
.field small { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.field input, .field select { width: 100%; min-width: 0; font: 600 1rem var(--body); color: var(--ink); padding: .66em .8em; border: 2px solid var(--line-2); border-radius: 12px; background: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(180, 83, 42, .15); }
.field input:disabled { background: var(--sand-2); color: var(--muted); }
.field input[type="range"] { padding: 0; border: 0; background: none; accent-color: var(--terra); height: 30px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.seg legend { margin-bottom: 6px; padding: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label:has(input) { display: inline-flex; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--line-2); background: #fff; font-weight: 650; font-size: .93rem; }
.seg label:has(input:checked) { background: var(--terra); border-color: var(--terra-d); color: #fff; }
.seg label:has(input:focus-visible) { outline: 3px solid var(--terra); outline-offset: 2px; }
.res-main { padding: 18px; border-radius: 16px; background: rgba(246, 241, 231, .08); border: 1px solid rgba(246, 241, 231, .18); }
.res-main span, .res-row span { display: block; font-size: .85rem; opacity: .85; }
.res-main b { display: block; font: 650 clamp(2.2rem, 5vw, 3.2rem)/1.05 var(--display); color: #fff; margin-top: 4px; font-variant-numeric: tabular-nums; }
.res-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.res-row > div { padding: 12px 14px; border-radius: 14px; background: rgba(246, 241, 231, .06); }
.res-row b { display: block; font: 650 1.35rem var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.formula { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .18); font: 500 .88rem/1.45 ui-monospace, Menlo, monospace; word-break: break-word; }
.tool-out .src-note { color: rgba(246, 241, 231, .8); }
.tool-out .src-note a { color: var(--clay-l); }
.verdict-box { padding: 16px 18px; border-radius: 16px; background: rgba(246, 241, 231, .08); border: 2px solid rgba(246, 241, 231, .2); }
.verdict-box b { display: block; font: 650 1.35rem/1.2 var(--display); color: #fff; }
.verdict-box p { margin: 8px 0 0; font-size: .92rem; }
.verdict-box.ok { border-color: #8FC09D; background: rgba(143, 192, 157, .14); } .verdict-box.ok b::before { content: "✓ "; color: #8FC09D; }
.verdict-box.warn { border-color: #E7B45E; background: rgba(231, 180, 94, .13); } .verdict-box.warn b::before { content: "! "; color: #E7B45E; }
.verdict-box.no { border-color: #E58A6E; background: rgba(229, 138, 110, .14); } .verdict-box.no b::before { content: "✗ "; color: #E58A6E; }
.tool-out .table-wrap { margin: 0; background: transparent; border-color: rgba(246, 241, 231, .2); }
.breakers { color: var(--bone); font-size: .9rem; }
.breakers caption { color: rgba(246, 241, 231, .8); }
.breakers thead th { background: rgba(246, 241, 231, .1); color: #fff; }
.breakers td, .breakers th { border-color: rgba(246, 241, 231, .15); }
.breakers tr.fit td:last-child { color: #A9D8B5; font-weight: 700; } .breakers tr.nofit td:last-child { color: #F2A98F; font-weight: 700; }
.breakers tr.current td { background: rgba(246, 241, 231, .1); }
.tool-mini { display: block; margin-top: 16px; }
.tool-mini summary { cursor: pointer; padding: 16px 20px; font: 650 1.05rem var(--display); display: flex; gap: 10px; align-items: center; list-style: none; }
.tool-mini summary::-webkit-details-marker { display: none; }
.tool-mini summary .ic { color: var(--terra); }
.tool-mini-body { padding: 0 20px 20px; display: grid; gap: 12px; }
.res-inline { margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.res-inline b { font: 650 1.4rem var(--display); color: var(--terra-d); }
/* таблица конусов */
.cone-tool { display: block; padding: clamp(16px, 3vw, 26px); }
.cone-controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.unit-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--sand-2); border: 1px solid var(--line); }
.unit-toggle button { border: 0; background: none; padding: 8px 18px; border-radius: 999px; font: 700 1rem var(--body); color: var(--ink-2); cursor: pointer; }
.unit-toggle button[aria-pressed="true"] { background: var(--terra); color: #fff; }
.cone-find { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: .93rem; }
.cone-find select { font: 600 1rem var(--body); padding: .5em .7em; border: 2px solid var(--line-2); border-radius: 12px; background: #fff; }
.cone-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .84rem; color: var(--ink-2); margin-bottom: 8px; }
.cone-legend span { display: inline-flex; gap: 6px; align-items: center; }
.cone-legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--b); border: 1px solid rgba(0, 0, 0, .08); }
.band-overglaze { --b: #EEE4EE; } .band-low { --b: #F6DFCF; } .band-mid { --b: #ECE3CB; } .band-high { --b: #DCE3E6; }
.cones { font-variant-numeric: tabular-nums; }
.cones th, .cones td { padding: 6px 12px; }
.cones tbody th { font: 700 1.05rem var(--display); }
.cones tbody tr { background: var(--b); }
.cones td:nth-child(3) { font-weight: 800; }
.cones thead th:nth-child(3) { color: var(--terra-d); }
.cones tr.hit th, .cones tr.hit td { box-shadow: inset 0 2px 0 var(--terra), inset 0 -2px 0 var(--terra); background: #fff; }
/* чек-лист */
.checklist { display: block; padding: clamp(14px, 3vw, 26px); }
.stage-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.stage-tabs button { display: flex; gap: 10px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 14px; border: 2px solid var(--line); background: var(--bone); font: 650 .95rem/1.2 var(--body); color: var(--ink); cursor: pointer; }
.stage-tabs button[aria-selected="true"] { border-color: var(--terra); background: #fff; box-shadow: 0 10px 20px -16px rgba(180, 83, 42, .9); }
.stage-tabs .sn { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: var(--wob2); background: var(--sand); font: 700 1rem var(--display); }
.stage-tabs button[aria-selected="true"] .sn { background: var(--terra); color: #fff; }
.stage-tabs .st { display: grid; } .stage-tabs .prog { font-size: .78rem; color: var(--muted); font-weight: 600; }
.stage-intro { color: var(--ink-2); max-width: 760px; }
.progress { height: 10px; border-radius: 99px; background: var(--sand-2); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--clay), var(--terra)); border-radius: 99px; transition: width .4s; }
.progress-t { font-size: .88rem; color: var(--muted); margin: 6px 0 14px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; background: var(--bone); border: 1px solid var(--line); }
.checks input { appearance: none; -webkit-appearance: none; width: 28px; height: 28px; margin: 0; border-radius: var(--wob2); border: 2px solid var(--line-2); background: #fff; cursor: pointer; display: grid; place-items: center; }
.checks input::after { content: ""; width: 12px; height: 7px; border: 3px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.checks input:checked { background: var(--terra); border-color: var(--terra-d); }
.checks input:checked::after { opacity: 1; }
.checks input:checked + label b { text-decoration: line-through; text-decoration-color: var(--clay); color: var(--muted); }
.checks label { cursor: pointer; display: grid; gap: 2px; }
.checks label em { font-style: normal; font: 700 .68rem var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--terra-d); }
.checks label small { color: var(--ink-2); font-size: .88rem; line-height: 1.45; }
.ck-link { align-self: center; display: inline-flex; gap: 4px; align-items: center; font-weight: 700; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.ck-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.ck-actions small { color: var(--muted); }

/* диаграммы и цифры */
.chart { margin: 1.4em 0; padding: 18px; border-radius: var(--wob); background: var(--paper); border: 1px solid var(--line); }
.chart h4 { font-size: 1.1rem; margin: 0 0 4px; } .chart .sub { font-size: .86rem; color: var(--muted); margin: 0 0 12px; }
.chart svg { width: 100%; height: auto; display: block; font-family: var(--body); }
.chart .legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: .84rem; }
.chart .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.chart .src { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.bar-anim .bar, .vbar-anim .bar { transition: transform .9s cubic-bezier(.3, .7, .2, 1); transform-box: fill-box; }
html.js .bar-anim:not(.in) .bar { transform: scaleX(0); transform-origin: left; }
html.js .vbar-anim:not(.in) .bar { transform: scaleY(0); transform-origin: bottom; }
circle.seg { transition: stroke-dasharray 1s; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 1.4em 0; }
.stat { padding: 18px; border-radius: var(--wob); background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--c); }
.stat b { display: block; font: 650 2.1rem/1 var(--display); color: var(--ink); }
.stat.long b { font-size: 1.5rem; }
.stat span { display: block; margin-top: 6px; color: var(--ink-2); font-size: .9rem; }
.stat small { display: block; margin-top: 6px; font-size: .76rem; }

/* CTA-полоса */
.cta-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: clamp(26px, 4vw, 44px); border-radius: 30px 36px 28px 40px / 36px 28px 40px 30px; background: var(--terra) var(--grain); color: #fff; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; opacity: .92; max-width: 560px; }
.cta-band > div { position: relative; }
.cta-pot { position: absolute; right: 22%; bottom: -60px; width: 220px; height: 220px; }
.cta-pot path { fill: rgba(255, 255, 255, .1); }
.cta-band .btn { position: relative; }

/* 404 */
.nf { padding-top: 40px; }
.nf-pot { width: 140px; height: 140px; margin: 0 auto 10px; transform: rotate(-8deg); }
.nf-pot path { fill: var(--clay-l); stroke: var(--terra); stroke-width: 3; stroke-dasharray: 16 6 30 4; }
.page-body { padding: 30px 0 60px; }

/* ---------- подвал ---------- */
.site-footer { position: relative; margin-top: 50px; background: var(--slate-d) var(--grain); color: rgba(246, 241, 231, .86); padding: 40px 0 30px; }
.foot-edge { position: absolute; left: 0; right: 0; top: -39px; width: 100%; height: 40px; }
.foot-edge path { fill: var(--slate-d); }
.site-footer .logo { color: var(--bone); }
.site-footer .logo-word i { color: var(--clay); }
.cols { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px; }
.fbrand p { font-size: .92rem; margin-top: 12px; }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: rgba(246, 241, 231, .86); text-decoration: none; font-size: .93rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(246, 241, 231, .15); font-size: .82rem; color: rgba(246, 241, 231, .75); }
.legal p { margin-bottom: .6em; max-width: 960px; }
.legal b { color: #fff; }

/* появление */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s cubic-bezier(.3, .7, .2, 1); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (hover: hover) and (min-width: 961px) { .mega-wrap:hover .mega { display: grid; } }
@media (max-width: 1100px) {
  .toolgrid { grid-template-columns: repeat(3, 1fr); }
  .cols { grid-template-columns: repeat(3, 1fr); } .fbrand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .head-cta { display: none; }
  .search { max-width: none; }
  .mainnav { display: none; border-top: 1px solid var(--line); max-height: calc(100vh - 70px); overflow-y: auto; }
  .site-header.open .mainnav { display: block; }
  .navrow { flex-direction: column; align-items: stretch; padding: 8px 0 14px; }
  .navrow > a, .mega-btn { padding: 12px 8px; font-size: 1.02rem; justify-content: space-between; width: 100%; }
  .mega { position: static; border: 0; box-shadow: none; padding: 4px 0 10px; grid-template-columns: 1fr; background: none; border-radius: 0; }
  .mega-cats { grid-template-columns: 1fr; }
  .mega-cats small { display: none; }
  .mega-cats a { padding: 8px; align-items: center; }
  .mega-cats .mi { width: 36px; height: 36px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .needs { grid-template-columns: repeat(2, 1fr); }
  .path { grid-template-columns: repeat(2, 1fr); } .path li::after { display: none; }
  .acards { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .aside .toc { position: static; }
  .product { grid-template-columns: 1fr; }
  .tool { grid-template-columns: 1fr; }
  .stage-tabs { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr; }
  .hero-split, .hero-split.small-photo { grid-template-columns: 1fr; gap: 18px; }
  .hero-photo { max-width: 640px; }
  .hero-photo .ph-frame { aspect-ratio: 16 / 9; transform: none; }
  .hero-photo .ph-frame { box-shadow: 8px 8px 0 color-mix(in srgb, var(--c, var(--clay)) 24%, transparent); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .bar { flex-wrap: wrap; gap: 10px; }
  .logo { order: 1; } .nav-toggle { order: 2; margin-left: auto; } .search { order: 3; flex-basis: 100%; }
  .logo-mark svg { width: 34px; height: 34px; } .logo-word { font-size: 1.3rem; }
  .orbit { aspect-ratio: auto; width: 100%; }
  .orbit::before { inset: 0 6% auto; height: 300px; } .orbit::after { display: none; }
  .wheel-art { position: relative; left: auto; top: auto; transform: none; width: min(320px, 82%); margin: 0 auto; }
  .orbs { position: static; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px; margin-top: 16px; }
  .orb { position: static; width: auto; margin: 0; transform: none; font-size: .74rem; }
  .orb .ic { width: 46px; height: 46px; padding: 11px; }
  .orb span { background: none; padding: 0; }
  .tiles, .tiles.small { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { padding: 14px 12px; } .tile > span:not(.tile-ic):not(.tile-ph) { display: none; } .tile b { font-size: 1.02rem; }
  .tile-ic { width: 56px; height: 56px; } .tile-ic .ic { width: 26px; height: 26px; }
  .tile-ph { margin: 0 -12px 6px; }
  .tile .badge-ic { width: 32px; height: 32px; left: 8px; bottom: 8px; } .tile .badge-ic .ic { width: 17px; height: 17px; }
  .hero-photo.small .ph-frame { aspect-ratio: 16 / 7; }
  .credit-row { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; } .credit-row img { width: 96px; }
  .needs { grid-template-columns: 1fr; }
  .toolgrid, .toolgrid.big { grid-template-columns: 1fr; }
  .toolcard { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .toolcard span:not(.tc-ic) { flex-basis: 100%; }
  .path { grid-template-columns: 1fr; }
  .acards { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card .ph { padding: 22px 10px 8px; }
  .card .body { padding: 10px 10px 12px; }
  .card h3 { font-size: .95rem; }
  .kspecs div { flex-direction: column; gap: 0; padding: 4px 6px; font-size: .76rem; }
  .kspecs dd { text-align: left; }
  .card .actions .btn { width: 100%; padding: .55em .6em; font-size: .85rem; } .card .actions .btn-line { display: none; }
  .card .kspecs div:nth-child(n+3), .card .bestfor { display: none; }
  .card .kspecs dd { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .badge { font-size: .62rem; left: 8px; top: 22px; padding: 5px 7px; }
  .rail { grid-auto-columns: 72%; }
  .rail-btn { display: none; }
  .chipbar { padding: 10px; }
  .chipbar .count { margin-left: 0; flex-basis: 100%; }
  .rank { grid-template-columns: 1fr; padding: 18px 16px; }
  .rank .ph { max-width: 220px; margin: 0 auto; width: 100%; }
  .pc { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; } .vs .mid { margin: 0 auto; }
  .vs-picks { grid-template-columns: 1fr; }
  .field-row, .res-row { grid-template-columns: 1fr; }
  .stage-tabs { grid-template-columns: 1fr 1fr; }
  .stage-tabs button { padding: 8px; font-size: .86rem; }
  .checks li { grid-template-columns: 28px minmax(0, 1fr); }
  .ck-link { grid-column: 2; justify-self: start; }
  .cols { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero-pot { opacity: .5; right: -60px; }
  .steps > li { grid-template-columns: 36px minmax(0, 1fr); padding: 14px; } .steps .sn { width: 36px; height: 36px; }
  .spec th { width: 45%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .demo-bar, .crumbs, .aside, .ck-actions, .stage-tabs, .ck-link, .hero-pot, .tool-hero .lede { display: none !important; }
  body { background: #fff; }
  .stage[hidden] { display: block !important; }
  .stage { break-inside: avoid; margin-bottom: 20px; }
  .tool { box-shadow: none; border: 0; }
  .checks li { break-inside: avoid; }
}
