:root {
  --navy: #10193a;
  --ink: #172033;
  --muted: #607086;
  --line: #dfe6ef;
  --mint: #14b89a;
  --mint-dark: #07806d;
  --gold: #f4b942;
  --coral: #ef6b5f;
  --blue: #2563eb;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --shadow: 0 18px 48px rgba(16, 25, 58, 0.14);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy); /* өөрчлөгдсөн: #10193a */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(145deg, var(--mint), var(--blue) 58%, var(--navy));
  border-radius: 8px;
  font-weight: 900;
  font-size: 25px;
  box-shadow: 0 10px 24px rgba(20, 184, 154, 0.26);
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 11px 13px;
  color: rgba(255, 255, 255, 0.85); /* өөрчлөгдсөн */
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ghost-link {
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.nav-links .nav-cta {
  color: #fff;
  background: var(--mint-dark);
}

.nav-links .nav-cta:hover {
  color: #fff;
  background: #066d5f;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  width: 19px;
  height: 2px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 25, 58, 0.88), rgba(16, 25, 58, 0.44) 46%, rgba(16, 25, 58, 0.08)),
    linear-gradient(0deg, rgba(16, 25, 58, 0.52), rgba(16, 25, 58, 0.02) 45%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 88px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-content h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 7vw, 92px); /* өөрчлөгдсөн */
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0;
}

.primary-button {
  color: #fff;
  background: var(--mint-dark);
  box-shadow: 0 12px 24px rgba(7, 128, 109, 0.26);
}

.primary-button:hover {
  background: #066d5f;
}

.secondary-button {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.secondary-button.dark {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
}

.full {
  width: 100%;
}

.stats-band {
  width: min(1180px, calc(100% - 40px));
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stats-band div {
  padding: 26px;
  background: #fff;
}

.stats-band span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 8px;
}

.stats-band strong {
  color: var(--navy);
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: 0;
}

.content-section {
  width: min(1180px, calc(100% - 40px));
  margin: 92px auto;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-heading h2,
.support-band h2,
.survey-intro h1,
.auth-message h1,
.panel-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.step-item {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.step-item span {
  color: var(--coral);
  font-weight: 900;
}

.step-item h3 {
  margin: 16px 0 10px;
  color: var(--navy);
  font-size: 22px;
}

.step-item p,
.support-band p,
.survey-intro p,
.panel-copy p,
.auth-message p,
.footer-note,
.footer-brand p {
  color: var(--muted);
  line-height: 1.65;
}

.support-band {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 88px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 25, 58, 0.96), rgba(37, 99, 235, 0.78)),
    #10193a;
  border-radius: 8px;
}

.support-band h2 {
  color: #fff;
  max-width: 760px;
}

.support-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  padding: 42px max(20px, calc((100% - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: var(--navy); /* өөрчлөгдсөн */
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand strong {
  color: #fff; /* нэмэгдсэн */
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7); /* өөрчлөгдсөн */
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 18px;
  color: rgba(255, 255, 255, 0.85); /* өөрчлөгдсөн */
  font-weight: 800;
}

.footer-links a:hover {
  color: #fff; /* нэмэгдсэн */
}

.footer-note {
  color: rgba(255, 255, 255, 0.5); /* өөрчлөгдсөн */
}

.plain-page {
  background: var(--soft);
}

.survey-layout {
  width: min(960px, calc(100% - 40px));
  margin: 54px auto 90px;
}

.survey-intro {
  margin-bottom: 24px;
}

.survey-form {
  display: grid;
  gap: 16px;
}

fieldset {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

legend {
  padding: 0 8px;
  color: var(--navy);
  font-weight: 900;
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  color: #314058;
  font-weight: 700;
}

input[type="radio"],
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--mint-dark);
}

.form-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(20, 184, 154, 0.18), transparent 28%),
    linear-gradient(120deg, #eef7f5, #f7f9fd 48%, #fff4ef);
}

.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(360px, 1fr);
}

.auth-visual {
  position: relative;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 25, 58, 0.95), rgba(20, 184, 154, 0.82)),
    url("anniversary-hero.png") center / cover;
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 25, 58, 0.34), rgba(16, 25, 58, 0.08));
}

.auth-visual.coral {
  background:
    linear-gradient(135deg, rgba(16, 25, 58, 0.94), rgba(239, 107, 95, 0.76)),
    url("anniversary-hero.png") center / cover;
}

.auth-brand,
.auth-message {
  position: relative;
  z-index: 1;
}

.auth-brand .brand-copy strong,
.auth-brand .brand-copy small,
.auth-message h1,
.auth-message p {
  color: #fff;
}

.auth-message {
  max-width: 520px;
}

.auth-message h1 {
  font-size: clamp(38px, 5vw, 66px);
}

.auth-panel {
  width: min(480px, calc(100% - 40px));
  margin: auto;
  padding: 34px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(223, 230, 239, 0.86);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-copy {
  margin-bottom: 24px;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #314058;
  font-weight: 900;
}

.auth-form input,
.auth-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.auth-form input:focus,
.auth-form select:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(20, 184, 154, 0.14);
}

.check-row {
  grid-template-columns: 18px 1fr;
  align-items: start;
}

.auth-switch {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
}

.auth-switch a {
  color: var(--mint-dark);
}

@media (max-width: 860px) {
  .nav-shell {
    width: min(100% - 28px, 1180px);
    min-height: 66px;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-links:not(.always-open) {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 105px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--navy); /* өөрчлөгдсөн */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .always-open {
    gap: 6px;
  }

  .always-open a {
    padding: 9px 10px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(16, 25, 58, 0.88), rgba(16, 25, 58, 0.32)),
      linear-gradient(90deg, rgba(16, 25, 58, 0.7), transparent);
  }

  .hero-content {
    width: min(100% - 32px, 1180px);
    padding-bottom: 54px;
  }

  .stats-band,
  .step-grid,
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .content-section,
  .support-band,
  .survey-layout {
    width: min(100% - 32px, 1180px);
  }

  .support-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-visual {
    min-height: 360px;
  }

  .auth-panel {
    margin: 28px auto;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .hero-content h1 {
    font-size: 39px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .stats-band {
    margin-top: 0;
    border-radius: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
  }

  .stats-band div,
  .step-item,
  fieldset,
  .support-band,
  .auth-panel {
    padding: 20px;
  }

  .auth-visual {
    padding: 24px;
  }

  .auth-switch {
    flex-direction: column;
  }
}
