:root {
  --bg: #f7f7f8;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-tint: #fbfaff;
  --line: #e8e8ef;
  --line-strong: #d9d9e5;
  --text: #17171c;
  --muted: #626977;
  --muted-2: #8c93a1;
  --accent: #6e42e5;
  --accent-soft: #f0eaff;
  --accent-line: rgba(110, 66, 229, 0.2);
  --success: #1fab86;
  --danger: #c2414b;
  --warning: #b7791f;
  --shadow: 0 18px 42px rgba(19, 20, 35, 0.08);
  --shadow-strong: 0 34px 80px rgba(26, 24, 46, 0.24);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 56%, #ffffff 100%),
    var(--bg);
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(circle, rgba(23, 23, 28, 0.1) 1px, transparent 1px);
  background-position: center 86px;
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 10%, rgba(0, 0, 0, 0.48) 38%, transparent 74%);
}

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

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

button {
  cursor: pointer;
}

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

h1,
h2,
h3 {
  font-family: Arial, sans-serif;
  letter-spacing: 0;
}

.site-shell {
  overflow: hidden;
  min-height: 100vh;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  width: min(calc(100% - 36px), var(--max));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 12px;
  border: 1px solid rgba(232, 232, 239, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 34px rgba(20, 21, 34, 0.07);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition:
    top 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  top: 10px;
  border-color: rgba(217, 217, 229, 0.98);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(20, 21, 34, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: clamp(86px, 8vw, 104px);
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  min-width: 0;
}

.main-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.header-actions,
.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #ffffff;
  background: linear-gradient(180deg, #764af1, var(--accent));
  box-shadow: 0 12px 26px rgba(110, 66, 229, 0.24);
  font-weight: 600;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 16px 32px rgba(110, 66, 229, 0.3);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--text);
  background: #ffffff;
  border-color: var(--line);
  box-shadow: none;
}

.button.small {
  min-height: 32px;
  padding: 0 13px;
  border-radius: 6px;
  font-size: 0.76rem;
}

.hero-section {
  position: relative;
  display: grid;
  width: min(var(--max), calc(100% - 40px));
  min-height: 660px;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  align-items: center;
  gap: 54px;
  margin: 0 auto;
  padding: 140px 0 64px;
}

.ambient-grid {
  position: absolute;
  inset: 96px -42px 76px auto;
  z-index: -1;
  width: min(520px, 52vw);
  border-radius: 14px;
  background:
    radial-gradient(circle, rgba(23, 23, 28, 0.14) 1px, transparent 1px),
    linear-gradient(135deg, rgba(110, 66, 229, 0.06), transparent 58%);
  background-size: 18px 18px, auto;
  mask-image: radial-gradient(circle at 48% 38%, #000 0%, rgba(0, 0, 0, 0.7) 34%, transparent 72%);
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 560px;
  margin: 0;
  padding-bottom: 0.08em;
  font-size: clamp(3rem, 5vw, 4.55rem);
  font-weight: 700;
  line-height: 1;
}

h1 span {
  display: block;
  color: var(--accent);
}

.hero-title-line {
  display: block;
  color: inherit;
}

.hero-subtitle {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-subtitle-line {
  white-space: nowrap;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 390px;
  align-content: center;
}

.rate-card,
.checkout-card,
.exchange-card,
.feature-card,
.metric-card,
.steps-flow article,
.security-grid article,
.quote-card,
.cta-panel,
.legal-card,
details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.rate-card {
  position: absolute;
  top: 0;
  right: 76px;
  z-index: 2;
  width: 170px;
  padding: 18px;
  border-radius: 10px;
}

.live-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
}

.live-dot::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(31, 171, 134, 0.12);
  content: "";
}

.rate-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1.8rem;
  line-height: 1;
}

.rate-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.checkout-card {
  width: min(500px, 100%);
  margin: 54px 0 0 auto;
  padding: 24px;
  border-radius: 10px;
}

.checkout-topline,
.card-heading,
.rate-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkout-topline > span:first-child,
.card-heading span {
  font-size: 1.12rem;
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(31, 171, 134, 0.18);
  border-radius: 8px;
  color: var(--success);
  background: rgba(31, 171, 134, 0.08);
  font-size: 0.74rem;
}

.payment-card {
  display: grid;
  gap: 34px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #fbfaff);
}

.payment-card span,
.card-heading small,
.field-label {
  color: var(--muted);
  font-size: 0.78rem;
}

.payment-card strong {
  font-size: 1.35rem;
  font-weight: 600;
}

.flow-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.flow-stack span {
  position: relative;
  min-height: 44px;
  padding: 12px 12px 12px 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #424756;
  background: #ffffff;
  font-size: 0.82rem;
}

