    :root { --bg:#f7f7f5; --fg:#1d1d1b; --muted:#5d6166; --accent:#1f5c99; --card:#ffffff; --line:#e2e2de; }
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) { --bg:#16181b; --fg:#eceae6; --muted:#a2a7ad; --accent:#6fa8e0; --card:#1f2226; --line:#2d3136; }
    }
    :root[data-theme="dark"] { --bg:#16181b; --fg:#eceae6; --muted:#a2a7ad; --accent:#6fa8e0; --card:#1f2226; --line:#2d3136; }
    * { box-sizing: border-box; }
    body { margin:0; background:var(--bg); color:var(--fg); font:16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding-bottom: 72px; }
    .wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
    header { border-bottom:1px solid var(--line); background:var(--card); }
    header .wrap { display:flex; align-items:center; justify-content:space-between; padding:16px; gap:12px; flex-wrap:wrap; }
    .logo { font-weight:700; font-size:20px; }
    nav a { color:var(--fg); text-decoration:none; margin-left:16px; }
    .hero { padding: 48px 0 40px; }
    h1 { font-size: 36px; line-height:1.2; margin:0 0 14px; }
    h2 { font-size: 24px; margin: 44px 0 14px; }
    p { margin: 0 0 12px; }
    ul { padding-left: 20px; margin: 0 0 12px; }
    .muted { color:var(--muted); }
    a { color: var(--accent); }
    .btns { display:flex; gap:12px; flex-wrap:wrap; margin-top:16px; }
    .btn { display:inline-block; background:var(--accent); color:#fff; padding:14px 22px; border-radius:10px; text-decoration:none; font-weight:600; border:0; cursor:pointer; font:inherit; }
    .btn.outline { background:transparent; color:var(--accent); border:2px solid var(--accent); }
    .steps { display:grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap:16px; counter-reset: step; }
    .step { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:20px; }
    .step::before { counter-increment: step; content: counter(step); display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%; background:var(--accent); color:#fff; font-weight:700; margin-bottom:10px; }
    .step h3 { margin:0 0 6px; font-size:18px; }
    .grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:16px; }
    .card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:20px; }
    .card h3 { margin:0 0 8px; font-size:18px; }
    form { display:grid; gap:12px; max-width:520px; }
    input, textarea { font:inherit; padding:12px; border:1px solid var(--line); border-radius:8px; background:var(--card); color:var(--fg); width:100%; }
    textarea { min-height: 96px; }
    .callout { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:28px; margin-top:44px; text-align:center; }
    .callout .big { font-size:26px; font-weight:700; margin:0 0 8px; }
    footer { border-top:1px solid var(--line); margin-top:48px; padding:24px 0; color:var(--muted); font-size:14px; }
    .sticky { position: fixed; left:0; right:0; bottom:0; background:var(--card); border-top:1px solid var(--line); padding:10px 12px; display:flex; gap:10px; z-index:10; }
    .sticky a { flex:1; text-align:center; }
    .sticky .btn { padding:12px 10px; font-size:15px; }
    @media (min-width: 900px) { .sticky { display:none; } body { padding-bottom: 0; } }
    @media (max-width: 600px) { h1 { font-size: 27px; } nav a { margin-left:12px; } }
    .icon { width:44px; height:44px; fill:var(--accent); margin-bottom:10px; display:block; }
    .collage { display:grid; grid-template-columns: repeat(3, 1fr); gap:8px; margin-top:24px; }
    .tile { position:relative; aspect-ratio: 4 / 3; border-radius:12px; overflow:hidden; background: linear-gradient(135deg, var(--accent), var(--card)); display:flex; align-items:flex-end; }
    .tile img, .tile svg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
    .tile span { position:absolute; right:12px; bottom:10px; color:#fff; font-weight:700; font-size:17px; text-align:right; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
    @media (max-width: 600px) { .collage { grid-template-columns: repeat(2, 1fr); } }
    h2 { border-left: 4px solid var(--accent); padding-left: 12px; }
    .facts { display:grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap:16px; margin: 8px 0 0; }
    .fact { background:var(--accent); color:#fff; border-radius:14px; padding:22px; }
    .fact .num { font-size:36px; font-weight:800; line-height:1.1; }
    .fact .lbl { font-size:15px; opacity:0.92; margin-top:6px; }
    .quiz { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:24px; max-width:640px; }
    .quiz .q { font-weight:600; font-size:18px; margin: 0 0 12px; }
    .quiz .opts { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:6px; }
    .quiz .opt { background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:10px 14px; cursor:pointer; font:inherit; color:var(--fg); }
    .quiz .opt:hover { border-color:var(--accent); }
    .quiz .opt.sel { background:var(--accent); color:#fff; border-color:var(--accent); }
    .quiz .nav { display:flex; justify-content:space-between; align-items:center; margin-top:14px; gap:10px; }
    .quiz .prog { color:var(--muted); font-size:14px; }
    .btn:hover, .card:hover, .step:hover, .industry:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
    .btn, .card, .step, .industry { transition: transform .2s ease, box-shadow .2s ease; }
    .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
    .reveal.in { opacity: 1; transform: none; }
    .why { display:grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap:16px; }
    .why div { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:20px; }
    .why strong { display:block; font-size:18px; margin-bottom:6px; }
    .industries { display:grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap:12px; }
    .industry { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:16px; cursor:pointer; text-align:left; font:inherit; color:var(--fg); }
    .industry:hover { border-color: var(--accent); }
    details { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:14px 18px; margin-bottom:10px; }
    summary { cursor:pointer; font-weight:600; }
    details p { margin: 10px 0 0; color: var(--muted); }
    select { font:inherit; padding:12px; border:1px solid var(--line); border-radius:8px; background:var(--card); color:var(--fg); width:100%; }
    @media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; transition:none; } .btn, .card, .step, .industry { transition:none; } }
    .calc { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:20px; max-width:760px; }
    .prof { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); }
    .prof .pname { flex:1; }
    .counter { display:flex; align-items:center; gap:8px; }
    .counter button { width:38px; height:38px; border-radius:8px; border:1px solid var(--line); background:var(--bg); color:var(--fg); font:inherit; font-size:20px; cursor:pointer; line-height:1; }
    .counter button:hover { border-color:var(--accent); }
    .counter .num { min-width:34px; text-align:center; font-weight:700; }
    .winter { display:flex; gap:10px; align-items:center; margin:16px 0 8px; font-weight:600; }
    .winter input { width:auto; }
    .res-table { width:100%; border-collapse:collapse; margin:12px 0; font-size:15px; }
    .res-table th, .res-table td { text-align:left; padding:8px 6px; border-bottom:1px solid var(--line); vertical-align:top; }
    .res-table th { font-size:13px; color:var(--muted); font-weight:600; }
    .res-table td.q { white-space:nowrap; font-weight:700; }
    @media (max-width: 600px) {
      .res-table thead { display:none; }
      .res-table, .res-table tbody, .res-table tr, .res-table td { display:block; width:100%; }
      .res-table tr { border-bottom:1px solid var(--line); padding:8px 0; }
      .res-table td { border:0; padding:2px 0; }
      .res-table td.q { white-space:normal; }
      .res-table td.q::before { content:'Количество: '; color:var(--muted); font-weight:400; }
      .res-table td.t::before { content:'Срок носки: '; color:var(--muted); }
    }
    .aopts { display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 16px; }
    .aopt { background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:10px 14px; cursor:pointer; font:inherit; color:var(--fg); }
    .aopt:hover { border-color:var(--accent); }
    .aopt.sel { background:var(--accent); color:#fff; border-color:var(--accent); }
    .risk { font-size:22px; font-weight:700; margin:20px 0 8px; }
    .normlinks { display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:10px; }
    .normlinks a { display:block; background:var(--card); border:1px solid var(--line); border-radius:10px; padding:12px 14px; text-decoration:none; }
    .normlinks a:hover { border-color:var(--accent); }
    .btn:disabled { opacity:.6; cursor:default; }
  
@media (max-width: 600px) { nav { width:100%; display:flex; justify-content:space-between; } nav a { margin-left:0; font-size:15px; } }
nav a[aria-current] { color:var(--accent); font-weight:600; }
a.logo:hover { opacity:.75; }
[hidden] { display:none !important; }
