/* ==========================================================================
   Miss Grand India — editorial design system
   Palette and direction follow the approved campaign brief.
   ========================================================================== */

:root {
  --obsidian: #0b0b0d;
  --obsidian-soft: #111114;
  --graphite: #222126;
  --champagne: #cba65a;
  --gold: #d9b66f;
  --gold-bright: #f3dca6;
  --gold-deep: #8e6b2f;
  --red: #9a1326;
  --wine: #540d19;
  --wine-deep: #2a0a10;
  --ivory: #faf7f0;
  --ivory-deep: #f2ecdf;
  --stone: #d9d2c2;
  --muted: #a9a39a;
  --ink-muted: #6d6860;
  --danger: #8e1122;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
  --container: 1240px;
  --narrow: 760px;
  --header-h: 112px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-soft: 0 30px 90px rgba(0, 0, 0, 0.28);
  --shadow-gold: 0 16px 38px rgba(203, 166, 90, 0.16);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--champagne);
  color: var(--obsidian);
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--obsidian);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 48px, var(--narrow));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  color: var(--champagne);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

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

.eyebrow--center::after {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.serif {
  font-family: var(--serif);
  font-weight: 400;
}

.gold-text {
  color: var(--gold);
}

.display-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: clamp(84px, 11vw, 148px) 0;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto clamp(48px, 6vw, 76px);
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-transform: uppercase;
}

