:root {
  --ink: #241a28;
  --muted: #6e6371;
  --purple-950: #24102e;
  --purple-900: #351442;
  --purple-800: #4a1d5d;
  --purple-700: #642778;
  --purple-600: #7d358f;
  --purple-500: #9c55aa;
  --purple-100: #f1e7f4;
  --purple-50: #faf6fb;
  --gold: #c9a25e;
  --gold-light: #f2dfb8;
  --ivory: #fffdf8;
  --paper: #ffffff;
  --line: #e9e1eb;
  --success: #39745c;
  --danger: #b84d62;
  --shadow-sm: 0 10px 28px rgb(57 26 65 / 8%);
  --shadow-md: 0 20px 60px rgb(57 26 65 / 13%);
  --shadow-lg: 0 30px 100px rgb(30 13 36 / 22%);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --page: min(1180px, calc(100% - 40px));
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ivory);
  color: var(--ink);
  font-family:
    var(--font-geist-sans),
    "Noto Sans Sinhala",
    "Iskoola Pota",
    Arial,
    sans-serif;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
}

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

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

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

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

::selection {
  background: var(--purple-700);
  color: #fff;
}

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

.announcement {
  align-items: center;
  background: var(--purple-950);
  color: rgb(255 255 255 / 82%);
  display: flex;
  font-size: 11px;
  font-weight: 650;
  gap: 15px;
  justify-content: center;
  letter-spacing: 0.09em;
  min-height: 32px;
  padding: 7px 20px;
  text-transform: uppercase;
}

.announcement i {
  background: var(--gold);
  border-radius: 50%;
  height: 3px;
  opacity: 0.8;
  width: 3px;
}

.site-header {
  backdrop-filter: blur(16px);
  background: rgb(255 253 248 / 94%);
  border-bottom: 1px solid rgb(80 43 87 / 9%);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 240px minmax(0, 1fr) 190px;
  height: 100%;
  margin-inline: auto;
  max-width: 1360px;
  padding-inline: 32px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 11px;
  justify-self: start;
  min-width: max-content;
}

.header-brand-logo {
  height: 70px;
  object-fit: contain;
  width: 102px;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(145deg, var(--purple-700), var(--purple-500));
  border-radius: 50%;
  box-shadow: 0 8px 20px rgb(100 39 120 / 23%);
  color: white;
  display: inline-flex;
  height: 43px;
  justify-content: center;
  width: 43px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  color: var(--purple-900);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-copy small {
  color: var(--purple-600);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.21em;
  margin-top: 4px;
}

.primary-nav {
  align-items: center;
  display: flex;
  gap: clamp(14px, 1.7vw, 27px);
  justify-content: center;
}

.primary-nav a {
  color: #574c59;
  font-size: 13px;
  font-weight: 620;
  padding-block: 28px;
  position: relative;
  white-space: nowrap;
}

.primary-nav a::after {
  background: var(--purple-600);
  border-radius: 999px;
  bottom: 20px;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) scaleX(0);
  transition: transform 220ms ease;
  width: 22px;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--purple-800);
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 17px;
  justify-self: end;
}

.text-link {
  color: var(--purple-800);
  font-size: 13px;
  font-weight: 680;
}

.menu-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 42px;
  padding: 9px;
  width: 42px;
}

.menu-toggle span {
  background: var(--purple-900);
  border-radius: 3px;
  display: block;
  height: 2px;
  margin: 5px 0;
  transition: transform 200ms ease;
  width: 24px;
}

.button {
  align-items: center;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-600));
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 11px 25px rgb(87 27 105 / 17%);
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 720;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 12px 23px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  box-shadow: 0 15px 34px rgb(87 27 105 / 26%);
  transform: translateY(-2px);
}

.button:focus-visible,
.primary-nav a:focus-visible,
.text-link:focus-visible,
.card-link:focus-visible,
.inline-link:focus-visible {
  outline: 3px solid rgb(156 85 170 / 35%);
  outline-offset: 4px;
}

.button-small {
  font-size: 12px;
  min-height: 40px;
  padding: 9px 19px;
}

.button-light {
  background: white;
  box-shadow: 0 14px 34px rgb(25 9 32 / 22%);
  color: var(--purple-900);
}

.button-ghost-light {
  background: rgb(255 255 255 / 7%);
  border-color: rgb(255 255 255 / 42%);
  box-shadow: none;
  color: white;
}

