/* Pricing, Checkout, How it works and Contact pages. Shared tokens and components live in style.css. */

[hidden] { display: none !important; }

/* ---------- page header ---------- */
section.page-head { padding: 64px 0 40px; text-align: center; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 50px); margin: 0 0 14px; }
.page-head .lead { margin: 0 auto; }
section.pt-0 { padding-top: 0; }
.wrap.narrow { max-width: 860px; }
.toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.toc a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text);
  font-size: 14px; font-weight: 600; }
.toc a:hover { border-color: var(--accent); text-decoration: none; }

/* ---------- form controls ---------- */
.field input, .field select, .cv-form input, select.js-currency {
  width: 100%; font: inherit; font-size: 15px; padding: 11px 13px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); }
.field input:focus-visible, .field select:focus-visible, .cv-form input:focus-visible, select.js-currency:focus-visible,
.cv-quick button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.fx-bar select.js-currency, .sum-fx select.js-currency { width: auto; max-width: 100%; padding: 6px 10px; font-size: 14px; }

/* ---------- pricing ---------- */
.fx-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin: 0 auto 34px;
  font-size: 14px; color: var(--muted); text-align: center; }
.fx-bar label { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-weight: 600; color: var(--text); }
.plans.plans-3 { grid-template-columns: repeat(3, 1fr); max-width: 1100px; }
@media (max-width: 980px) { .plans.plans-3 { grid-template-columns: 1fr; max-width: 520px; } }
.plan-std { border: 1px solid var(--line); }
.plans-3 .plan .btn { margin-top: auto; }

.table-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px;
  background: var(--card); box-shadow: var(--shadow); }
.ctable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ctable th, .ctable td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.ctable th[scope="row"] { text-align: left; font-weight: 500; }
.ctable thead th { background: var(--bg-soft); font-size: 15px; }
.ctable thead th:first-child { text-align: left; }
.ctable thead small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.ctable .grp th { text-align: left; padding-block: 9px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); background: var(--bg-soft); }
.ctable tbody tr:last-child > * { border-bottom: 0; }
.ctable .y { color: #11804a; font-weight: 800; }
.ctable .n { color: var(--muted); }
@media (prefers-color-scheme: dark) { .ctable .y { color: #6fe0a6; } }
@media (max-width: 560px) { .ctable th, .ctable td { padding: 11px 10px; font-size: 14px; } }

.converter { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; max-width: 980px; margin: 0 auto; padding: 36px; }
@media (max-width: 820px) { .converter { grid-template-columns: 1fr; gap: 22px; padding: 24px; } }
.converter h2 { margin-bottom: 10px; }
.converter .cv-text p + p { margin-top: 10px; }
.cv-form { display: grid; gap: 14px; padding: 22px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); }
.cv-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.cv-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-quick button { font: inherit; font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--text); }
.cv-quick button:hover { border-color: var(--accent); }
.cv-result { display: block; min-height: 1.2em; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--text); }
.cv-form .cv-note { margin: 0; font-size: 12.5px; }

.faq-narrow { max-width: 760px; margin: 0 auto; }
.faq-narrow h2 { text-align: center; margin-bottom: 24px; }

/* ---------- how it works ---------- */
.facts { margin: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.facts div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 14.5px; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 600px) { .facts div { grid-template-columns: 1fr; gap: 2px; padding: 12px 16px; } }

.prose p { margin: 0 0 14px; }
.prose > p:last-child { margin-bottom: 0; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 800; display: grid; place-items: center; }

.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .grid.cols-2 { grid-template-columns: 1fr; } }
.card ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.card li { margin-bottom: 6px; }
.card .icon + h3 { margin-top: 14px; }

