/* ==========================================================================
   QLIBS LANDING — CORPORATE & UNIVERSITY IDENTITY THEME
   Inspired by the USTP Claveria wave motif:
   - Deep Navy swoop with vibrant Gold ribbon accent at the top right
   - Clean, bright white & translucent flowing gold/white wave canvas
   - Matching bottom wave transition leading into the deep navy footer
   ========================================================================== */

:root {
  --indigo: #161B48;
  --indigo-deep: #0F1438;
  --indigo-soft: #242A5A;
  --gold: #FCB316;
  --gold-deep: #E09A00;
  --gold-ink: #8A5A00;
  --gold-soft: #FFF7E3;
  --gold-border: rgba(252, 179, 22, 0.45);
  --parchment: #FDFBF7;
  --ink: #1C1936;
  --muted: #5C5870;
  --muted-light: #7E7A94;
  --line: #E8E5F0;
  --surface: #FFFFFF;
  --lavender-soft: #EEF0FC;
  --peach-soft: #FFF2EA;
  --blue-soft: #EBF2FF;
  --page-bg: #FFFFFF;
  --blue-rgb: 22, 27, 72;
  --gold-rgb: 252, 179, 22;
  --white: #FFFFFF;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-soft: 0 10px 30px rgba(22, 27, 72, 0.06);
  --shadow-card: 0 20px 48px rgba(15, 20, 56, 0.12);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shell: 1200px;
  --brand-gradient-backdrop:
    radial-gradient(circle at 85% 12%, rgba(var(--gold-rgb), 0.16), transparent 32%),
    radial-gradient(circle at 12% 78%, rgba(var(--blue-rgb), 0.12), transparent 34%),
    linear-gradient(135deg, #EBF2FF 0%, #FFFFFF 40%, #FFF7E3 68%, #EEF0FC 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background-color: var(--page-bg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
}
body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-image: var(--brand-gradient-backdrop);
  content: "";
  pointer-events: none;
}
main { position: relative; z-index: 2; }

body, button, a, summary { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { color: var(--indigo-deep); background: rgba(252, 179, 22, 0.38); }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 4px; }
main:focus { outline: none; }

.landing-shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { position: relative; z-index: 2; padding-block: 88px; scroll-margin-top: 86px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; border-radius: 8px; color: var(--white); background: var(--indigo); font-weight: 700; transform: translateY(-160%); transition: transform 0.2s ease; }
.skip-link:focus { transform: translateY(0); }

/* ==========================================================================
   BACKGROUND WAVE DECORATIONS (Top, Mid, Bottom)
   ========================================================================== */
.landing-bg-decor {
  position: absolute;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.top-wave-decor {
  top: 0;
  right: 0;
  width: clamp(480px, 52vw, 920px);
  height: clamp(340px, 38vw, 650px);
}
.top-wave-decor svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mid-wave-left {
  top: 880px;
  left: 0;
  width: clamp(260px, 28vw, 520px);
  height: clamp(480px, 42vw, 780px);
  opacity: 0.9;
}
.mid-wave-left svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mid-wave-right {
  top: 1850px;
  right: 0;
  width: clamp(260px, 28vw, 500px);
  height: clamp(460px, 40vw, 760px);
  opacity: 0.9;
}
.mid-wave-right svg {
  width: 100%;
  height: 100%;
  display: block;
}

.landing-bottom-wave-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -1px;
}
.landing-bottom-wave-svg {
  display: block;
  width: 100%;
  height: clamp(70px, 8.5vw, 150px);
}

