:root {
  --nomin-blue: #4d68ef;
  --nomin-blue-dark: #2749d8;
  --nomin-blue-soft: #7894eb;
  --deep-blue: #10245d;
  --ink: #111827;
  --muted: #667085;
  --line: #e4e7ec;
  --paper: #ffffff;
  --cloud: #f5f7fb;
  --gold: #f4b942;
  --red: #de3847;
  --success: #168a68;
  --shadow: 0 20px 60px rgba(23, 43, 107, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --shell: min(1240px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

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

.demo-ribbon {
  position: relative;
  z-index: 60;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 20px;
  color: #fff;
  background: #c83445;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
}

.demo-ribbon span {
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 99px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.utility-bar {
  position: relative;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #f0f1f5;
}

.utility-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
}

.utility-group {
  display: flex;
  align-items: center;
  gap: 22px;
}

.utility-group a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.utility-group a:hover {
  opacity: 0.65;
}

.utility-group svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: relative;
  z-index: 45;
  color: #fff;
  background: var(--nomin-blue);
  box-shadow: 0 8px 28px rgba(39, 73, 216, 0.16);
}

.brand-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-link img {
  width: 172px;
  height: auto;
  filter: brightness(0) invert(1);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions a {
  min-width: 150px;
  display: flex;
  flex-direction: column;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-actions a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

.header-actions span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.74);
}

.header-actions strong {
  margin-top: 2px;
  font-size: 16px;
}

.menu-toggle {
  display: none;
  color: #fff;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.main-navigation {
  background: #819eef;
}

.nav-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3.3vw, 52px);
}

.nav-inner a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-inner a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-inner a:hover::after {
  transform: scaleX(1);
}

.category-lines {
  width: 18px;
  height: 14px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  position: relative;
}

.category-lines::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  left: 0;
  border-top: 2px solid #fff;
}

.hero-section {
  padding: 22px 0 0;
  background:
    radial-gradient(circle at 90% 12%, rgba(77, 104, 239, 0.1), transparent 30%),
    #fff;
}

.hero-card {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--deep-blue);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: absolute;
  inset: 0;
  background-image: url("hero-naadam.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 20, 66, 0.97) 0%, rgba(10, 35, 99, 0.87) 36%, rgba(14, 45, 108, 0.28) 68%, rgba(4, 15, 45, 0.08) 100%),
    linear-gradient(0deg, rgba(5, 14, 39, 0.24), transparent 45%);
}

.hero-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(var(--gold), var(--red));
}

.hero-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: -90px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(255, 255, 255, 0.03),
    0 0 0 88px rgba(255, 255, 255, 0.025);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(660px, 62%);
  padding: 82px 0 58px 70px;
  color: #fff;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.eyebrow > span {
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.eyebrow-blue {
  color: var(--nomin-blue-dark);
}

.hero-copy h1 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(46px, 5.3vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-copy h1 em {
  display: block;
  margin: 10px 0 8px;
  color: var(--gold);
  font-style: normal;
}

.hero-copy > p {
  max-width: 520px;
  margin: 26px 0 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.65;
}

.primary-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 26px;
  color: #fff;
  border: 0;
  border-radius: 12px;
  background: var(--red);
  box-shadow: 0 14px 32px rgba(222, 56, 71, 0.28);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(222, 56, 71, 0.38);
}

.primary-button svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-note {
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-note > span {
  min-width: 68px;
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-note p {
  margin: 0;
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.66);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 12px;
  line-height: 1.45;
}

.hero-note p b {
  display: block;
  color: #fff;
  font-size: 14px;
}

.hero-prize {
  position: absolute;
  z-index: 4;
  right: 44px;
  bottom: 36px;
  width: 138px;
  height: 138px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--deep-blue);
  border: 5px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 18px 44px rgba(5, 15, 52, 0.35);
  transform: rotate(-7deg);
}

