:root {
  --bg: #ffffff;
  --ink: #10141f;
  --muted: #5f6b7a;
  --line: #dfe5ec;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --green: #08b976;
  --green-dark: #06945f;
  --green-soft: #dff8ee;
  --amber: #f1b84b;
  --graphite: #081016;
  --graphite-2: #101a22;
  --shadow: 0 22px 70px rgba(8, 16, 22, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 48px;
  color: #fff;
  background: rgba(8, 16, 22, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.brand,
.header-action,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(140deg, #13d487, #048958);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.nav {
  gap: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.header-action:hover {
  color: #fff;
}

.header-action {
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  color: #fff;
  background: rgba(8, 185, 118, 0.08);
  border: 1px solid rgba(8, 185, 118, 0.55);
  border-radius: 8px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease;
}

.header-action:hover {
  background: rgba(8, 185, 118, 0.16);
  border-color: rgba(8, 185, 118, 0.8);
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.button img,
.select-visual img,
.qr-frame img {
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 16, 22, 0.96), rgba(8, 16, 22, 0.84)),
    url("assets/bitstore-ui/main_bg.png") center / cover no-repeat,
    radial-gradient(circle at 50% 30%, rgba(8, 185, 118, 0.22), transparent 34%),
    linear-gradient(145deg, var(--graphite), var(--graphite-2) 55%, #071118);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg span {
  position: absolute;
  display: block;
  border: 1px solid rgba(8, 185, 118, 0.18);
  transform: rotate(-18deg);
}

.hero-bg span:nth-child(1) {
  width: 520px;
  height: 520px;
  left: 40%;
  top: 80px;
  border-radius: 50%;
}

.hero-bg span:nth-child(2) {
  width: 840px;
  height: 1px;
  left: 24%;
  top: 315px;
  background: linear-gradient(90deg, transparent, rgba(8, 185, 118, 0.38), transparent);
}

.hero-bg span:nth-child(3) {
  width: 320px;
  height: 320px;
  right: 12%;
  bottom: -140px;
  border-radius: 40px;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(760px, 920px);
  gap: 36px;
  max-width: 1520px;
  margin: 0 auto;
  padding: 52px 48px 34px;
}

.hero-copy {
  align-self: start;
  padding-top: 26px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 620px;
  font-size: clamp(32px, 3.1vw, 48px);
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 560px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 690;
  letter-spacing: 0;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #08c77d, var(--green-dark));
  box-shadow: 0 16px 38px rgba(8, 185, 118, 0.28);
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.button.line {
  color: var(--green-dark);
  background: #fff;
  border: 1px solid rgba(8, 185, 118, 0.35);
  box-shadow: none;
}

.button.full {
  width: 100%;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 22px;
}

.trust-row span {
  padding: 11px 14px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 13px;
}

.trust-row b {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}

.exchange-panel {
  align-self: center;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-currency-top {
  margin-bottom: 16px;
}

.currency-chips.panel-currency-chips {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.panel-currency-chips .currency-chip {
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 760;
}

.panel-currency-chips .currency-chip.active {
  color: #09130f;
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

.panel-currency-chips .currency-chip.disabled {
  color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.035);
}

.panel-currency-chips .currency-chip.locked {
  color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
}

.panel-currency-chips .currency-dot {
  display: none;
}

.rate-spotlight {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.panel-label {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.rate-spotlight strong {
  display: block;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
}

.status-dot {
  align-self: flex-start;
  position: relative;
  padding-left: 16px;
  color: #d8f6e9;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.status-dot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 999px;
}

.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0;
  padding: 6px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.mode-button {
  height: 44px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 760;
}

.mode-button.active {
  color: #09130f;
  background: #fff;
}

.direction-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 14px;
}

.direction-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.direction-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.direction-card-head span {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 21px;
  font-weight: 760;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.direction-card-head small {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 620;
  line-height: 1.2;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.direction-arrow {
  border: 0;
  cursor: pointer;
  display: grid;
  align-self: center;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #09130f;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.direction-arrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.direction-arrow::before {
  content: "→";
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
}

.direction-pickers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.direction-amount {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 0 16px;
  color: #fff;
  background: rgba(8, 16, 22, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.direction-amount input,
.direction-amount output {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 25px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  text-overflow: ellipsis;
}

.direction-amount input {
  width: 100%;
  padding: 0;
  appearance: textfield;
}

.direction-amount input::-webkit-outer-spin-button,
.direction-amount input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.direction-amount input:focus {
  box-shadow: none;
}

.direction-amount > span:not(.sr-only),
.direction-amount .result-currency {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 36px;
  padding: 0 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 720;
}

.direction-hint {
  min-height: 18px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.currency-controls label,
.asset-controls label {
  display: grid;
  gap: 6px;
}

.currency-controls label > span,
.asset-controls label > span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 620;
}

.currency-controls select,
.asset-controls select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  outline: 0;
}

.currency-controls select option,
.asset-controls select option {
  color: #111;
}

.select-shell {
  position: relative;
  min-width: 0;
}

.select-visual {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.select-shell:hover .select-visual {
  background: rgba(255, 255, 255, 0.105);
  border-color: rgba(255, 255, 255, 0.24);
}

.select-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #1474a5);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.select-icon.has-image {
  background: transparent;
}

.select-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.select-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.select-copy strong,
.select-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-copy strong {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.1;
}

.select-copy small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 560;
}

.select-visual svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.86);
  stroke-width: 2.7;
}

.select-shell:focus-within .select-visual {
  border-color: rgba(8, 185, 118, 0.7);
  box-shadow: 0 0 0 3px rgba(8, 185, 118, 0.16);
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  gap: 14px;
  align-items: end;
}

.calculator label {
  display: grid;
  gap: 8px;
}

.calculator label > span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 760;
}

.input-line {
  display: flex;
  align-items: center;
  height: 62px;
  min-height: 62px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.input-line input,
.input-line output {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 18px;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 20px;
  font-weight: 760;
}

.input-line output {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.input-line span {
  display: flex;
  flex: 0 0 86px;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 100%;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  outline: 0;
  font-size: 18px;
  font-weight: 820;
}

.input-line input {
  appearance: textfield;
}

.input-line input::-webkit-outer-spin-button,
.input-line input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.swap-button {
  display: grid;
  width: 64px;
  height: 62px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  cursor: pointer;
}

.calc-note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.55;
}

.deal-route {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(8, 185, 118, 0.1);
  border: 1px solid rgba(8, 185, 118, 0.24);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
}

.deal-route strong {
  color: #fff;
  font-size: 14px;
}

.minimum-alert {
  margin-top: 14px;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
}

.minimum-alert.ready {
  color: #d8f6e9;
  background: rgba(8, 185, 118, 0.12);
  border-color: rgba(8, 185, 118, 0.28);
}

.exchange-next {
  margin-top: 14px;
}

.section-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 48px;
}

.currency-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.currency-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.currency-chip.active {
  border-color: rgba(8, 185, 118, 0.55);
  box-shadow: 0 0 0 3px var(--green-soft);
}

.currency-chip.disabled {
  cursor: default;
  color: var(--muted);
  background: #f6f8fa;
}

.currency-dot {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #1474a5);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.work-section,
.rates-section,
.faq-section {
  padding: 64px 0;
}

.work-section {
  color: #f7f9ff;
  background:
    radial-gradient(circle at 82% 42%, rgba(50, 56, 73, 0.72), transparent 24%),
    radial-gradient(circle at -10% 18%, rgba(50, 56, 73, 0.58), transparent 20%),
    #1f222c;
}

.work-section .section-inner.two-column {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  max-width: 980px;
}

.work-section .section-inner.two-column > div:first-child {
  display: none;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.72fr);
  gap: 56px;
  align-items: start;
}

.work-section h2,
.rates-section h2,
.faq-section h2 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}

.steps {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.steps article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.steps article span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 50%;
  font-weight: 900;
}

.steps h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.steps article p {
  grid-column: 2;
}

.steps p,
.faq-section p,
.section-head p {
  color: var(--muted);
  line-height: 1.6;
}

.deal-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.09);
}

.exchange-flow {
  scroll-margin-top: 96px;
}

.exchange-flow.is-active-form {
  gap: 24px;
  width: 100%;
  max-width: 700px;
  padding: 34px 30px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(55, 64, 82, 0.98), rgba(44, 51, 67, 0.98)),
    #303747;
  border: 1px solid #596174;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.exchange-flow.is-active-form .step-kicker,
.exchange-flow.is-active-form > h2,
.exchange-flow.is-active-form > p,
.exchange-flow.is-active-form .flow-intro {
  display: none;
}

.deal-card h2 {
  font-size: 28px;
}

.deal-card > p {
  margin: -6px 0 4px;
  color: var(--muted);
  line-height: 1.5;
}

.step-kicker {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-intro {
  display: grid;
  gap: 8px;
  padding: 16px;
  color: #344054;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  line-height: 1.5;
}

.flow-intro strong {
  color: var(--ink);
}

.card-step,
.payment-step,
.received-step,
.exchange-form {
  display: grid;
  gap: 14px;
}

.exchange-flow.is-active-form .card-step {
  gap: 24px;
}

.exchange-slip {
  display: grid;
  gap: 20px;
}

.active-summary {
  display: none;
  scroll-margin-top: 82px;
}

.active-summary span,
.active-summary small {
  color: #b7c2d5;
}

.active-summary span {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.active-summary strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
}

.active-summary small {
  font-size: 12px;
  line-height: 1.35;
}

.slip-row {
  display: grid;
  grid-template-columns: minmax(132px, 1fr) minmax(72px, 96px) minmax(220px, 320px);
  gap: 14px;
  align-items: center;
  min-height: 70px;
  padding: 10px;
  background: #202633;
  border-radius: 8px;
}

.slip-copy {
  display: grid;
  gap: 5px;
  padding-left: 16px;
}

.slip-copy strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
}

.slip-copy span {
  color: #c2cad8;
  font-size: 14px;
  font-weight: 620;
}

.slip-amount {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #8793aa;
  font-size: 22px;
  font-weight: 760;
  line-height: 1;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slip-select {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  min-width: 0;
  padding: 0 16px;
  color: #fff;
  background: #39475c;
  border-radius: 6px;
}

.slip-select-main {
  min-width: 0;
  overflow: hidden;
  font-size: 18px;
  font-weight: 720;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slip-select small {
  flex: 0 0 auto;
  padding: 3px 7px;
  color: #d2dae6;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.slip-select svg {
  margin-left: auto;
  width: 20px;
  height: 20px;
  color: #fff;
  stroke-width: 2.7;
}

.asset-emblem {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: #ef4444;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 850;
  line-height: 1;
}

.asset-emblem.has-image {
  overflow: hidden;
  color: transparent;
  background: transparent;
}

.asset-emblem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.asset-emblem.btc {
  background: #f7931a;
}

.asset-emblem.eth {
  background: #627eea;
}

.asset-emblem.bank {
  color: #1f222c;
  background: #ff4f40;
  font-size: 19px;
}

.rate-bridge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  margin-left: 36px;
  color: #c9d1df;
}

.rate-bridge::before,
.rate-bridge::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1px;
  height: 20px;
  background: #657084;
  transform: translateX(16px);
}

.rate-bridge::before {
  bottom: calc(100% - 1px);
}

.rate-bridge::after {
  top: calc(100% - 1px);
}

.rate-bridge-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: #303747;
}

.rate-bridge-icon svg {
  width: 21px;
  height: 21px;
  color: #d8deea;
}

.rate-bridge strong {
  font-size: 16px;
  font-weight: 720;
}

.deal-mode-note,
.deal-next {
  padding: 14px;
  color: #15533d;
  background: var(--green-soft);
  border: 1px solid rgba(8, 185, 118, 0.24);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.deal-details {
  display: grid;
  gap: 12px;
}

.deal-details div {
  display: grid;
  gap: 6px;
  padding: 15px 16px;
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deal-details span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.deal-details strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.deal-next {
  color: #344054;
  background: #f8fafc;
  border-color: var(--line);
}

.exchange-form label {
  display: grid;
  gap: 8px;
}

.exchange-flow.is-active-form .exchange-form {
  gap: 16px;
  padding-top: 6px;
  border-top: 1px solid #5a6172;
}

.exchange-flow.is-active-form .exchange-form label {
  gap: 9px;
}

.exchange-form label > span {
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.exchange-flow.is-active-form .exchange-form label > span {
  color: #fff;
  font-size: 16px;
  line-height: 1.15;
}

.exchange-form input,
.exchange-form textarea {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.exchange-flow.is-active-form .exchange-form input,
.exchange-flow.is-active-form .exchange-form textarea {
  height: 54px;
  color: #fff;
  background: #202633;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 620;
}

.exchange-flow.is-active-form .exchange-form input::placeholder,
.exchange-flow.is-active-form .exchange-form textarea::placeholder {
  color: #80889a;
}

.exchange-form input {
  height: 46px;
  padding: 0 13px;
}

.exchange-form textarea {
  min-height: 82px;
  padding: 12px 13px;
  resize: vertical;
}

.exchange-form input:focus,
.exchange-form textarea:focus {
  border-color: rgba(8, 185, 118, 0.75);
  box-shadow: 0 0 0 3px var(--green-soft);
}

.exchange-flow.is-active-form .exchange-form input:focus,
.exchange-flow.is-active-form .exchange-form textarea:focus {
  border-color: #718098;
  box-shadow: 0 0 0 3px rgba(113, 128, 152, 0.24);
}

.exchange-form input.invalid,
.exchange-form textarea.invalid {
  border-color: #f04438;
  box-shadow: 0 0 0 3px #fee4e2;
}

.exchange-form input[readonly] {
  color: #344054;
  background: #f7f9fb;
}

.field-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.field-error {
  min-height: 17px;
  color: #b42318;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.exchange-flow.is-active-form .field-error {
  min-height: 0;
  color: #ffb4ae;
}

.card-brand-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.35;
}

.exchange-flow.is-active-form .card-brand-preview {
  justify-self: start;
  min-height: 42px;
  padding: 8px 12px;
  color: #d9f6e8;
  background: rgba(8, 185, 118, 0.14);
  border-color: rgba(8, 185, 118, 0.28);
}

.exchange-flow.is-active-form .card-brand-preview.known {
  color: #d9f6e8;
  background: rgba(8, 185, 118, 0.14);
  border-color: rgba(8, 185, 118, 0.28);
}

.card-brand-preview.known {
  color: #15533d;
  background: var(--green-soft);
  border-color: rgba(8, 185, 118, 0.28);
}

.card-brand-preview.warning {
  color: #7a2e0e;
  background: #fff7ed;
  border-color: #fed7aa;
}

.card-brand-logo,
.card-brand-bank {
  display: grid;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 28px;
  padding: 0 9px;
  color: #fff;
  background: #344054;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.card-brand-logo.visa {
  background: #1434cb;
}

.card-brand-logo.mastercard {
  background: linear-gradient(90deg, #eb001b 0 50%, #f79e1b 50%);
}

.card-brand-logo.mir {
  background: #0f8f72;
}

.card-brand-logo.amex {
  background: #2e77bc;
}

.card-brand-logo.unionpay {
  background: #b51f34;
}

.card-brand-bank {
  color: #10141f;
  background: #fff;
  border: 1px solid rgba(16, 20, 31, 0.14);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.check-line {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.exchange-flow.is-active-form .check-line {
  padding: 10px 12px;
  color: #edf4ff;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.check-line input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--green);
}

.buy-transfer-fields {
  display: grid;
  gap: 8px;
}

.proof-step,
.proof-form {
  display: grid;
  gap: 14px;
}

.proof-head {
  display: grid;
  gap: 6px;
  padding: 16px;
  color: #fff;
  background: #202633;
  border: 1px solid #485064;
  border-radius: 8px;
}

.proof-head span {
  color: #aeb7c8;
  font-size: 13px;
  font-weight: 800;
}

.proof-head strong {
  overflow-wrap: anywhere;
  font-size: 22px;
  line-height: 1.15;
}

.proof-step p,
.proof-upload small {
  color: var(--muted);
  line-height: 1.45;
}

.exchange-flow.is-active-form .proof-step p,
.exchange-flow.is-active-form .proof-upload small {
  color: #c7cedb;
}

.proof-upload input[type="file"] {
  display: block;
  height: auto;
  padding: 14px;
  color: inherit;
}

.payment-head {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.exchange-flow.is-active-form .payment-head {
  color: #fff;
  background: #202633;
  border-color: #485064;
}

.exchange-flow.is-active-form .payment-head span,
.exchange-flow.is-active-form .wallet-box span {
  color: #aeb7c8;
}

.payment-head span,
.wallet-box span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.payment-head strong {
  font-size: 30px;
  line-height: 1;
}

#paymentOrderId {
  overflow-wrap: anywhere;
  font-size: 22px;
  line-height: 1.12;
}

.status-pill {
  padding: 8px 12px;
  color: #15533d;
  background: var(--green-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill.expired {
  color: #8a261f;
  background: #fff0ed;
}

.wallet-box {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #101820;
  border-radius: 8px;
}

.wallet-box span {
  color: rgba(255, 255, 255, 0.68);
}

.wallet-box strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 1.55;
}

.payment-step.buy-payment .wallet-box strong {
  white-space: pre-wrap;
}

.wallet-box .button img {
  width: 18px;
  height: 18px;
}

.payment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 14px;
}

.qr-box {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
  color: #fff;
  background: #202633;
  border: 1px solid #485064;
  border-radius: 8px;
}

.qr-box > span {
  color: #aeb7c8;
  font-size: 13px;
  font-weight: 820;
}

.qr-frame {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
}

.qr-frame img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.qr-box small {
  color: #c7cedb;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.payment-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #202633;
  border: 1px solid #485064;
  border-radius: 8px;
}

.payment-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 12px;
  padding: 14px 16px;
  color: #aeb7c8;
}

.payment-steps li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-steps li span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: #687386;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.payment-steps li strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
}

.payment-steps li small {
  grid-column: 2;
  margin-top: 3px;
  color: #aeb7c8;
  font-size: 12px;
  line-height: 1.35;
}

.payment-steps li.active span,
.payment-steps li.done span {
  color: #07321f;
  background: #2ce293;
}

.payment-steps li.done strong {
  color: #d9f6e8;
}

.payment-steps li.error span {
  background: #ff6b5f;
}

.flow-status {
  padding: 14px;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.flow-status.error {
  color: #8a261f;
  background: #fff0ed;
  border-color: #ffd0c7;
}

.status-link {
  margin-top: -2px;
}

.received-step {
  place-items: center;
  padding: 28px 12px;
  text-align: center;
}

.success-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 50%;
  font-size: 31px;
  font-weight: 900;
}

.received-step h3 {
  font-size: 24px;
}

.received-step p {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.55;
}

.rates-section {
  background: #f7f9fb;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.rate-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.rate-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.rate-table th,
.rate-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.rate-table th {
  color: #667085;
  background: #fbfcfd;
  font-size: 13px;
  font-weight: 850;
}

.rate-table td {
  font-size: 15px;
}

.rate-table tr:last-child td {
  border-bottom: 0;
}

.rate-main {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 54px;
}

.faq-section h2 {
  margin-bottom: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 26px 16px;
  color: #667085;
  background: #f7f9fb;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 760;
}

.site-footer a:hover {
  color: var(--green-dark);
}

.choice-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
}

.choice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 13, 0.72);
  backdrop-filter: blur(10px);
}

.choice-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  padding: 20px;
  color: #fff;
  background: #202633;
  border: 1px solid #485064;
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.choice-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.choice-head span {
  color: #7ee1b5;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.choice-head h2 {
  margin-top: 4px;
  font-size: 24px;
}

.choice-close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: #111824;
  border: 1px solid #485064;
  border-radius: 8px;
  cursor: pointer;
}

.choice-search input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  color: #fff;
  background: #111824;
  border: 1px solid #485064;
  border-radius: 8px;
  outline: 0;
  font-size: 15px;
  font-weight: 650;
}

.choice-search input:focus {
  border-color: rgba(8, 185, 118, 0.7);
  box-shadow: 0 0 0 3px rgba(8, 185, 118, 0.16);
}

.choice-list {
  display: grid;
  gap: 8px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.choice-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 10px 12px;
  color: #fff;
  text-align: left;
  background: #2c3444;
  border: 1px solid #485064;
  border-radius: 8px;
  cursor: pointer;
}

.choice-item.active {
  border-color: rgba(8, 185, 118, 0.7);
  box-shadow: inset 0 0 0 1px rgba(8, 185, 118, 0.42);
}

.choice-item:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.choice-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #1474a5);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.choice-icon.has-image {
  background: transparent;
}

.choice-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.choice-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.choice-copy strong,
.choice-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.choice-copy strong {
  font-size: 16px;
  font-weight: 850;
}

.choice-copy small {
  color: #aeb7c8;
  font-size: 12px;
  font-weight: 650;
}

.choice-check {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #07321f;
  background: #2ce293;
  border-radius: 50%;
  font-weight: 900;
}

.choice-empty {
  padding: 22px;
  color: #aeb7c8;
  text-align: center;
}

.status-page,
.policy-page {
  min-height: 100vh;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 16, 22, 0.96), rgba(8, 16, 22, 0.88)),
    url("assets/bitstore-ui/main_bg.png") center / cover no-repeat,
    #111824;
}

