@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../../fonts/cormorant-cyrillic.woff2') format('woff2');
  font-weight: 300 600; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../../fonts/cormorant-latin.woff2') format('woff2');
  font-weight: 300 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('../../fonts/inter-cyrillic.woff2') format('woff2');
  font-weight: 300 600; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  src: url('../../fonts/inter-latin.woff2') format('woff2');
  font-weight: 300 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #ffffff;
  --paper-2: #f6f5f2;
  --ink: #1a1917;
  --ink-2: #5f5a52;
  --ink-3: #918a7f;
  --line: #e3ded5;
  --plus: #2f6b46;
  --minus: #9b4a35;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0; background: var(--paper-2); color: var(--ink);
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 16px; line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.top { background: var(--paper); border-bottom: 1px solid var(--line); padding: 54px 0 46px; }
.top h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300; font-size: clamp(34px, 5vw, 56px);
}
.top p { color: var(--ink-2); max-width: 74ch; margin: 18px 0 0; }
.top .note { font-size: 14px; color: var(--ink-3); margin-top: 18px; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.jump a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 15px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; text-decoration: none; color: var(--ink-2);
}
.jump a:hover { border-color: var(--ink-3); color: var(--ink); }

.v, .sect { scroll-margin-top: 16px; }

.v { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); margin: 26px 0; overflow: hidden; }
.v__head { display: grid; grid-template-columns: 62px 1fr; gap: 18px; padding: 26px 28px 20px; border-bottom: 1px solid var(--line); align-items: start; }
.v__key {
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px;
  color: #fff;
}
.v--a .v__key { background: #8a6d3b; }
.v--b .v__key { background: #a2503a; }
.v--c .v__key { background: #1e4a3c; }
.v--d .v__key { background: #1a1917; }

.v--d { border-color: var(--ink); }
.v__head h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 32px; }
.v__sub { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.v__head p { margin: 12px 0 0; color: var(--ink-2); max-width: 92ch; }

.v__body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.v__col { padding: 26px 32px 32px; min-width: 0; }
.v__col + .v__col { border-left: 1px solid var(--line); background: #fbfaf7; }
.v__col h3 {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500; margin-bottom: 18px;
}
.v__col h3::before { content: ''; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--plus); }
.v__col + .v__col h3::before { background: var(--minus); }

ul.pm { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
ul.pm li {
  position: relative; padding-left: 28px;
  font-size: 15.5px; line-height: 1.6;
}
ul.pm li::before {
  position: absolute; left: 0; top: 0;
  width: 18px; text-align: center;
  font-size: 17px; font-weight: 600; line-height: 1.5;
}
.pm--plus li::before { content: '+'; color: var(--plus); }
.pm--minus li::before { content: '–'; color: var(--minus); }
ul.pm b { font-weight: 600; }

.v__foot { padding: 20px 28px 26px; border-top: 1px solid var(--line); background: var(--paper-2); }
.v__who { font-size: 15px; color: var(--ink-2); margin: 0 0 16px; }
.v__who b { color: var(--ink); }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; text-decoration: none;
}
.links a:hover { border-color: var(--ink-3); }
.links a.is-main { background: var(--ink); border-color: var(--ink); color: #fff; }

.vgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 820px) {
  .vgrid { grid-template-columns: 1fr; }
}

.vcard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.vcard__head { display: flex; align-items: center; gap: 14px; }

.vcard__key {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 23px; color: #fff;
}

.vcard--a .vcard__key { background: #8a6d3b; }
.vcard--b .vcard__key { background: #a2503a; }
.vcard--c .vcard__key { background: #1e4a3c; }
.vcard--d .vcard__key { background: #1a1917; }

.vcard h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400; font-size: 24px;
}

.vcard__sub {
  display: block; margin-top: 3px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
}

.vcard p { margin: 0; font-size: 15px; color: var(--ink-2); }

.vcard .links { margin-top: auto; }

.vcard--d { border-color: var(--ink); border-width: 2px; }

.diff { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }

.diff li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.diff li::before {
  content: '';
  position: absolute;
  left: 4px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.diff b { color: var(--ink); }

.diff__how {
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--paper-2);
}

.ask {
  padding: 20px 24px;
  margin-bottom: 18px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-left: 3px solid var(--plus);
  border-radius: var(--r);
}

.ask p { margin: 0 0 10px; }
.ask p:last-child { margin-bottom: 0; }
.ask__how { color: var(--ink-2); font-size: 15px; }

.tablewrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }

table { border-collapse: collapse; width: 100%; min-width: 940px; font-size: 15px; table-layout: fixed; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 13px; letter-spacing: .04em; color: var(--ink); font-weight: 600; }
thead th span {
  display: block; margin-top: 3px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 400;
}
tbody th { font-weight: 500; color: var(--ink-2); }
th:first-child { width: 22%; }
thead th:not(:first-child) { width: 19.5%; }
tr:last-child th, tr:last-child td { border-bottom: 0; }

.tick {
  display: flex;
  gap: 10px;
  cursor: pointer;
  border-radius: 8px;
  padding: 2px 4px 2px 2px;
  margin: -2px -4px -2px -2px;
  transition: background-color .15s var(--ease, ease);
}

.tick:hover { background: #f3efe6; }

.tick input {
  flex: none;
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: var(--plus);
  cursor: pointer;
}

.tick input:checked + span { color: var(--ink); font-weight: 600; }
.tick span { color: var(--ink-2); }

.final {
  margin-top: 20px;
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.final h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400; font-size: 23px;
  margin-bottom: 16px;
}

.final__set { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }

.final__set label {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  transition: border-color .15s ease, background-color .15s ease;
}

.final__set label:hover { border-color: var(--ink-3); }

.final__set input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); cursor: pointer; }

.final__set b { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 19px; margin-right: 4px; }

.final__set label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }

.final .tiny { margin: 0; font-size: 13px; color: var(--ink-3); }

.lead { font-size: 17px; color: var(--ink-2); margin: 0 0 18px; max-width: 70ch; }

.steps { margin: 0; padding-left: 22px; }
.steps li { margin-bottom: 14px; }
.steps li:last-child { margin-bottom: 0; }

.sect { padding: 42px 0; }
.sect > h2 {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300;
  font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 20px;
}
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 28px;
}
.card p { margin: 0 0 14px; }
.card p:last-child { margin-bottom: 0; }
.card ol { margin: 0; padding-left: 22px; }
.card ol li { margin-bottom: 10px; }

.foot { padding: 30px 0 60px; color: var(--ink-3); font-size: 14px; }

@media (max-width: 860px) {
  .v__body { grid-template-columns: 1fr; }
  .v__col + .v__col { border-left: 0; border-top: 1px solid var(--line); }
  .v__head { grid-template-columns: 48px 1fr; padding: 20px; }
  .v__key { width: 48px; height: 48px; font-size: 24px; }
  .v__col, .v__foot { padding: 20px; }
}

@media (max-width: 700px) {
  .wrap { padding: 0 14px; }
  .top { padding: 32px 0 26px; }
  .top p { margin-top: 14px; }
  .top .note { margin-top: 14px; }
  .v { margin: 16px 0; border-radius: 12px; }
  .sect { padding: 30px 0; }
  .sect > h2 { margin-bottom: 14px; }
  .card { padding: 18px 16px; border-radius: 12px; }

  .v__head {
    grid-template-columns: 44px 1fr;
    gap: 0 14px;
    padding: 18px 16px 16px;
  }

  .v__head > div:not(.v__key) { display: contents; }
  .v__head h2 { grid-column: 2; font-size: 26px; align-self: center; }
  .v__head p { grid-column: 1 / -1; margin-top: 14px; }
  .v__key { width: 44px; height: 44px; font-size: 22px; align-self: center; }

  .v__col, .v__foot { padding: 18px 16px; }
  ul.pm li { padding-left: 24px; font-size: 15px; }

  .links a { height: 44px; }
  .links a.is-main { flex: 1 0 100%; justify-content: center; }

  .vcard { padding: 18px 16px 20px; border-radius: 12px; }
  .ask { padding: 16px; border-radius: 12px; }
  .final { padding: 18px 16px; border-radius: 12px; }
  .final__set { gap: 8px; }
  .final__set label { flex: 1 0 calc(50% - 4px); }
  .lead { font-size: 16px; }
  .steps { padding-left: 20px; }

  .tablewrap { overflow: visible; border: 0; background: none; border-radius: 0; }
  table { display: block; min-width: 0; width: 100%; }
  thead { display: none; }
  tbody { display: block; }
  tbody tr {
    display: block;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: 12px; padding: 14px 16px; margin-bottom: 10px;
  }
  tbody th, tbody td { display: block; border: 0; padding: 0; }
  tbody th {
    font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
    color: var(--ink-3); font-weight: 600; margin-bottom: 10px;
  }
  tbody td { padding-top: 9px; margin-top: 9px; border-top: 1px solid var(--line); }
  tbody td::before {
    content: attr(data-v);
    display: block;
    font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink-3); margin-bottom: 2px;
  }
  tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
  th:first-child, thead th:not(:first-child) { width: auto; }

  .foot { padding: 20px 0 40px; }
}

@media (max-width: 460px) {

  .final__set label { flex: 1 0 100%; }
}