.journey { list-style: none; margin: 28px 0 0; padding: 0; }
.journey li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 26px; }
.journey li::before { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--line); }
.journey li:last-child { padding-bottom: 0; }
.journey li:last-child::before { display: none; }
.j-n { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: var(--accent);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.journey .gw .j-n { background: var(--accent); border-color: var(--accent); color: #fff; }
.journey h3 { margin: 9px 0 4px; font-size: 18px; letter-spacing: -.01em; }
.journey p { margin: 0; color: var(--muted); }
.j-tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; vertical-align: 2px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em; background: var(--accent-soft); color: var(--accent); }
.j-tag.pay { background: #e8fbf1; color: #11804a; }
@media (prefers-color-scheme: dark) { .j-tag.pay { background: #123526; color: #6fe0a6; } }

.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; margin: 28px 0; }
.flow-step { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.flow-step b { display: block; margin-bottom: 4px; font-size: 15px; }
.flow-step span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.flow-step.gw { border-color: var(--accent); background: var(--accent-soft); }
.flow-arrow { align-self: center; justify-self: center; color: var(--accent); font-size: 20px; font-weight: 800; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } .flow-arrow { transform: rotate(90deg); } }
.steps-list { margin: 12px 0 0; padding-left: 22px; }
.steps-list li { margin-bottom: 10px; }
.small-note { font-size: 14px; color: var(--muted); }
.narrow h3 { font-size: 19px; margin: 30px 0 6px; }

/* ---------- checkout ---------- */
.co-progress { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; padding: 0; margin: 26px 0 0;
  font-size: 14px; color: var(--muted); counter-reset: co; }
.co-progress li { display: flex; align-items: center; gap: 8px; }
.co-progress li::before { counter-increment: co; content: counter(co); width: 24px; height: 24px; border-radius: 50%; display: grid;
  place-items: center; font-size: 12.5px; font-weight: 700; border: 1px solid var(--line); background: var(--card); }
.co-progress li.on { color: var(--text); font-weight: 600; }
.co-progress li.on::before { background: var(--accent); border-color: var(--accent); color: #fff; }

.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: minmax(0, 1fr); } }
.co-step { padding: 24px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.co-step:last-child { margin-bottom: 0; }
.co-step h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 19px; letter-spacing: -.01em; }
.co-step h2 .num { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 14px; }
.co-step > p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.co-step > p.hint { margin: 12px 0 0; }
.plan-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .plan-pick { grid-template-columns: 1fr; } }
.plan-opt { position: relative; display: grid; gap: 2px; padding: 16px 16px 16px 46px; border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--card); cursor: pointer; }
.plan-opt input { position: absolute; left: 16px; top: 19px; width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.plan-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.plan-opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.po-name { font-weight: 700; }
.po-price { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.po-sub { font-size: 13.5px; color: var(--muted); }
.po-save { position: absolute; top: -11px; right: 12px; padding: 3px 9px; border-radius: 999px; background: #e8fbf1; color: #11804a;
  font-size: 12px; font-weight: 700; }
@media (prefers-color-scheme: dark) { .po-save { background: #123526; color: #6fe0a6; } }
.co-incl { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

.field { display: grid; align-content: start; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14.5px; font-weight: 600; }
.field .opt { font-weight: 500; color: var(--muted); }
.hint { font-size: 13px; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.two .field { margin-bottom: 0; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 600px) { .methods { grid-template-columns: 1fr; } }
.method { display: grid; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); font-size: 14px; }
.method .ic { font-size: 20px; }
.method small { font-size: 12.5px; color: var(--muted); }

.summary { position: sticky; top: 84px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
@media (max-width: 900px) { .summary { position: static; } }
.summary h2 { margin: 0 0 16px; font-size: 19px; }
.sum-item { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sum-item img { width: 44px; height: 44px; border-radius: 11px; }
.sum-item b { display: block; }
.sum-item span { font-size: 13.5px; color: var(--muted); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sum-row span:first-child { color: var(--muted); }
.sum-row.total { padding-top: 14px; border-bottom: 0; font-size: 19px; font-weight: 800; }
.sum-row.total span:first-child { color: var(--text); }
.sum-fx { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin: 0; font-size: 14px; color: var(--muted); }
.sum-fx b { font-weight: 700; color: var(--accent); }
.sum-fx label { display: inline-flex; align-items: center; gap: 6px; }
.sum-rate { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.agree { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 16px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.agree input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.pay-btn { width: 100%; justify-content: center; }
.pay-btn[disabled] { opacity: .6; cursor: progress; }
.secure { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.sum-points { list-style: none; display: grid; gap: 6px; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted); }
.sum-points li::before { content: "✓"; margin-right: 8px; font-weight: 800; color: var(--accent); }
.co-result { margin-top: 18px; padding: 18px; border-radius: 14px; background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.co-result:focus { outline: none; }
.co-result h3 { margin: 4px 0 8px; font-size: 17px; }
.co-result p { margin: 0 0 10px; font-size: 14.5px; }
.cr-ref { font-size: 13px; color: var(--muted); }
.cr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.cr-actions .btn { flex: 1 1 auto; justify-content: center; }

/* ---------- contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 8px; }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }
.ccard { display: grid; align-content: start; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--card); box-shadow: var(--shadow); color: var(--text); }
a.ccard:hover { text-decoration: none; border-color: var(--accent); }
.ccard .ic { font-size: 22px; }
.ccard b { font-size: 15px; }
.ccard .val { font-size: 14.5px; color: var(--muted); overflow-wrap: anywhere; }
