:root {
  --accent:#98ff98; --white:#fff; --accent-pale:color-mix(in srgb,var(--accent) 42%,var(--white));
  --accent-deep:color-mix(in srgb,var(--accent) 84%,#000); --ink:color-mix(in srgb,#000 90%,var(--accent));
  --ink-2:color-mix(in srgb,#000 84%,var(--accent)); --paper:color-mix(in srgb,var(--white) 94%,var(--accent));
  --muted:color-mix(in srgb,var(--ink) 55%,var(--paper)); --accent-dim:color-mix(in srgb,var(--accent) 80%,var(--ink));
  --accent-mark:var(--accent-pale); --line:#e6efe6; --line-soft:#f3fff3; --line-dark:rgba(255,255,255,.14);
  --danger:#b3261e; --danger-bg:#fbeae6; --danger-border:#e3b9ae;
  --warn:#c47d16; --warn-bg:#fff5e6; --warn-border:#f0d49f;
  --success:#1f8a4c; --success-bg:#eaf7ed; --success-border:#c4e6cf; --rating:#f5b400; --rating-off:#d9d9ce;
  --warm-paper:#f0efe9; --warm-line:#e6e4dc; --warm-warn:#fdf3e3; --warm-warn-line:#f3dfbb;
  --radius-xs:10px; --radius-sm:14px; --radius:16px; --radius-lg:26px; --radius-xl:40px; --radius-pill:999px;
  --wrap:min(1240px,100% - 48px); --section-pad:clamp(72px,10vh,140px);
  --shadow-1:0 8px 24px -8px rgba(15,25,15,.10); --shadow-2:0 24px 50px -28px rgba(15,25,15,.32); --shadow-3:0 12px 28px -10px rgba(15,25,15,.50);
  font-family:Onest,system-ui,sans-serif; color:var(--ink); background:var(--white); font-synthesis:none;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:100px; }
body { margin:0; } body.flow { background:var(--paper); }
button,input,select,textarea { font:inherit; } button,a,input,select,textarea,summary { -webkit-tap-highlight-color:transparent; }
button,a { touch-action:manipulation; } button { cursor:pointer; } button:disabled { cursor:not-allowed; opacity:.55; }
a { color:inherit; } img,svg { max-width:100%; } .icon { width:24px; height:24px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
:focus-visible { outline:2px solid var(--ink); outline-offset:3px; } .dark :focus-visible { outline-color:var(--accent); }
h1,h2,h3,p { margin:0; } h1,h2,h3 { overflow-wrap:anywhere; } p { line-height:1.6; } h1,h2 { font-weight:800; letter-spacing:-.035em; line-height:1.02; }
h3 { font-size:21px; letter-spacing:-.022em; line-height:1.2; } a { text-underline-offset:4px; } small { line-height:1.5; }
.wrap { width:var(--wrap); margin-inline:auto; } .section { padding-block:var(--section-pad); scroll-margin-top:78px; }
.paper { background:var(--paper); } .dark { background:var(--ink); color:var(--white); } .dark .muted { color:rgba(255,255,255,.66); }
.muted { color:var(--muted); } .lead { font-size:clamp(17px,1.4vw,20px); line-height:1.5; } .stack { display:flex; flex-direction:column; gap:20px; }
.row { display:flex; align-items:center; flex-wrap:wrap; gap:12px; } .center { text-align:center; align-items:center; }
.center>.row { justify-content:center; }
.eyebrow { display:flex; gap:12px; align-items:center; font-size:13px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; line-height:1.5; }
.eyebrow::before { content:""; width:24px; height:3px; background:currentColor; flex-shrink:0; } .dark .eyebrow { color:var(--accent); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; border:1.6px solid transparent; border-radius:var(--radius-pill); padding:18px 30px; font-size:16px; font-weight:700; text-decoration:none; text-align:center; line-height:1.3; transition:transform .15s,box-shadow .15s; }
.btn:hover:not(:disabled) { transform:translateY(-2px); box-shadow:var(--shadow-3); } .primary { background:var(--ink); color:var(--white); }
.accent { background:var(--accent); color:var(--ink); } .ghost { background:transparent; border-color:var(--ink); color:var(--ink); } .dark .ghost { border-color:var(--white); color:var(--white); }
.light { background:var(--white); color:var(--ink); } .btn.small { font-size:14px; padding:12px 18px; } .btn.large { font-size:18px; padding:21px 36px; }
.text-btn { padding:6px 0; background:none; border:0; font-weight:600; text-decoration:underline; color:inherit; text-align:left; }
.chip { display:inline-flex; align-items:center; gap:8px; padding:11px 18px; background:var(--accent-pale); color:var(--ink); font-weight:600; font-size:15px; border-radius:var(--radius-pill); text-decoration:none; }
/* Logo proportions match SP and RA: 38px disc, one-line wordmark. */
.brand { --d:38px; display:inline-flex; align-items:center; gap:calc(var(--d) * .31); text-decoration:none; flex-shrink:0; } .brand-disc { display:grid; place-items:center; width:var(--d); height:var(--d); border-radius:50%; background:var(--ink); color:var(--accent-mark); font-size:calc(var(--d) * .37); font-weight:800; flex-shrink:0; }
.brand-name { font-size:calc(var(--d) * .55); font-weight:800; line-height:1; letter-spacing:-.02em; white-space:nowrap; } .dark .brand-disc { border:2px solid rgba(255,255,255,.28); }
.site-header { height:78px; position:sticky; top:0; z-index:50; background:rgba(255,255,255,.82); backdrop-filter:saturate(160%) blur(14px); border-bottom:1.5px solid var(--line-soft); }
.header-inner { display:flex; align-items:center; gap:20px; height:100%; } .desktop-nav { display:flex; flex:1 1 auto; min-width:0; gap:18px; justify-content:center; }
.desktop-nav a { font-size:15px; font-weight:600; text-decoration:none; white-space:nowrap; color:var(--muted); } .desktop-nav a:hover,.mobile-nav a:not(.btn):hover { color:var(--ink); } .header-actions { display:flex; align-items:center; margin-left:auto; gap:10px; }
.header-actions .btn { font-size:15px; padding:14px 24px; } .menu-toggle { display:none; width:48px; height:48px; place-items:center; background:var(--paper); border:1.5px solid var(--line-soft); border-radius:var(--radius-sm); flex-shrink:0; }
.mobile-nav { position:absolute; top:78px; left:0; right:0; background:var(--white); box-shadow:var(--shadow-2); padding:20px 24px; max-height:calc(100dvh - 78px); overflow-y:auto; }
.mobile-nav a { display:block; padding:14px 0; font-size:17px; font-weight:700; text-decoration:none; border-bottom:1.5px solid var(--line); } .mobile-nav a:not(.btn) { color:var(--muted); } .mobile-nav .btn { margin-top:18px; }
[hidden] { display:none !important; }
.hero { position:relative; isolation:isolate; overflow:hidden; background:var(--accent); border-radius:var(--radius-xl); padding:clamp(48px,7vw,104px) clamp(24px,5vw,88px); margin-top:32px; }
/* Отступ текста как в СП; 1.5px компенсируют различие высоты строк нижнего текста. */
.hero { padding-bottom:calc(clamp(40px,5vw,64px) + 1.5px); }
.texture::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:repeating-linear-gradient(135deg,rgba(15,25,15,.022) 0 2px,transparent 2px 36px); }
.hero.texture::before { opacity:.7; }
.hero-content { max-width:1100px; margin-inline:auto; gap:26px; } .hero h1 { font-size:clamp(40px,6.4vw,92px); line-height:.98; letter-spacing:-.04em; } .hero .lead { max-width:960px; }
.promise { display:flex; align-items:flex-start; gap:10px; max-width:760px; font-size:15px; text-align:left; } .promise .icon { width:18px; height:18px; margin-top:3px; }
.route-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr)); gap:clamp(32px,5vw,72px); align-items:center; }
.route-card { padding:clamp(28px,3vw,40px); border-radius:var(--radius-lg); } .route-card h3 { font-size:27px; }
.stairs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; } .stair-track { height:200px; display:flex; align-items:flex-end; } .stair { width:100%; background:var(--accent); border-radius:var(--radius-sm); }
.stair-label { height:36px; display:flex; justify-content:center; text-align:center; font-size:13px; line-height:1.3; color:rgba(255,255,255,.66); margin-top:14px; } .stairs>div:last-child .stair-label { color:var(--accent); font-weight:700; }
.route-title { font-size:clamp(30px,3.6vw,52px); max-width:16ch; } .check-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:16px; }
.check-list li { display:flex; align-items:flex-start; gap:12px; line-height:1.55; } .check-dot { width:22px; height:22px; flex-shrink:0; border-radius:50%; background:var(--accent); color:var(--ink); display:grid; place-items:center; margin-top:2px; }
.check-dot .icon { width:14px; height:14px; stroke-width:3.2; } .accent-panel .check-dot { background:var(--ink); color:var(--accent); }
.section-head { display:flex; flex-wrap:wrap; align-items:end; gap:24px 32px; margin-bottom:clamp(36px,6vw,76px); } .section-head h2 { flex:1 1 420px; font-size:clamp(32px,4.6vw,62px); max-width:18ch; }
.section-head>p { flex:1 1 280px; max-width:38ch; margin-left:auto; } .steps { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr)); gap:28px; }
.step-item { display:flex; flex-direction:column; gap:20px; } .progress-track { height:3px; background:var(--line); } .progress-track span { display:block; height:100%; background:var(--accent); }
.grid-three { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr)); gap:20px; } .grid-two { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr)); gap:20px; }
.card { border:1.5px solid var(--line); border-radius:var(--radius-lg); padding:30px; background:var(--white); min-width:0; }
.contract { display:flex; flex-direction:column; gap:16px; border-radius:var(--radius); padding:28px; text-decoration:none; transition:.2s ease; --tile:var(--accent-pale); --tileink:var(--ink); --sub:var(--muted); }
.contract:hover { background:var(--accent); border-color:var(--ink); transform:translateY(-2px); box-shadow:var(--shadow-2); --tile:var(--ink); --tileink:var(--accent); --sub:var(--ink-2); }
.contract h3 { font-size:20px; } .contract p { color:var(--sub); font-size:15px; } .tile { width:48px; height:48px; display:grid; place-items:center; border-radius:var(--radius-sm); background:var(--tile); color:var(--tileink); }
.dark .card { background:transparent; border-color:rgba(255,255,255,.10); } .dark .number { color:var(--accent); font-weight:800; letter-spacing:.16em; }
.tariffs { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr)); gap:20px; } .tariff { padding:clamp(30px,3.4vw,44px); display:flex; flex-direction:column; gap:24px; }
.accent-panel { background:var(--accent); border-color:var(--accent); } .tariff h3 { font-size:27px; } .price { font-size:54px; font-weight:800; line-height:1; letter-spacing:-.04em; } .tariff .btn { margin-top:auto; align-self:flex-start; }
.faq { max-width:1000px; } .faq-item { border-top:1.5px solid var(--line); } .faq-item:last-child { border-bottom:1.5px solid var(--line); }
.faq button { width:100%; padding:26px 0; display:flex; align-items:center; justify-content:space-between; gap:20px; font-size:19px; font-weight:800; text-align:left; color:var(--ink); background:none; border:0; }
.faq button::after { content:"+"; display:grid; place-items:center; min-width:36px; height:36px; border-radius:50%; background:var(--accent-pale); font-size:25px; }
.faq button[aria-expanded=true]::after { content:"−"; }
.faq-answer { display:grid; grid-template-rows:0fr; visibility:hidden; transition:grid-template-rows .35s,visibility .35s; }
.faq-answer.open { grid-template-rows:1fr; visibility:visible; }
.faq-answer>div { min-height:0; overflow:hidden; }
.faq-answer p { max-width:68ch; padding-bottom:26px; font-size:17px; line-height:1.7; color:var(--ink-2); }
summary::-webkit-details-marker { display:none; }
.cta { background:var(--accent); padding:clamp(60px,8vh,112px) 0; } .cta .wrap { max-width:1000px; gap:22px; } .cta h2 { font-size:clamp(30px,4.6vw,70px); letter-spacing:-.04em; } .cta h2 span { white-space:nowrap; } .cta p { max-width:780px; }
.site-footer { padding:clamp(56px,7vh,96px) 0 36px; } .footer-grid { display:grid; grid-template-columns:1.7fr 1fr 1fr 1fr; gap:36px; } .footer-grid>div { min-width:0; }
.footer-grid h3 { font-size:15px; margin-bottom:16px; } .footer-grid a,.footer-grid .pending { display:block; font-size:14px; line-height:1.6; padding:6px 0; color:rgba(255,255,255,.66); text-decoration:none; }
.footer-grid .brand { display:flex; color:var(--white); padding:0; } .footer-about { font-size:15px; max-width:38ch; color:rgba(255,255,255,.66); } .ecosystem { border-left:2px solid rgba(152,255,152,.55); padding-left:12px; margin-bottom:16px; }
.ecosystem strong { font-size:14px; color:rgba(255,255,255,.92); } .ecosystem p { font-size:13px; color:rgba(255,255,255,.55); max-width:24ch; }
.ecosystem strong a { display:inline; padding:0; font:inherit; color:inherit; }
.footer-bottom { display:flex; flex-wrap:wrap; gap:24px; justify-content:space-between; margin-top:44px; padding-top:26px; border-top:1.5px solid var(--line-dark); font-size:13px; color:rgba(255,255,255,.55); } .footer-bottom p { max-width:65ch; }
.page-main { padding-block:40px var(--section-pad); } .page-hero { padding:clamp(32px,5vw,72px); border-radius:var(--radius-xl); gap:26px; margin:26px 0 clamp(40px,6vh,72px); position:relative; isolation:isolate; overflow:hidden; }
.page-hero.texture::before { background:repeating-linear-gradient(135deg,rgba(152,255,152,.05) 0 2px,transparent 2px 36px); } .page-hero h1 { font-size:clamp(34px,5.2vw,76px); max-width:16ch; }
.page-hero .lead { color:rgba(255,255,255,.72); max-width:52ch; } .page-head { padding-block:60px; } .page-head h1 { font-size:clamp(32px,4.6vw,62px); max-width:18ch; }
.prose { max-width:68ch; color:var(--ink-2); font-size:17.5px; line-height:1.7; } .prose h2 { font-size:clamp(24px,2.8vw,34px); color:var(--ink); margin-bottom:20px; } .prose p+p { margin-top:16px; }
.about-sections { gap:clamp(40px,6vh,72px); } .about-steps { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:clamp(20px,2.4vw,32px); } .about-steps h3 { font-size:20px; }
.about-page .about-details { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:clamp(28px,4vw,56px); align-items:start; }
.about-page .about-details-main { min-width:0; gap:clamp(40px,6vh,72px); }
.about-page .about-details-aside { display:grid; gap:16px; }
.about-page .about-info { padding:24px 26px; }
.about-page .about-info.paper { background:var(--paper); }
.about-page .about-info h2 { font-size:18px; margin-bottom:12px; }
.about-page .about-info p { font-size:16px; line-height:1.7; color:var(--ink-2); }
.about-page .about-disclaimer { padding:20px 22px; border-radius:var(--radius); font-size:16px; line-height:1.6; color:var(--ink-2); }
@media(max-width:860px) { .about-page .about-details { grid-template-columns:minmax(0,1fr); } }
/* Typography of /about matches the RA reference; page content and layout stay unchanged. */
.about-page { font-family:Onest,Arial,sans-serif; font-size:16px; line-height:normal; }
.about-page > .text-btn { font-size:14px; font-weight:700; line-height:normal; }
.about-page .page-hero .eyebrow { font-size:13px; font-weight:700; line-height:normal; letter-spacing:.16em; }
.about-page .page-hero h1 { font-size:clamp(34px,5vw,64px); font-weight:800; line-height:.98; letter-spacing:-.04em; }
.about-page .page-hero .lead { font-size:clamp(16px,1.4vw,19px); line-height:1.5; }
.about-page .about-sections > section > h2, .about-page .about-details-main h2 { font-size:clamp(21px,2.6vw,28px); font-weight:800; line-height:1; letter-spacing:-.02em; }
.about-page .prose { font-size:16px; line-height:1.7; }
.about-page .prose p { font-size:16px; line-height:1.7; }
.about-page .step-item .eyebrow { font-size:15px; font-weight:800; line-height:normal; letter-spacing:.02em; }
.about-page .step-item h3 { font-size:21px; font-weight:800; line-height:normal; letter-spacing:-.02em; }
.about-page .step-item p { font-size:16px; line-height:1.7; }
.about-page .about-info h2 { font-size:16px; font-weight:800; line-height:normal; letter-spacing:normal; }
.about-page .about-info p { font-size:15px; line-height:1.7; }
.about-page .about-info.paper h2 { font-size:18px; }
.about-page .about-info.paper p { font-size:16px; line-height:1.8; }
.notice { background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:20px 22px; line-height:1.6; overflow-wrap:anywhere; } .notice h2,.notice h3 { font-size:20px; margin-bottom:8px; }
.notice.warn { background:var(--warn-bg); border-color:var(--warn-border); } .notice.danger { background:var(--danger-bg); border-color:var(--danger-border); } .notice.success { background:var(--success-bg); border-color:var(--success-border); }
.notice .row { margin-top:16px; } .disclaimer { background:var(--warm-warn); border:1.5px solid var(--warm-warn-line); border-radius:24px; padding:32px 36px; font-size:17px; line-height:1.7; }
.field { display:flex; flex-direction:column; gap:10px; min-width:0; } .field>label { font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); }
input:not([type=checkbox],[type=radio]),select,textarea { width:100%; min-width:0; background:var(--paper); border:1.5px solid var(--line); border-radius:var(--radius-sm); padding:16px 18px; color:var(--ink); }
input:focus,select:focus,textarea:focus { background:var(--white); border-color:var(--ink); } textarea { resize:vertical; } input[type=checkbox],input[type=radio] { accent-color:var(--ink); width:18px; height:18px; flex-shrink:0; }
fieldset { border:0; padding:0; margin:0; min-width:0; } legend { font-size:16px; font-weight:800; margin-bottom:16px; } .check-label { display:flex; align-items:flex-start; gap:12px; font-size:15px; line-height:1.6; }
.choices { display:flex; gap:12px; flex-wrap:wrap; } .choices.tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr)); }
.choice { display:flex; align-items:center; gap:10px; padding:12px 20px; border:1.5px solid var(--line); background:var(--paper); border-radius:var(--radius-pill); cursor:pointer; font-size:15.5px; line-height:1.5; }
.tiles .choice { border-radius:var(--radius-sm); padding:15px 18px; } .choice:hover { border-color:var(--ink); } .choice:has(input:checked) { background:var(--accent-pale); border-color:var(--ink); font-weight:700; } .choice.full { grid-column:1 / -1; }
.contacts-grid { display:grid; grid-template-columns:minmax(0,1.52fr) minmax(0,1fr); column-gap:22%; row-gap:32px; align-items:start; }
.contact-form label { font-size:15px; font-weight:800; color:var(--ink); text-transform:none; letter-spacing:normal; } .contact-form input:not([type=checkbox]),.contact-form textarea { background:var(--warm-paper); border-color:var(--warm-line); border-radius:20px; padding:24px 26px; font-size:17px; }
.contact-form h2 { font-size:clamp(26px,3.2vw,40px); } .contact-aside { gap:32px; } .contact-aside .card { padding:30px 32px; border-radius:24px; border-color:var(--warm-line); } .contact-aside h3 { font-size:19px; } .contact-aside .warm { background:var(--warm-paper); border:0; }
.honeypot { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.flow-header { position:sticky; top:0; z-index:40; border-bottom:1.5px solid var(--line); background:rgba(255,255,255,.92); backdrop-filter:blur(14px); padding:16px 0; }
.flow-header .wrap { display:flex; align-items:center; justify-content:space-between; gap:16px; } .flow-header .brand-disc { width:36px; height:36px; font-size:14px; } .flow-header .brand-name { font-size:13.5px; max-width:175px; }
.flow-heading { text-align:center; font-size:15px; font-weight:800; } .flow-heading small { display:block; font-weight:400; color:var(--muted); font-size:14px; } .expiry { font-size:13px; color:var(--muted); max-width:25ch; text-align:right; }
.flow-main { width:min(900px,100% - 48px); margin:28px auto 60px; gap:20px; } .flow-card { padding:clamp(24px,3.4vw,40px); } .flow-card h1 { font-size:clamp(26px,3.2vw,38px); }
.step-rail { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:8px; } .step-rail li { padding:6px 13px; border-radius:var(--radius-pill); font-size:12.5px; font-weight:700; background:var(--paper); color:var(--muted); border:1px solid var(--line); }
.step-rail .current { background:var(--accent-pale); border-color:var(--ink); color:var(--ink); } .step-rail .complete { background:var(--success-bg); border-color:var(--success-border); color:var(--ink); }
.actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; padding-top:22px; border-top:1.5px solid var(--line); } .flow-bottom { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:14px; }
.upload-zone { padding:28px; border:1.5px dashed var(--accent-deep); border-radius:var(--radius); background:var(--paper); } .meter { height:6px; background:var(--line); border-radius:var(--radius-pill); overflow:hidden; } .meter>span { display:block; height:100%; background:var(--accent); }
.file-position { border:1.5px solid var(--line); border-radius:var(--radius); padding:20px 22px; } .file-position h3 { font-size:17px; } .file-position.absent { opacity:.65; } .file-state { padding:12px; border-radius:var(--radius-xs); background:var(--success-bg); overflow-wrap:anywhere; }
.file-state.danger { background:var(--danger-bg); }
.ocr-result pre { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; line-height:1.7; margin:0; padding:16px; background:var(--paper); }
#upload-message { white-space:pre-line; }
.spinner { display:inline-block; width:22px; height:22px; border:3px solid var(--line); border-top-color:var(--ink); border-radius:50%; animation:spin 1s linear infinite; vertical-align:middle; margin-right:10px; } @keyframes spin { to { transform:rotate(360deg); } }
.data-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr)); gap:14px; } .fact { padding:20px; border-radius:var(--radius-sm); background:var(--paper); display:flex; flex-direction:column; gap:12px; }
.fact-label { font-size:13px; font-weight:700; text-transform:uppercase; color:var(--muted); } .fact-value { font-size:20px; font-weight:800; overflow-wrap:anywhere; }
.source { margin-top:8px; background:var(--white); border:1.5px solid var(--ink); border-radius:var(--radius-sm); padding:20px; font-size:16px; line-height:1.7; } mark { background:var(--accent); color:var(--ink); }
.group-tabs { display:flex; flex-wrap:wrap; gap:8px; } .group-tabs button { font-size:14px; padding:10px 15px; border:1.5px solid var(--line); border-radius:var(--radius-pill); background:var(--paper); } .group-tabs [aria-selected=true] { border-color:var(--ink); background:var(--accent-pale); font-weight:700; }
.disclosure { border:1.5px solid var(--line); border-radius:var(--radius-sm); padding:18px; } .disclosure summary { cursor:pointer; font-weight:700; } .disclosure[open] summary { margin-bottom:18px; }
.calculation { width:100%; border-collapse:collapse; font-size:15px; } .calculation th,.calculation td { padding:14px 10px; text-align:left; border-bottom:1px solid var(--line); overflow-wrap:anywhere; } .calculation tr:last-child { background:var(--accent-pale); font-weight:800; }
.pdf-frame { border:1.5px solid var(--ink); border-radius:var(--radius); overflow:hidden; } .pdf-title { background:var(--success-bg); padding:18px; } .pdf-content { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr)); gap:24px; padding:24px; }
.pdf-sheet { background:var(--white); border:1px solid var(--line); padding:24px; font-size:13.5px; line-height:1.7; box-shadow:var(--shadow-1); } .pdf-sheet h3 { font-size:18px; margin:30px 0 18px; } .pdf-sheet p { margin:12px 0; }
.rating { display:flex; gap:8px; flex-wrap:wrap; } .rating label { cursor:pointer; display:flex; align-items:center; gap:4px; } .rating span { color:var(--rating-off); font-size:34px; line-height:1.4; } .rating label:has(input:checked) span { color:var(--rating); }
.rating label { position:relative; }
.rating input { position:absolute; width:1px; height:1px; opacity:0; }
.rating label:has(input:focus-visible) span { outline:2px solid var(--ink); outline-offset:2px; }
#delete-action { background:var(--danger); color:var(--white); }
.filters { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:32px; } .filters button { border:1.5px solid transparent; cursor:pointer; } .filters .active { background:var(--ink); color:var(--white); border-color:var(--ink); }
.empty { border:1.5px dashed var(--accent-deep); border-radius:var(--radius-lg); padding:32px; } .article-card { display:flex; flex-direction:column; gap:18px; padding:32px; text-decoration:none; transition:.2s; }
.article-card:hover { border-color:var(--ink); box-shadow:var(--shadow-2); transform:translateY(-2px); } .article-card h2,.article-card h3 { font-size:23px; line-height:1.15; letter-spacing:-.024em; }
.category { font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:.14em; align-self:flex-start; padding:8px 14px; background:var(--accent-pale); border-radius:var(--radius-pill); }
.article-tail { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:auto; font-size:14px; font-weight:600; } .circle-arrow { width:38px; height:38px; border:1.5px solid var(--line); border-radius:50%; display:grid; place-items:center; }
.article-card:hover .circle-arrow { border-color:var(--ink); } .featured { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr)); border:1.5px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; margin-bottom:40px; }
.featured>div { padding:36px; } .featured h2 { font-size:clamp(24px,2.6vw,34px); } .art { background:var(--accent); display:grid; place-items:center; }
.art-document { background:var(--white); width:180px; padding:24px; border-radius:var(--radius); box-shadow:var(--shadow-3); } .art-document span { display:block; height:8px; margin:14px 0; background:var(--line); } .art-document span:first-child { background:var(--accent); }
.article-main { width:min(760px,100% - 48px); margin:auto; padding-block:48px 80px; } .article-main h1 { font-size:clamp(28px,3.6vw,46px); } .article-main h2 { font-size:clamp(22px,2.4vw,30px); }
.article-main .prose h2 { margin-top:34px; } .article-meta { border-bottom:1.5px solid var(--line); padding-bottom:22px; font-size:14px; color:var(--muted); } .article-cta { padding:28px; border-radius:var(--radius-lg); }
.legal-grid { display:grid; grid-template-columns:300px minmax(0,1fr); gap:48px; align-items:start; } .toc { position:sticky; top:96px; } .toc a { display:flex; gap:12px; padding:13px 16px; font-size:15.5px; font-weight:600; text-decoration:none; border-radius:var(--radius-sm); color:var(--muted); } .toc a.active { background:var(--ink); color:var(--white); }
.legal-section { padding-block:34px; border-top:1.5px solid var(--line); scroll-margin-top:0; } .legal-section h2 { display:flex; gap:16px; align-items:center; margin-bottom:22px; font-size:clamp(22px,2.4vw,30px); }
.legal-document .page-hero h1 { max-width:24ch; }
.legal-metadata { flex-direction:column; align-items:flex-start; gap:10px; overflow-wrap:anywhere; }
.legal-review-note { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:40px; padding:24px; background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); }
.legal-review-note p { max-width:86ch; color:var(--muted); font-size:15px; }
.legal-review-note .btn { flex-shrink:0; }
.legal-text { min-width:0; overflow-wrap:anywhere; }
.legal-text>p { margin-bottom:20px; }
.legal-text .legal-section p+p,.legal-text .legal-section ul+p { margin-top:16px; }
.legal-list { margin:16px 0; padding-left:24px; }
.legal-list li { padding-left:4px; margin-bottom:12px; line-height:1.65; }
.legal-requisites { padding:24px; background:var(--paper); border-radius:var(--radius); }
.legal-related { display:flex; flex-wrap:wrap; gap:16px 28px; padding-top:32px; border-top:1px solid var(--line); font-size:15px; }
.legal-document .toc { max-height:calc(100vh - 120px); overflow-y:auto; }
@media(max-width:900px) { .legal-document .toc { max-height:none; } .legal-review-note { flex-direction:column; align-items:flex-start; } }
.section-number { width:44px; height:44px; flex-shrink:0; display:grid; place-items:center; background:var(--accent); border-radius:var(--radius-sm); font-size:19px; }
.metadata { display:flex; gap:12px; flex-wrap:wrap; } .metadata span { padding:13px 22px; border:1.5px solid var(--line-dark); border-radius:var(--radius-pill); font-size:14px; background:rgba(255,255,255,.06); }
.metadata strong { color:var(--accent); }
.article-groups { gap:40px; }
.dependent { border:0; border-left:2px solid var(--accent); border-radius:0; }
.email-code { font-size:20px; font-weight:700; letter-spacing:.3em; }
.expiry-fact { background:var(--accent-pale); border:1.5px solid var(--ink); }
.group-tabs .group-conflict { background:var(--warn-bg); border-color:var(--warn-border); }
.group-tabs .group-confirmed { background:var(--success-bg); border-color:var(--success-border); }
input[aria-invalid=true],textarea[aria-invalid=true] { background:var(--danger-bg); border-color:var(--danger); }
.field-error { color:var(--danger); font-size:14px; }
.revealed { animation:reveal .7s ease both; }
@keyframes reveal { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
dialog { max-width:min(540px,calc(100% - 32px)); border:1.5px solid var(--ink); border-radius:var(--radius-lg); padding:32px; color:var(--ink); } dialog::backdrop { background:rgba(15,25,15,.5); } dialog h2 { font-size:26px; } dialog p { margin:20px 0; }
.skip-link { position:fixed; top:-100px; left:16px; z-index:100; background:var(--white); padding:16px; border:2px solid var(--ink); } .skip-link:focus { top:10px; }
.review-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr)); gap:20px; } .review-list a { display:block; padding:8px 0; line-height:1.5; }
.preview-label { padding:12px 16px; background:var(--warn-bg); border:1px solid var(--warn-border); border-radius:var(--radius-sm); font-size:14px; line-height:1.5; }
@media(max-width:1200px) { .desktop-nav { display:none; } .menu-toggle { display:grid; } }
@media(max-width:980px) { .footer-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:900px) { .contacts-grid,.legal-grid { grid-template-columns:1fr; gap:32px; } .toc { position:static; } }
@media(max-width:880px) { .about-steps { grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr)); } }
@media(max-width:760px) { .cta h2 span { white-space:normal; } .flow-header .wrap { flex-wrap:wrap; } .flow-heading { text-align:left; } .expiry { max-width:none; width:100%; text-align:left; } }
@media(max-width:620px) { .footer-grid { grid-template-columns:1fr; } .header-inner { gap:10px; } .site-header .brand-name { max-width:125px; font-size:12px; } .header-actions .btn { font-size:12px; padding:12px 14px; } .site-header .brand-disc { width:36px; height:36px; font-size:14px; } .site-header .brand { gap:8px; } .source[open] { position:fixed; inset:12px; z-index:60; margin:0; overflow:auto; } }
@media(max-width:400px) { .site-header .brand-name { display:none; } .header-actions { gap:8px; } .brand-name { max-width:155px; } .btn { padding:16px 20px; } .btn.large { padding:18px 24px; } .hero { margin-top:20px; border-radius:var(--radius-lg); } .stairs { gap:6px; } .stair-label { font-size:11px; } .flow-card { padding:20px; } .pdf-content,.pdf-sheet { padding:16px; } .disclaimer { padding:24px; } }
@media(max-width:350px) { .hero h1 { font-size:32px; overflow-wrap:normal; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none !important; transition:none !important; } }