.section-heading p {
  max-width: 540px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.gold-rule {
  display: block;
  width: 62px;
  height: 1px;
  margin: 30px 0;
  background: linear-gradient(90deg, var(--gold), rgba(203, 166, 90, 0));
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-color: var(--ivory);
  --btn-border: rgba(203, 166, 90, 0.55);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 15px 30px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.btn--gold {
  --btn-color: var(--obsidian);
  background: linear-gradient(118deg, #f0d79c 0%, var(--gold) 42%, #c49b4c 100%);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  background: linear-gradient(118deg, #f7e3b2 0%, #e2c27c 42%, #d0a956 100%);
  box-shadow: 0 20px 46px rgba(203, 166, 90, 0.24);
}

.btn--outline {
  background: rgba(11, 11, 13, 0.16);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  border-color: var(--gold);
  background: rgba(203, 166, 90, 0.1);
}

.btn--wide {
  width: 100%;
}

.btn--small {
  min-height: 44px;
  padding: 12px 22px;
  font-size: 9px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--champagne);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.text-link:hover {
  color: var(--gold-bright);
}

/* Header ------------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  padding: 20px 0;
  transition:
    padding 0.4s var(--ease),
    background-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(203, 166, 90, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(9, 9, 11, 0.9);
  border-bottom-color: rgba(203, 166, 90, 0.12);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.brand__primary {
  display: block;
  flex: 0 0 auto;
}

.brand__primary img {
  width: auto;
  height: 72px;
  transition: height 0.4s var(--ease);
}

.is-scrolled .brand__primary img {
  height: 60px;
}

.brand__divider {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, rgba(203, 166, 90, 0.45), transparent);
}

.brand__organizer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand__organizer span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand__organizer img {
  width: auto;
  height: 44px;
  transition: height 0.4s var(--ease);
}

.is-scrolled .brand__organizer img {
  height: 38px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.header__links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header__links a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: rgba(250, 247, 240, 0.74);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.header__links a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.header__links a:hover,
.header__links a.is-active {
  color: var(--ivory);
}

.header__links a:hover::after,
.header__links a.is-active::after {
  transform: scaleX(1);
}

.header__cta {
  min-height: 44px;
  padding: 12px 22px;
  font-size: 9px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(203, 166, 90, 0.35);
  background: rgba(11, 11, 13, 0.4);
  color: var(--ivory);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(203, 166, 90, 0.14);
  background: rgba(9, 9, 11, 0.98);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  margin: 0;
  padding: 18px 0 26px;
  list-style: none;
}

.mobile-nav li + li {
  border-top: 1px solid rgba(250, 247, 240, 0.07);
}

.mobile-nav a:not(.btn) {
  display: block;
  padding: 17px 4px;
  color: rgba(250, 247, 240, 0.82);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mobile-nav .btn {
  margin-top: 18px;
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  padding: calc(var(--header-h) + 70px) 0 clamp(64px, 8vw, 96px);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--obsidian);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.015);
  animation: hero-drift 18s ease-out both;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 11, 13, 0.82) 0%, rgba(11, 11, 13, 0.42) 46%, rgba(11, 11, 13, 0.14) 78%),
    linear-gradient(0deg, rgba(11, 11, 13, 0.96) 0%, rgba(84, 13, 25, 0.22) 52%, rgba(11, 11, 13, 0.52) 100%);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 38%;
  background: linear-gradient(180deg, transparent, var(--obsidian) 92%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.hero__content {
  max-width: 830px;
  animation: hero-rise 1.1s var(--ease) 0.12s both;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 8px 14px;
  border: 1px solid rgba(203, 166, 90, 0.32);
  background: rgba(11, 11, 13, 0.38);
  color: var(--gold-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero__badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(243, 220, 166, 0.12);
}

.hero__badge.is-open .hero__badge-dot {
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.hero__eyebrow {
  margin: 0 0 22px;
  color: var(--champagne);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  line-height: 1.7;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(4.4rem, 11.4vw, 10.6rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
}

.hero__title span {
  display: block;
}

.hero__title .hero__title-accent {
  color: transparent;
  background: linear-gradient(102deg, #f7e4b8 0%, var(--gold) 44%, #b78e3f 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__tagline {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.hero__copy {
  max-width: 500px;
  margin: 22px 0 0;
  color: rgba(250, 247, 240, 0.68);
  font-size: 14px;
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(56px, 7vw, 90px);
  padding-top: 24px;
  border-top: 1px solid rgba(250, 247, 240, 0.12);
  animation: hero-rise 1.1s var(--ease) 0.3s both;
}

.hero__footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  color: rgba(250, 247, 240, 0.52);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero__footer-meta strong {
  color: var(--champagne);
  font-weight: 600;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(250, 247, 240, 0.42);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

/* About ------------------------------------------------------------------- */

.about {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 18%, rgba(154, 19, 38, 0.22), transparent 48%),
    var(--obsidian);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.about__heading {
  position: relative;
}

.about__heading::before {
  content: "MGI";
  position: absolute;
  top: -0.28em;
  left: -0.12em;
  z-index: -1;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(12rem, 24vw, 22rem);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(203, 166, 90, 0.08);
  pointer-events: none;
  user-select: none;
}

.about__body {
  padding-top: 14px;
}

.about__body p {
  max-width: 540px;
  margin: 0;
  color: rgba(250, 247, 240, 0.66);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.95;
}

.about__figure {
  position: relative;
  max-width: 560px;
  margin: 38px 0 0;
  padding: 9px;
  border: 1px solid rgba(203, 166, 90, 0.24);
  background: rgba(250, 247, 240, 0.025);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.about__figure img {
  display: block;
  height: 480px;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(0.92) contrast(1.03);
}

.about__figure figcaption {
  margin-top: 9px;
  color: rgba(250, 247, 240, 0.32);
  font-size: 7px;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-align: right;
  text-transform: uppercase;
}

.about__principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(203, 166, 90, 0.18);
}

.about__principle {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-style: italic;
  line-height: 1.2;
}

.about__principle span {
  display: block;
  margin-bottom: 8px;
  color: var(--champagne);
  font-family: var(--sans);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Eligibility ------------------------------------------------------------- */

.eligibility {
  background:
    radial-gradient(ellipse at 15% 20%, rgba(203, 166, 90, 0.10), transparent 36%),
    radial-gradient(ellipse at 85% 80%, rgba(154, 19, 38, 0.36), transparent 48%),
    linear-gradient(160deg, var(--wine-deep), var(--wine) 55%, #3c0912);
  border-top: 1px solid rgba(203, 166, 90, 0.18);
  border-bottom: 1px solid rgba(203, 166, 90, 0.18);
}

.eligibility .section-heading p {
  color: rgba(250, 247, 240, 0.62);
}

.eligibility__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.eligibility-card {
  position: relative;
  min-height: 260px;
  padding: 30px 26px 28px;
  border: 1px solid rgba(203, 166, 90, 0.20);
  background: linear-gradient(160deg, rgba(250, 247, 240, 0.055), rgba(250, 247, 240, 0.015));
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    border-color 0.45s var(--ease),
    background-color 0.45s var(--ease);
}

.eligibility-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
  transition: opacity 0.45s var(--ease);
}

.eligibility-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(203, 166, 90, 0.10);
  border-radius: 50%;
}

.eligibility-card:hover {
  transform: translateY(-5px);
  border-color: rgba(203, 166, 90, 0.4);
  background-color: rgba(250, 247, 240, 0.03);
}

.eligibility-card:hover::before {
  opacity: 1;
}

.eligibility-card__index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(250, 247, 240, 0.38);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.eligibility-card__index svg {
  width: 26px;
  height: 26px;
  color: var(--champagne);
  opacity: 0.85;
}

.eligibility-card h3 {
  margin: 44px 0 8px;
  color: var(--champagne);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eligibility-card__value {
  margin: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.05;
}

.eligibility-card__note {
  margin: 12px 0 0;
  color: rgba(250, 247, 240, 0.45);
  font-size: 11px;
  line-height: 1.7;
}

.eligibility__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 46px;
}

.eligibility__note {
  max-width: 640px;
  margin: 26px auto 0;
  color: rgba(250, 247, 240, 0.4);
  font-size: 11px;
  line-height: 1.8;
  text-align: center;
}

/* Registration ------------------------------------------------------------ */

.register {
  background:
    radial-gradient(ellipse at 22% 10%, rgba(154, 19, 38, 0.20), transparent 42%),
    radial-gradient(ellipse at 92% 88%, rgba(203, 166, 90, 0.07), transparent 38%),
    linear-gradient(180deg, var(--obsidian), #121014 52%, var(--obsidian));
}

.register .section-heading {
  max-width: 760px;
}

.register .section-heading p {
  color: rgba(250, 247, 240, 0.56);
}

.register__shell {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.register__shell::before {
  content: "";
  position: absolute;
  inset: -22px 30px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(203, 166, 90, 0.38), transparent);
}

.form-card {
  position: relative;
  padding: clamp(30px, 5vw, 62px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(250, 247, 240, 0.98) 26%),
    var(--ivory);
  color: var(--graphite);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.42);
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright) 48%, var(--red));
}

.form-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(34, 33, 38, 0.14);
}