/* ==========================================================================
   BUTTONS & TYPOGRAPHY HELPERS
   ========================================================================== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
  color: var(--indigo);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow > span {
  width: 26px;
  height: 3px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: var(--gold);
}
.eyebrow-light { color: rgba(255, 255, 255, 0.82); }
.eyebrow-light > span { background: var(--gold); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.button i { font-size: 16px; transition: transform 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button:hover i { transform: translateX(3px); }

.button-primary {
  color: var(--white);
  background: var(--indigo);
  box-shadow: 0 10px 24px rgba(22, 27, 72, 0.22);
}
.button-primary:hover {
  color: var(--indigo-deep);
  background: var(--gold);
  box-shadow: 0 12px 28px rgba(252, 179, 22, 0.32);
}

.button-outline {
  border-color: rgba(22, 27, 72, 0.25);
  color: var(--indigo);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}
.button-outline:hover {
  border-color: var(--indigo);
  color: var(--white);
  background: var(--indigo);
}

.button-gold {
  color: var(--indigo-deep);
  background: var(--gold);
  box-shadow: 0 10px 24px rgba(252, 179, 22, 0.28);
}
.button-gold:hover {
  background: #FFCA4B;
  box-shadow: 0 12px 30px rgba(252, 179, 22, 0.38);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--indigo);
  font-size: 13.5px;
  font-weight: 750;
}
.text-link i { color: var(--gold-ink); transition: transform 0.2s ease; }
.text-link:hover { color: var(--gold-ink); }
.text-link:hover i { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.landing-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(225, 222, 235, 0.7);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.landing-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}
.landing-brand > img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
}
.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.brand-copy strong {
  color: var(--indigo);
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.5px;
  line-height: 1;
}
.brand-copy > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}
.landing-nav > a:not(.nav-login) {
  position: relative;
  padding-block: 8px;
  color: #4A4660;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.landing-nav > a:not(.nav-login)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.landing-nav > a:not(.nav-login):hover {
  color: var(--indigo);
}
.landing-nav > a:not(.nav-login):hover::after {
  transform: scaleX(1);
}
.landing-nav > a.is-active {
  color: var(--indigo);
  font-weight: 700;
}
.landing-nav > a.is-active::after {
  transform: scaleX(1);
}

.nav-login {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--indigo);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(22, 27, 72, 0.18);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.nav-login:hover {
  color: var(--indigo-deep);
  background: var(--gold);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle i {
  color: var(--indigo);
  font-size: 23px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 72px 0 86px;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 5.5vw, 76px);
}
.hero-content {
  padding-block: 8px;
  animation: hero-enter 0.65s ease-out both;
}
.hero-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.hero-logos img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.hero-logos > span {
  width: 1px;
  height: 32px;
  background: #D0CDDB;
}

.hero .eyebrow {
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  color: var(--indigo-deep);
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.06;
}
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em {
  color: var(--gold-ink);
  font-weight: 400;
}

.hero-copy {
  max-width: 530px;
  margin: 22px 0 28px;
  color: #4C4860;
  font-size: 15.5px;
  line-height: 1.75;
}

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

.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.hero-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-assurance i {
  color: var(--gold-deep);
  font-size: 15px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 0 0 24px;
  animation: hero-enter 0.65s 0.1s ease-out both;
}
.hero-visual::before {
  position: absolute;
  z-index: -1;
  right: -16px;
  bottom: 4px;
  width: 50%;
  height: 52%;
  border-radius: 24px;
  background: var(--gold);
  content: "";
  transform: rotate(5deg);
  opacity: 0.95;
}
.hero-photo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.45;
  border: 6px solid var(--white);
  border-radius: 24px;
  background: var(--indigo);
  box-shadow: var(--shadow-card);
}
.hero-photo-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 14, 51, 0.04) 40%, rgba(16, 14, 51, 0.75) 100%);
}
.photo-label {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: var(--white);
  background: rgba(16, 14, 51, 0.82);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 650;
}
.photo-label i { color: var(--gold); }

.photo-caption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  color: var(--white);
  text-align: right;
}
.photo-caption small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 1.3px;
}
.photo-caption strong {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
}

.access-card {
  position: absolute;
  z-index: 3;
  bottom: -16px;
  left: -28px;
  width: 295px;
  overflow: hidden;
  border: 1px solid rgba(22, 27, 72, 0.1);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 20px 44px rgba(16, 14, 51, 0.24);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}
.hero-visual:hover .access-card { transform: rotate(0deg) translateY(-4px); }
.access-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 6px;
}
.access-card-header img { width: 36px; height: 36px; object-fit: contain; }
.access-card-header > div { display: flex; flex-direction: column; }
.access-card-header strong {
  color: var(--indigo);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
}
.access-card-header span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.3px;
}

.access-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 16px 14px;
}
.access-card-copy { display: flex; min-width: 0; flex-direction: column; }
.access-card-copy > span {
  color: var(--gold-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.9px;
}
.access-card-copy strong {
  margin-top: 4px;
  color: var(--indigo);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.15;
}
.access-card-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
}
.access-card-qr {
  display: grid;
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  place-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.access-card-qr svg { width: 100%; height: 100%; }
.access-card-footer {
  display: flex;
  gap: 16px;
  padding: 8px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #FAF9FD;
  font-size: 11.5px;
  font-weight: 650;
}
.access-card-footer span { display: inline-flex; align-items: center; gap: 5px; }
.access-card-footer i { color: var(--gold-ink); }

/* ==========================================================================
   HEADINGS & FEATURES
   ========================================================================== */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}