.status-shell,
.policy-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 42px 24px 72px;
}

.status-card,
.policy-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: #303747;
  border: 1px solid #596174;
  border-radius: 16px;
}

.status-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.status-top span,
.status-summary span,
.status-wallet span {
  color: #aeb7c8;
  font-size: 13px;
  font-weight: 820;
}

.status-top h1 {
  margin-top: 6px;
  overflow-wrap: anywhere;
  font-size: 28px;
}

.status-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.status-summary div,
.status-wallet {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #202633;
  border: 1px solid #485064;
  border-radius: 8px;
}

.status-summary strong,
.status-wallet strong {
  color: #fff;
  overflow-wrap: anywhere;
  font-size: 16px;
}

.status-wallet {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.policy-card {
  color: #f7f9ff;
  line-height: 1.65;
}

.policy-card h1 {
  font-size: 38px;
}

.policy-card h2 {
  margin-top: 12px;
  font-size: 22px;
}

.policy-card p {
  color: #d7deea;
}

@media (max-width: 1080px) {
  .site-header {
    padding: 0 24px;
  }

  .nav {
    display: none;
  }

  .hero-content,
  .two-column,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .section-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .exchange-panel {
    max-width: 680px;
  }

  .slip-row {
    grid-template-columns: minmax(130px, 1fr) minmax(72px, 100px) minmax(220px, 320px);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .header-action {
    width: 42px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }

  .hero-content {
    padding: 22px 16px 28px;
    gap: 22px;
  }

  h1 {
    font-size: 28px;
  }

  .hero-copy p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.45;
  }

  .hero-actions,
  .trust-row,
  .form-grid,
  .payment-head,
  .payment-grid,
  .direction-controls,
  .direction-pickers,
  .calculator,
  .currency-controls,
  .asset-controls,
  .panel-currency-chips {
    grid-template-columns: 1fr;
  }

  .exchange-flow.is-active-form {
    padding: 12px;
    border-radius: 16px;
  }

  .exchange-flow.is-active-form .card-step {
    gap: 10px;
  }

  .exchange-slip {
    gap: 10px;
  }

  .exchange-flow.is-active-form .exchange-slip {
    display: none;
  }

  .exchange-flow.is-active-form .active-summary {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    background: rgba(8, 185, 118, 0.12);
    border: 1px solid rgba(8, 185, 118, 0.24);
    border-radius: 10px;
  }

  .exchange-flow.is-active-form .active-summary span {
    font-size: 10px;
  }

  .exchange-flow.is-active-form .active-summary strong {
    font-size: 15px;
  }

  .exchange-flow.is-active-form .active-summary small {
    font-size: 11px;
  }

  .slip-row {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 8px;
    min-height: 0;
    padding: 10px;
  }

  .slip-copy {
    padding-left: 0;
  }

  .slip-copy strong,
  .exchange-flow.is-active-form .exchange-form label > span {
    font-size: 14px;
  }

  .slip-copy span {
    display: none;
  }

  .slip-amount {
    align-self: center;
    font-size: 18px;
    text-align: left;
  }

  .slip-select {
    width: 100%;
    min-height: 46px;
    padding: 0 10px;
  }

  .slip-select-main {
    font-size: 13px;
  }

  .rate-bridge {
    margin-left: 0;
    gap: 10px;
    font-size: 14px;
  }

  .rate-bridge::before,
  .rate-bridge::after {
    display: none;
  }

  .hero-actions {
    display: grid;
    margin-top: 18px;
  }

  .hero-actions .button.ghost,
  .trust-row,
  .deal-route {
    display: none;
  }

  .exchange-panel {
    padding: 16px;
  }

  .exchange-next {
    position: sticky;
    bottom: 12px;
    z-index: 5;
  }

  .select-visual {
    min-height: 52px;
  }

  .currency-chips.panel-currency-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 92px;
    overflow-y: auto;
    padding-right: 2px;
  }

  .panel-currency-chips .currency-chip {
    min-height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }

  .calculator {
    display: grid;
  }

  .swap-button {
    width: 100%;
  }

  .rate-spotlight {
    display: grid;
    padding: 16px;
  }

  .rate-spotlight strong {
    font-size: 22px;
  }

  .mode-switch {
    margin: 14px 0;
  }

  .direction-controls {
    gap: 8px;
    margin-bottom: 12px;
  }

  .direction-card {
    gap: 10px;
    padding: 12px;
    border-radius: 9px;
  }

  .direction-card-head span {
    font-size: 17px;
  }

  .direction-card-head small {
    font-size: 11px;
  }

  .direction-arrow {
    justify-self: center;
    width: 38px;
    height: 38px;
  }

  .direction-arrow::before {
    content: "↓";
  }

  .direction-amount {
    min-height: 56px;
    padding: 0 12px;
    border-radius: 10px;
  }

  .direction-amount input,
  .direction-amount output {
    font-size: 23px;
  }

  .direction-amount > span:not(.sr-only),
  .direction-amount .result-currency {
    min-width: 50px;
    height: 32px;
    font-size: 13px;
  }

  .direction-hint {
    font-size: 12px;
  }

  .exchange-flow.is-active-form .exchange-form {
    gap: 8px;
    padding-top: 0;
    padding-bottom: 0;
    border-top: 0;
  }

  .payment-head {
    align-items: start;
  }

  .status-pill {
    justify-self: start;
  }

  .payment-steps li {
    padding: 12px 14px;
  }

  .qr-box {
    max-width: 230px;
    justify-self: center;
  }

  .exchange-flow.is-active-form .exchange-form label {
    gap: 6px;
  }

  .exchange-flow.is-active-form .exchange-form input,
  .exchange-flow.is-active-form .exchange-form textarea {
    height: 48px;
    border-radius: 9px;
    font-size: 15px;
  }

  .exchange-flow.is-active-form .exchange-form textarea {
    min-height: 68px;
  }

  .exchange-flow.is-active-form .exchange-form button[type="submit"] {
    min-height: 48px;
    margin-top: 2px;
  }

  .check-line {
    gap: 9px;
    font-size: 11px;
    line-height: 1.22;
  }

  .exchange-flow.is-active-form .check-line {
    align-items: center;
    padding: 8px 9px;
    border-radius: 9px;
  }

  .exchange-flow.is-active-form .check-line input {
    appearance: none;
    display: grid;
    box-sizing: border-box;
    justify-self: start;
    width: 17px !important;
    height: 17px !important;
    inline-size: 17px !important;
    block-size: 17px !important;
    max-width: 17px !important;
    min-width: 17px !important;
    flex: 0 0 17px;
    margin: 0;
    padding: 0;
    place-items: center;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 5px;
  }

  .exchange-flow.is-active-form .check-line input:checked {
    background: var(--green);
    border-color: var(--green);
  }

  .exchange-flow.is-active-form .check-line input:checked::after {
    content: "";
    width: 8px;
    height: 5px;
    border: solid #fff;
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg) translateY(-1px);
  }

  .minimum-alert {
    margin-top: 12px;
  }

  .section-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-footer {
    display: grid;
    gap: 12px;
    text-align: center;
  }

  .choice-dialog {
    align-self: end;
    max-height: calc(100vh - 24px);
    border-radius: 14px 14px 0 0;
  }

  .status-shell,
  .policy-shell {
    padding: 24px 16px 52px;
  }

  .status-card,
  .policy-card {
    padding: 18px;
    border-radius: 12px;
  }

  .status-top,
  .status-wallet,
  .status-summary {
    grid-template-columns: 1fr;
  }

  .status-top {
    display: grid;
  }

  .policy-card h1 {
    font-size: 30px;
  }

  .work-section,
  .rates-section,
  .faq-section {
    padding: 48px 0;
  }

  .deal-card {
    padding: 22px;
  }

  .steps article {
    grid-template-columns: 40px 1fr;
  }

  .steps article span {
    width: 40px;
    height: 40px;
  }
}