.hero-prize span {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hero-prize strong {
  margin: -2px 0;
  font-size: 57px;
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.hero-prize b {
  font-size: 14px;
}

.intro-section {
  position: relative;
  overflow: hidden;
}

.intro-section::before {
  content: "ᠨᠠᠭᠠᠳᠤᠮ";
  position: absolute;
  right: -12px;
  top: 58px;
  color: rgba(77, 104, 239, 0.045);
  font-family: serif;
  font-size: 130px;
  font-weight: 900;
  writing-mode: vertical-rl;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
  gap: 90px;
}

.section-heading h2,
.offer-copy h2,
.form-aside h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.intro-copy {
  padding-left: 34px;
  border-left: 3px solid var(--gold);
}

.intro-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.intro-copy .lead {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.tradition-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tradition-card {
  position: relative;
  min-height: 280px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tradition-card:hover {
  transform: translateY(-7px);
  border-color: rgba(77, 104, 239, 0.35);
  box-shadow: var(--shadow);
}

.tradition-card.featured {
  color: #fff;
  border-color: var(--nomin-blue);
  background: var(--nomin-blue);
}

.tradition-number {
  display: block;
  color: var(--nomin-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.featured .tradition-number {
  color: rgba(255, 255, 255, 0.72);
}

.tradition-mark {
  width: 82px;
  height: 82px;
  margin: 32px 0 28px;
  display: grid;
  place-items: center;
  color: var(--nomin-blue);
  border-radius: 50%;
  background: var(--cloud);
  font-family: Georgia, serif;
  font-size: 36px;
}

.featured .tradition-mark {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.tradition-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.tradition-card p {
  max-width: 250px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.featured p {
  color: rgba(255, 255, 255, 0.74);
}

.offer-section {
  color: #fff;
  background:
    radial-gradient(circle at 70% 0%, rgba(124, 155, 255, 0.34), transparent 35%),
    var(--deep-blue);
}

.offer-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 90px;
}

.offer-copy > p {
  max-width: 590px;
  margin: 20px 0 36px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.steps-inline {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 700;
}

.steps-inline span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.steps-inline b {
  color: var(--gold);
}

.steps-inline i {
  width: 38px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.offer-panel {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 46px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.offer-panel::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.offer-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--deep-blue);
  border-radius: 50%;
  background: var(--gold);
}

.offer-icon svg {
  width: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offer-amount {
  display: flex;
  flex-direction: column;
}

.offer-amount span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.offer-amount strong {
  margin: 10px 0 5px;
  color: var(--gold);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.offer-amount b {
  font-size: 18px;
}

.details-section {
  background: var(--cloud);
}

.centered {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.centered .eyebrow {
  justify-content: center;
}

.centered > p {
  color: var(--muted);
}

.details-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.detail-card {
  min-height: 220px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.detail-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--nomin-blue);
  border-radius: 50%;
  background: #edf0ff;
  font-size: 11px;
  font-weight: 900;
}

.detail-card p {
  margin: auto 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.detail-card strong {
  font-size: 19px;
  line-height: 1.35;
}

.cta-section {
  padding-top: 0;
  background: var(--cloud);
}

.cta-card {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 58px 64px;
  color: #fff;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 50%),
    var(--nomin-blue);
  box-shadow: var(--shadow);
}

.cta-card h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(32px, 4vw, 49px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.cta-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.light-button {
  flex: 0 0 auto;
  color: var(--nomin-blue-dark);
  background: #fff;
  box-shadow: none;
}

.light-button:hover {
  box-shadow: 0 15px 32px rgba(16, 36, 93, 0.2);
}

.site-footer {
  color: #fff;
  background: #2d68c4;
}

.footer-grid {
  padding: 72px 0 58px;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 0.8fr;
  gap: 64px;
}

.footer-logo img {
  width: 170px;
}

.footer-brand > p {
  max-width: 330px;
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.7;
}

.footer-official {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
}

.footer-official svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-column h2 {
  margin: 0 0 11px;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.footer-column a:not(.contact-number) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.footer-column a:hover {
  color: #fff;
}

.contact-number {
  font-size: 28px;
  font-weight: 900;
}

.footer-contact p {
  margin: -7px 0 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.social-row {
  display: flex;
  gap: 9px;
}

.social-row a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 16px !important;
  font-weight: 900;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom .shell {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* Registration flow */
.flow-hero {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(9, 27, 83, 0.98), rgba(77, 104, 239, 0.82)),
    url("hero-naadam.png") center 42% / cover;
}

.flow-hero-inner {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.flow-hero h1 {
  margin: 0;
  font-size: clamp(39px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.flow-hero p {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.flow-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
}

.flow-progress span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 700;
}

.flow-progress span.active {
  color: #fff;
}

.flow-progress b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.flow-progress .active b {
  color: var(--deep-blue);
  border-color: var(--gold);
  background: var(--gold);
}

.flow-progress i {
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.form-section {
  background: var(--cloud);
}

.form-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 72px;
}

.form-aside {
  position: sticky;
  top: 28px;
  padding: 12px 0 0;
}

.aside-index {
  display: block;
  margin-bottom: 40px;
  color: rgba(77, 104, 239, 0.16);
  font-size: 84px;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.form-aside h2 {
  font-size: clamp(34px, 3.5vw, 48px);
}

.form-aside > p {
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.trust-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-list span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--success);
  border-radius: 50%;
  background: #e8f7f1;
  font-size: 12px;
}

.form-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 24px 65px rgba(17, 24, 39, 0.08);
}

.safety-alert {
  margin-bottom: 32px;
  padding: 18px 20px;
  color: #8b2836;
  border: 1px solid #f1b9c0;
  border-radius: 14px;
  background: #fff3f4;
}

.safety-alert strong {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.safety-alert p {
  margin: 0;
  font-size: 12px;
  line-height: 1.58;
}

.registration-form {
  display: grid;
  gap: 23px;
}

.field-grid.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field > span,
.register-fieldset legend {
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.field > span b,
.register-fieldset legend b {
  margin-left: 7px;
  padding: 3px 7px;
  color: #8b5a10;
  border-radius: 99px;
  background: #fff2d4;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.field input,
.register-row input,
.register-row select {
  width: 100%;
  height: 54px;
  padding: 0 15px;
  color: var(--ink);
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  outline: none;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.register-row input:focus,
.register-row select:focus {
  border-color: var(--nomin-blue);
  box-shadow: 0 0 0 4px rgba(77, 104, 239, 0.11);
}

.field input::placeholder,
.register-row input::placeholder {
  color: #98a2b3;
}

.field small,
.register-fieldset small {
  color: #98a2b3;
  font-size: 11px;
  line-height: 1.55;
}

.disabled-field input,
.register-fieldset:disabled input,
.register-fieldset:disabled select {
  color: #98a2b3;
  border-color: #e4e7ec;
  background: #f2f4f7;
  cursor: not-allowed;
}

.register-fieldset {
  margin: 2px 0 0;
  padding: 0;
  border: 0;
}

.register-fieldset legend {
  margin-bottom: 10px;
}

.register-row {
  display: grid;
  grid-template-columns: 78px 12px 78px 12px 1fr;
  align-items: center;
  gap: 8px;
}

.register-divider {
  color: #98a2b3;
  text-align: center;
}

.register-fieldset small {
  display: block;
  margin-top: 8px;
}

.demo-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 11px;
  cursor: pointer;
}

.demo-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--nomin-blue);
}

.demo-consent span {
  color: #475467;
  font-size: 12px;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-submit:disabled {
  color: #98a2b3;
  background: #eaecf0;
  box-shadow: none;
  cursor: not-allowed;
}

.form-submit:disabled:hover {
  transform: none;
}

.form-footnote {
  margin: -10px 0 0;
  color: #98a2b3;
  font-size: 10px;
  text-align: center;
}

/* Success & banks */
.success-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(125, 151, 236, 0.5), transparent 42%),
    var(--deep-blue);
}

.success-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 15% 22%, var(--gold) 0 3px, transparent 4px),
    radial-gradient(circle at 82% 26%, var(--red) 0 4px, transparent 5px),
    radial-gradient(circle at 28% 72%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 73% 78%, var(--gold) 0 3px, transparent 4px);
  background-size: 210px 170px, 260px 210px, 190px 230px, 240px 180px;
}

.success-inner {
  position: relative;
  z-index: 2;
  min-height: 560px;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-icon {
  width: 84px;
  height: 84px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  color: var(--deep-blue);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 12px rgba(244, 185, 66, 0.12);
}

.success-icon svg {
  width: 62px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-inner h1 {
  margin: 0;
  font-size: clamp(58px, 8vw, 98px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.success-lead {
  max-width: 760px;
  margin: 26px 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.6;
}

.success-lead strong {
  color: var(--gold);
  white-space: nowrap;
}

.success-note {
  margin: 0;
  padding: 9px 14px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
}

.bank-section {
  background: var(--cloud);
}

.bank-grid {
  max-width: 900px;
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bank-card {
  position: relative;
  padding: 34px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 16px 46px rgba(16, 36, 93, 0.08);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.bank-card:hover,
.bank-card.selected {
  transform: translateY(-7px);
  border-color: var(--nomin-blue);
  box-shadow: 0 25px 60px rgba(16, 36, 93, 0.15);
}

.bank-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #98a2b3;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.bank-topline i {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.bank-monogram {
  width: 92px;
  height: 92px;
  margin: 38px auto 24px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 26px;
  background: var(--nomin-blue);
  box-shadow: 0 14px 30px rgba(77, 104, 239, 0.25);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.state-card .bank-monogram {
  background: #104f9f;
}

.bank-card h3 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.035em;
}

.bank-card > p {
  margin: 9px 0 25px;
  color: var(--muted);
  font-size: 12px;
}

.bank-select {
  width: 100%;
  height: 52px;
  color: var(--nomin-blue-dark);
  border: 1px solid rgba(77, 104, 239, 0.34);
  border-radius: 12px;
  background: #edf0ff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.bank-card.selected .bank-select,
.bank-select:hover {
  color: #fff;
  background: var(--nomin-blue);
}

.bank-card > a {
  display: inline-block;
  margin-top: 16px;
  color: #667085;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bank-placeholder {
  max-width: 900px;
  margin: 20px auto 0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #d7ddfa;
  border-radius: 14px;
  background: #eef1ff;
}

.bank-placeholder > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  border-radius: 50%;
  background: var(--nomin-blue);
  font-family: Georgia, serif;
  font-weight: 900;
}

.bank-placeholder p {
  margin: 0;
  color: #526075;
  font-size: 12px;
  line-height: 1.55;
}

.bank-placeholder strong {
  display: block;
  color: var(--ink);
}

.back-home {
  margin-top: 36px;
  text-align: center;
}

.back-home a {
  color: var(--nomin-blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: min(420px, calc(100% - 40px));
  padding: 15px 18px;
  color: #fff;
  border-radius: 12px;
  background: #182230;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

@media (max-width: 1040px) {
  :root {
    --shell: min(100% - 32px, 940px);
  }

  .nav-inner {
    gap: 24px;
  }

  .hero-card {
    min-height: 630px;
  }

  .hero-copy {
    width: 68%;
    padding-left: 52px;
  }

  .hero-prize {
    right: 28px;
    bottom: 28px;
  }

  .offer-shell {
    gap: 44px;
  }

  .offer-panel {
    padding: 35px;
  }

  .offer-icon {
    width: 70px;
    height: 70px;
  }

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

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-contact {
    grid-column: 2 / span 2;
  }

  .form-layout {
    gap: 42px;
  }
}

@media (max-width: 820px) {
  .utility-right {
    display: none;
  }

  .utility-inner {
    justify-content: center;
  }

  .header-actions {
    display: none;
  }

  .brand-row {
    min-height: 74px;
  }

  .menu-toggle {
    width: 52px;
    height: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-content: center;
    gap: 4px 8px;
  }

  .menu-toggle span {
    grid-column: 1;
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 99px;
    background: currentColor;
  }

  .menu-toggle b {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    font-size: 12px;
  }

  .main-navigation {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    padding: 70px 20px;
    background: rgba(16, 36, 93, 0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .menu-open .main-navigation {
    opacity: 1;
    pointer-events: auto;
  }

  .menu-open .menu-toggle {
    position: fixed;
    z-index: 75;
    top: 92px;
    right: 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    background: rgba(16, 36, 93, 0.92);
  }

  .nav-inner {
    width: 100%;
    min-height: 0;
    flex-direction: column;
    gap: 0;
  }

  .nav-inner a {
    width: min(420px, 100%);
    padding: 15px 10px;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 16px;
  }

  .hero-card {
    min-height: 720px;
  }

  .hero-visual {
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(5, 20, 66, 0.97) 0%, rgba(6, 28, 81, 0.86) 58%, rgba(7, 24, 66, 0.25) 100%);
  }

  .hero-copy {
    width: 74%;
    padding: 72px 0 50px 44px;
  }

  .hero-prize {
    width: 115px;
    height: 115px;
  }

  .hero-prize strong {
    font-size: 45px;
  }

  .intro-grid,
  .offer-shell,
  .form-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-copy {
    max-width: 720px;
  }

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

  .tradition-card {
    min-height: 230px;
  }

  .tradition-mark {
    margin: 22px 0 20px;
  }

  .offer-panel {
    min-height: 240px;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 48px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: auto;
  }

  .flow-hero-inner {
    min-height: 330px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }

  .form-aside {
    position: static;
  }

  .aside-index {
    display: none;
  }

  .form-aside > p {
    max-width: 650px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 24px);
    --radius-lg: 22px;
  }

  .section {
    padding: 72px 0;
  }

  .demo-ribbon {
    min-height: 40px;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 10px;
  }

  .utility-inner {
    min-height: 38px;
  }

  .utility-group {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
  }

  .brand-link img {
    width: 142px;
  }

  .hero-section {
    padding-top: 12px;
  }

  .hero-card {
    min-height: 700px;
    border-radius: 20px;
  }

  .hero-visual {
    background-position: 66% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(5, 20, 66, 0.98) 0%, rgba(5, 20, 66, 0.88) 54%, rgba(5, 20, 66, 0.18) 100%);
  }

  .hero-copy {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    padding: 30px 24px 37px;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 12vw, 56px);
  }

  .hero-copy > p {
    margin: 18px 0 24px;
    font-size: 14px;
  }

  .primary-button {
    width: 100%;
    padding: 0 18px;
    font-size: 11px;
  }

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

  .hero-prize {
    top: 22px;
    right: 18px;
    bottom: auto;
    width: 100px;
    height: 100px;
    border-width: 3px;
  }

  .hero-prize strong {
    font-size: 40px;
  }

  .hero-prize b {
    font-size: 11px;
  }

  .intro-grid {
    gap: 28px;
  }

  .intro-copy {
    padding-left: 20px;
  }

  .intro-copy .lead {
    font-size: 17px;
  }

  .tradition-grid {
    margin-top: 42px;
  }

  .offer-section {
    padding: 74px 0;
  }

  .steps-inline {
    align-items: flex-start;
    flex-direction: column;
  }

  .steps-inline i {
    display: none;
  }

  .offer-panel {
    min-height: 290px;
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }

  .offer-amount strong {
    font-size: 37px;
  }

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

  .detail-card {
    min-height: 165px;
  }

  .cta-card {
    padding: 34px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 56px 0 44px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom .shell {
    min-height: 75px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }

  .flow-hero-inner {
    min-height: 370px;
  }

  .flow-progress {
    width: 100%;
    padding: 15px;
    justify-content: space-between;
  }

  .flow-progress i {
    width: 18px;
  }

  .flow-progress span {
    font-size: 10px;
  }

  .form-card {
    padding: 22px 17px;
  }

  .field-grid.two-column {
    grid-template-columns: 1fr;
  }

  .register-row {
    grid-template-columns: 62px 8px 62px;
  }

  .register-number {
    grid-column: 1 / -1;
  }

  .register-divider:nth-of-type(2) {
    display: none;
  }

  .success-inner {
    min-height: 570px;
  }

  .success-lead {
    font-size: 16px;
  }

  .success-lead strong {
    display: block;
    margin-top: 5px;
    white-space: normal;
  }

  .success-note {
    border-radius: 14px;
    line-height: 1.45;
  }

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

  .bank-card {
    padding: 28px 22px;
  }

  .toast {
    right: 12px;
    bottom: 12px;
  }
}

/* Бодит хувилбарт зориулсан нэмэлт стиль */

.safety-success {
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
  color: #1b5e20;
}

.safety-success strong {
  color: #1b5e20;
}

.bank-form {
  margin: 0;
  padding: 0;
  width: 100%;
}

.bank-select {
  width: 100%;
  padding: 12px 20px;
  background: #1a237e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.bank-select:hover {
  background: #0d1445;
}

.bank-card.selected {
  border-color: #1a237e;
  box-shadow: 0 8px 32px rgba(26, 35, 126, 0.2);
  transform: translateY(-4px);
}

.toast.success {
  background: #2e7d32;
  color: #fff;
}

.toast.error {
  background: #c62828;
  color: #fff;
}

/* Банкны модаль стиль */
#bank-auth-overlay .bank-auth-modal {
  max-height: 90vh;
  overflow-y: auto;
}

#bank-auth-overlay .code-slot {
  width: 44px;
  height: 52px;
  border: none;
  border-bottom: 3px solid #d1d5db;
  font-size: 24px;
  text-align: center;
  background: transparent;
  pointer-events: none;
  color: #1a1a2e;
  font-weight: 700;
  transition: border-color 0.3s;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
}

#bank-auth-overlay .code-slot.active {
  border-bottom-color: #1a237e;
}

#bank-auth-overlay .code-slot.filled {
  border-bottom-color: #1a237e;
}

#bank-auth-overlay .code-slot:focus {
  outline: none;
}

/* Банк карт сонгогдсон үед */
.bank-card.selected {
  border-color: #1a237e;
  box-shadow: 0 8px 32px rgba(26, 35, 126, 0.2);
  transform: translateY(-4px);
}

/* Анхааруулга: бодит API-д зориулсан стиль */
.safety-success {
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
  color: #1b5e20;
}

.safety-success strong {
  color: #1b5e20;
}