.section-heading h2, .about-copy h2, .faq-heading h2, .how-heading h2 {
  margin: 0;
  color: var(--indigo-deep);
  font-family: var(--font-display);
  font-size: clamp(34px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: 1.12;
}
.section-heading > p {
  max-width: 440px;
  margin: 0 0 4px;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}
.section-heading-centered { justify-content: center; text-align: center; }
.section-heading-centered .eyebrow { justify-content: center; }
.section-heading-centered > div > p:last-child {
  max-width: 600px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.service-card {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.service-card:hover {
  border-color: rgba(252, 179, 22, 0.75);
  box-shadow: 0 16px 36px rgba(22, 27, 72, 0.1);
  transform: translateY(-5px);
}
.service-icon, .benefit-icon, .audience-icon {
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--indigo);
}
.service-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  font-size: 26px;
}
.icon-gold { background: var(--gold-soft); color: #9A6700; }
.icon-lavender { background: var(--lavender-soft); color: #4B4180; }
.icon-peach { background: var(--peach-soft); color: #A65A2A; }

.feature-copy h3 {
  margin: 0 0 10px;
  color: var(--indigo);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
}
.feature-copy p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.service-arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--indigo);
  background: var(--white);
  font-size: 15px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.service-arrow:hover {
  border-color: var(--gold);
  color: var(--indigo-deep);
  background: var(--gold);
  transform: translateX(3px);
}

.staff-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 34px;
  margin-top: 28px;
  padding: 36px 40px;
  border-radius: 20px;
  color: var(--white);
  background: radial-gradient(circle at 100% 0%, rgba(36, 42, 90, 0.4), transparent 48%), var(--indigo);
  box-shadow: 0 20px 46px rgba(22, 27, 72, 0.22);
  scroll-margin-top: 100px;
}
.staff-panel-copy h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.2;
}
.staff-panel-copy > p:last-child {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.7;
}
.staff-feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.staff-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.staff-feature-list li > i {
  color: var(--gold);
  font-size: 18px;
}
.staff-feature-list span { display: flex; flex-direction: column; }
.staff-feature-list strong {
  font-size: 14px;
  line-height: 1.35;
}
.staff-feature-list small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  line-height: 1.45;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.55fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 40px;
}
.how-heading h2 { font-size: clamp(32px, 3.4vw, 42px); }
.how-heading h2 em { color: var(--gold-ink); font-weight: 400; }

