/* === human-design.tech subpages unified stylesheet === */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font-body);font-weight:400;line-height:1.7;transition:background .4s,color .4s}
img,svg{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{cursor:pointer;border:none;background:none;font-family:inherit}
html.dark{
  --bg:var(--surface-page);--surface:var(--surface-card);--surface-2:var(--surface-focal);
  --gold:var(--accent-struct-text);--gold-b:var(--accent-struct-text);--gold-d:var(--surface-focal);
  --mars:var(--status-bad);--rahu:var(--accent-struct-text);--rahu-b:var(--accent-struct-text);--rahu-d:var(--surface-focal);
  --mint:var(--accent-action-text);
  --text:var(--text-body);--text-m:var(--text-muted);--text-d:var(--text-muted);
  --border:var(--hairline);--border-s:var(--hairline-2);
  --card-hover:var(--surface-focal);
}
html.light{
  --bg:var(--surface-page);--surface:var(--surface-card);--surface-2:var(--surface-focal);
  --gold:var(--accent-struct-text);--gold-b:var(--accent-struct-text);--gold-d:var(--surface-focal);
  --mars:var(--status-bad);--rahu:var(--accent-struct-text);--rahu-b:var(--accent-struct-text);--rahu-d:var(--surface-focal);
  --mint:var(--accent-action-text);
  --text:var(--text-body);--text-m:var(--text-muted);--text-d:var(--text-muted);
  --border:var(--hairline);--border-s:var(--hairline-2);
  --card-hover:var(--surface-focal);
}
body{background:var(--bg);color:var(--text)}
h1,h2,h3{font-family:var(--font-display);font-weight:400;line-height:1.25}
h1{font-size:clamp(2rem,5vw,3.2rem)}
h2{font-size:clamp(1.5rem,3.5vw,2.2rem)}
h3{font-size:clamp(1.1rem,2vw,1.4rem)}
em{font-style:italic;color:var(--rahu-b)}
strong{font-weight:500;color:var(--text)}
.container{max-width:900px;margin:0 auto;padding:0 24px}
/* HEADER (matches main site) */
.header{position:sticky;top:0;z-index:100;background:var(--bg);border-bottom:1px solid var(--border-s);backdrop-filter:blur(12px);padding:14px 0}
.header-inner{display:flex;align-items:center;justify-content:space-between;max-width:1200px;margin:0 auto;padding:0 24px}
.logo{font-family:var(--font-display);font-size:13px;letter-spacing:.25em;color:var(--rahu);display:flex;align-items:center}
.header-nav{display:flex;align-items:center;gap:16px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;font-family:var(--font-display)}
.header-nav a{color:var(--text-d);transition:color .3s}
.header-nav a:hover{color:var(--rahu)}
.header-nav .btn-sm{padding:6px 14px;background:var(--rahu);color:#fff;border-radius:2px;font-size:10px}
.theme-toggle{width:36px;height:36px;border-radius:2px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--text-m);transition:all .3s}
.theme-toggle:hover{border-color:var(--rahu);color:var(--rahu)}
@media(max-width:768px){.header-nav a:not(.btn-sm){display:none}}
/* BREADCRUMB */
.crumbs{font-family:var(--font-display);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--text-d);margin:28px 0 4px}
.crumbs a{color:var(--rahu)}
.crumbs a:hover{text-decoration:underline}
/* KB PAGE */
.kb-hero{padding:24px 0 8px}
.kb-hero h1::after{content:"";display:block;width:64px;height:2px;margin:.7rem 0 0;border-radius:1px;background:linear-gradient(90deg,var(--gold),var(--rahu))}
.kb-intro{color:var(--text-m);font-size:16px;max-width:720px;margin-top:20px;line-height:1.9}
.kb-toc{margin:32px 0 8px;padding:20px 24px;background:var(--surface);border:1px solid var(--border-s);border-left:3px solid var(--gold);border-radius:6px}
.kb-toc .lbl{font-family:var(--font-display);font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);margin-bottom:12px}
.kb-toc ul{list-style:none;display:flex;flex-direction:column;gap:8px}
.kb-toc a{color:var(--text-m);font-size:14px;border-bottom:1px solid transparent;transition:all .25s}
.kb-toc a:hover{color:var(--rahu);border-bottom-color:var(--rahu)}
.kb-cluster{padding:44px 0 8px;border-top:1px solid var(--border-s);margin-top:12px}
.kb-cluster:first-of-type{border-top:none}
.kb-cluster>h2{color:var(--text);margin-bottom:8px}
.kb-cluster>h2::after{content:"";display:block;width:44px;height:2px;margin:.6rem 0 0;border-radius:1px;background:var(--gold);opacity:.7}
.kb-item{padding:26px 0;border-bottom:1px solid var(--border-s)}
.kb-item:last-child{border-bottom:none}
.kb-item h3{color:var(--rahu-b);margin-bottom:12px}
html.light .kb-item h3{color:var(--rahu)}
.kb-answer{color:var(--text-m);font-size:15.5px;line-height:1.85}
.kb-answer p{margin-bottom:12px}
.kb-answer p:last-child{margin-bottom:0}
.kb-answer ul{margin:8px 0 12px 20px}
.kb-answer li{margin-bottom:6px;color:var(--text-m)}
/* TABLES */
.kb-table{margin-top:18px;overflow-x:auto}
.kb-table table{width:100%;border-collapse:collapse;font-size:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);overflow:hidden}
.kb-table th,.kb-table td{padding:11px 14px;text-align:left;border:1px solid var(--border-s);vertical-align:top}
.kb-table thead th{background:var(--gold-d);font-family:var(--font-display);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--gold);font-weight:600;border-bottom:2px solid var(--gold)}
.kb-table tbody tr:nth-child(even){background:var(--card-hover)}
.kb-table td{color:var(--text-m)}
.kb-table td:first-child{color:var(--text);font-weight:400}
/* CTA */
.kb-cta{margin:48px 0 8px;padding:32px 28px;background:var(--surface);border:1px solid var(--border-s);border-radius:var(--radius-card);text-align:center}
.kb-cta h2{font-size:clamp(1.4rem,3vw,2rem);margin-bottom:12px}
.kb-cta p{color:var(--text-m);font-size:15px;max-width:560px;margin:0 auto 22px;line-height:1.8}
.btn-primary{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-display);font-size:11px;letter-spacing:.15em;padding:15px 36px;border-radius:2px;background:linear-gradient(135deg,var(--rahu),var(--rahu-b));color:#fff;font-weight:600;transition:all .3s;text-transform:uppercase}
.btn-primary:hover{opacity:.9;transform:translateY(-1px)}
/* FOOTER (matches main site) */
.footer{border-top:1px solid var(--border-s);padding:40px 0;text-align:center;font-size:12px;color:var(--text-d);margin-top:48px}
.footer p{margin-bottom:4px}
.footer a{color:var(--rahu);text-decoration:none}
.footer a:hover{text-decoration:underline}
.footer nav{margin-top:12px}
.footer nav a{margin:0 6px}

