:root {
  --bg: #05040b;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --panel: rgba(16, 15, 31, 0.72);
  --panel-border: rgba(168, 125, 255, 0.22);
  --purple: #8e52ff;
  --purple-strong: #7d3ff2;
  --purple-soft: #b38aff;
  --card-text: #090914;
  --card-muted: #626174;
  --card-border: #deddea;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: transparent;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 4, 11, 0.95) 0%, rgba(5, 4, 11, 0.8) 31%, rgba(5, 4, 11, 0.22) 68%),
    linear-gradient(180deg, rgba(5, 4, 11, 0.45) 0%, rgba(5, 4, 11, 0.1) 46%, rgba(5, 4, 11, 0.92) 100%),
    url("background.png") center / cover no-repeat;
  pointer-events: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-shell {
  width: min(100%, 1536px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 38px 22px;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand,
.header-actions,
.nav-links,
.language-button,
.button {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #0f0822;
  border-radius: 7px;
  background: linear-gradient(135deg, #a76cff, #7041f3);
  box-shadow: 0 0 28px rgba(142, 82, 255, 0.58);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  stroke-width: 3;
}

.nav-links {
  justify-content: center;
  gap: clamp(24px, 4vw, 52px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 600;
}

.nav-links a,
.button,
.language-button,
.asset-select,
.network-row button {
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease,
    color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--purple-soft);
}

.header-actions {
  gap: 14px;
}

.language-menu {
  position: relative;
  z-index: 10;
}

.language-button,
.button {
  min-height: 48px;
  border: 1px solid rgba(169, 132, 255, 0.32);
  color: #fff;
  background: rgba(6, 6, 15, 0.42);
  border-radius: 16px;
}

.language-button {
  gap: 8px;
  padding: 0 16px;
  font-weight: 700;
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 174px;
  padding: 8px;
  border: 1px solid rgba(169, 132, 255, 0.32);
  border-radius: 14px;
  background: rgba(11, 10, 23, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.language-menu.is-open .language-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-options button {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.language-options button:hover,
.language-options button:focus-visible,
.language-options button[aria-checked="true"] {
  background: rgba(142, 82, 255, 0.22);
  color: #fff;
}

.language-button svg,
.asset-select svg {
  width: 18px;
  height: 18px;
}

.flag {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.flag::before,
.flag::after {
  position: absolute;
  content: "";
  background: #e21d2f;
  border-radius: 1px;
}

.flag::before {
  left: 9px;
  top: 3px;
  width: 4px;
  height: 16px;
}

.flag::after {
  left: 3px;
  top: 9px;
  width: 16px;
  height: 4px;
}

.button {
  justify-content: center;
  padding: 0 24px;
  font-weight: 700;
}

.button-primary {
  min-width: 106px;
  border: 0;
  background: linear-gradient(135deg, #9254ff, #7138df);
  box-shadow: 0 15px 30px rgba(126, 64, 242, 0.28);
}

.button-ghost {
  min-width: 98px;
}

.button:hover,
.language-button:hover {
  transform: translateY(-1px);
  border-color: rgba(191, 160, 255, 0.72);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 568px);
  align-items: center;
  gap: clamp(38px, 6vw, 86px);
  min-height: 694px;
  padding: 44px 0 28px 26px;
}

.hero-copy {
  max-width: 760px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 10px 18px;
  border: 1px solid rgba(177, 124, 255, 0.68);
  border-radius: 999px;
  background: rgba(21, 14, 43, 0.58);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 650px;
  margin-top: 26px;
  font-size: clamp(66px, 6.1vw, 88px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: 0;
}

h1 .hero-title-line {
  display: block;
}

h1 .hero-title-accent {
  color: var(--purple);
  text-shadow: 0 8px 30px rgba(142, 82, 255, 0.45);
}

.hero-subtitle {
  max-width: 500px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 23px;
  line-height: 1.35;
}

.feature-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(112px, 1fr));
  gap: 20px;
  max-width: 620px;
  padding: 0;
  margin: 56px 0 0;
  list-style: none;
}

.feature-badges li {
  display: grid;
  justify-items: center;
  gap: 13px;
  text-align: center;
  color: rgba(255, 255, 255, 0.94);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.22;
}

.feature-icon,
.trust-strip article > span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(150, 97, 255, 0.36);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 25%, rgba(148, 92, 255, 0.26), transparent 58%),
    rgba(25, 20, 47, 0.86);
  color: #b998ff;
}

.feature-icon {
  width: 66px;
  height: 66px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2.25;
}

.calculator-card {
  position: relative;
  width: 100%;
  padding: 32px;
  color: var(--card-text);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.card-header h2 {
  font-size: 27px;
  line-height: 1.1;
}

.card-header p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--card-muted);
  font-size: 14px;
  font-weight: 500;
}

#rate-timer {
  display: inline-flex;
  min-width: 70px;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 12px;
  background: #eee7ff;
  color: var(--purple-strong);
  font-size: 18px;
  font-weight: 800;
}

.checkout-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: -4px 0 24px;
  list-style: none;
}

.checkout-progress[hidden] {
  display: none;
}

.checkout-progress li {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 8px;
  color: #8b879a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.checkout-progress li::before {
  position: absolute;
  top: 25px;
  right: calc(50% + 26px);
  left: calc(-50% + 26px);
  z-index: 0;
  height: 3px;
  content: "";
  background-image: linear-gradient(to right, #d9d7e4 40%, transparent 0);
  background-size: 10px 3px;
  background-repeat: repeat-x;
}

.checkout-progress li:first-child::before {
  display: none;
}

.checkout-progress li.is-active::before,
.checkout-progress li.is-complete::before {
  background: linear-gradient(90deg, #42b883, #7d3ff2);
}

.step-circle {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1dfeb;
  border-radius: 50%;
  background: #fbfbfe;
  color: #8b879a;
  box-shadow: 0 10px 24px rgba(26, 22, 45, 0.06);
}

.step-circle svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

.step-label {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
  max-width: 76px;
  overflow-wrap: anywhere;
}

.checkout-progress li.is-active .step-circle {
  border-color: rgba(142, 82, 255, 0.48);
  color: #6331d8;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.44)),
    #efe7ff;
  box-shadow:
    0 0 0 5px rgba(142, 82, 255, 0.12),
    0 12px 28px rgba(126, 64, 242, 0.18);
}

.checkout-progress li.is-active .step-label {
  color: #6331d8;
}

.checkout-progress li.is-complete .step-circle {
  border-color: rgba(36, 167, 119, 0.32);
  background: #e8f8f1;
  color: #167857;
}

.checkout-progress li.is-complete .step-label {
  color: #167857;
}

.field-card {
  position: relative;
  padding: 18px 14px 16px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background: #fff;
  cursor: text;
}

.field-card.is-locked {
  background: #fbfbfd;
  cursor: default;
}

.field-card.is-locked input,
.field-card.is-locked button {
  cursor: not-allowed;
}

.field-card:focus-within {
  border-color: #a77aff;
  box-shadow: 0 0 0 3px rgba(142, 82, 255, 0.14);
}

.field-card label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#pay-amount,
#receive-amount {
  min-width: 0;
  flex: 1;
  color: #060611;
  font-size: 33px;
  font-weight: 800;
  line-height: 1.05;
}

#pay-amount {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
}

#pay-amount::-webkit-inner-spin-button,
#pay-amount::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

#receive-amount {
  display: block;
}

.field-card p {
  margin-top: 8px;
  color: var(--card-muted);
  font-size: 15px;
  font-weight: 500;
}

.field-error {
  min-height: 18px;
  color: #b42318 !important;
  font-size: 13px !important;
}

.asset-menu {
  position: relative;
  flex: 0 0 auto;
}

.asset-select {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: #fff;
  color: #10101a;
  font-weight: 800;
}

.asset-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 8;
  display: grid;
  min-width: 132px;
  padding: 7px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(20, 17, 37, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.asset-menu.is-open .asset-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.asset-options button {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 0 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #10101a;
  font-weight: 800;
}

.asset-options button:hover,
.asset-options button:focus-visible,
.asset-options button[aria-checked="true"] {
  background: #f0ebff;
  color: #4f2acc;
}

.asset-select:hover,
.network-row button:hover {
  border-color: #a77aff;
}

.currency-dot {
  display: inline-grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 900;
}

.currency-dot-usd {
  background: #2563eb;
}

.currency-dot-eur {
  background: #7c3aed;
}

.coin-icon {
  display: inline-grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #24a777;
  font-size: 17px;
  font-weight: 900;
}

.coin-usdt {
  background: #24a777;
}

.coin-btc {
  background: #f7931a;
}

.coin-eth {
  background: #627eea;
}

.receive-card {
  padding-bottom: 22px;
}

.network-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--card-muted);
  font-size: 15px;
  font-weight: 500;
}