.how-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.how-steps::before {
  position: absolute;
  z-index: 0;
  top: 32px;
  right: 12%;
  left: 12%;
  border-top: 1.5px dashed #D5D1C4;
  content: "";
}
.how-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-top {
  position: relative;
  display: inline-flex;
  margin-bottom: 18px;
}
.step-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 5px solid var(--white);
  border-radius: 18px;
  color: var(--indigo);
  background: var(--gold-soft);
  box-shadow: 0 8px 20px rgba(22, 27, 72, 0.08);
  font-size: 25px;
}
.how-step:nth-child(2) .step-icon { background: var(--lavender-soft); }
.how-step:nth-child(3) .step-icon { background: var(--peach-soft); }
.step-number {
  position: absolute;
  top: -6px;
  right: -8px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--indigo);
  font-size: 11px;
  font-weight: 800;
}
.how-step h3 {
  margin: 0 0 8px;
  color: var(--indigo);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
}
.how-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.how-intro {
  padding-top: 18px;
  border-top: 2px solid var(--gold);
}
.how-intro p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 6.5vw, 86px);
}
.about-copy h2 em, .faq-heading h2 em { color: var(--gold-ink); font-weight: 400; }
.about-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}
.about-copy > p.about-lead {
  margin-top: 22px;
  color: #38344E;
  font-size: 16px;
  line-height: 1.75;
}
.about-copy .text-link { margin-top: 8px; }

.about-signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #DDDCE7;
}
.about-signature img {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
}
.about-signature > div { display: flex; flex-direction: column; }
.about-signature small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}
.about-signature strong {
  margin-top: 3px;
  color: var(--indigo);
  font-family: var(--font-display);
  font-size: 18px;
}
.about-signature span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.5px;
}
.about-signature i { color: var(--gold-ink); }