/* 03.11.2026 премиум-канон: тема по системе, переключатель с подписью, текст светлой и тёмной ≥ 4,5 : 1 */
.vh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.theme-toggle.hd-tt{position:fixed;top:12px;right:12px;z-index:999;width:auto;height:34px;padding:0 10px;border-radius:2px;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--surface);border:1px solid var(--border);color:var(--text-m);font:500 10px/1 'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:border-color 120ms cubic-bezier(.4,0,.2,1),color 120ms cubic-bezier(.4,0,.2,1)}
.theme-toggle.hd-tt:hover,.theme-toggle.hd-tt:focus-visible{border-color:var(--rahu);color:var(--text);outline:none}
.theme-toggle.hd-tt svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.6;flex-shrink:0}
.theme-toggle.hd-tt-inline{position:static;height:32px}
html.light .hd-tt .tt-dark,html.dark .hd-tt .tt-light{display:none}
html.light{--gold:var(--accent-struct-text)!important;--gold-b:var(--accent-struct-text)!important;--mars:var(--status-bad)!important;--mint:var(--accent-action-text)!important;--rahu:var(--accent-struct-text)!important;--text-m:var(--text-muted)!important;--text-d:var(--text-muted)!important}
html.dark{--text-m:var(--text-muted)!important;--text-d:var(--text-muted)!important}
.disclaimer,.section-num{opacity:1!important}
html.light .voice-snippet{color:var(--text)!important}
.source-block{color:var(--text-m)!important}
@media(max-width:600px){.theme-toggle.hd-tt:not(.hd-tt-inline){position:static;display:flex;margin:8px 12px 0 auto;width:max-content}}
@media (prefers-reduced-motion:reduce){.theme-toggle.hd-tt{transition:none}}
html.light{--bg:var(--surface-page);--surface:var(--surface-card);--text:var(--text-body);--text-m:var(--text-muted);--gold:var(--accent-struct-text);--acc:#46607A;--border:var(--hairline)}
html.dark{--hd-btn-a:#C9A96E;--hd-btn-b:#E8C98A;--hd-btn-ink:#08060A}
html.light{--hd-btn-a:#8A6310;--hd-btn-b:#7E5A0F;--hd-btn-ink:#FFFFFF}
html.dark .btn-sm,html.dark .btn-primary,html.dark .btn-rahu,html.dark .cta-btn{color:#0E0B16!important}
html.light .btn-sm,html.light .btn-primary,html.light .btn-rahu,html.light .cta-btn{background:#5F539C!important;color:#FFFFFF!important}
html.light .def strong{color:var(--text)!important}

:root{--ck-fast:120ms;--ck-mid:220ms;--ck-ease:cubic-bezier(.4,0,.2,1)}[data-theme]{--bg:var(--surface-page);--surface:var(--surface-card);--surface-2:var(--surface-focal);--gold:var(--accent-struct-text);--gold-b:var(--accent-struct-text);--gold-d:var(--surface-focal);--mars:var(--status-bad);--mars-b:var(--status-bad);--mars-d:var(--surface-focal);--rahu:var(--accent-struct-text);--rahu-b:var(--accent-struct-text);--rahu-d:var(--surface-focal);--mint:var(--accent-action-text);--mint-d:var(--surface-focal);--text:var(--text-body);--text-m:var(--text-muted);--text-d:var(--text-muted);--border:var(--hairline);--border-s:var(--hairline-2);--card-hover:var(--surface-focal);--blur-overlay:var(--surface-page);--btn-a:var(--accent-action);--btn-b:var(--accent-action);--btn-ink:var(--text-on-action);--hd-def:var(--hairline);--hd-def-st:var(--accent-struct);--hd-open:var(--surface-card);--hd-line:var(--hairline);--hd-ch:var(--accent-struct);--hd-p:var(--text-ink);--hd-p-ink:var(--surface-card);--hd-d:var(--status-bad);--hd-d-ink:var(--text-on-action);--hd-b:var(--accent-action);--hd-b-ink:var(--text-on-action);--hd-gt:var(--text-muted);--hd-card:var(--surface-card);--niche:var(--accent-action);--niche-line:var(--hairline);--niche-glow:var(--hairline-2)}html{font-synthesis:none}body{font-family:var(--font-body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}h1,h2,h3,h4{font-family:var(--font-display);font-weight:500;font-optical-sizing:auto;font-variant-numeric:lining-nums;color:var(--text-ink)!important;text-wrap:balance}p{text-wrap:pretty}em{color:inherit}:focus-visible{outline:2px solid var(--accent-action);outline-offset:2px}h1{font-size:var(--fs-h1)!important;line-height:var(--lh-tight)}h2{font-size:var(--fs-h3)!important;line-height:var(--lh-snug)}h3{font-size:var(--fs-h4)!important;line-height:var(--lh-snug)}h4{font-size:var(--fs-lead)!important;line-height:var(--lh-snug)}@media(max-width:600px){h2{font-size:var(--fs-h4)!important}h3{font-size:var(--fs-lead)!important}}#shop-info h2{font-size:var(--fs-lead)!important}.s-label,.hero-label,.proof-label,.result-label,.feat-head,.seb-eye,.cv-cell .cv-name{font-family:var(--font-mono)!important;font-size:11px!important;letter-spacing:var(--track-caps)!important}

body.contacts-page{background:var(--surface-page);color:var(--text-body);font-family:var(--font-body);min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;font-weight:400}
body.contacts-page .card{max-width:480px;width:100%;background:var(--surface-card);border:1px solid var(--hairline);border-radius:2px;padding:44px 32px;text-align:center}
body.contacts-page h1{font-family:var(--font-display);font-size:20px!important;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-struct-text);margin-bottom:28px;font-weight:500}
body.contacts-page .row{margin-bottom:20px}
body.contacts-page .label{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);margin-bottom:4px}
body.contacts-page .value{font-size:15px;color:var(--text-ink)}
body.contacts-page .value a,body.contacts-page .back a{min-height:36px;display:inline-flex;align-items:center;color:var(--accent-struct-text)}
body.contacts-page .back{margin-top:28px;font-size:13px;color:var(--text-muted)}

/* === 2026-11-18 subpages unified styles === */
.cite-box{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--gold);border-radius:4px;padding:16px 20px;margin:24px 0;font-size:14px;color:var(--text-m)}
.cite-btn{display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;margin-top:10px;border:1px solid var(--border);border-radius:3px;background:var(--surface-2,var(--surface));color:var(--text);font-size:12px;font-family:var(--font-mono);cursor:pointer}
.cite-btn:hover{border-color:var(--gold);color:var(--gold)}
.mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums}
.def,.tldr,.trust,.cta,.upd{font-family:var(--font-body)}
body.sub-article{font-family:var(--font-body);line-height:1.7;font-size:16.5px}
body.sub-article p{margin:0 0 14px}
body.sub-article header{border-bottom:1px solid var(--border);padding:16px 0}
body.sub-article header .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}
body.sub-article header a.logo{font-family:var(--font-display);color:var(--gold);text-decoration:none;font-size:18px;letter-spacing:.14em;min-height:36px;display:inline-flex;align-items:center}
body.sub-article header nav{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
body.sub-article header nav a{color:var(--text-m);text-decoration:none;font-size:14px;min-height:36px;display:inline-flex;align-items:center}
body.sub-article header nav a:hover{color:var(--gold)}
body.sub-article main{padding:30px 0 50px}
body.sub-article .wrap{max-width:820px;margin:0 auto;padding:0 20px}
body.sub-article .crumb{font-size:13px;color:var(--text-m);margin-bottom:14px}
body.sub-article .crumb a{color:var(--text-m);text-decoration:none;min-height:36px;display:inline-flex;align-items:center}
body.sub-article h1{font-family:var(--font-display);font-weight:500;line-height:1.22;margin:.2em 0 .5em}
body.sub-article h2{font-family:var(--font-display);font-weight:500;margin:1.6em 0 .45em;color:var(--gold)!important}
body.sub-article .def{background:var(--surface);border-left:3px solid var(--gold);border-radius:0 6px 6px 0;padding:16px 20px;margin:0 0 18px;font-size:17px}
body.sub-article .def strong{color:var(--text-ink)}
body.sub-article .tldr{color:var(--text-m);font-style:italic;margin:0 0 24px;font-size:15.5px}
body.sub-article table{width:100%;border-collapse:collapse;margin:18px 0 24px;font-size:14.5px}
body.sub-article th,body.sub-article td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--border);vertical-align:top}
body.sub-article th{color:var(--gold);font-weight:600;font-size:12px;letter-spacing:.05em;text-transform:uppercase}
body.sub-article .trust{background:var(--surface);border:1px solid var(--border);border-radius:4px;padding:18px 22px;margin:26px 0}
body.sub-article .trust h2{margin-top:0}
body.sub-article .cta{display:inline-flex;align-items:center;min-height:42px;margin:20px 0 8px;padding:11px 26px;border:1px solid var(--gold);border-radius:30px;color:var(--gold);text-decoration:none;font-weight:600;letter-spacing:.03em}
body.sub-article .cta:hover{background:rgba(201,169,110,.1)}
body.sub-article .upd{color:var(--text-m);font-size:13px;margin-top:28px;border-top:1px solid var(--border);padding-top:16px}
body.sub-article footer{border-top:1px solid var(--border);padding:22px 0;font-size:13px;color:var(--text-m)}
body.sub-article footer a{color:var(--text-m);text-decoration:none;margin-right:14px;min-height:36px;display:inline-flex;align-items:center}
body.sub-article footer a:hover{color:var(--gold)}

/* Mobile 360x800 fixes for /baza-znaniy/, /about/, /metodologiya/, /accuracy/, /contacts/ */
html,body{overflow-x:clip;max-width:100%}
.theme-toggle.hd-tt{min-height:36px!important;height:36px!important;font-size:12px!important}
.header-nav .btn-sm{min-height:36px!important;font-size:12px!important;padding:7px 14px!important;display:inline-flex!important;align-items:center!important}
.header-nav a,.crumbs a,.kb-toc a,.btn-primary,.footer nav a,.footer a{min-height:36px;display:inline-flex;align-items:center}
.crumbs,.kb-toc .lbl,.kb-table thead th,.btn-primary,.footer,.footer p,.footer nav a,.meta-table,.subtitle{font-size:12px!important}
.kb-table thead th{font-size:12px!important}
.btn-primary{min-height:44px}
@media(max-width:600px){
  body.sub-article table{display:block;overflow-x:auto}
  .meta-table{display:block;overflow-x:auto}
}
#sutra-ym-banner button{min-height:38px!important;min-width:44px!important;padding:6px 12px!important;font-size:13px!important}
#sutra-ym-banner a{min-height:36px!important;display:inline-flex!important;align-items:center!important}
