:root {
  --yellow: #2f7bff;
  --yellow-strong: #1c5be0;
  --graphite: #606a76;
  --graphite-dark: #323943;
  --graphite-deep: #161a20;
  --white: #ffffff;
  --paper: #f6f3ea;
  --muted: rgba(255, 255, 255, 0.74);
  --ink-muted: #5d6470;
  --line: rgba(255, 255, 255, 0.18);
  --dark-line: rgba(22, 26, 32, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(22, 26, 32, 0.2), rgba(22, 26, 32, 0.78)),
    radial-gradient(circle at 76% 2%, rgba(47, 123, 255, 0.22), transparent 28rem),
    linear-gradient(135deg, #74808e 0%, #4b5563 42%, #232932 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header,
.hero,
.intro-strip,
.section,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  margin-top: 14px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(28, 33, 40, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 150px;
  height: 58px;
  object-fit: contain;
  border-radius: 12px;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 15px;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover,
.footer a:hover {
  color: var(--yellow);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button.primary {
  background: var(--yellow);
  color: var(--graphite-deep);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.96fr);
  align-items: center;
  gap: 42px;
  min-height: calc(100vh - 104px);
  padding: 56px 0 44px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(39px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
}

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

.hero-board {
  position: relative;
  min-height: 610px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(91, 102, 114, 0.94), rgba(49, 57, 68, 0.96)),
    url("assets/hero-fintech.png") center / cover;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-board::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 44, 53, 0.1), rgba(37, 44, 53, 0.78));
  pointer-events: none;
}

.board-top,
.board-offer,
.board-metrics {
  position: relative;
  z-index: 1;
}

.board-top {
  display: flex;
  align-items: center;
}

.board-logo {
  display: block;
  width: 232px;
  max-width: 72%;
  height: auto;
  border-radius: 18px;
}

.board-offer {
  margin-top: 92px;
  text-align: center;
  text-transform: uppercase;
}

.board-offer span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.board-offer strong {
  display: block;
  margin: 6px 0;
  color: var(--white);
  font-size: clamp(44px, 4.2vw, 58px);
  line-height: 0.96;
}

.board-offer p {
  max-width: 370px;
  margin: 0 auto;
  color: var(--muted);
  text-transform: none;
}

.board-metrics {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.board-metrics div {
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.board-metrics strong {
  display: block;
  color: var(--yellow);
  font-size: 30px;
  line-height: 1;
}

.board-metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.intro-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--muted);
  font-size: 18px;
}

.intro-strip strong {
  flex: 0 0 auto;
  color: var(--white);
}

.section {
  padding: 90px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 34px;
}

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

.offer-card {
  min-height: 430px;
  padding: 24px;
  border: 1px solid var(--dark-line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--graphite-deep);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.16);
}

.offer-card.accent {
  background: var(--yellow);
}

.offer-card.dark {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--graphite-deep);
  color: var(--white);
}

.card-index {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--yellow-strong);
  font-weight: 950;
}

.offer-card.accent .card-index,
.offer-card.dark .card-index {
  color: currentColor;
}

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

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

.offer-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.offer-card li {
  position: relative;
  padding-left: 22px;
}

.offer-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow-strong);
}

.offer-card.dark li::before {
  background: var(--yellow);
}

.promo {
  padding-top: 36px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.promo-card {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 22px;
  align-items: center;
  min-height: 420px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: rgba(25, 30, 37, 0.72);
  box-shadow: var(--shadow);
}

.promo-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
}

.promo-card span {
  color: var(--yellow);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.promo-card h3 {
  margin-top: 12px;
  font-size: clamp(27px, 3vw, 40px);
}

.promo-card p {
  color: var(--muted);
  font-size: 17px;
}

.route {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.route-steps {
  display: grid;
  gap: 14px;
}

.route-steps article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.09);
}

.route-steps span {
  display: inline-grid;
  place-items: center;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--graphite-deep);
  font-weight: 950;
}

.route-steps h3 {
  grid-column: 2;
}

.route-steps p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: start;
}

.contact-copy p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--graphite-deep);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-muted);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--dark-line);
  border-radius: 18px;
  background: var(--white);
  color: var(--graphite-deep);
  padding: 16px 18px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--yellow-strong);
  box-shadow: 0 0 0 4px rgba(47, 123, 255, 0.26);
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--ink-muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1040px) {
  .hero,
  .section-heading,
  .route,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

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

  .nav {
    display: none;
  }

  .brand-logo {
    width: 126px;
    height: 48px;
  }

  .brand-text small {
    display: none;
  }

  .hero-board {
    min-height: 560px;
  }

  .board-metrics {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .board-metrics div {
    min-height: auto;
  }

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

  .promo-card {
    grid-template-columns: 1fr;
  }

  .promo-card img {
    height: 360px;
  }

  .intro-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .intro-strip,
  .section,
  .footer {
    width: calc(100% - 20px);
  }

  .site-header {
    min-height: 66px;
    margin-top: 10px;
    border-radius: 22px;
  }

  .brand-text strong {
    display: none;
  }

  .brand-logo {
    width: 108px;
    height: 42px;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero {
    gap: 28px;
    padding: 32px 0 34px;
  }

  h1 {
    font-size: 31px;
    line-height: 1.08;
  }

  h2 {
    font-size: 27px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 16px;
  }

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

  .hero-board {
    min-height: 520px;
    padding: 24px;
    border-radius: 28px;
  }

  .board-logo {
    width: 190px;
  }

  .board-offer {
    margin-top: 58px;
  }

  .board-offer strong {
    font-size: 44px;
  }

  .section {
    padding: 64px 0;
  }

  .offer-card {
    min-height: auto;
  }

  .card-index {
    margin-bottom: 28px;
  }

  .promo-card {
    min-height: auto;
  }

  .promo-card img {
    height: 310px;
  }

  .promo-card h3 {
    font-size: 28px;
  }

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

  .route-steps span,
  .route-steps h3,
  .route-steps p {
    grid-column: auto;
    grid-row: auto;
  }

  .footer {
    flex-direction: column;
  }
}

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