/* Extracted from src/styles/{tokens,base,sections}.css. Scoped to .section--lead. */
/* Design tokens — Uzum Bank Partners (DESIGN.md). Light brand site, single theme. */
.section--lead {
  --c-primary: #7000ff;
  --c-primary-hover: #5c00d1;
  --c-primary-deep: #3b1082;
  --c-ink: #1a1c1e;
  --c-ink-2: #5e6168; /* secondary text on light grounds, 5.9:1 on background */
  --c-muted: #999999;
  --c-surface: #ffffff;
  --c-background: #f3f4f6;
  --c-background-hover: #e8e9ed;
  --c-inverse-surface: #141414;
  --c-inverse-button: #101010;
  --c-outline: #e5e7eb;
  --c-on-primary: #ffffff;
  --c-on-hero-2: #d9ccf6; /* secondary text on primary-deep, tinted from the hue */
  --c-on-inverse-2: #a6a6ad; /* secondary text on inverse-surface */
  --c-accent-on-dark: #b894ff; /* focus rings and ticks on dark grounds */
  --c-error: #e5484d;
  --c-error-on-dark: #ff9d9d;

  --font: Uzum, Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;

  --r-xs: 12px;
  --r-sm: 22px;
  --r-md: 32px;
  --r-lg: 40px;
  --r-pill: 999px;

  --s-section: 90px;
  --gutter: 24px;
  --container: 1240px;

  --shadow-soft: 0 10.69px 21.39px rgba(0, 0, 0, 0.09);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 640px) {
  .section--lead {
    --s-section: 60px;
    --gutter: 16px;
  }
}

.section--lead *,
.section--lead *::before,
.section--lead *::after {
  box-sizing: border-box;
}

.section--lead {
  margin: 0;
  background: var(--c-background);
  color: var(--c-ink);
  font: 500 16px/24px var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.section--lead h2,
.section--lead h3,
.section--lead p,
.section--lead ul {
  margin: 0;
}

.section--lead ul[role='list'] {
  list-style: none;
  padding: 0;
}

.section--lead svg {
  display: block;
  max-width: 100%;
}

.section--lead button,
.section--lead input {
  font: inherit;
  color: inherit;
}

.section--lead a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
}

.section--lead [hidden] {
  display: none !important;
}

.section--lead ::selection {
  background: var(--c-primary);
  color: var(--c-on-primary);
}

.section--lead input {
  caret-color: var(--c-primary);
}

.section--lead :focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
}

.section--lead .lead-panel :focus-visible {
  outline-color: var(--c-accent-on-dark);
}

@media (prefers-reduced-motion: reduce) {

  .section--lead *,
  .section--lead *::before,
  .section--lead *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.section--lead .container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section--lead .icon {
  flex: none;
}
.section--lead .section-title {
  font: 700 56px/64px var(--font);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (max-width: 1000px) {
  .section--lead .section-title {
    font-size: 44px;
    line-height: 52px;
  }
}

@media (max-width: 640px) {
  .section--lead .section-title {
    font-size: 36px;
    line-height: 44px;
  }
}
.section--lead .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--r-pill);
  font: 600 16px/24px var(--font);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.25s var(--ease-out);
}

.section--lead .btn:active {
  transform: scale(0.97);
}

.section--lead .btn:disabled {
  cursor: progress;
  opacity: 0.7;
}

.section--lead .btn--light {
  background: var(--c-surface);
  color: var(--c-ink);
}

.section--lead .btn--light:hover {
  background: #ede6fb;
}

.section--lead .btn--lg {
  min-height: 64px;
  padding: 20px 40px;
}

.section--lead .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  font: 600 16px/24px var(--font);
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.3em;
  cursor: pointer;
  transition: text-decoration-color 0.2s ease;
}

.section--lead .link-arrow:hover {
  text-decoration-color: currentColor;
}

.section--lead { padding-top: var(--s-section); }
/* ================= Lead panel ================= */
.section--lead {
  padding-bottom: var(--s-section);
}

.section--lead .lead-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 64px;
  padding: 60px;
  border-radius: var(--r-lg);
  background: var(--c-inverse-surface);
  color: var(--c-on-primary);
}

.section--lead .lead-panel__copy {
  padding-bottom: 260px;
}