.flow-stack span::before {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  content: "";
  transform: translateY(-50%);
}

.exchange-card {
  width: 260px;
  margin: -26px 0 0 20px;
  padding: 18px;
  border-radius: 10px;
}

.field-label {
  display: block;
  margin: 22px 0 8px;
}

.amount-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfd;
}

.amount-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 1.42rem;
  font-weight: 600;
}

.amount-row span {
  color: var(--accent);
  font-size: 0.78rem;
}

.rate-line {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.rate-line b {
  color: var(--text);
  font-weight: 600;
}

.metrics-section {
  display: grid;
  width: min(var(--max), calc(100% - 40px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
  padding: 0 0 34px;
}

.metric-card {
  min-height: 112px;
  padding: 20px;
  border-radius: 8px;
}

.metric-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.metric-card p {
  margin-bottom: 4px;
  font-size: 0.88rem;
}

.metric-card small {
  color: var(--muted-2);
  font-size: 0.76rem;
}

.trust-row {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: clamp(16px, 4vw, 58px);
  padding: 18px 20px 76px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.76rem;
}

.trust-row span::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  vertical-align: 2px;
}

.section-band {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-header {
  max-width: 650px;
  margin: 0 0 44px;
}

.section-header.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-header h2,
.final-cta h2 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.04;
}

.section-header p,
.final-cta p,
.feature-card p,
.steps-flow p,
.security-grid p,
.quote-card p,
.reach-copy p {
  color: var(--muted);
}

.capabilities-section {
  padding-top: 88px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card {
  min-height: 170px;
  padding: 22px;
  border-radius: 8px;
}

.feature-card-large {
  grid-column: span 2;
  min-height: 210px;
  background:
    radial-gradient(circle at 80% 14%, rgba(110, 66, 229, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff, var(--surface-tint));
}

.feature-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 6px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 600;
}

.feature-card h3,
.steps-flow h3,
.security-grid h3 {
  margin-bottom: 9px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.feature-card p,
.steps-flow p,
.security-grid p {
  margin-bottom: 0;
  font-size: 0.88rem;
  line-height: 1.62;
}

.steps-section {
  width: 100%;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  background: #ffffff;
}

.steps-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.steps-flow::before {
  position: absolute;
  top: 27px;
  right: 14%;
  left: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  content: "";
}

.steps-flow article {
  position: relative;
  padding: 0 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.step-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(110, 66, 229, 0.08);
  font-size: 0.9rem;
  font-weight: 600;
}

.reach-section {
  display: block;
}

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

.reach-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  line-height: 1.02;
}

.asset-list {
  display: grid;
  gap: 8px;
  margin-top: 30px;
}

.asset-list span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.84rem;
}

.asset-list b {
  color: var(--text);
  font-weight: 600;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.security-grid article {
  padding: 24px;
  border-radius: 8px;
  box-shadow: none;
}

.security-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
}

.proof-section {
  width: 100%;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  background: #ffffff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.quote-card {
  padding: 26px;
  border-radius: 8px;
  box-shadow: none;
}

.quote-card p {
  min-height: 120px;
  margin-bottom: 22px;
  font-size: 0.95rem;
  line-height: 1.65;
}

.quote-card span {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
}

.faq-list {
  display: grid;
  max-width: 820px;
  gap: 10px;
  margin: 0 auto;
}

details {
  border-radius: 8px;
  box-shadow: none;
}

summary {
  position: relative;
  min-height: 58px;
  padding: 18px 54px 18px 18px;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 15px;
  right: 18px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  content: "+";
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.final-cta {
  padding-top: 92px;
  padding-bottom: 114px;
}

.cta-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 54px 36px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 0%, rgba(110, 66, 229, 0.08), transparent 30%),
    #ffffff;
  box-shadow: var(--shadow-strong);
  text-align: center;
}

.cta-panel h2 {
  max-width: 610px;
  margin-right: auto;
  margin-left: auto;
}

.cta-panel p:not(.eyebrow) {
  max-width: 560px;
  margin-right: auto;
  margin-left: auto;
}

.cta-actions {
  justify-content: center;
  margin-top: 24px;
}

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

.site-footer {
  display: grid;
  width: min(var(--max), calc(100% - 40px));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.site-footer p {
  margin: 0;
}

.application-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.application-modal.is-open {
  display: grid;
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 28, 0.35);
  backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(110, 66, 229, 0.06), transparent 54%),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 34px 100px rgba(19, 20, 35, 0.22);
  padding: 30px;
  scrollbar-color: #c8ccd6 transparent;
  scrollbar-gutter: auto;
  scrollbar-width: thin;
  transform: translateY(18px) scale(0.98);
  transition: transform 180ms ease;
}

