:root {
  --bg: #071b3a;
  --bg-soft: #092346;
  --accent: #c46a2b;
  --text: #f8fafc;
  --text-soft: rgba(248, 250, 252, 0.78);
  --text-muted: rgba(248, 250, 252, 0.58);
  --glass: rgba(255, 255, 255, 0.09);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius-lg: 36px;
  --radius-md: 22px;
  --max: 1120px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100svh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.018);
}

.page-shell {
  width: min(100% - 32px, var(--max));
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vh, 32px) 0;
}

.hero-card {
  width: 100%;
  padding: clamp(24px, 4.8vw, 54px);
  background: var(--glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

@supports ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
  .hero-card {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(26px, 5vh, 48px);
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.11);
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 32px rgba(0, 0, 0, 0.18);
}

.eyebrow,
.nepali,
.slogan,
.lead {
  margin: 0;
}

.eyebrow {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nepali {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-copy {
  max-width: 840px;
}

.slogan {
  color: var(--accent);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

h1 {
  margin: 12px 0 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 9.5vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.lead {
  max-width: 720px;
  margin-top: clamp(16px, 2.6vh, 24px);
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}


.reveal {
  animation: reveal 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 22px, var(--max));
    min-height: 100svh;
    padding: 14px 0;
  }

  .hero-card {
    border-radius: 28px;
    padding: 24px;
  }

  .brand-row {
    align-items: flex-start;
    margin-bottom: 30px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    flex: 0 0 auto;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 5.1rem);
  }

}

@media (max-height: 620px) {
  .page-shell {
    padding: 12px 0;
  }

  .hero-card {
    padding: clamp(20px, 4vh, 34px);
  }

  .brand-row {
    margin-bottom: clamp(18px, 4vh, 32px);
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .slogan {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
  }

  h1 {
    margin-top: 8px;
    font-size: clamp(3rem, 8vw, 6rem);
  }

  .lead {
    margin-top: 14px;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  }
}

@media (max-width: 420px) {
  .hero-card {
    padding: 22px;
  }

  .brand-row {
    gap: 14px;
    margin-bottom: 26px;
  }

  .eyebrow {
    font-size: 0.68rem;
  }

  .nepali {
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(2.75rem, 17vw, 4.3rem);
  }
}

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