.button-gold {
  background: linear-gradient(135deg, #e1bf7f, #b8873d);
  color: #2f1a37;
}

.button-outline {
  background: transparent;
  border-color: var(--purple-300, #ceb8d4);
  box-shadow: none;
  color: var(--purple-800);
}

.button-block {
  margin-top: auto;
  width: 100%;
}

.hero {
  background:
    linear-gradient(90deg, rgb(31 11 40 / 92%) 0%, rgb(55 16 69 / 74%) 39%, rgb(49 15 60 / 10%) 72%),
    url("/assets/images/home-hero.webp") center 42% / cover no-repeat;
  color: white;
  min-height: calc(100svh - var(--header-height) - 32px);
  overflow: hidden;
  position: relative;
}

.hero::before {
  background:
    radial-gradient(circle at 8% 17%, rgb(223 187 235 / 18%), transparent 27%),
    linear-gradient(180deg, transparent 62%, rgb(28 8 34 / 47%));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-overlay {
  background-image: radial-gradient(rgb(255 255 255 / 18%) 0.8px, transparent 0.8px);
  background-size: 18px 18px;
  inset: 0;
  mask-image: linear-gradient(90deg, #000, transparent 55%);
  opacity: 0.23;
  pointer-events: none;
  position: absolute;
}

.hero-content {
  align-items: center;
  display: flex;
  min-height: calc(100svh - var(--header-height) - 32px);
  padding-block: clamp(84px, 10vw, 140px);
  position: relative;
  z-index: 2;
}

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

.eyebrow {
  color: var(--purple-600);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.17em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--gold-light);
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6.1vw, 82px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.99;
  margin: 0;
  text-wrap: balance;
}

.hero h1 em {
  color: #edd2f3;
  font-weight: 500;
}

.hero-lead {
  color: rgb(255 255 255 / 82%);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.75;
  margin: 27px 0 33px;
  max-width: 590px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-trust {
  align-items: center;
  color: rgb(255 255 255 / 73%);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 23px;
  margin-top: 32px;
}

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

.scroll-cue {
  bottom: 24px;
  height: 40px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 28px;
  z-index: 3;
}

.scroll-cue::before {
  border: 1px solid rgb(255 255 255 / 46%);
  border-radius: 999px;
  content: "";
  inset: 0;
  position: absolute;
}

.scroll-cue span {
  animation: scrollPulse 1.8s infinite;
  background: white;
  border-radius: 50%;
  height: 4px;
  left: 12px;
  position: absolute;
  top: 8px;
  width: 4px;
}

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

.trust-strip {
  background: white;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  align-items: center;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 14px;
  min-height: 106px;
  padding: 20px 28px;
}

.trust-grid > div:first-child {
  border-left: 1px solid var(--line);
}

.trust-grid strong {
  color: var(--purple-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
}

.trust-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.section {
  padding-block: clamp(78px, 9vw, 126px);
}

.intro-grid {
  align-items: center;
  display: grid;
  gap: clamp(46px, 8vw, 110px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
}

.intro-visual {
  padding: 0 38px 38px 0;
  position: relative;
}

.image-frame {
  background-position: center;
  background-size: cover;
  border-radius: 12px 80px 12px 80px;
  box-shadow: var(--shadow-lg);
  min-height: 570px;
  overflow: hidden;
  position: relative;
}

.image-frame::after {
  border: 1px solid rgb(255 255 255 / 53%);
  border-radius: inherit;
  content: "";
  inset: 12px;
  pointer-events: none;
  position: absolute;
}

.normal-image {
  background-image: url("/assets/images/normal-proposals.webp");
}

.intro-visual::before {
  border: 1px solid var(--purple-300, #d7bfdc);
  border-radius: 12px 80px 12px 80px;
  content: "";
  inset: 32px 0 0 32px;
  position: absolute;
}

.floating-note {
  align-items: center;
  background: white;
  border-radius: 15px;
  bottom: 4px;
  box-shadow: var(--shadow-md);
  color: var(--purple-800);
  display: flex;
  font-size: 13px;
  font-weight: 720;
  gap: 10px;
  padding: 15px 19px;
  position: absolute;
  right: 2px;
}

.section-copy h2,
.section-heading h2,
.vip-banner-copy h2,
.final-cta h2,
.page-hero h1,
.auth-panel h1 {
  color: var(--purple-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.4vw, 59px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

.section-copy > p:not(.eyebrow),
.section-heading > p,
.split-heading > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.section-copy > p:not(.eyebrow) {
  margin: 24px 0 29px;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.feature-list > div {
  align-items: flex-start;
  display: flex;
  gap: 14px;
}

.feature-list > div > svg {
  color: var(--purple-600);
  flex: 0 0 auto;
  margin-top: 3px;
}

.feature-list span {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  gap: 4px;
  line-height: 1.6;
}

.feature-list strong {
  color: var(--ink);
  font-size: 15px;
}

.inline-link,
.card-link {
  align-items: center;
  color: var(--purple-700);
  display: inline-flex;
  font-size: 13px;
  font-weight: 740;
  gap: 9px;
}

.inline-link:hover svg {
  transform: translateX(3px);
}

.inline-link svg {
  transition: transform 180ms ease;
}

.section-tint {
  background:
    radial-gradient(circle at 90% 10%, rgb(148 75 165 / 8%), transparent 25%),
    var(--purple-50);
  border-block: 1px solid var(--line);
}

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

.split-heading {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 0.8fr;
}

.split-heading > p {
  margin: 0;
  max-width: 520px;
}

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

.section-heading.centered > p:not(.eyebrow) {
  margin: 20px auto 0;
  max-width: 660px;
}

.proposal-grid {
  display: grid;
  gap: 21px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proposal-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 385px;
  padding: 25px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.proposal-card:hover {
  border-color: #d7bfdc;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.proposal-card-top {
  align-items: center;
  display: flex;
  gap: 13px;
}

.proposal-avatar {
  align-items: center;
  background: linear-gradient(145deg, var(--purple-100), #fbf4fc);
  border: 1px solid #decce3;
  border-radius: 50%;
  color: var(--purple-700);
  display: flex;
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  height: 49px;
  justify-content: center;
  width: 49px;
}

.proposal-card h3 {
  color: var(--purple-950);
  font-size: 17px;
  letter-spacing: 0.02em;
  margin: 4px 0 0;
}

.proposal-type {
  color: var(--muted);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.verified-chip {
  align-items: center;
  background: #edf7f1;
  border-radius: 999px;
  color: var(--success);
  display: inline-flex;
  font-size: 10px;
  font-weight: 720;
  gap: 4px;
  margin-left: auto;
  padding: 7px 9px;
}

.proposal-facts {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr;
  margin: 25px 0 21px;
}

.proposal-facts > div {
  border-top: 1px solid var(--line);
  padding: 15px 10px 12px 0;
}

.proposal-facts > div:nth-child(even) {
  padding-left: 15px;
}

.proposal-facts dt {
  color: #8a7e8d;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.proposal-facts dd {
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  margin: 0;
}

.verification-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 17px;
}

.verification-row span {
  align-items: center;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 999px;
  color: #eadbf0;
  display: inline-flex;
  font-size: 10px;
  gap: 5px;
  padding: 6px 9px;
}

.card-link {
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 17px;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.vip-showcase {
  background: var(--purple-950);
  color: white;
  overflow: hidden;
  position: relative;
}

.vip-glow {
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  position: absolute;
}

.vip-glow-one {
  background: rgb(151 67 172 / 22%);
  height: 430px;
  right: -130px;
  top: -140px;
  width: 430px;
}

.vip-glow-two {
  background: rgb(211 174 102 / 9%);
  bottom: -180px;
  height: 360px;
  left: -120px;
  width: 360px;
}

.vip-banner {
  align-items: stretch;
  background: linear-gradient(115deg, #40164e, #2a0f34);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgb(14 4 18 / 38%);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  margin-bottom: 32px;
  min-height: 430px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.vip-banner-image {
  background:
    linear-gradient(90deg, transparent 62%, #33113e 100%),
    url("/assets/images/vip-proposals.webp") 20% center / cover no-repeat;
  min-height: 430px;
}

.vip-banner-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px clamp(35px, 5vw, 72px) 56px 20px;
}

.vip-banner-copy h2,
.final-cta h2 {
  color: white;
}

.vip-banner-copy p:not(.eyebrow) {
  color: rgb(255 255 255 / 72%);
  font-size: 15px;
  line-height: 1.8;
  margin: 23px 0 30px;
}

.vip-grid {
  position: relative;
  z-index: 1;
}

.vip-card {
  background: rgb(255 255 255 / 6%);
  border-color: rgb(255 255 255 / 10%);
  box-shadow: none;
}

.vip-card:hover {
  border-color: rgb(226 190 238 / 35%);
  box-shadow: 0 20px 55px rgb(11 3 14 / 30%);
}

.vip-card .proposal-avatar {
  background: rgb(255 255 255 / 9%);
  border-color: rgb(255 255 255 / 13%);
  color: var(--gold-light);
}

.vip-card h3,
.vip-card .proposal-facts dd {
  color: white;
}

.vip-card .proposal-type,
.vip-card .proposal-facts dt {
  color: rgb(255 255 255 / 53%);
}

.vip-card .proposal-facts > div,
.vip-card .card-link {
  border-color: rgb(255 255 255 / 11%);
}

.vip-card .card-link {
  color: var(--gold-light);
}

.membership-section {
  background:
    radial-gradient(circle at 50% 0%, rgb(166 100 181 / 11%), transparent 31%),
    var(--ivory);
}

.package-grid {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
}

.package-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 570px;
  padding: 36px;
  position: relative;
}

.package-card.featured {
  background: linear-gradient(160deg, #4d1b5b 0%, #2c1036 100%);
  border-color: #6d357d;
  box-shadow: var(--shadow-lg);
  color: white;
  transform: translateY(-15px);
}

.package-number {
  color: #e5d9e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
  position: absolute;
  right: 29px;
  top: 29px;
}

.package-card.featured .package-number {
  color: rgb(255 255 255 / 13%);
}

.popular-label {
  background: var(--gold-light);
  border-radius: 999px;
  color: #4b2e18;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  padding: 7px 11px;
  position: absolute;
  right: 27px;
  text-transform: uppercase;
  top: -13px;
}

.package-card h3 {
  color: var(--purple-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 500;
  margin: 0;
}

.package-card.featured h3,
.package-card.featured .eyebrow {
  color: white;
}

.package-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  margin: 17px 0 23px;
}

.package-card.featured .package-description {
  color: rgb(255 255 255 / 68%);
}

.package-price {
  border-block: 1px solid var(--line);
  display: grid;
  gap: 5px;
  margin: 0 0 24px;
  padding-block: 19px;
}

.package-card.featured .package-price {
  border-color: rgb(255 255 255 / 12%);
}

.package-price strong {
  color: var(--purple-700);
  font-size: 12px;
}

.package-price span {
  color: var(--muted);
  font-size: 11px;
}

.package-card.featured .package-price strong {
  color: var(--gold-light);
}

.package-card.featured .package-price span {
  color: rgb(255 255 255 / 56%);
}

.package-card ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.package-card li {
  align-items: center;
  color: #5e5361;
  display: flex;
  font-size: 13px;
  gap: 9px;
}

.package-card li svg {
  color: var(--success);
  flex: 0 0 auto;
}

.package-card.featured li {
  color: rgb(255 255 255 / 76%);
}

.package-card.featured li svg {
  color: var(--gold-light);
}

.package-card.featured .button {
  background: white;
  color: var(--purple-900);
}

.process-section {
  background: var(--purple-50);
  border-top: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 54px 0 0;
  padding: 0;
}

.process-grid li {
  border-top: 1px solid #d7c5dc;
  padding: 34px 27px 0 0;
  position: relative;
}

.process-grid li::before {
  background: var(--purple-600);
  border: 6px solid var(--purple-50);
  border-radius: 50%;
  content: "";
  height: 20px;
  left: 0;
  position: absolute;
  top: -10px;
  width: 20px;
}

.process-grid li > span {
  color: var(--purple-500);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.process-grid h3 {
  color: var(--purple-950);
  font-size: 17px;
  margin: 13px 0 9px;
}

.process-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.final-cta {
  background:
    linear-gradient(115deg, rgb(42 14 52 / 97%), rgb(100 39 120 / 88%)),
    url("/assets/images/brand-square.jpg") center 42% / cover;
  color: white;
  overflow: hidden;
  padding-block: 73px;
  position: relative;
}

.final-cta::before {
  background: radial-gradient(circle at 85% 20%, rgb(244 213 250 / 20%), transparent 27%);
  content: "";
  inset: 0;
  position: absolute;
}

.final-cta-inner {
  align-items: center;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  position: relative;
}

.final-cta h2 {
  font-size: clamp(35px, 4vw, 52px);
  max-width: 730px;
}

.site-footer {
  background: #1b0a22;
  color: rgb(255 255 255 / 65%);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: 1.5fr repeat(3, 0.75fr);
  padding-bottom: 62px;
}

.brand-light .brand-copy strong,
.brand-light .brand-copy small {
  color: white;
}

.footer-brand > p {
  font-size: 13px;
  line-height: 1.8;
  margin: 23px 0 0;
  max-width: 350px;
}

.footer-logo-link {
  display: inline-flex;
}

.footer-brand-logo {
  height: auto;
  max-width: 225px;
  width: 100%;
}

.footer-brand .footer-about-link {
  color: var(--gold-light);
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  margin-top: 15px;
}

.footer-grid h2 {
  color: white;
  font-size: 12px;
  letter-spacing: 0.12em;
  margin: 9px 0 20px;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-grid a,
.footer-grid p {
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
}

.footer-grid a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 9%);
  display: flex;
  font-size: 10px;
  gap: 20px;
  justify-content: space-between;
  padding-block: 22px;
}

/* Secondary pages */
.page-main {
  min-height: 70vh;
}

.page-hero {
  background:
    radial-gradient(circle at 85% 25%, rgb(183 118 198 / 24%), transparent 30%),
    linear-gradient(145deg, #2a0e35, #501b60);
  color: white;
  overflow: hidden;
  padding-block: 88px;
  position: relative;
}

.page-hero.compact {
  padding-block: 68px;
}

.page-hero .eyebrow {
  color: var(--gold-light);
}

.page-hero h1 {
  color: white;
  max-width: 780px;
}

.page-hero p:not(.eyebrow) {
  color: rgb(255 255 255 / 72%);
  font-size: 16px;
  line-height: 1.75;
  margin: 21px 0 0;
  max-width: 690px;
}

.content-section {
  padding-block: 72px 110px;
}

.filter-bar {
  align-items: end;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(4, 1fr) auto;
  margin: -36px auto 44px;
  padding: 21px;
  position: relative;
  z-index: 2;
}

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

.field label,
.field-label {
  color: #655a68;
  font-size: 11px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  background: #fff;
  border: 1px solid #ded3e0;
  border-radius: 10px;
  color: var(--ink);
  min-height: 46px;
  outline: none;
  padding: 11px 13px;
  transition:
    border 150ms ease,
    box-shadow 150ms ease;
  width: 100%;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 4px rgb(156 85 170 / 12%);
}

.field-help {
  color: #897c8c;
  font-size: 10px;
  line-height: 1.5;
}

.content-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.content-card h2,
.content-card h3 {
  color: var(--purple-950);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  margin-top: 0;
}

.content-card p,
.rich-copy p,
.rich-copy li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.rich-copy {
  margin-inline: auto;
  max-width: 820px;
}

.rich-copy h2 {
  color: var(--purple-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 500;
  margin: 45px 0 15px;
}

/* Authentication and registration */
.auth-layout {
  background:
    linear-gradient(115deg, rgb(34 12 43 / 90%), rgb(74 29 93 / 76%)),
    url("/assets/images/home-hero.webp") center / cover;
  display: grid;
  min-height: calc(100svh - var(--header-height) - 32px);
  place-items: center;
  padding: 55px 20px;
}

.auth-panel {
  background: rgb(255 253 248 / 98%);
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  padding: clamp(30px, 5vw, 50px);
  width: 100%;
}

.auth-panel h1 {
  font-size: 42px;
}

.auth-panel > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 14px 0 26px;
}

.form-stack {
  display: grid;
  gap: 17px;
}

.form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.form-meta {
  align-items: center;
  display: flex;
  font-size: 11px;
  justify-content: space-between;
}

.form-meta a {
  color: var(--purple-700);
  font-weight: 700;
}

.form-check {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  font-size: 11px;
  gap: 8px;
  line-height: 1.5;
}

.form-check input {
  accent-color: var(--purple-700);
  margin-top: 2px;
}

.auth-switch {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  margin-top: 25px;
  padding-top: 20px;
  text-align: center;
}

.auth-switch a {
  color: var(--purple-700);
  font-weight: 700;
}

.registration-shell {
  background: var(--purple-50);
  min-height: 75vh;
  padding-block: 55px 95px;
}

.registration-header {
  margin-bottom: 34px;
  text-align: center;
}

.registration-header h1 {
  color: var(--purple-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.6vw, 54px);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0;
}

.registration-header p {
  color: var(--muted);
  margin: 12px auto 0;
  max-width: 670px;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto 30px;
  max-width: 780px;
}

.stepper-item {
  align-items: center;
  color: #988c9b;
  display: flex;
  font-size: 10px;
  font-weight: 720;
  gap: 8px;
  position: relative;
}

.stepper-item::after {
  background: #d9cddd;
  content: "";
  height: 1px;
  position: absolute;
  right: 10px;
  top: 15px;
  width: calc(100% - 50px);
}

.stepper-item:last-child::after {
  display: none;
}

.stepper-item span {
  align-items: center;
  background: white;
  border: 1px solid #d9cddd;
  border-radius: 50%;
  display: flex;
  height: 31px;
  justify-content: center;
  position: relative;
  width: 31px;
  z-index: 1;
}

.stepper-item.active,
.stepper-item.done {
  color: var(--purple-700);
}

.stepper-item.active span,
.stepper-item.done span {
  background: var(--purple-700);
  border-color: var(--purple-700);
  color: white;
}

.registration-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-inline: auto;
  max-width: 940px;
  padding: clamp(28px, 5vw, 52px);
}

.registration-card h2 {
  color: var(--purple-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 9px;
}

.registration-card > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 27px;
}

.registration-packages {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}

.package-choice {
  background: white;
  border: 1px solid #ded2e0;
  border-radius: var(--radius-md);
  cursor: pointer;
  min-height: 190px;
  padding: 22px;
  text-align: left;
  transition:
    border 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.package-choice:hover,
.package-choice.selected {
  border-color: var(--purple-600);
  box-shadow: 0 13px 32px rgb(89 37 101 / 13%);
  transform: translateY(-3px);
}

.package-choice.selected {
  background: var(--purple-50);
}

.package-choice strong {
  color: var(--purple-950);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.package-choice span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  line-height: 1.55;
  margin-top: 9px;
}

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

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

.registration-actions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
}

.button-quiet {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--purple-700);
}

.summary-box {
  background: var(--purple-50);
  border: 1px solid #dfd1e2;
  border-radius: var(--radius-md);
  padding: 23px;
}

.summary-box dl {
  display: grid;
  gap: 13px;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}

.summary-box dt {
  color: #857889;
  font-size: 10px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.summary-box dd {
  font-size: 13px;
  font-weight: 680;
  margin: 0;
}

.notice {
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.65;
  padding: 14px 16px;
}

.notice.info {
  background: #f1e9f4;
  color: #5e2b6a;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 215px minmax(0, 1fr) 145px;
    padding-inline: 22px;
  }

  .primary-nav {
    gap: 15px;
  }

  .primary-nav a {
    font-size: 11px;
  }

  .header-actions {
    gap: 10px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 70px;
    --page: min(100% - 32px, 760px);
  }

  .announcement span:nth-of-type(3),
  .announcement i:nth-of-type(2) {
    display: none;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    padding-inline: 20px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .primary-nav {
    align-items: stretch;
    background: rgb(255 253 248 / 98%);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 14px 20px 22px;
    position: absolute;
    right: 0;
    top: var(--header-height);
  }

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

  .primary-nav a {
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    padding: 14px 4px;
  }

  .primary-nav a::after {
    display: none;
  }

  .header-actions .text-link {
    display: none;
  }

  .hero {
    background-position: 63% center;
  }

  .hero::before {
    background: linear-gradient(90deg, rgb(31 11 40 / 93%), rgb(45 13 56 / 68%) 58%, rgb(35 10 43 / 24%));
  }

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

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

  .trust-grid > div:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .trust-grid > div {
    border-bottom: 1px solid var(--line);
  }

  .intro-grid,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .intro-visual {
    max-width: 700px;
  }

  .image-frame {
    min-height: 500px;
  }

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

  .proposal-grid > :last-child {
    display: none;
  }

  .vip-banner {
    grid-template-columns: 1fr;
  }

  .vip-banner-image {
    background-position: 28% center;
    min-height: 370px;
  }

  .vip-banner-copy {
    padding: 45px;
  }

  .package-grid {
    grid-template-columns: 1fr;
    margin-inline: auto;
    max-width: 650px;
  }

  .package-card {
    min-height: auto;
  }

  .package-card.featured {
    transform: none;
  }

  .process-grid {
    gap: 31px;
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-grid > :last-child {
    grid-column: 2 / -1;
  }

  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .registration-packages {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --page: calc(100% - 28px);
  }

  .announcement {
    font-size: 9px;
    gap: 10px;
    letter-spacing: 0.05em;
  }

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

  .brand-mark {
    height: 38px;
    width: 38px;
  }

  .header-actions {
    display: none;
  }

  .hero {
    background-position: 68% center;
    min-height: 720px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgb(29 9 37 / 95%), rgb(50 15 62 / 75%) 72%, rgb(42 12 53 / 37%)),
      linear-gradient(180deg, transparent 45%, rgb(26 7 32 / 75%));
  }

  .hero-content {
    align-items: flex-end;
    min-height: 720px;
    padding-bottom: 85px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    gap: 12px;
  }

  .scroll-cue {
    display: none;
  }

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

  .trust-grid > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    min-height: 115px;
    padding: 19px 15px;
  }

  .section {
    padding-block: 72px;
  }

  .intro-visual {
    padding: 0 20px 20px 0;
  }

  .image-frame {
    border-radius: 8px 50px 8px 50px;
    min-height: 420px;
  }

  .intro-visual::before {
    border-radius: 8px 50px 8px 50px;
    inset: 18px 0 0 18px;
  }

  .floating-note {
    bottom: 0;
    font-size: 11px;
    padding: 12px 14px;
  }

  .section-copy h2,
  .section-heading h2,
  .vip-banner-copy h2,
  .page-hero h1 {
    font-size: 38px;
  }

  .proposal-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .proposal-grid > :last-child {
    display: flex;
  }

  .vip-banner {
    border-radius: 23px;
  }

  .vip-banner-image {
    min-height: 300px;
  }

  .vip-banner-copy {
    padding: 34px 25px 39px;
  }

  .package-card {
    border-radius: 23px;
    padding: 29px 24px;
  }

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

  .process-grid li {
    min-height: 125px;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta-inner .button {
    width: 100%;
  }

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

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

  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    line-height: 1.5;
  }

  .page-hero {
    padding-block: 65px;
  }

  .filter-bar {
    grid-template-columns: 1fr;
    margin-top: -28px;
  }

  .form-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .stepper {
    gap: 3px;
  }

  .stepper-item {
    display: grid;
    font-size: 8px;
    justify-items: center;
    text-align: center;
  }

  .stepper-item::after {
    left: 50%;
    right: auto;
    top: 15px;
    width: 100%;
  }

  .summary-box dl {
    grid-template-columns: 1fr;
  }

  .registration-actions {
    gap: 13px;
  }
}

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

/* Installable PHP application additions */
[hidden] {
  display: none !important;
}

.inner-page {
  min-height: 68vh;
}

.centered {
  text-align: center;
}

.centered > p:not(.eyebrow),
.page-hero .centered > p:not(.eyebrow) {
  margin-inline: auto;
}

.narrow-shell {
  max-width: 960px;
}

.narrow-shell > .registration-card + .registration-card {
  margin-top: 24px;
}

.centered-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 30px auto 0;
  max-width: 760px;
}

.site-footer .brand-copy strong,
.site-footer .brand-copy small {
  color: white;
}

.footer-grid h3 {
  color: white;
  font-size: 12px;
  letter-spacing: .12em;
  margin: 9px 0 20px;
  text-transform: uppercase;
}

.global-notice {
  background: var(--success);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  color: white;
  font-size: 13px;
  font-weight: 650;
  max-width: min(440px, calc(100% - 30px));
  padding: 14px 18px;
  position: fixed;
  right: 18px;
  top: 126px;
  z-index: 100;
}

.global-notice[data-type="error"] {
  background: var(--danger);
}

.button-wide {
  width: 100%;
}

.form-status {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0 0;
  min-height: 18px;
}

.form-status[data-type="error"] {
  color: var(--danger);
}

.form-status[data-type="success"] {
  color: var(--success);
}

.form-note,
.muted {
  color: var(--muted);
}

.check-list {
  list-style: none;
  margin: 22px 0 28px !important;
  padding: 0;
}

.check-list li {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  margin: 9px 0;
}

.package-kicker {
  color: var(--purple-600);
  display: block;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .12em;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.package-card h2 {
  color: var(--purple-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 500;
  margin: 0;
}

.package-card .package-price {
  color: var(--purple-800);
  font-weight: 750;
  margin-top: 18px;
}

.editorial-cards {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.editorial-card > span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 24px;
}

.editorial-card h3 {
  color: var(--purple-950);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin: 20px 0 10px;
}

.editorial-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.filter-bar > label {
  color: #655a68;
  display: grid;
  font-size: 11px;
  font-weight: 700;
  gap: 8px;
}

.filter-bar input,
.filter-bar select {
  background: white;
  border: 1px solid #ded3e0;
  border-radius: 10px;
  min-height: 46px;
  outline: none;
  padding: 11px 13px;
  width: 100%;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 4px rgb(156 85 170 / 12%);
}

.vip-page-hero {
  background:
    radial-gradient(circle at 83% 20%, rgb(236 198 122 / 22%), transparent 30%),
    linear-gradient(145deg, #160b23, #472354);
}

.proposal-card {
  overflow: hidden;
  padding: 0;
}

.proposal-image {
  align-items: flex-end;
  background:
    linear-gradient(180deg, transparent 38%, rgb(35 13 44 / 72%)),
    url("/assets/images/normal-proposals.webp") center / cover;
  display: flex;
  justify-content: space-between;
  min-height: 240px;
  padding: 20px;
  position: relative;
}

.proposal-image > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.proposal-image > span,
.proposal-image > b {
  position: relative;
  z-index: 1;
}

.proposal-image.groom-tone {
  background-position: 68% center;
}

.vip-card .proposal-image {
  background-image:
    linear-gradient(180deg, transparent 38%, rgb(18 8 25 / 78%)),
    url("/assets/images/vip-proposals.webp");
}

.proposal-image span,
.proposal-image b {
  background: rgb(255 255 255 / 90%);
  border-radius: 999px;
  color: var(--purple-900);
  font-size: 10px;
  letter-spacing: .08em;
  padding: 7px 11px;
  text-transform: uppercase;
}

.proposal-image b {
  background: var(--gold-light);
}

.proposal-body {
  padding: 23px;
}

.proposal-body h2 {
  color: var(--purple-950);
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 500;
  margin: 14px 0 8px;
}

.proposal-body > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.proposal-meta,
.verification-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.proposal-meta span,
.verification-row span,
.status-pill {
  background: var(--purple-50);
  border-radius: 999px;
  color: var(--purple-700);
  font-size: 10px;
  font-weight: 720;
  padding: 6px 9px;
  text-transform: capitalize;
}

.verification-row {
  justify-content: flex-start;
  margin: 15px 0;
}

.inline-proposal-form {
  display: grid;
  gap: 9px;
}

.inline-proposal-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 42px;
  padding: 9px 11px;
}

.visitor-reply-link {
  color: var(--purple-700);
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-top: 15px;
  text-align: center;
}

.visitor-reply-link:hover {
  text-decoration: underline;
}

.empty-state {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin: 20px auto;
  max-width: 720px;
  padding: 65px 30px;
  text-align: center;
}

.empty-state > span {
  color: var(--gold);
  font-size: 48px;
}

.empty-state h2 {
  color: var(--purple-950);
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 500;
}

.empty-state p {
  color: var(--muted);
}

.auth-page {
  background: var(--purple-50);
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(430px, .9fr);
  min-height: calc(100svh - var(--header-height) - 32px);
}

.auth-visual {
  background:
    linear-gradient(120deg, rgb(31 11 39 / 42%), rgb(95 39 113 / 20%)),
    url("/assets/images/home-hero.webp") center / cover;
}

.auth-visual.password-visual {
  background-position: 30% center;
  filter: saturate(.78);
}

.auth-page .auth-panel {
  align-items: center;
  background: var(--ivory);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  max-width: none;
  padding: clamp(35px, 7vw, 90px);
}

.auth-card {
  margin: auto;
  max-width: 480px;
  width: 100%;
}

.auth-card h1 {
  color: var(--purple-950);
  font-family: Georgia, serif;
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: -.035em;
  margin: 5px 0 10px;
}

.auth-card > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 26px;
}

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

.auth-links {
  display: flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: space-between;
  margin-top: 22px;
}

.auth-links a {
  color: var(--purple-700);
}

.success-symbol {
  align-items: center;
  background: var(--success);
  border-radius: 50%;
  color: white;
  display: flex;
  font-size: 28px;
  height: 64px;
  justify-content: center;
  margin-bottom: 22px;
  width: 64px;
}

.registration-page {
  background: var(--purple-50);
}

.registration-page .section {
  padding-top: 54px;
}

.package-choice {
  display: block;
  min-height: 150px;
}

.package-choice input {
  accent-color: var(--purple-700);
  margin: 0 0 18px;
}

.check-field {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  font-size: 11px;
  gap: 9px;
  line-height: 1.55;
  margin: 23px 0;
}

.check-field input {
  accent-color: var(--purple-700);
  margin-top: 2px;
}

.check-field a {
  color: var(--purple-700);
  font-weight: 700;
}

.privacy-callout {
  background: var(--purple-50);
  border: 1px solid #e2d6e5;
  border-left: 4px solid var(--purple-600);
  border-radius: var(--radius-sm);
  margin: 0 0 25px;
  padding: 18px 20px;
}

.privacy-callout strong {
  color: var(--purple-900);
}

.privacy-callout p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  margin: 7px 0 0;
}

.member-banner {
  background:
    radial-gradient(circle at 85% 15%, rgb(230 184 239 / 22%), transparent 28%),
    linear-gradient(145deg, #2a0e35, #501b60);
  color: white;
  padding-block: 62px;
}

.admin-banner {
  background:
    radial-gradient(circle at 80% 20%, rgb(233 208 149 / 20%), transparent 28%),
    linear-gradient(145deg, #1d0c26, #3e1c49);
}

.member-banner-inner {
  align-items: center;
  display: flex;
  gap: 35px;
  justify-content: space-between;
}

.member-banner h1 {
  color: white;
  font-size: clamp(36px, 4.5vw, 56px);
}

.member-banner p:not(.eyebrow) {
  color: rgb(255 255 255 / 70%);
  line-height: 1.6;
  max-width: 650px;
}

.dashboard-grid {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: 210px minmax(0, 1fr);
}

.account-nav {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: grid;
  padding: 13px;
  position: sticky;
  top: calc(var(--header-height) + 22px);
}

.account-nav a {
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  padding: 12px;
}

.account-nav a:hover {
  background: var(--purple-50);
  color: var(--purple-800);
}

.dashboard-content {
  min-width: 0;
}

.status-grid {
  display: grid;
  gap: 17px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.status-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 155px;
  padding: 22px;
}

.status-card > span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-card strong {
  color: var(--purple-950);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  margin: 15px 0;
  text-transform: capitalize;
}

.status-card a {
  color: var(--purple-700);
  font-size: 11px;
  font-weight: 700;
  margin-top: auto;
}

.dashboard-section,
.admin-queue {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
  padding: clamp(22px, 4vw, 34px);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.dashboard-heading {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.dashboard-heading h2 {
  color: var(--purple-950);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  margin: 4px 0 0;
}

.dashboard-heading > a {
  color: var(--purple-700);
  font-size: 11px;
  font-weight: 700;
}

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

.suggestion-card {
  background: var(--purple-50);
  border: 1px solid #e5d9e7;
  border-radius: var(--radius-md);
  padding: 20px;
}

.suggestion-card h3 {
  color: var(--purple-950);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  margin: 15px 0 6px;
}

.suggestion-card > p,
.suggestion-card li {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.suggestion-card ul {
  list-style: none;
  padding: 0;
}

.tab-panels {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.tab-panels h3 {
  color: var(--purple-900);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.inbox-item {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding: 15px 0;
}

.inbox-item > div {
  display: grid;
  gap: 4px;
}

.inbox-item strong {
  color: var(--purple-950);
  font-size: 13px;
}

.inbox-item span {
  color: var(--muted);
  font-size: 10px;
}

.inbox-item form {
  display: flex;
  gap: 7px;
}

.accepted-contact {
  color: var(--success);
  font-size: 11px;
  font-weight: 750;
}

.visitor-reply-card {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.reply-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.reply-header > div {
  display: grid;
  gap: 4px;
}

.reply-header strong {
  color: var(--purple-950);
  font-size: 14px;
}

.reply-header span:not(.status-pill) {
  color: var(--muted);
  font-size: 10px;
}

.visitor-reply-card > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.visitor-reply-card form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.text-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  padding: 9px;
}

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

.upload-row {
  align-items: end;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 15px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 17px 0;
}

.upload-row label {
  color: var(--muted);
  display: grid;
  font-size: 11px;
  font-weight: 700;
  gap: 7px;
}

.upload-row input {
  border: 1px dashed #d8c9dc;
  border-radius: 10px;
  padding: 11px;
}

.responsive-table {
  overflow-x: auto;
}

.responsive-table table {
  border-collapse: collapse;
  min-width: 780px;
  width: 100%;
}

.responsive-table th,
.responsive-table td {
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  padding: 13px 10px;
  text-align: left;
  vertical-align: middle;
}

.responsive-table th {
  color: var(--purple-800);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.responsive-table td {
  color: var(--muted);
}

.responsive-table td:last-child {
  display: flex;
  gap: 7px;
}

.contact-grid {
  align-items: start;
  display: grid;
  gap: 55px;
  grid-template-columns: .75fr 1.25fr;
}

.contact-grid .registration-card {
  margin: 0;
}

.article-shell {
  max-width: 850px;
}

.article-section {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.article-section:first-child {
  padding-top: 0;
}

.article-section h2 {
  color: var(--purple-950);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 10px;
}

.article-section p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.legal-review-note {
  background: #fff7e7;
  border: 1px solid #efdcae;
  border-radius: var(--radius-sm);
  color: #765925;
  font-size: 12px;
  line-height: 1.6;
  padding: 16px;
}

.error-page {
  display: grid;
  min-height: 65vh;
  place-items: center;
}

.error-code {
  color: var(--gold);
  display: block;
  font-family: Georgia, serif;
  font-size: 80px;
}

.error-page h1 {
  color: var(--purple-950);
  font-size: clamp(35px, 5vw, 56px);
}

.reveal,
.section-heading,
.package-card,
.proposal-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible,
.section-heading.is-visible,
.package-card.is-visible,
.proposal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .auth-page {
    grid-template-columns: 1fr;
  }

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

  .editorial-cards,
  .status-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .account-nav {
    display: flex;
    overflow-x: auto;
    position: static;
  }

  .account-nav a {
    white-space: nowrap;
  }

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

@media (max-width: 680px) {
  .editorial-cards,
  .status-grid,
  .tab-panels,
  .suggestion-grid,
  .registration-packages {
    grid-template-columns: 1fr;
  }

  .member-banner-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .member-banner-inner .button {
    width: 100%;
  }

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

  .auth-page .auth-panel {
    padding: 42px 22px;
  }

  .upload-row {
    grid-template-columns: 1fr;
  }

  .responsive-table td:last-child {
    min-width: 245px;
  }
}