.about-benefits { display: grid; gap: 16px; }
.benefit-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.benefit-card:hover {
  border-color: rgba(252, 179, 22, 0.7);
  transform: translateX(4px);
}
.benefit-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  font-size: 22px;
}
.benefit-card h3 {
  margin: 0 0 5px;
  color: var(--indigo);
  font-family: var(--font-display);
  font-size: 18px;
}
.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.audience-section { margin-top: 76px; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.audience-card {
  padding: 30px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(22, 27, 72, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.audience-card:hover {
  border-color: rgba(22, 27, 72, 0.12);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.audience-gold { background: #FFF9EB; border-color: rgba(252, 179, 22, 0.25); }
.audience-lavender { background: #F1F0FA; border-color: rgba(75, 65, 128, 0.12); }
.audience-blue { background: #EDF3FE; border-color: rgba(22, 27, 72, 0.12); }
.audience-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 16px rgba(22, 27, 72, 0.06);
  font-size: 22px;
}
.audience-card h3 {
  margin: 0 0 8px;
  color: var(--indigo);
  font-family: var(--font-display);
  font-size: 20px;
}
.audience-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  position: relative;
  z-index: 2;
  padding-block: 88px;
  scroll-margin-top: 86px;
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(48px, 7vw, 92px);
}
.faq-heading > p:not(.eyebrow) {
  max-width: 360px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}
.support-card {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  scroll-margin-top: 105px;
}
.support-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 12px;
  color: var(--indigo);
  background: var(--gold-soft);
  font-size: 21px;
}
.support-card h3 {
  margin: 0 0 8px;
  color: var(--indigo);
  font-family: var(--font-display);
  font-size: 20px;
}
.support-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.support-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--indigo);
  font-size: 13px;
  font-weight: 700;
}
.support-card a:hover { color: var(--gold-ink); }
.support-card a i { color: var(--gold-ink); }

.faq-list { display: grid; gap: 12px; }
.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-list details[open] {
  border-color: rgba(252, 179, 22, 0.72);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(16, 14, 51, 0.06);
}
.faq-list summary {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  color: var(--indigo);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { content: ""; }
.faq-list summary i {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-ink);
  background: var(--gold-soft);
  font-family: var(--font-body);
  font-size: 16px;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.faq-list details[open] summary i {
  color: var(--indigo-deep);
  background: var(--gold);
  transform: rotate(45deg);
}
.faq-list details p {
  margin: 0;
  padding: 0 54px 20px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  position: relative;
  z-index: 2;
  padding-block: 84px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 275px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.contact-card:hover {
  border-color: rgba(252, 179, 22, 0.75);
  box-shadow: 0 16px 36px rgba(22, 27, 72, 0.1);
  transform: translateY(-5px);
}
.contact-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 14px;
  font-size: 26px;
}
.icon-fb {
  background: #EAF2FF;
  color: #1877F2;
}
.icon-email {
  background: var(--gold-soft);
  color: #B37400;
}
.icon-msg {
  background: #F2ECFA;
  color: #8C30F5;
}
.contact-tag {
  display: inline-block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-copy h3 {
  margin: 0 0 10px;
  color: var(--indigo);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  word-break: break-word;
}
.contact-copy p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #FAF9FD;
  color: var(--indigo);
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.contact-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--indigo-deep);
}
.contact-link i {
  font-size: 14px;
}

/* ==========================================================================
   CLOSING SECTION
   ========================================================================== */
.closing-section {
  position: relative;
  z-index: 2;
  padding-block: 72px 80px;
}
.closing {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  padding: 38px 44px;
  border-radius: 20px;
  color: var(--white);
  background: radial-gradient(circle at 100% 0%, rgba(36, 42, 90, 0.5), transparent 46%), var(--indigo);
  box-shadow: var(--shadow-card);
}
.closing::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7px;
  background: var(--gold);
  content: "";
}
.closing > * { position: relative; z-index: 1; }
.closing-mark {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(252, 179, 22, 0.5);
  border-radius: 16px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
  font-size: 28px;
}
.closing .eyebrow { margin-bottom: 8px; }
.closing h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 38px);
  letter-spacing: -1px;
  line-height: 1.15;
}
.closing h2 em { color: var(--gold); font-weight: 400; }
.closing-copy > p:last-child {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

/* ==========================================================================
   FOOTER (Seamlessly connects to the bottom wave)
   ========================================================================== */
.landing-footer {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 44px 0 24px;
  color: var(--white);
  background: var(--indigo-deep);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 42px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}
.footer-brand img { width: 44px; height: 44px; object-fit: contain; }
.footer-brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.footer-brand-block > p {
  max-width: 380px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.6;
}
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-self: end;
}
.footer-contact-info a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  transition: color 0.2s ease;
}
.footer-contact-info a:hover {
  color: var(--gold);
}
.footer-contact-info i {
  color: var(--gold);
  font-size: 15px;
}
.footer-contact-info > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
}
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom a:hover { color: var(--gold); }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes nav-enter {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1100px) {
  .landing-nav { gap: 16px; }
  .hero-grid { gap: 40px; }
  .hero h1 { font-size: clamp(40px, 5.2vw, 56px); }
  .access-card { left: -16px; width: 280px; }
  .staff-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .staff-panel > .button { grid-column: 1 / -1; justify-self: start; }
  .how-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); }
  .how-intro { grid-column: 1 / -1; max-width: 520px; }
  .footer-main { gap: 28px; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 84px; }
  .header-inner { min-height: 72px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .landing-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 16px 30px rgba(16, 14, 51, 0.1);
  }
  .landing-nav.is-open { display: flex; animation: nav-enter 0.2s ease-out; }
  .landing-nav > a:not(.nav-login) { padding: 11px 4px; font-size: 14px; }
  .landing-nav > a:not(.nav-login)::after { display: none; }
  .nav-login { justify-content: center; margin-top: 8px; }

  .hero { padding: 50px 0 68px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-content { max-width: 680px; }
  .hero h1 { max-width: 640px; }
  .hero-copy { max-width: 590px; }
  .hero-visual { width: min(100%, 640px); margin-inline: auto; }
  .access-card { bottom: -14px; left: 20px; }

  .section, .faq { padding-block: 68px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 32px; }
  .section-heading > p { max-width: 580px; }
  .section-heading-centered { align-items: center; }

  .service-grid, .audience-grid, .contact-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .service-card { min-height: 0; }
  .feature-copy p { max-width: 520px; }

  .staff-panel { grid-template-columns: 1fr; gap: 26px; padding: 32px 28px; }
  .staff-panel > .button { grid-column: auto; }

  .how-layout { grid-template-columns: 1fr; gap: 32px; }
  .how-heading { max-width: 600px; }
  .how-steps { max-width: 680px; }
  .how-intro { grid-column: auto; }

  .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 40px; }
  .about-copy { max-width: 680px; }
  .about-benefits { max-width: 680px; }
  .audience-section { margin-top: 60px; }
  .faq-grid { gap: 36px; }
  .faq-heading { max-width: 680px; }
  .support-card { max-width: 520px; }

  .closing { grid-template-columns: auto minmax(0, 1fr); padding: 32px; }
  .closing > .button { grid-column: 1 / -1; justify-self: start; }

  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-contact-info { justify-self: start; }
}

