@import url("assets/fonts/manrope.css");

:root {
  --ink: #07131f;
  --ink-soft: #15283a;
  --muted: #587083;
  --line: #d9e5ea;
  --paper: #f6fafb;
  --white: #ffffff;
  --emerald: #0eaa78;
  --emerald-dark: #087052;
  --cyan: #49b7d8;
  --coral: #ff7a59;
  --amber: #f4bc43;
  --shadow: 0 22px 55px rgba(7, 19, 31, 0.14);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: none;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

img,
svg {
  display: block;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(246, 250, 251, 0.9);
  border-bottom: 1px solid rgba(7, 19, 31, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(14, 170, 120, 0.28);
}

.brand-name {
  overflow-wrap: anywhere;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(73, 183, 216, 0.12);
  outline: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(620px, 88svh, 820px);
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 50%;
  z-index: -3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 19, 31, 0.9) 0%, rgba(7, 19, 31, 0.78) 36%, rgba(7, 19, 31, 0.22) 72%, rgba(7, 19, 31, 0.42) 100%),
    linear-gradient(0deg, rgba(7, 19, 31, 0.72) 0%, rgba(7, 19, 31, 0) 34%);
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: clamp(54px, 9vw, 110px) 0 76px;
  color: var(--white);
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--emerald);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.bonus-band .eyebrow,
.final-cta .eyebrow {
  color: #75e0bd;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-lead strong {
  color: var(--white);
}

.hero-actions,
.final-cta,
.bonus-band,
.promo-box {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  max-width: 100%;
  padding: 14px 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
}

.button svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.button-primary {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 20px 38px rgba(14, 170, 120, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--emerald-dark);
  outline: none;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 700;
}

.affiliate-note {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-link {
  display: grid;
  gap: 4px;
  min-height: 112px;
  padding: 24px clamp(18px, 4vw, 46px);
  background: var(--white);
}

.quick-link:hover,
.quick-link:focus-visible {
  background: #eef9f6;
  outline: none;
}

.quick-kicker {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-link strong {
  font-size: clamp(1.16rem, 2vw, 1.55rem);
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 4vw, 56px);
}

.section-muted {
  background: var(--white);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.steps,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.step-card,
.feature-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(7, 19, 31, 0.05);
}

.step-number {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--coral);
  font-size: 0.84rem;
  font-weight: 900;
}

.step-card p,
.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  max-width: 1180px;
  margin: 0 auto;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--emerald-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.comparison {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  min-height: 62px;
  border-bottom: 1px solid var(--line);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row span {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.comparison-row span:last-child {
  border-right: 0;
}

.comparison-head {
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 34px;
  border-radius: 8px;
  background: #e9f7f2;
  color: var(--emerald-dark);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.bonus-band,
.final-cta {
  justify-content: space-between;
  padding: clamp(52px, 7vw, 86px) clamp(18px, 7vw, 96px);
  background: var(--ink);
  color: var(--white);
}

.bonus-band h2,
.final-cta h2 {
  max-width: 720px;
}

.bonus-band p:not(.eyebrow) {
  max-width: 650px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.promo-box {
  justify-content: center;
  min-width: min(420px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.promo-box code {
  color: var(--amber);
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 900;
}

.promo-box button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.promo-box span {
  flex-basis: 100%;
  min-height: 22px;
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  font-size: 0.9rem;
}

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

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 900;
}

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

.final-cta {
  background: linear-gradient(135deg, var(--ink) 0%, #0b3140 62%, #173d37 100%);
}

.site-footer {
  display: grid;
  gap: 10px;
  padding: 34px clamp(18px, 4vw, 56px);
  background: #030a10;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.site-footer p {
  max-width: 1120px;
  margin: 0;
}

.redirect-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(7, 19, 31, 0.95), rgba(14, 170, 120, 0.74)),
    url("assets/hero-fintech.png") center / cover;
}

.redirect-box {
  width: min(520px, 100%);
  padding: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.error-page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    linear-gradient(90deg, rgba(7, 19, 31, 0.9) 0%, rgba(7, 19, 31, 0.72) 48%, rgba(7, 19, 31, 0.42) 100%),
    url("assets/hero-fintech.png") center / cover;
  color: var(--white);
}

.error-main {
  display: grid;
  align-items: center;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 7vw, 96px);
}

.error-content {
  width: min(720px, 100%);
}

.error-code {
  display: inline-flex;
  margin-bottom: 18px;
  color: #75e0bd;
  font-size: clamp(4rem, 18vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
}

.error-content h1 {
  font-size: clamp(2.2rem, 7vw, 5.4rem);
}

.error-content p {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.redirect-box h1 {
  margin-top: 22px;
  color: var(--ink);
  font-size: clamp(2rem, 8vw, 3.2rem);
}

.redirect-box p {
  color: var(--muted);
}

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

  .nav-toggle {
    display: block;
    order: 3;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    padding: 12px 18px 18px;
    background: rgba(246, 250, 251, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    justify-content: center;
    background: var(--white);
  }

  .header-cta {
    justify-self: end;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    gap: 10px;
    min-height: 66px;
  }

  .brand-name {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 14px;
  }

  .site-nav {
    top: 66px;
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    object-position: 68% 50%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 19, 31, 0.92) 0%, rgba(7, 19, 31, 0.78) 58%, rgba(7, 19, 31, 0.42) 100%),
      linear-gradient(0deg, rgba(7, 19, 31, 0.76) 0%, rgba(7, 19, 31, 0) 42%);
  }

  .hero-content {
    width: min(620px, calc(100% - 32px));
    margin-inline: auto;
    padding: 84px 0 64px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.55rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.6rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .bonus-band,
  .final-cta {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    flex: 1 1 100%;
    min-width: 0;
    width: auto;
  }

  .quick-panel,
  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .quick-link {
    min-height: 92px;
  }

  .comparison {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-row {
    min-width: 560px;
  }

  .step-card,
  .feature-card {
    min-height: auto;
  }

  .bonus-band,
  .final-cta {
    align-items: stretch;
  }

  .error-actions {
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-inline: 14px;
  }

  .header-cta {
    justify-self: start;
  }

  .hero-content {
    width: min(620px, calc(100% - 28px));
    padding-top: 72px;
  }

  .eyebrow {
    font-size: 0.7rem;
  }

  h1 {
    font-size: clamp(2.15rem, 10.4vw, 2.7rem);
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-points li {
    width: 100%;
  }

  .section {
    padding-inline: 16px;
  }

  .comparison-row {
    min-width: 500px;
  }

  .comparison-row span {
    padding: 14px 12px;
  }

  .promo-box {
    justify-content: stretch;
  }

  .promo-box code,
  .promo-box button {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