.modal-card::-webkit-scrollbar {
  width: 8px;
}

.modal-card::-webkit-scrollbar-track {
  margin: 12px 0;
  border-radius: 999px;
  background: transparent;
}

.modal-card::-webkit-scrollbar-thumb {
  min-height: 74px;
  border: 2px solid rgba(255, 255, 255, 0.98);
  border-radius: 999px;
  background: #c8ccd6;
}

.modal-card::-webkit-scrollbar-thumb:hover {
  background: #aeb4c0;
}

.application-modal.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: #ffffff;
  font-size: 1.3rem;
  line-height: 1;
}

.modal-header {
  max-width: 620px;
  padding-right: 44px;
}

.modal-header h2 {
  margin-bottom: 10px;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.04;
}

.modal-header p:last-child {
  margin-bottom: 22px;
  color: var(--muted);
}

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

.application-form label {
  display: grid;
  gap: 7px;
  color: #343947;
  font-size: 0.86rem;
}

.application-form label[for="main-need"],
.application-form textarea,
.checkbox-field,
.application-form .button,
.form-status {
  grid-column: 1 / -1;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  min-height: 44px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  outline: 0;
  color: var(--text);
  background: #ffffff;
}

.application-form textarea {
  min-height: 104px;
  resize: vertical;
  padding: 12px 14px;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: rgba(110, 66, 229, 0.52);
  box-shadow: 0 0 0 4px rgba(110, 66, 229, 0.1);
}

.application-form select {
  color-scheme: light;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%) calc(100% - 18px) 52% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--accent) 50%, transparent 50%) calc(100% - 14px) 52% / 6px 6px no-repeat,
    #ffffff;
}

.application-modal .application-form select option {
  color: #000000;
  background: #ffffff;
}

.application-modal .application-form select option:disabled {
  color: #000000;
  background: #ffffff;
}

.application-form .checkbox-field {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
}

.checkbox-field input {
  flex: 0 0 auto;
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--accent);
}

.checkbox-field span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.application-form .button {
  width: fit-content;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--accent);
  font-size: 0.9rem;
}

body.modal-open {
  overflow: hidden;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 30;
  display: grid;
  width: min(920px, calc(100% - 44px));
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 70px rgba(20, 21, 34, 0.16);
  backdrop-filter: blur(20px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.cookie-banner.is-hidden {
  visibility: hidden;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

.cookie-title {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.cookie-banner p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .button {
  min-height: 40px;
  font-weight: 400;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  min-height: 100vh;
  padding: 130px 24px 80px;
}

.legal-shell {
  width: min(900px, 100%);
  margin: 0 auto;
}

.legal-card {
  padding: 34px;
  border-radius: 10px;
}

.legal-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: 1.45rem;
  font-weight: 700;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  padding-left: 18px;
}

.draft-note {
  margin: 0 0 26px;
  padding: 14px;
  border: 1px solid rgba(183, 121, 31, 0.28);
  border-radius: 7px;
  color: #7c4a03;
  background: rgba(255, 237, 213, 0.72);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .hero-section {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 46px;
    padding-top: 132px;
  }

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

  .hero-visual {
    min-height: 420px;
  }

  .checkout-card {
    margin-left: 0;
  }

  .capability-grid,
  .security-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max));
    gap: 12px;
  }

  .brand-logo {
    width: 86px;
  }

  .hero-section,
  .metrics-section,
  .section-band {
    width: min(100% - 28px, var(--max));
  }

  .hero-section {
    padding: 116px 0 58px;
  }

  h1 {
    font-size: 3.1rem;
    line-height: 1.02;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-subtitle-line {
    white-space: normal;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .header-actions .button {
    width: auto;
  }

  .hero-visual {
    min-height: auto;
    gap: 12px;
  }

  .rate-card,
  .checkout-card,
  .exchange-card {
    position: static;
    width: 100%;
    margin: 0;
  }

  .flow-stack,
  .metrics-section,
  .capability-grid,
  .steps-flow,
  .security-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    grid-column: span 1;
  }

  .trust-row {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-right: 18px;
    padding-left: 18px;
  }

  .section-band,
  .steps-section,
  .proof-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .steps-flow::before {
    display: none;
  }

  .steps-flow article {
    text-align: left;
  }

  .step-number {
    margin-right: 0;
    margin-left: 0;
  }

  .quote-card p {
    min-height: auto;
  }

  .cta-panel {
    padding: 34px 22px;
  }

  .application-modal {
    padding: 12px;
  }

  .modal-card {
    padding: 22px;
  }

  .modal-header h2 {
    font-size: 1.72rem;
  }

  .application-form .button {
    width: 100%;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