/* Legal documents: RA document layout, using VD colour tokens. Scoped so other pages retain their layout. */
.legal-document { width:min(1180px,100% - 48px); margin:clamp(24px,4vh,48px) auto clamp(64px,8vh,110px); line-height:normal; }
.legal-document h1,.legal-document h2 { margin:0; color:inherit; font-weight:800; line-height:1; letter-spacing:-.03em; }
.legal-document p { margin:0; }
.legal-document .legal-back { display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:14px; color:var(--muted); margin-bottom:18px; text-decoration:none; }
.legal-back svg { width:17px; height:17px; }
.legal-document .legal-back:hover { color:var(--ink); }
.legal-head { padding:clamp(30px,4vw,52px) clamp(28px,4vw,56px); border-radius:var(--radius-xl); background:var(--ink); color:var(--white); position:relative; overflow:hidden; }
.legal-head::before { content:""; position:absolute; inset:0; opacity:.5; pointer-events:none; background-image:repeating-linear-gradient(135deg,transparent 0 40px,color-mix(in srgb,var(--accent) 6%,transparent) 40px 41px); }
.legal-head>* { position:relative; }
.legal-tag { display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:13px; letter-spacing:.16em; text-transform:uppercase; color:var(--accent-pale); }
.legal-tag::before { content:""; width:24px; height:3px; background:var(--accent-pale); border-radius:3px; }
.legal-document .legal-head h1 { font-size:clamp(34px,5vw,64px); line-height:.98; letter-spacing:-.04em; margin:20px 0 14px; max-width:22ch; overflow-wrap:normal; }
.legal-document .legal-sub { color:rgba(255,255,255,.74); font-size:clamp(16px,1.4vw,19px); line-height:1.5; max-width:60ch; }
.legal-meta { margin-top:26px; display:flex; flex-wrap:wrap; gap:10px; }
.legal-meta span { max-width:100%; font-size:13px; font-weight:600; color:var(--white); background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.16); padding:8px 14px; border-radius:var(--radius-pill); }
.legal-meta b { color:var(--accent-pale); font-weight:700; overflow-wrap:anywhere; }
.legal-document .legal-grid { display:grid; grid-template-columns:248px minmax(0,1fr); gap:clamp(28px,4vw,64px); margin-top:clamp(28px,4vw,52px); align-items:start; }
.legal-sidebar { grid-column:1; grid-row:1; position:sticky; top:98px; }
.legal-document .toc { position:static; max-height:none; overflow:visible; }
.legal-toc-title { font-weight:700; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:14px; padding-left:14px; }
.legal-toc-list { display:grid; gap:2px; max-height:calc(100vh - 150px); overflow:auto; }
.legal-document .toc a { display:flex; gap:10px; align-items:baseline; padding:8px 14px; border-radius:var(--radius-xs); font-size:14px; font-weight:600; color:var(--muted); line-height:1.3; text-decoration:none; transition:background .15s,color .15s; }
.legal-document .toc a:hover { background:var(--paper); color:var(--ink); }
.legal-document .toc a.active { background:var(--ink); color:var(--white); }
.legal-document .toc a>span { flex:none; font-weight:800; font-size:12px; color:var(--ink); width:20px; }
.legal-document .toc a.active>span { color:var(--accent-pale); }
.legal-download { grid-column:1 / -1; grid-row:2; display:flex; align-items:center; gap:24px; padding-top:22px; border-top:1px solid var(--line); }
.legal-document .legal-status { color:var(--muted); font-size:12px; line-height:1.5; }
.legal-download .btn { flex-shrink:0; }
.legal-document .legal-text { grid-column:2; grid-row:1; min-width:0; font-size:17px; line-height:1.7; color:var(--ink-2); overflow-wrap:break-word; }
.legal-document .legal-intro { font-size:clamp(18px,1.6vw,21px); line-height:1.6; color:var(--ink); padding-bottom:8px; }
.legal-intro strong { font-weight:700; }
.legal-document .legal-section { padding:14px 0 0; margin-top:30px; border-top:1.5px solid var(--line); scroll-margin-top:0; }
.legal-document .legal-section:first-of-type { border-top:none; }
.legal-document .legal-section h2 { display:flex; gap:16px; align-items:flex-start; margin-bottom:18px; font-size:clamp(22px,2.6vw,30px); letter-spacing:-.03em; line-height:1.1; }
.legal-document .legal-section h2>span:last-child { padding-top:6px; min-width:0; }
.legal-document .section-number { position:relative; flex:none; font-weight:800; font-size:18px; color:var(--ink); background:var(--accent); width:42px; height:42px; border-radius:var(--radius-sm); display:grid; place-items:center; letter-spacing:-.02em; }
.legal-period { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.legal-document .legal-section p { margin:0 0 14px; max-width:70ch; line-height:1.7; }
.legal-document .legal-section p+p,.legal-document .legal-section ul+p { margin-top:0; }
.legal-clause { font-weight:800; color:var(--ink); margin-right:7px; font-size:.94em; }
.legal-document .legal-section p.legal-note { background:var(--paper); border:1.5px solid var(--line); border-left:4px solid var(--accent); border-radius:var(--radius-sm); padding:16px 20px; color:var(--ink-2); }
.legal-document .legal-section p.legal-list-intro { font-weight:600; color:var(--ink); }
.legal-document .legal-list { list-style:none; margin:4px 0 18px; padding:0; display:grid; gap:11px; max-width:70ch; }
.legal-document .legal-list li { position:relative; display:flex; gap:12px; font-size:16px; line-height:1.5; color:var(--ink-2); padding:0; margin:0; }
.legal-list li::before { content:""; flex:none; width:22px; height:22px; margin-top:1px; border-radius:50%; background:var(--accent); }
.legal-list-check li::after { content:""; position:absolute; left:0; top:1px; width:22px; height:22px; background:var(--ink); mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat; }
.legal-list-x li::before { background:var(--paper); border:1.5px solid var(--line); }
.legal-document-tariffs .legal-list-x li::before { box-sizing:border-box; }
.legal-list-x li::after { content:""; position:absolute; left:0; top:1px; width:22px; height:22px; background:var(--danger); mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center / 11px no-repeat; }
.legal-document .legal-list-n li { gap:14px; }
.legal-list-n li::before { width:7px; height:7px; margin:9px 0 0 7px; background:var(--accent); }
.legal-document .legal-requisites { background:var(--paper); border:1.5px solid var(--line); border-radius:var(--radius-lg); padding:26px 28px; margin-top:10px; }
.legal-requisites-title { font-weight:800; font-size:18px; margin-bottom:12px; }
.legal-document .legal-requisites p { margin:0; line-height:1.8; }
.legal-document .legal-contact-link { font-weight:600; text-decoration:underline; text-decoration-color:var(--accent); text-decoration-thickness:2px; text-underline-offset:3px; }
.legal-document .legal-related { margin-top:32px; }
@media(min-width:521px) { .legal-brand { white-space:nowrap; } }
@media(max-width:900px) {
 .legal-document .legal-grid { grid-template-columns:minmax(0,1fr); }
 .legal-sidebar { position:static; }
 .legal-document .toc { margin-bottom:8px; border:1.5px solid var(--line); border-radius:var(--radius); padding:18px; }
 .legal-toc-list { max-height:none; }
 .legal-document .legal-text { grid-column:1; grid-row:2; }
 .legal-download { grid-row:3; flex-direction:column; align-items:flex-start; }
}
@media(max-width:345px) { .legal-document .legal-head h1 { font-size:30px; } }
/* The unbroken VD name is wider than either word in the RA name. */
@media(max-width:380px) { .legal-document .legal-head h1:has(.legal-brand) { font-size:clamp(27px,calc(13.5vw - 16px),34px); } }
/* Раздел «Статьи»: проза, оглавление, обложка, «Читайте также», канал (VD_design_dev.md 3.2–3.3; состав — как у СП и РА). */
.article-back { align-self:flex-start; font-size:14px; font-weight:700; text-decoration:none; }
.article-cover { min-height:clamp(240px,24vw,260px); padding-block:28px; border-radius:var(--radius-lg); }
.article-toc { gap:14px; } .article-toc h2 { font-size:18px; } .article-toc ol { margin:0; padding-left:22px; display:flex; flex-direction:column; gap:8px; }
.article-toc a { font-size:16px; font-weight:600; text-decoration:none; } .article-toc a:hover { text-decoration:underline; text-decoration-color:var(--accent-deep); }
.article-body>*+* { margin-top:16px; } .article-main .article-body h2 { margin-top:34px; scroll-margin-top:96px; }
.article-body a { text-decoration:underline; text-decoration-color:var(--accent-deep); text-decoration-thickness:2px; text-underline-offset:3px; }
.article-body ol { padding-left:24px; display:flex; flex-direction:column; gap:10px; } .article-body .check-list { gap:12px; }
.article-body strong { color:var(--ink); }
.article-body blockquote { margin:0; background:var(--paper); border:1.5px solid var(--line); border-left:4px solid var(--accent); border-radius:var(--radius); padding:18px 22px; }
.table-wrap { overflow-x:auto; border:1.5px solid var(--line); border-radius:var(--radius); }
.article-body table { width:100%; border-collapse:collapse; font-size:15.5px; line-height:1.5; }
.article-body th,.article-body td { text-align:left; vertical-align:top; padding:12px 16px; border-bottom:1.5px solid var(--line); min-width:150px; }
.article-body th { background:var(--paper); color:var(--ink); font-weight:700; } .article-body tr:last-child td { border-bottom:0; }
.article-cta h2 { color:var(--white); } .article-cta .row,.related-articles>.row { justify-content:flex-start; margin-top:0; }
.related-articles { margin-top:24px; } .related-articles>.row { justify-content:space-between; }
.tg-card { display:flex; align-items:center; gap:16px; flex-wrap:wrap; padding:18px 22px; background:var(--paper); border:1.5px solid var(--line); border-radius:var(--radius); text-decoration:none; color:var(--ink); transition:.2s; }
.tg-card:hover { border-color:var(--ink); transform:translateY(-2px); }
.tg-mark { width:44px; height:44px; flex-shrink:0; border-radius:50%; background:var(--ink); color:var(--accent); display:grid; place-items:center; }
.tg-text { display:flex; flex-direction:column; gap:4px; flex:1 1 220px; } .tg-text strong { font-size:18px; font-weight:800; } .tg-text .muted { font-size:14px; }
.tg-action { display:inline-flex; align-items:center; gap:6px; font-size:15px; font-weight:700; }
/* Каталог статей и «База знаний» на главной — разметка и размеры СП (blog.css, styles.css .kbcard), цвета и шрифт ВД. */
.kb-page { padding-bottom:var(--section-pad); }
.kb-head { padding-top:clamp(36px,6vh,80px); padding-bottom:clamp(28px,4vh,48px); }
.kb-back { display:flex; width:fit-content; align-items:center; gap:8px; margin-bottom:18px; font-size:14px; font-weight:700; color:var(--muted); text-decoration:none; }
.kb-back:hover { color:var(--ink); } .kb-back .icon { width:17px; height:17px; stroke-width:2.2; margin:0; }
.kb-head .eyebrow { margin-bottom:18px; }
.kb-head__title { font-weight:800; font-size:clamp(38px,6vw,78px); line-height:.98; letter-spacing:-.04em; max-width:16ch; }
.kb-head__sub { color:var(--muted); font-size:clamp(16px,1.5vw,19px); line-height:1.5; margin-top:18px; max-width:56ch; }
.kbfilter { display:flex; flex-wrap:wrap; align-items:center; gap:12px; justify-content:space-between; margin-bottom:clamp(24px,4vw,40px); }
.kbfilter__chips { display:flex; flex-wrap:wrap; gap:8px; }
.kbchip { font:inherit; font-weight:700; font-size:14px; line-height:normal; color:var(--ink); background:var(--white); border:1.5px solid var(--line); border-radius:var(--radius-pill); padding:8px 16px; cursor:pointer; transition:border-color .15s,background .15s,color .15s; }
.kbchip:hover { border-color:var(--ink); } .kbchip.is-active { background:var(--ink); color:var(--white); border-color:var(--ink); }
.kbfilter .kbfilter__search { font:inherit; font-size:15px; color:var(--ink); background:var(--white); border:1.5px solid var(--line); border-radius:var(--radius-pill); padding:9px 18px; min-width:240px; flex:0 1 320px; width:auto; }
.kbfilter .kbfilter__search:focus { outline:none; border-color:var(--ink); background:var(--white); }
.kbfilter-empty { color:var(--muted); font-size:16px; padding:8px 0 40px; }
.kbsec { margin-bottom:clamp(40px,6vw,72px); }
.kbsec__head { display:flex; align-items:baseline; gap:14px; margin-bottom:clamp(20px,3vw,30px); padding-bottom:16px; border-bottom:1.5px solid var(--line); }
.kbsec__title { font-weight:800; font-size:clamp(24px,3vw,36px); letter-spacing:-.03em; line-height:1; }
.kbsec__count { font-size:14px; font-weight:700; color:var(--ink); background:var(--accent-pale); border-radius:var(--radius-pill); padding:5px 12px; white-space:nowrap; }
.feat { display:grid; grid-template-columns:1.1fr .9fr; border-radius:var(--radius-lg); overflow:hidden; border:1.5px solid var(--line); background:var(--white); margin-bottom:18px; color:inherit; text-decoration:none; transition:transform .2s,box-shadow .2s,border-color .2s; }
.feat:hover { transform:translateY(-4px); border-color:var(--ink); box-shadow:var(--shadow-2); }
.feat__body { padding:clamp(28px,4vw,46px); display:flex; flex-direction:column; gap:14px; justify-content:center; }
.feat__tag,.kbcard__tag { align-self:flex-start; font-weight:700; font-size:12px; letter-spacing:.04em; text-transform:uppercase; color:var(--ink); background:var(--accent-pale); padding:6px 12px; border-radius:var(--radius-pill); }
.feat__title { font-weight:800; font-size:clamp(26px,3.2vw,40px); line-height:1.04; letter-spacing:-.03em; }
.feat__excerpt { color:var(--muted); font-size:15px; line-height:1.55; max-width:46ch; }
.feat__meta { margin-top:4px; font-size:13px; font-weight:600; color:var(--muted); }
.feat__art { background:var(--accent); position:relative; min-height:240px; overflow:hidden; }
.feat__art::before { content:""; position:absolute; inset:0; background-image:repeating-linear-gradient(135deg,transparent 0 30px,color-mix(in srgb,var(--ink) 5%,transparent) 30px 31px); }
.feat__doc { position:absolute; inset:0; margin:auto; width:60%; height:72%; background:var(--white); border-radius:var(--radius-sm); box-shadow:var(--shadow-2); padding:22px; display:block; }
.feat__doc .ln { display:block; height:9px; background:var(--line); border-radius:999px; margin:9px 0; }
.feat__doc .ln.s { width:48%; } .feat__doc .ln.m { width:76%; } .feat__doc .ln.head { height:14px; width:60%; background:var(--ink); margin-bottom:16px; }
.feat__doc .stamp { position:absolute; right:-14px; bottom:-14px; width:52px; height:52px; border-radius:50%; background:var(--ink); display:grid; place-items:center; box-shadow:var(--shadow-3); }
.feat__doc .stamp .icon { width:26px; height:26px; stroke:var(--accent); stroke-width:3; margin:0; }
.kb__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.kbcard { display:flex; flex-direction:column; gap:12px; background:var(--white); border:1.5px solid var(--line); border-radius:var(--radius-lg); padding:26px; min-height:220px; min-width:0; color:inherit; text-decoration:none; transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.kbcard:hover { transform:translateY(-4px); border-color:var(--ink); box-shadow:var(--shadow-2); }
.kbcard__title { font-weight:800; font-size:21px; line-height:1.12; letter-spacing:-.025em; }
.kbcard__excerpt { color:var(--muted); font-size:14px; line-height:1.5; }
.kbcard__meta { margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.kbcard__time { font-size:13px; font-weight:600; color:var(--muted); }
.kbcard__arrow { width:34px; height:34px; border-radius:50%; border:1.5px solid var(--line); display:grid; place-items:center; transition:background .18s,border-color .18s; }
.kbcard__arrow .icon { width:16px; height:16px; stroke:var(--ink); stroke-width:2.2; margin:0; transition:transform .18s; }
.kbcard:hover .kbcard__arrow { background:var(--accent); border-color:var(--accent); } .kbcard:hover .kbcard__arrow .icon { transform:translateX(2px); }
.kb-page .kbcard__tag,.kb-page .feat__tag { cursor:pointer; } .feat--lead { margin-bottom:clamp(40px,6vw,72px); }
.kb__more { margin-top:28px; display:flex; justify-content:center; }
.kbchip:focus-visible,.feat:focus-visible,.kbcard:focus-visible,.kb-back:focus-visible,.kbfilter__search:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
@media(max-width:860px) { .kb__grid { grid-template-columns:1fr 1fr; } }
@media(max-width:760px) { .feat { grid-template-columns:1fr; } .feat__art { min-height:180px; order:-1; } }
@media(max-width:560px) { .kb__grid { grid-template-columns:1fr; } }
