:root{--accent:#0657ee;--ink:#101a30;--muted:#49566b;--line:#d8e1ed;--paper:#edf3f8}
*{box-sizing:border-box} [hidden]{display:none!important}
body{background:var(--paper);color:var(--ink);font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;margin:0;min-height:100vh}
a{color:var(--accent);text-underline-offset:3px}
a:hover{text-decoration:underline}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.skip-link{position:absolute;left:16px;top:-100px;background:#fff;padding:8px;z-index:99999}
.skip-link:focus{top:45px}
.mast{background:#fff;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px clamp(16px,4vw,64px);border-bottom:1px solid var(--line);color:var(--muted)}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:clamp(19px,2.3vw,30px);font-weight:800;text-decoration:none}
.brand-logo{width:auto;height:44px;object-fit:contain;max-width:100px}
.mark,.provider-icon{display:grid;place-items:center;flex:none;border-radius:11px;width:44px;height:44px}
.mark{background:var(--accent);color:#fff}
.wrap-site{width:min(88%,1350px);margin:0 auto;padding:0 0 40px}
.intro{text-align:center;padding:44px 0 26px}
.intro h1{font-size:clamp(28px,4vw,58px);line-height:1.12;font-weight:850;letter-spacing:-.045em;margin:0 0 8px}
.intro p{color:var(--muted);font-size:clamp(15px,1.65vw,23px);margin:0}
.filters,.table-wrap{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 2px #14274709}
.filters{padding:20px 25px}
.filter-top,.result-line{display:flex;align-items:center;justify-content:space-between;gap:12px}
.segments{display:inline-flex;border:1px solid var(--line);border-radius:9px;overflow:hidden}
button,select{font:inherit;color:var(--ink)}
.segments button{padding:8px clamp(13px,2vw,28px);border:0;border-right:1px solid var(--line);background:#fff;cursor:pointer}
.segments button:last-child{border-right:0}
.segments button[aria-pressed=true]{background:var(--accent);color:#fff}
.segments button:focus-visible{outline-offset:-4px;outline-color:#193974}
.free-check{display:flex;align-items:center;gap:8px}
.free-check input{accent-color:var(--accent);width:18px;height:18px}
.filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:16px}
.filter-grid label{display:grid;gap:6px;font-weight:550}
select{background:#fff;border:1px solid #aebacd;border-radius:8px;padding:8px 10px;width:100%;min-width:0}
.result-line{margin:20px 0 14px}
.sort{width:auto;max-width:55%}
.table-wrap{overflow:auto}
.provider-info{min-width:0;overflow-wrap:anywhere}
.filter-toggle,.mobile-label{display:none}
.price-table{width:100%;min-width:680px;border-collapse:collapse;text-align:left}
.price-table tr>*{padding:12px clamp(10px,1.65vw,25px);border-bottom:1px solid var(--line)}
.price-table tbody tr:last-child>*{border-bottom:0}
.price-table thead{background:#f3f6fa;color:#38465c;font-size:13px;text-transform:uppercase;white-space:nowrap}
.price-table td{font-variant-numeric:tabular-nums}
.price-table td:not(:first-child){white-space:nowrap}
.provider{display:flex;gap:12px;align-items:center;max-width:440px}
.provider a{color:inherit;text-decoration:none}
.provider a:hover{text-decoration:underline}
.provider .arrow,.provider small a{color:var(--accent)}
.provider-icon{background:#dcecff;color:#175dcc}
.provider-icon.vps{background:#ede7fd;color:#6432c3}
.provider-icon img{object-fit:contain;border-radius:10px}
.price-table small{display:block;color:var(--muted);font-weight:400}
.price-table small+small{margin-top:3px}
.forever{color:#187428}.trial{color:#a44800}
.price-note{color:var(--muted);font-size:14px}
.articles{padding-top:25px}
.articles article{background:white;padding:24px;margin-bottom:12px;border-radius:12px}
@media (max-width: 850px) {
  .wrap-site { width: min(calc(100% - 24px), 620px); }
  .mast { min-height: 58px; padding: 10px 14px; }
  .mast > span { display: none; }
  .brand { min-width: 0; gap: 9px; font-size: 19px; overflow-wrap: anywhere; }
  .brand .mark { width: 34px; height: 34px; border-radius: 9px; }
  .brand .mark svg { width: 20px; height: 20px; }
  .brand-logo { height: 34px; }

  .intro {
    margin: 12px 0;
    padding: 18px 14px;
    border: 1px solid #d5e5fb;
    border-radius: 14px;
    background: linear-gradient(120deg, #e6efff, #f1f8ff);
    text-align: left;
  }
  .intro h1 {
    margin-bottom: 5px;
    font-size: clamp(25px, 5.8vw, 34px);
    line-height: 1.14;
    letter-spacing: -.035em;
    text-wrap: balance;
  }
  .intro p { font-size: 14px; }

  .filters { padding: 10px; }
  .filter-top { flex-direction: column; align-items: stretch; gap: 5px; }
  .segments {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 3px;
    border: 0;
    border-radius: 10px;
    background: #edf3fb;
  }
  .segments button {
    min-height: 44px;
    padding: 5px 2px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
  }
  .filter-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .free-check { min-height: 44px; padding-inline: 3px; font-size: 14px; }
  .free-check input { flex: none; margin: 0; }
  .filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
  }
  .filter-toggle::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-2px) rotate(45deg);
  }
  .filter-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
  .filter-toggle span { margin-left: 4px; }
  .filter-top:has(.filter-toggle[aria-expanded="false"]) + .filter-grid { display: none; }
  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 13px;
  }
  .filter-grid select, .sort { min-height: 44px; font-size: 16px; }
  .result-line { margin: 10px 0 8px; font-size: 14px; }
  .sort { max-width: 68%; }

  .table-wrap { overflow: visible; background: transparent; border: 0; box-shadow: none; }
  .price-table, .price-table tbody { display: block; min-width: 0; }
  .price-table thead {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .price-table tbody tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 9px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 2px 6px #1427470a;
  }
  .price-table tbody tr > * {
    min-width: 0;
    padding: 8px 11px;
    border: 0;
    overflow-wrap: anywhere;
  }
  .price-table tbody th, .price-table #ssh-empty td { grid-column: 1 / -1; }
  .price-table tbody th { padding: 10px 11px; }
  .price-table td:not(:first-child) { white-space: normal; }
  .provider { align-items: flex-start; max-width: none; gap: 9px; line-height: 1.35; }
  .provider-icon, .provider-icon img { width: 36px; height: 36px; }
  .provider-icon svg { width: 20px; height: 20px; }
  .provider small { font-size: 13px; }
  .provider small a { display: inline-block; padding-block: 4px; }
  .mobile-label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
  }
  .price-table .plan-spec {
    background: #f3f7fd;
    font-size: 14px;
    font-weight: 700;
  }
  .plan-spec + .plan-spec { box-shadow: inset 1px 0 #e1eaf5; }
  .plan-price { grid-column: span 2; align-self: center; line-height: 1.25; }
  .plan-price strong { font-size: 20px; }
  .plan-price .paid { color: #154eaa; }
  .plan-price small { margin-top: 2px; }
  .plan-updated {
    align-self: center;
    text-align: right;
    font-size: 13px;
    color: var(--muted);
  }
}