.form-card__top h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.form-card__top p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.7;
}

.form-card__fee {
  flex: 0 0 auto;
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid rgba(203, 166, 90, 0.55);
  background: rgba(203, 166, 90, 0.08);
  text-align: right;
}

.form-card__fee span {
  display: block;
  color: var(--ink-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.form-card__fee strong {
  display: block;
  margin-top: 4px;
  color: var(--graphite);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
}

.form-card__fee small {
  display: block;
  margin-top: 6px;
  color: var(--ink-muted);
  font-size: 9px;
  line-height: 1.4;
}

.form-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 30px;
  padding: 15px 18px;
  border: 1px solid rgba(154, 19, 38, 0.2);
  background: rgba(154, 19, 38, 0.055);
  color: #5a1821;
  font-size: 12px;
  line-height: 1.65;
}

.form-notice--demo {
  border-color: rgba(142, 107, 47, 0.32);
  background: rgba(203, 166, 90, 0.10);
  color: #5c4620;
}

.form-notice svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.form-notice strong {
  display: block;
  margin-bottom: 3px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-alert {
  display: none;
  margin-bottom: 26px;
  padding: 16px 18px;
  border: 1px solid rgba(154, 19, 38, 0.3);
  background: rgba(154, 19, 38, 0.06);
  color: #6b1420;
  font-size: 13px;
  line-height: 1.65;
}

.form-alert.is-visible {
  display: block;
}

.form-alert strong {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-alert ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.form-alert a {
  color: #6b1420;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-fieldset + .form-fieldset {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid rgba(34, 33, 38, 0.12);
}

.form-fieldset legend {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 22px;
  padding: 0;
  color: var(--graphite);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.form-fieldset legend span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid rgba(203, 166, 90, 0.6);
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}

.form-field {
  min-width: 0;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label,
.form-field .field-label {
  display: block;
  margin-bottom: 8px;
  color: #4f4b45;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.required-mark {
  color: var(--red);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid #d5cdbd;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.78);
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.5;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9b958b;
  font-size: 13px;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #bdb3a0;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  background: #fffdf8;
  box-shadow: 0 0 0 3px rgba(203, 166, 90, 0.16);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d6860' stroke-width='1.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  cursor: pointer;
}

.form-field input[type="date"] {
  min-height: 50px;
}

.form-field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.55;
  cursor: pointer;
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: var(--danger);
  background: rgba(142, 17, 34, 0.03);
}

.field-error {
  display: none;
  margin: 7px 0 0;
  color: var(--danger);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.field-error.is-visible {
  display: block;
}

.field-hint {
  margin: 7px 0 0;
  color: #857f75;
  font-size: 10.5px;
  line-height: 1.6;
}

.input-combo {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 10px;
}

.input-combo select {
  padding-left: 12px;
  font-size: 12px;
}

.height-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.height-units {
  display: inline-flex;
  border: 1px solid #d5cdbd;
  background: rgba(255, 255, 255, 0.72);
}

.height-units input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.height-units label {
  margin: 0;
  padding: 12px 16px;
  color: #6f6a62;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.height-units input:checked + label {
  background: var(--graphite);
  color: var(--ivory);
}

.height-units input:focus-visible + label {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}

.height-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.height-inputs[hidden] {
  display: none;
}

.height-inputs input {
  width: 90px;
}

.height-inputs span {
  color: #857f75;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.height-readout {
  margin: 7px 0 0;
  color: var(--gold-deep);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.char-counter {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
  color: #857f75;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.char-counter.is-low {
  color: var(--danger);
}

.consent-list {
  display: grid;
  gap: 16px;
  margin-top: 4px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #4f4b45;
  font-size: 12px;
  line-height: 1.7;
  cursor: pointer;
}

.checkbox input {
  width: 17px;
  height: 17px;
  min-height: 0;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--gold-deep);
  cursor: pointer;
}

.checkbox a {
  color: #6b4f1d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox small {
  display: block;
  margin-top: 2px;
  color: #857f75;
  font-size: 10px;
  line-height: 1.5;
}

.consent-block {
  padding: 18px;
  border: 1px solid rgba(34, 33, 38, 0.12);
  background: rgba(255, 255, 255, 0.4);
}

.consent-block .field-error {
  margin-top: 8px;
}

.fee-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
  padding: 20px 22px;
  border: 1px solid rgba(203, 166, 90, 0.4);
  background: linear-gradient(100deg, rgba(203, 166, 90, 0.10), rgba(203, 166, 90, 0.03));
}

.fee-summary__label {
  display: block;
  color: var(--ink-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fee-summary__value {
  display: block;
  margin-top: 3px;
  color: var(--graphite);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
}

.fee-summary__tax {
  display: block;
  margin-top: 4px;
  color: #857f75;
  font-size: 10px;
  line-height: 1.5;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #857f75;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.secure-note svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.form-submit {
  margin-top: 18px;
}

.form-submit .btn {
  min-height: 58px;
  letter-spacing: 0.2em;
}

.form-submit .btn .spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(11, 11, 13, 0.25);
  border-top-color: var(--obsidian);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.form-submit .btn.is-loading .spinner {
  display: block;
}

.form-submit .btn.is-loading .btn-label {
  opacity: 0.75;
}

.form-status {
  min-height: 1px;
  margin-top: 16px;
  color: #5a554d;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-success {
  color: #2f5a3a;
}

.form-closed {
  margin-top: 30px;
  padding: 26px;
  border: 1px solid rgba(154, 19, 38, 0.22);
  background: rgba(154, 19, 38, 0.05);
  text-align: center;
}

.form-closed strong {
  display: block;
  margin-bottom: 6px;
  color: var(--graphite);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.form-closed p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 12px;
}

/* Result panel ------------------------------------------------------------ */

.result-stage {
  display: none;
  padding: 18px 0 6px;
  text-align: center;
}

.result-stage.is-visible {
  display: block;
}

.result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
  border: 1px solid rgba(203, 166, 90, 0.65);
  border-radius: 50%;
  color: var(--gold-deep);
  background: rgba(203, 166, 90, 0.08);
}

.result-icon svg {
  width: 30px;
  height: 30px;
}

.result-stage h3 {
  margin: 0 0 12px;
  color: var(--graphite);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.result-stage > p {
  max-width: 540px;
  margin: 0 auto;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.8;
}

.result-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 560px;
  margin: 30px auto;
  border: 1px solid rgba(34, 33, 38, 0.12);
  background: rgba(34, 33, 38, 0.12);
}

.result-detail {
  padding: 16px;
  background: var(--ivory);
  text-align: left;
}

.result-detail span {
  display: block;
  color: #857f75;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.result-detail strong {
  display: block;
  margin-top: 5px;
  color: var(--graphite);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  word-break: break-word;
}

.result-steps {
  max-width: 560px;
  margin: 26px auto 30px;
  padding: 22px 24px;
  border: 1px solid rgba(203, 166, 90, 0.28);
  background: rgba(203, 166, 90, 0.055);
  text-align: left;
}

.result-steps strong {
  display: block;
  margin-bottom: 10px;
  color: #6b4f1d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.result-steps ol {
  margin: 0;
  padding-left: 18px;
  color: #5a554d;
  font-size: 12px;
  line-height: 1.8;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.result-actions .btn--outline {
  color: var(--graphite);
  border-color: rgba(34, 33, 38, 0.25);
  background: transparent;
}

.result-actions .btn--outline:hover {
  border-color: var(--gold-deep);
  background: rgba(203, 166, 90, 0.08);
}

.resume-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 15px 18px;
  border: 1px solid rgba(203, 166, 90, 0.4);
  background: rgba(203, 166, 90, 0.08);
}

.resume-banner.is-visible {
  display: flex;
}

.resume-banner p {
  margin: 0;
  color: #5c4620;
  font-size: 12px;
  line-height: 1.6;
}

.resume-banner strong {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.resume-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Closing ----------------------------------------------------------------- */

.closing {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 13vw, 180px) 0;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(203, 166, 90, 0.12), transparent 42%),
    linear-gradient(150deg, #3e0913, var(--red) 48%, #5d0c18);
  text-align: center;
}

.closing::before,
.closing::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(80vw, 900px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 220, 166, 0.35), transparent);
  transform: translateX(-50%);
}

.closing::before {
  top: 48px;
}

.closing::after {
  bottom: 48px;
}

.closing__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 900px);
  margin-inline: auto;
}