.section--lead .lead-panel__text {
  margin-top: 24px;
  max-width: 28em;
  font: 500 20px/30px var(--font);
  color: var(--c-on-inverse-2);
  text-wrap: pretty;
}

.section--lead .lead-panel__points {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.section--lead .lead-panel__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.section--lead .lead-panel__points .icon {
  margin-top: 2px;
  color: var(--c-accent-on-dark);
}

/* The one glossy object on the page: green-to-violet sphere with a hard specular glint */
.section--lead .lead-panel__sphere {
  position: absolute;
  z-index: -1;
  left: -60px;
  bottom: -300px;
  width: 560px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 25%, #fff 0 1.4%, rgba(255, 255, 255, 0.8) 2.4%, rgba(255, 255, 255, 0) 6.5%),
    radial-gradient(ellipse 34% 24% at 35% 29%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 70%),
    radial-gradient(circle at 50% 50%, rgba(8, 4, 20, 0) 52%, rgba(8, 4, 20, 0.6) 71%),
    radial-gradient(circle at 28% 24%, #b3ffd9 0%, #45e3a4 11%, #16b09a 23%, #4a52ee 43%, #7000ff 58%, #3b1082 78%, #13052b 100%);
  box-shadow: inset -36px -56px 90px rgba(0, 0, 0, 0.45);
}

.section--lead .lead-form {
  display: grid;
  gap: 18px;
}

.section--lead .field {
  display: grid;
  gap: 8px;
}

.section--lead .field__label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 600 14px/20px var(--font);
}

.section--lead .field__optional {
  font-weight: 500;
  color: var(--c-on-inverse-2);
}

.section--lead .field__input {
  width: 100%;
  min-height: 56px;
  padding: 16px 20px;
  border: 0;
  border-radius: var(--r-xs);
  background: var(--c-surface);
  color: var(--c-ink);
  font: 500 16px/24px var(--font);
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow 0.2s ease;
}

.section--lead .field__input::placeholder {
  color: #6b6f76;
  opacity: 1;
}

.section--lead .field__input:focus {
  outline: none;
  box-shadow:
    inset 0 0 0 2px var(--c-primary),
    0 0 0 4px rgba(184, 148, 255, 0.5);
}

.section--lead .field__input[aria-invalid='true'] {
  box-shadow: inset 0 0 0 2px var(--c-error);
}

.section--lead .field__input[aria-invalid='true']:focus {
  box-shadow:
    inset 0 0 0 2px var(--c-error),
    0 0 0 4px rgba(255, 157, 157, 0.35);
}

.section--lead .field__error,
.section--lead .lead-form__status {
  font: 500 14px/20px var(--font);
  color: var(--c-error-on-dark);
}

.section--lead .field__error:empty,
.section--lead .lead-form__status:empty {
  display: none;
}

.section--lead .field--trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.section--lead .lead-form__consent {
  font: 500 13px/20px var(--font);
  color: var(--c-on-inverse-2);
}

.section--lead .lead-form__consent a {
  color: var(--c-on-primary);
}

.section--lead .lead-form__submit {
  justify-self: start;
  margin-top: 4px;
}

.section--lead .lead-success {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  height: 100%;
}

.section--lead .lead-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-primary);
}

.section--lead .lead-success__title {
  font: 700 28px/36px var(--font);
  outline: none;
}

.section--lead .lead-success__text {
  max-width: 26em;
  color: var(--c-on-inverse-2);
}

.section--lead .lead-success .link-arrow {
  margin-top: 12px;
}

@media (max-width: 1000px) {
  .section--lead .lead-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 48px 40px 240px;
  }

  .section--lead .lead-panel__copy {
    padding-bottom: 0;
  }

  .section--lead .lead-panel__sphere {
    left: 50%;
    bottom: -330px;
    width: 480px;
    translate: -50% 0;
  }
}

@media (max-width: 640px) {
  .section--lead .lead-panel {
    padding: 36px 20px 200px;
    border-radius: var(--r-md);
  }

  .section--lead .lead-panel__text {
    font-size: 18px;
    line-height: 28px;
  }

  .section--lead .lead-panel__sphere {
    bottom: -250px;
    width: 380px;
  }

  .section--lead .lead-form__submit {
    justify-self: stretch;
  }
}