.network-row button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #f0f0f4;
  color: #12121d;
  font-weight: 800;
}

.rate-summary {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 16px 14px;
  border: 1px solid var(--card-border);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #f7f7fb, #f0f0f6);
}

.rate-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #171724;
  font-size: 15px;
}

.rate-summary dt,
.rate-summary dd {
  margin: 0;
}

.rate-summary dt span {
  display: inline-grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border: 1px solid #87879a;
  border-radius: 50%;
  color: #757588;
  font-size: 10px;
  font-weight: 800;
}

.rate-summary dd {
  font-weight: 700;
  text-align: right;
}

.checkout-section {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  padding: 18px 14px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background: #fff;
}

.checkout-section[hidden] {
  display: none;
}

.checkout-heading h3 {
  margin: 0;
  color: #11111b;
  font-size: 18px;
  line-height: 1.2;
}

.checkout-heading p {
  margin-top: 7px;
  color: var(--card-muted);
  font-size: 14px;
  line-height: 1.45;
}

.checkout-fields {
  display: grid;
  gap: 12px;
}

.checkout-field {
  display: grid;
  gap: 7px;
  color: #151522;
  font-size: 14px;
  font-weight: 800;
}

.checkout-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: #10101a;
  font-weight: 700;
}

.checkout-field input:focus {
  border-color: #a77aff;
  box-shadow: 0 0 0 3px rgba(142, 82, 255, 0.14);
}