.closing h2 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 7.2rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.closing p {
  margin: 26px 0 36px;
  color: rgba(250, 247, 240, 0.68);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic;
}

.closing .btn--gold {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  background: #08080a;
  border-top: 1px solid rgba(203, 166, 90, 0.14);
}

.footer__main {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.8fr;
  gap: clamp(36px, 6vw, 80px);
  padding: clamp(56px, 8vw, 90px) 0 56px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.footer__brand img:first-child {
  width: auto;
  height: 80px;
}

.footer__brand img:last-child {
  width: auto;
  height: 54px;
}

.footer__brand-divider {
  width: 1px;
  height: 60px;
  background: rgba(203, 166, 90, 0.3);
}

.footer__about {
  max-width: 380px;
  margin: 0;
  color: rgba(250, 247, 240, 0.46);
  font-size: 11px;
  line-height: 1.9;
}

.footer__col h3 {
  margin: 0 0 18px;
  color: var(--champagne);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer__links {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links a {
  color: rgba(250, 247, 240, 0.64);
  font-size: 11px;
  line-height: 1.6;
  transition: color 0.25s var(--ease);
}

.footer__links a:hover {
  color: var(--gold-bright);
}

.footer__support {
  margin: 0 0 16px;
  color: rgba(250, 247, 240, 0.42);
  font-size: 10.5px;
  line-height: 1.8;
}

.footer__support a {
  color: var(--champagne);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__support strong {
  display: block;
  color: rgba(250, 247, 240, 0.7);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(250, 247, 240, 0.07);
  color: rgba(250, 247, 240, 0.34);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.footer__bottom p {
  margin: 0;
}

.footer__disclaimer {
  max-width: 620px;
  color: rgba(250, 247, 240, 0.26);
  font-size: 8.5px;
  line-height: 1.7;
  text-align: right;
}

/* Sticky mobile CTA ------------------------------------------------------- */

.sticky-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 14px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(203, 166, 90, 0.25);
  background: rgba(9, 9, 11, 0.94);
  box-shadow: 0 -18px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  transition: transform 0.4s var(--ease);
}

.sticky-cta.is-hidden {
  transform: translateY(110%);
}

.sticky-cta__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.sticky-cta__copy span {
  display: block;
  color: var(--champagne);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.sticky-cta__copy strong {
  display: block;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
}

.sticky-cta .btn {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 12px 18px;
  font-size: 8px;
}

/* Dialogs ----------------------------------------------------------------- */

dialog.mgi-dialog {
  width: min(calc(100% - 32px), 520px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(203, 166, 90, 0.35);
  background: var(--ivory);
  color: var(--graphite);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}

dialog.mgi-dialog::backdrop {
  background: rgba(5, 5, 7, 0.72);
  backdrop-filter: blur(6px);
}

.dialog__body {
  padding: 34px;
  text-align: center;
}

.dialog__badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(142, 107, 47, 0.4);
  color: #6b4f1d;
  background: rgba(203, 166, 90, 0.1);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dialog__body h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
}

.dialog__body p {
  margin: 0 auto;
  max-width: 400px;
  color: var(--ink-muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.dialog__amount {
  display: block;
  margin: 22px 0;
  padding: 16px;
  border-top: 1px solid rgba(34, 33, 38, 0.12);
  border-bottom: 1px solid rgba(34, 33, 38, 0.12);
  color: var(--graphite);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
}

.dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.dialog__actions .btn--outline {
  color: var(--graphite);
  border-color: rgba(34, 33, 38, 0.25);
  background: transparent;
}

.dialog__actions .btn--outline:hover {
  border-color: var(--gold-deep);
  background: rgba(203, 166, 90, 0.08);
}

.dialog__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
}

.dialog__close:hover {
  color: var(--graphite);
}

/* Legal pages ------------------------------------------------------------- */

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(154, 19, 38, 0.18), transparent 44%),
    var(--obsidian);
}

.legal-header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(203, 166, 90, 0.14);
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-header img {
  width: auto;
  height: 72px;
}

.legal-main {
  padding: clamp(56px, 8vw, 100px) 0 100px;
}

.legal-document {
  width: min(100% - 48px, 820px);
  margin-inline: auto;
}

.legal-document .eyebrow {
  margin-bottom: 18px;
}

.legal-document h1 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-transform: uppercase;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(203, 166, 90, 0.16);
  color: rgba(250, 247, 240, 0.42);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.legal-draft {
  margin-bottom: 32px;
  padding: 16px 18px;
  border: 1px solid rgba(203, 166, 90, 0.32);
  background: rgba(203, 166, 90, 0.07);
  color: var(--champagne);
  font-size: 11px;
  line-height: 1.7;
}

.legal-content {
  color: rgba(250, 247, 240, 0.7);
  font-size: 13.5px;
  line-height: 1.9;
}

.legal-content h2 {
  margin: 38px 0 12px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.legal-content h3 {
  margin: 26px 0 8px;
  color: var(--ivory);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--champagne);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content strong {
  color: var(--ivory);
  font-weight: 600;
}

.legal-content .placeholder {
  display: inline;
  padding: 1px 5px;
  border: 1px dashed rgba(203, 166, 90, 0.4);
  background: rgba(203, 166, 90, 0.07);
  color: var(--gold-bright);
  font-size: 0.9em;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--champagne);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Utility & reveal -------------------------------------------------------- */

.hidden {
  display: none !important;
}

[hidden] {
  display: none !important;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.015);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(243, 220, 166, 0.12);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(243, 220, 166, 0.03);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 28%;
    }

    @keyframes reveal-up {
      from {
        opacity: 0;
        transform: translateY(34px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1080px) {
  :root {
    --header-h: 104px;
  }

  .header__links {
    gap: 20px;
  }

  .header__nav {
    gap: 22px;
  }

  .brand__primary img {
    height: 64px;
  }

  .is-scrolled .brand__primary img {
    height: 54px;
  }

  .brand__organizer img {
    height: 40px;
  }

  .is-scrolled .brand__organizer img {
    height: 36px;
  }

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

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

@media (max-width: 900px) {
  .header__nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .header__inner {
    gap: 16px;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding-inline: 24px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about__heading::before {
    font-size: 15rem;
  }

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

  .footer__brand-col {
    grid-column: 1 / -1;
  }

  .footer__disclaimer {
    text-align: left;
  }

  .sticky-cta {
    display: flex;
  }

  body {
    padding-bottom: 72px;
  }

  .legal-page,
  .admin-body {
    padding-bottom: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 84px;
  }

  .container,
  .hero__inner,
  .closing__inner,
  .legal-document {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    padding: 12px 0;
  }

  .brand {
    gap: 12px;
  }

  .brand__primary img {
    height: 60px;
  }

  .is-scrolled .brand__primary img {
    height: 52px;
  }

  .brand__divider {
    height: 48px;
  }

  .brand__organizer span {
    font-size: 6px;
  }

  .brand__organizer img {
    height: 36px;
  }

  .is-scrolled .brand__organizer img {
    height: 32px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 46px;
  }

  .hero__media img {
    object-position: 62% 26%;
  }

  .hero__media::before {
    background:
      linear-gradient(90deg, rgba(11, 11, 13, 0.86), rgba(11, 11, 13, 0.42)),
      linear-gradient(0deg, rgba(11, 11, 13, 0.98) 0%, rgba(84, 13, 25, 0.2) 50%, rgba(11, 11, 13, 0.6) 100%);
  }

  .hero__title {
    font-size: clamp(4rem, 19vw, 7rem);
    line-height: 0.84;
  }

  .hero__tagline {
    margin-top: 22px;
    font-size: 1.45rem;
  }

  .hero__copy {
    font-size: 13px;
    line-height: 1.8;
  }

  .hero__actions {
    gap: 10px;
    margin-top: 28px;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    min-width: 0;
    padding-inline: 18px;
    font-size: 9px;
  }

  .hero__footer {
    display: block;
    margin-top: 40px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 74px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

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

  .eligibility-card {
    min-height: 0;
    padding: 24px;
  }

  .eligibility-card h3 {
    margin-top: 24px;
  }

  .about__principles {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about__principle {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-size: 1.25rem;
  }

  .about__principle span {
    margin-bottom: 0;
    min-width: 70px;
  }

  .form-card {
    padding: 26px 20px 30px;
  }

  .form-card__top {
    display: block;
    margin-bottom: 26px;
    padding-bottom: 22px;
  }

  .form-card__fee {
    margin-top: 18px;
    text-align: left;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-fieldset + .form-fieldset {
    margin-top: 30px;
    padding-top: 28px;
  }

  .input-combo {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .height-inputs input {
    width: 72px;
  }

  .fee-summary {
    padding: 16px;
  }

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

  .footer__main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 48px;
  }

  .footer__brand {
    flex-wrap: wrap;
  }

  .footer__brand img:first-child {
    height: 68px;
  }

  .footer__brand img:last-child {
    height: 48px;
  }

  .footer__brand-divider {
    height: 56px;
  }

  .footer__bottom {
    display: block;
  }

  .footer__disclaimer {
    margin-top: 10px;
  }

  .dialog__body {
    padding: 26px 20px;
  }

  .legal-header img {
    height: 58px;
  }
}

@media (max-width: 420px) {
  .brand__organizer span {
    display: none;
  }

  .brand__primary img {
    height: 56px;
  }

  .brand__organizer img {
    height: 34px;
  }

  .hero__badge {
    font-size: 7px;
    letter-spacing: 0.18em;
  }

  .hero__eyebrow {
    font-size: 8px;
    letter-spacing: 0.22em;
  }

  .sticky-cta__copy strong {
    font-size: 0.95rem;
  }

  .sticky-cta .btn {
    padding-inline: 14px;
  }

  .height-units label {
    padding: 11px 12px;
  }

  .height-inputs input {
    width: 64px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__media img {
    animation: none;
    transform: none;
  }
}
