/* Questions page and the 404 page. Loaded after styles.css. */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* hero */
.qa-hero { position: relative; isolation: isolate; overflow: hidden; padding: 150px 0 56px; background: linear-gradient(180deg, #fff 0%, #f6f7fd 100%); }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue-d); text-decoration: underline; text-underline-offset: 3px; }
.qa-h { font-family: var(--f-display); font-weight: 700; font-size: clamp(44px, 6.1vw, 92px); line-height: .96; letter-spacing: -.042em; margin-top: 18px; max-width: 14ch; }
.qa-lead { margin-top: 24px; max-width: 700px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); }
.qa-search { margin-top: 34px; max-width: 700px; height: 64px; padding: 0 22px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; border: 1.5px solid var(--line); box-shadow: 0 24px 50px -32px rgba(10,14,39,.4); transition: border-color .2s, box-shadow .2s; }
.qa-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-l), 0 24px 50px -32px rgba(10,14,39,.4); }
.qa-search svg { flex: none; color: var(--ink-3); }
.qa-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); }
.qa-search input::placeholder { color: var(--ink-3); }
.qa-count { flex: none; font-size: 14px; font-weight: 600; color: var(--blue-d); }
.no-js .qa-search { display: none; }
.qa-upd { margin-top: 16px; font-size: 14.5px; color: var(--ink-3); }

/* body: topics on the left, questions on the right */
.qa-body { background: #fff; padding: 56px 0 120px; }
.qa-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 80px; align-items: start; }
.qa-side { position: sticky; top: 104px; }
.qa-side-h { font-family: var(--f-display); font-weight: 700; font-size: 19px; margin-bottom: 10px; }
.qa-topics { list-style: none; display: grid; gap: 2px; }
.qa-topics a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 14px; border-radius: 12px; font-size: 16px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: background .2s, color .2s; }
.qa-topics a b { flex: none; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; background: var(--soft-2); color: var(--ink-2); transition: background .2s, color .2s; }
.qa-topics a:hover { background: var(--soft); color: var(--ink); }
.qa-topics a.on { background: var(--blue-l); color: var(--blue-d); }
.qa-topics a.on b { background: var(--blue); color: #fff; }
.qa-all { margin-top: 18px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; transition: border-color .2s; }
.qa-all:hover { border-color: var(--ink); }

.qa-group { margin-bottom: 64px; scroll-margin-top: 96px; }
.qa-group:last-of-type { margin-bottom: 0; }
.qa-gh { margin-bottom: 14px; }
.qa-gh h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.026em; }
.qa-gh p { margin-top: 8px; font-size: 17px; color: var(--ink-3); }
.qa { border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.qa-gh + .qa { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.28; letter-spacing: -.01em; transition: color .2s; }
.qa summary:hover h3 { color: var(--blue-d); }
.qa summary:focus-visible { outline-offset: 4px; }
.qa mark { background: var(--blue-m); color: inherit; border-radius: 4px; padding: 0 2px; }
.qa-a { padding: 0 64px 28px 0; max-width: 780px; font-size: 17.5px; line-height: 1.62; color: var(--ink-2); }
.qa-a > * + * { margin-top: 12px; }
.qa-a a { color: var(--blue-d); text-underline-offset: 3px; }
.qa-a a:hover { color: var(--ink); }
.qa-a ol { list-style: none; counter-reset: step; display: grid; gap: 12px; }
.qa-a ol li { counter-increment: step; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; }
.qa-a ol li::before { content: counter(step); width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; }
.qa-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.qa-table:focus-visible { outline-offset: 2px; }
.qa-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.qa-table th, .qa-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.qa-table thead th { background: var(--soft); font-family: var(--f-display); font-size: 17px; font-weight: 700; color: var(--ink); }
.qa-table tbody th { width: 150px; font-weight: 600; color: var(--ink); }
.qa-table tbody tr:last-child th, .qa-table tbody tr:last-child td { border-bottom: 0; }
.qa.hide, .qa-group.hide { display: none; }
.qa-none { padding: 24px 0 8px; }
.qa-none p { margin-bottom: 18px; font-family: var(--f-display); font-size: 26px; font-weight: 600; }
.qa-ask { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); display: grid; justify-items: start; gap: 14px; }
.qa-ask h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.026em; }
.qa-ask p { max-width: 560px; font-size: 17.5px; color: var(--ink-2); }
.qa-ask .btn { margin-top: 8px; }

/* 404 */
.nf { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 80px; background: linear-gradient(180deg, #fff 0%, #eef0fd 100%); }
.nf h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(44px, 7vw, 100px); line-height: .96; letter-spacing: -.04em; max-width: 12ch; }
.nf p { margin-top: 20px; max-width: 520px; font-size: 20px; color: var(--ink-2); }
.nf-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

@media (max-width: 1000px) {
  .qa-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .qa-side { position: static; }
  .qa-side-h { display: none; }
  .qa-topics { display: flex; gap: 8px; overflow-x: auto; margin: 0 -24px; padding: 0 24px 6px; scrollbar-width: none; }
  .qa-topics::-webkit-scrollbar { display: none; }
  .qa-topics a { flex: none; white-space: nowrap; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 10px 8px 14px; font-size: 15px; }
  .qa-all { margin-top: 14px; }
}
@media (max-width: 640px) {
  .qa-hero { padding: 108px 0 36px; }
  .qa-search { height: 56px; padding: 0 16px; margin-top: 26px; }
  .qa-search input { font-size: 16px; }
  .qa-body { padding: 32px 0 80px; }
  .qa-group { margin-bottom: 44px; }
  .qa summary { padding: 18px 0; gap: 14px; }
  .qa-a { padding-right: 0; font-size: 16.5px; }
  .nf p { font-size: 18px; }
}

/* hero with the most asked questions on the right */
.qa-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: 64px; align-items: end; }
.qa-top { border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 22px 24px 10px; }
.qa-top-h { font-family: var(--f-display); font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.qa-top ol { list-style: none; }
.qa-top li + li { border-top: 1px solid var(--line); }
.qa-top a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 16.5px; font-weight: 500; line-height: 1.35; color: var(--ink); text-decoration: none; transition: color .2s; }
.qa-top a svg { flex: none; color: var(--blue); transition: transform .3s var(--ease); }
.qa-top a:hover { color: var(--blue-d); }
.qa-top a:hover svg { transform: translateX(4px); }

/* package table on phones: one block per package */
.qa-pk { display: none; }
.qa-pk-i { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 6px; }
.qa-pk-i + .qa-pk-i { margin-top: 10px; }
.qa-pk-n { font-family: var(--f-display); font-weight: 700; font-size: 19px; color: var(--ink); margin-bottom: 4px; }
.qa-pk dl div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.qa-pk dt { font-weight: 600; color: var(--ink); }
.qa-pk dd { color: var(--ink-2); }

@media (max-width: 1000px) {
  .qa-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .qa-top { display: none; }
}
@media (max-width: 640px) {
  .qa-table { display: none; }
  .qa-pk { display: block; }
}