.mock-details {
  display: grid;
  gap: 10px;
  margin: 0;
}

.mock-details div {
  display: grid;
  grid-template-columns: minmax(110px, 0.85fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.mock-details dt,
.mock-details dd {
  margin: 0;
  font-size: 14px;
}

.mock-details dt {
  color: var(--card-muted);
  font-weight: 700;
}

.mock-details dd {
  min-width: 0;
  color: #151522;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.mock-details a {
  color: #6331d8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.demo-code {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(142, 82, 255, 0.18);
  border-radius: 8px;
  background: #f7f3ff;
  color: #5830bf;
  font-size: 14px;
  font-weight: 800;
}

.sumsub-frame {
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: #f8f7fb;
}

.sumsub-frame[hidden] {
  display: none;
}

.sumsub-frame iframe {
  width: 100%;
  min-height: 540px;
  border: 0;
}

.secondary-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(142, 82, 255, 0.28);
  border-radius: 8px;
  background: #f0ebff;
  color: #5830bf;
  font-weight: 800;
}

.secondary-action:disabled {
  cursor: not-allowed;
  border-color: #deddea;
  background: #f5f4f8;
  color: #9a96aa;
}

.checkout-complete {
  border-color: rgba(36, 167, 119, 0.24);
  background: linear-gradient(180deg, #ffffff, #f4fbf8);
}

.buy-button {
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #9254ff, #753ee5);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 15px 30px rgba(126, 64, 242, 0.24);
}

.buy-button svg {
  position: absolute;
  right: 24px;
  width: 25px;
  height: 25px;
  stroke-width: 2.6;
}

.buy-button:disabled {
  cursor: not-allowed;
  background: #b9b6c8;
  box-shadow: none;
}

.form-status {
  min-height: 20px;
  margin-top: 12px;
  color: #4f2acc;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.kyc-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 11px;
  color: #747386;
  font-size: 14px;
  font-weight: 600;
}

.kyc-note svg {
  width: 18px;
  height: 18px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(132, 119, 176, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(27, 26, 45, 0.84), rgba(15, 14, 28, 0.88)),
    rgba(15, 14, 28, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.trust-strip article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 126px;
  padding: 22px 28px;
}

.trust-strip article + article {
  border-left: 1px solid rgba(180, 166, 228, 0.18);
}

.trust-strip article > span {
  width: 62px;
  height: 62px;
}

.trust-strip svg {
  width: 33px;
  height: 33px;
  stroke-width: 2.1;
}

.trust-strip h2 {
  font-size: 16px;
  line-height: 1.25;
}

.trust-strip p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.45;
}

.social-proof {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  font-size: 20px;
}

.social-proof strong {
  color: #a06aff;
  font-size: 23px;
}

:focus-visible {
  outline: 3px solid rgba(178, 139, 255, 0.9);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .site-shell {
    padding-inline: 24px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 54px 0 32px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .calculator-card {
    max-width: 620px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip article:nth-child(3) {
    border-left: 0;
  }

  .trust-strip article:nth-child(n + 3) {
    border-top: 1px solid rgba(180, 166, 228, 0.18);
  }
}

@media (max-width: 760px) {
  body::before {
    background:
      linear-gradient(180deg, rgba(5, 4, 11, 0.9), rgba(5, 4, 11, 0.42) 45%, rgba(5, 4, 11, 0.94)),
      url("background.png") 62% top / auto 100vh no-repeat,
      var(--bg);
    transform: none;
  }

  .site-shell {
    padding: 18px 16px 28px;
  }

  .site-header {
    gap: 16px;
  }

  .brand {
    font-size: 23px;
  }

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

  .header-actions {
    gap: 8px;
  }

  .language-button {
    min-height: 42px;
    padding: 0 12px;
  }

  .language-options {
    min-width: 154px;
  }

  .button-ghost {
    display: none;
  }

  .button-primary {
    min-width: 86px;
    min-height: 42px;
    padding-inline: 14px;
  }

  .hero {
    gap: 34px;
    padding-top: 42px;
  }

  .trust-pill {
    font-size: 14px;
  }

  h1 {
    margin-top: 24px;
    font-size: clamp(48px, 14vw, 66px);
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .feature-badges {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    margin-top: 36px;
  }

  .calculator-card {
    padding: 22px 16px;
    border-radius: 14px;
  }

  .checkout-progress {
    margin-bottom: 18px;
  }

  .checkout-progress li {
    gap: 6px;
    font-size: 10px;
  }

  .checkout-progress li::before {
    top: 20px;
    right: calc(50% + 21px);
    left: calc(-50% + 21px);
  }

  .step-circle {
    width: 42px;
    height: 42px;
  }

  .step-circle svg {
    width: 20px;
    height: 20px;
  }

  .step-label {
    max-width: 58px;
  }

  .card-header {
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .card-header h2 {
    font-size: 24px;
  }

  .card-header p {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 13px;
  }

  .input-row {
    gap: 10px;
  }

  #pay-amount,
  #receive-amount {
    font-size: 28px;
  }

  .asset-select {
    min-height: 42px;
    padding-inline: 10px;
  }

  .mock-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip article {
    grid-template-columns: 56px 1fr;
    min-height: 104px;
    padding: 18px;
  }

  .trust-strip article + article,
  .trust-strip article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(180, 166, 228, 0.18);
  }

  .trust-strip article > span {
    width: 54px;
    height: 54px;
  }

  .trust-strip p {
    font-size: 15px;
  }

  .social-proof {
    font-size: 17px;
  }
}

@media (max-width: 420px) {
  .header-actions {
    justify-content: flex-end;
  }

  .language-button svg {
    display: none;
  }

  .button-primary {
    width: 96px;
    min-width: 0;
    padding-inline: 8px;
    font-size: 13px;
    line-height: 1.1;
    white-space: normal;
  }

  .calculator-card {
    margin-inline: -2px;
  }

  .field-card {
    padding-inline: 12px;
  }

  #pay-amount,
  #receive-amount {
    font-size: 25px;
  }

  .rate-summary div {
    font-size: 14px;
  }
}