@media (max-width: 680px) {
  .landing-shell { width: min(calc(100% - 32px), var(--shell)); }
  .brand-copy strong { font-size: 24px; }
  .brand-copy > span { font-size: 8.5px; }
  .landing-brand > img { width: 38px; height: 38px; }

  .top-wave-decor { width: 100%; height: 320px; opacity: 0.95; }
  .mid-wave-left, .mid-wave-right { display: none; }

  .hero { padding: 40px 0 58px; }
  .hero-logos { margin-bottom: 18px; }
  .hero-logos img { width: 36px; height: 36px; }
  .hero h1 { font-size: clamp(36px, 10vw, 50px); letter-spacing: -1.5px; }
  .hero-copy { margin-block: 18px 22px; font-size: 14.5px; }
  .hero-assurance { gap: 10px 16px; margin-top: 22px; font-size: 12px; }
  .hero-visual { padding-bottom: 0; }
  .hero-visual::before { right: -6px; bottom: 4px; }
  .hero-photo-frame { aspect-ratio: 4 / 3.35; border-width: 4px; border-radius: 18px; }
  .photo-label { top: 12px; right: 12px; }
  .photo-caption { right: 16px; bottom: 16px; }
  .photo-caption strong { font-size: 18px; }

  .access-card { position: relative; bottom: auto; left: auto; width: calc(100% - 20px); margin: -28px auto 0; transform: none; }
  .hero-visual:hover .access-card { transform: translateY(-3px); }

  .section, .faq { padding-block: 56px; }
  .section-heading h2, .about-copy h2, .faq-heading h2, .how-heading h2 { font-size: clamp(28px, 7.5vw, 36px); letter-spacing: -1px; }
  .service-card, .audience-card, .contact-card { padding: 24px 20px; }
  .staff-panel { padding: 26px 20px; }
  .staff-panel-copy h3 { font-size: 24px; }

  .how-steps { grid-template-columns: 1fr; gap: 26px; max-width: 400px; }
  .how-steps::before { display: none; }
  .how-step p { max-width: 300px; margin-inline: auto; }

  .benefit-card { align-items: flex-start; padding: 18px 20px; }
  .audience-section { margin-top: 50px; }
  .faq-list summary { padding: 15px; font-size: 15px; }
  .faq-list details p { padding: 0 20px 18px 18px; }

  .closing-section { padding-block: 50px 60px; }
  .closing { grid-template-columns: 1fr; gap: 18px; padding: 26px 20px; }
  .closing-mark { width: 56px; height: 56px; font-size: 24px; }
  .closing > .button { width: 100%; grid-column: auto; }

  .landing-footer { padding-top: 36px; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .footer-contact-info { justify-self: start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 28px; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-assurance { align-items: flex-start; flex-direction: column; }
  .access-card-body { gap: 8px; padding-inline: 12px; }
  .access-card-qr { width: 72px; height: 72px; }
  .support-card { padding: 20px; }
}

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