:root {
  color-scheme: light dark;
  --ink: #111126;
  --muted: #69697d;
  --line: rgba(17, 17, 38, 0.12);
  --surface: rgba(255, 255, 255, 0.84);
  --surface-solid: #ffffff;
  --page: #f7f7fb;
  --tint: #eeeeff;
  --brand: #6255f6;
  --brand-deep: #4f43df;
  --brand-soft: #ddd9ff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 24px 70px rgba(45, 37, 145, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(98, 85, 246, 0.14), transparent 30rem),
    var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 251, 0.82);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 760;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #8075ff, #5042e2);
  color: white;
  box-shadow: 0 8px 24px rgba(80, 66, 226, 0.28);
  font-size: 1.15rem;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.hero {
  padding: 92px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(3rem, 6.8vw, 5.9rem);
  line-height: 0.97;
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--brand);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 720;
  text-decoration: none;
}

.button-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 12px 28px rgba(98, 85, 246, 0.24);
}

.button-primary:hover {
  background: var(--brand-deep);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.response-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.conversion-card {
  position: relative;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  background:
    radial-gradient(circle at 85% 0%, rgba(128, 117, 255, 0.2), transparent 40%),
    linear-gradient(145deg, #262637, #15151f);
  box-shadow: var(--shadow);
  color: white;
}

.conversion-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.status-dot {
  letter-spacing: 0;
}

.currency-row {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.currency-row div {
  display: grid;
}

.currency-row strong {
  font-size: 1.25rem;
}

.currency-row span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.88rem;
}

.currency-row b {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.swap-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.66);
}

.swap-line::before,
.swap-line::after {
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
}

.swap-line span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.conversion-card > p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  min-height: 132px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-content: center;
  column-gap: 12px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.trust-grid > div:last-child {
  border-right: 0;
}

.trust-grid span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 1.15rem;
}

.trust-grid strong {
  align-self: end;
}

.trust-grid small {
  align-self: start;
  color: var(--muted);
}

.section {
  padding-block: 104px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading > p:last-child,
.split > div > p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

details {
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

summary {
  padding: 20px 34px 20px 0;
  cursor: pointer;
  font-weight: 720;
}

details p {
  margin: -4px 0 22px;
  color: var(--muted);
}

.section-tint {
  background: linear-gradient(135deg, rgba(221, 217, 255, 0.64), rgba(255, 255, 255, 0.65));
}

.split {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.72fr);
  align-items: start;
  gap: clamp(40px, 8vw, 100px);
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 1.15rem;
  font-weight: 750;
}

.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

dl {
  margin: 18px 0 0;
}

dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}

dl > div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 650;
}

.legal-main {
  padding: 88px 0 110px;
}

.legal-document {
  max-width: 820px;
}

.legal-document h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.effective-date {
  margin: 18px 0 40px;
  color: var(--muted);
}

.legal-summary {
  margin-bottom: 52px;
  padding: 24px;
  border: 1px solid rgba(98, 85, 246, 0.22);
  border-radius: var(--radius-md);
  background: var(--tint);
}

.legal-summary strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-deep);
}

.legal-summary p {
  margin: 0;
}

.legal-document section {
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.legal-document section h2 {
  font-size: 1.42rem;
  letter-spacing: -0.025em;
}

.legal-document section p {
  color: var(--muted);
}

.legal-document li {
  margin-block: 6px;
  color: var(--muted);
}

.legal-contact {
  margin-top: 28px;
}

footer {
  padding: 56px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--surface-solid);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.footer-wrap p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 12px 22px;
}

.footer-links a {
  color: var(--muted);
}

.legal-line {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 860px) {
  .hero {
    padding-top: 64px;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .conversion-card {
    max-width: 600px;
  }

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

  .trust-grid > div:nth-child(2) {
    border-right: 0;
  }

  .trust-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .nav-wrap {
    min-height: 64px;
  }

  .brand {
    font-size: 1rem;
  }

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

  nav a {
    padding: 7px 9px;
    font-size: 0.84rem;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .hero {
    padding: 56px 0;
  }

  .hero-actions .button {
    width: 100%;
  }

  .conversion-card {
    padding: 20px;
    border-radius: 24px;
  }

  .currency-row {
    min-height: 84px;
  }

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

  .trust-grid > div {
    min-height: 104px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 76px;
  }

  .legal-main {
    padding: 62px 0 80px;
  }

  .footer-wrap {
    display: grid;
  }

  .footer-links {
    display: grid;
    justify-content: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f2ff;
    --muted: #aaa8bd;
    --line: rgba(255, 255, 255, 0.12);
    --surface: rgba(31, 30, 43, 0.84);
    --surface-solid: #191821;
    --page: #111017;
    --tint: #25223f;
    --brand: #857bff;
    --brand-deep: #a69fff;
    --brand-soft: rgba(133, 123, 255, 0.18);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  }

  body {
    background:
      radial-gradient(circle at 82% 8%, rgba(98, 85, 246, 0.15), transparent 30rem),
      var(--page);
  }

  .site-header {
    background: rgba(17, 16, 23, 0.82);
  }

  .section-tint {
    background: linear-gradient(135deg, rgba(54, 49, 103, 0.52), rgba(20, 19, 28, 0.78));
  }

  .button-primary {
    color: #ffffff;
  }
}
