/* =========================================================
   FONT FACE
   Loads Inter as the base UI font.
========================================================= */
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-VariableFont.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* =========================================================
   RESET + THEME TOKENS
   Global reset and shared color variables.
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent: #2563eb;
  --accent2: #06b6d4;
  --text: #1f2937;
  --muted: #6b7280;
  --surface: #ffffff;
  --bg: #f8fafc;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* =========================================================
   HEADER / NAV
   Fixed top nav with dark glass / gradient finish.
========================================================= */
.header {
  background: linear-gradient(135deg, #1e3a8a 0%, #111827 100%);
  color: #fff;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-menu a:hover {
  color: #fff;
  opacity: 1;
}

/* Shared CTA button */
.cta-button {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.consentActions .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  border: 1px solid #1e3a8a;
  background: #1e3a8a;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
}

.consentActions .cta-button:hover {
  transform: translateY(-1px);
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.cta-button.primary {
  background: var(--accent);
  border-color: transparent;
  color: #0b1020;
  font-weight: 700;
}

/* =========================================================
   HERO
   Main top section with fixed-header spacing and moving grid.
========================================================= */
.hero {
  padding: 8rem 0 4rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08), transparent 60%),
    radial-gradient(700px 360px at 85% 55%, rgba(46, 116, 255, 0.14), transparent 62%),
    linear-gradient(135deg, #0f1f4a 0%, #1d3e7a 40%, #1f5aa6 75%, #1b3f7a 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  animation: starfieldDrift 14s linear infinite;
  transform: translateZ(0);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 10%, rgba(0, 0, 0, 0.12), transparent 60%),
    radial-gradient(circle at 50% 90%, rgba(0, 0, 0, 0.22), transparent 60%),
    radial-gradient(circle at 10% 50%, rgba(0, 0, 0, 0.28), transparent 55%);
}

@keyframes starfieldDrift {
  0% { background-position: 0 0; }
  100% { background-position: 500px 250px; }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.1rem;
  margin: 0 auto 2rem;
  opacity: 0.9;
  max-width: 650px;
}

.hero-art {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.hero-art-card {
  width: min(100%, 560px);
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  padding: 0;                /* remove inner padding if you want full-bleed image */
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.hero-art-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;        
}

.hero-badges {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12px;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

.hero-badges span {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none !important;
  }
}

/* =========================================================
   TRUST BAR + CTA BAND
   Secondary credibility and call-to-action strip.
========================================================= */
.trustbar {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.trustbar .container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-pill {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.05));
  padding: 32px 0;
}

.cta-band-inner,
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.prelogin-trust {
  position: relative;
  padding: 18px 0;
  margin-top: 0 !important;
  
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.85),
    rgba(255,255,255,0.65)
  );

  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 14px;
  font-weight: 500;
  color: #334155;

  opacity: 0.9;
  transition: all 0.2s ease;
}

.trust-item i {
  font-size: 14px;
  color: #1e3a8a; /* tie into your blue */
  opacity: 0.85;
}

/* subtle hover polish */
.trust-item:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* optional separators (very clean look) */
.trust-item:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 16px;
  background: rgba(0,0,0,0.08);
  margin-left: 24px;
}

.trust-heading {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 10px;
}

/* =========================================================
   LOGIN SECTION
   Two-column marketing + login card area.
========================================================= */
.login-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  min-height: 80vh;
}

.login-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.login-description {
  padding-right: 2rem;
}

.login-description h2 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-description p {
  font-size: 1.25rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Left-column supporting feature rows */
.feature-highlight {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(30, 58, 138, 0.1);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.feature-highlight:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
}

.feature-icon-small {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1e3a8a 0%, #0369a1 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

/* Main login card */
.login-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.6s ease-out;
  position: relative;
}

.login-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(3, 105, 161, 0.05) 100%);
  border-radius: 24px;
  z-index: -1;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-title {
  text-align: center;
  margin-bottom: 40px;
}

.login-title h2 {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #1e3a8a 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.login-title p {
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
}

/* =========================================================
   FORMS
   Core form controls and login flow UI.
========================================================= */
.form-step {
  opacity: 0;
  transform: translateX(20px);
  animation: fadeInStep 0.5s ease-out forwards;
}

.form-step.active {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeInStep {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.input-group {
  position: relative;
  margin-bottom: 24px;
}

.input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  outline: none;
  font-weight: 500;
}

.input:focus {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
  transform: translateY(-1px);
}

.input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.button-login {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #1e3a8a 0%, #0369a1 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.button-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.step-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.step {
  width: 40px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  margin: 0 4px;
  transition: background 0.2s ease;
}

.step.active {
  background: linear-gradient(135deg, #1e3a8a 0%, #0369a1 100%);
}

.security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
}

.security-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  fill: currentColor;
}

.hidden {
  display: none;
}

/* =========================================================
   HOW IT WORKS / FEATURES GLASS
   Glass-card system used by the section partial.
   Includes:
   - animated wash background
   - connector line
   - three glowing process dots
   - square translucent cards
========================================================= */
.featuresGlass {
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

/* Soft radial lighting behind the section */
.featuresGlass__wash {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.10), transparent 45%),
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08), transparent 50%);
  animation: washMove 18s ease-in-out infinite alternate;
}

/* Constrains title + grid width */
.featuresGlass__container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section heading */
.featuresGlass__title {
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 2.75rem;
}

/* 3-up layout for the cards */
.featuresGlass__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 3rem;
  justify-items: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* Main connector line behind the cards */
.featuresGlass__grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  opacity: 0.35; 
  background: linear-gradient(
    to right,
    transparent,
    rgba(30,58,138,0.2),
    transparent
  );
  z-index: 0;
}

.featuresGlass__grid::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background: radial-gradient(
    circle at 50% 50%,
    rgba(37, 99, 235, 0.12),
    rgba(37, 99, 235, 0.05) 35%,
    transparent 60%
  );

  filter: blur(40px);
}

.featuresGlass__grid::after{
  animation: spotlightPulse 6s ease-in-out infinite;
}

@keyframes spotlightPulse{
  0%,100% { opacity: .8; }
  50% { opacity: 1; }
}

.step-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  transform: scale(0.95);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(30, 58, 138, 0.9);
  color: white;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Square glass cards */
.glassCard {
  position: relative;
  z-index: 1; /* keeps cards above line + dots */
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 1.75rem;
  border-radius: 22px;

   background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.4);
  -webkit-backdrop-filter: blur(16px);



  box-shadow:
    0 20px 50px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    ease;
}

.glassCard:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow:
    0 30px 70px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Thin highlight border around the card */
.glassCard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  opacity: 0.6;
}

/* Reflection sweep on hover */
.glassCard::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -60%;
  width: 55%;
  height: 160%;
  transform: rotate(20deg);
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transition: left 650ms ease, opacity 250ms ease;
}

.glassCard:hover::after {
  left: 120%;
  opacity: 0.9;
}

/* Icon wrapper now provides spacing only */
.glassCard__iconWrap {
  margin-bottom: 1rem;
}
 
/* Direct icon styling */
.glassCard__iconWrap i,
.glassIcon {
  font-size: 28px;
  color: #1e3a8a;
  margin-bottom: 0.75rem;

  opacity: 0.9;

  animation: iconPulse 8s ease-in-out infinite;
}

/* Slightly stronger icon glow on hover */
.glassCard:hover .glassIcon,
.glassCard:hover .glassCard__iconWrap i {
  filter:
    drop-shadow(0 0 14px rgba(37, 99, 235, 0.45))
    drop-shadow(0 0 28px rgba(37, 99, 235, 0.35));
}

/* Card title */
.glassCard__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 750;
  color: #0f172a;
}

/* Card supporting copy */
.glassCard__text {
  margin: 0;
  max-width: 220px;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.7;
}

.glassCard:nth-child(2) {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.12);
}

/* Subtle section wash drift */
@keyframes washMove {
  from { transform: translateY(-20px) scale(1); }
  to { transform: translateY(20px) scale(1.05); }
}

/* Gentle icon pulse glow */
@keyframes iconPulse {
  0% {
    filter: drop-shadow(0 0 0 rgba(37, 99, 235, 0));
  }
  50% {
    filter:
      drop-shadow(0 0 10px rgba(37, 99, 235, 0.35))
      drop-shadow(0 0 20px rgba(37, 99, 235, 0.25));
  }
  100% {
    filter: drop-shadow(0 0 0 rgba(37, 99, 235, 0));
  }
}

/* =========================================================
   ABOUT
   Two-column company / explainer block.
========================================================= */
.about {
  padding: 6rem 0;
  background: #f8fafc;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.about-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #1e3a8a 0%, #0369a1 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: #1f2937;
  color: #fff;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section p,
.footer-section a {
  color: #9ca3af;
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

/* =========================================================
   TENANT: LIBERTAS
   Brand-specific font overrides when body has tenant-libertas.
========================================================= */
body.tenant-libertas {
  --font-display: "Coluna", "Bebas Neue", Impact, sans-serif;
  --font-sans: "SuisseIntl", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-serif: "Leif", "Source Serif 4", Georgia, serif;
}

body.tenant-libertas,
body.tenant-libertas .container,
body.tenant-libertas p,
body.tenant-libertas a,
body.tenant-libertas button,
body.tenant-libertas input {
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
}

body.tenant-libertas .hero h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 0.95;
  font-weight: 700;
  font-size: clamp(42px, 5vw, 72px);
  margin: 0 0 10px;
}

body.tenant-libertas .hero p {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  font-size: clamp(14px, 1.2vw, 16px);
  max-width: 720px;
  margin: 0 auto 2rem;
  opacity: 0.92;
}

body.tenant-libertas .nav-menu a {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.92;
}

body.tenant-libertas .cta-button {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 12px;
}

body.tenant-libertas .logo {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 24px;
}

body.tenant-libertas .header {
  padding: 12px 0;
}

/* =========================================================
   RESPONSIVE
   Mobile/tablet adjustments kept in one place.
========================================================= */
@media (max-width: 920px) {
  .featuresGlass__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Hide connector visuals once cards stack */
  .featuresGlass__grid::before,
  .featuresGlass__grid::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .login-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .login-description {
    padding-right: 0;
    order: 2;
  }

  .login-container {
    order: 1;
    margin: 0 auto;
  }

  .login-description h2 {
    font-size: 2.5rem;
  }
}


.consentPage {
  padding: 4.5rem 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.55), transparent 28%),
    linear-gradient(180deg, #edf4fb 0%, #f8fbff 100%);
  min-height: calc(100vh - 80px);
}

.consentPage__container {
  max-width: 880px;
  margin: 0 auto;
}

.consentPage__header {
  margin-bottom: 2rem;
}

.consentPage__header h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  color: #0f172a;
}

.consentPage__header p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
}

.consentAlert {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  font-weight: 600;
}

.consentAlert--error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
}

.disclosureGroup {
  margin-bottom: 2rem;
}

.disclosureGroup h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: #0f172a;
}

.disclosureCard {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
  margin-bottom: 1rem;
}

.disclosureCard__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.disclosureCard__header h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #0f172a;
}

.disclosureVersion {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.disclosureBody {
  color: #334155;
  line-height: 1.7;
}

.disclosureBody p {
  margin: 0 0 0.85rem;
}

.disclosureBody p:last-child {
  margin-bottom: 0;
}

.disclosureCheck {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-weight: 600;
  color: #0f172a;
}

.disclosureCheck input {
  margin-top: 0.2rem;
  transform: scale(1.1);
}

.consentActions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.consentBackLink {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
}

.consentBackLink:hover {
  color: #0f172a;
}

@media (max-width: 640px) {
  .consentPage {
    padding: 3rem 1rem;
  }

  .disclosureCard__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .consentActions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .consentBackLink {
    text-align: center;
  }
}

.disclosureSummary {
  margin: 0 0 0.85rem;
  color: #475569;
  line-height: 1.6;
}

.disclosureLinks {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.disclosureViewBtn {
  background: transparent;
  border: 1px solid #1e3a8a;
  color: #1e3a8a;
  padding: 0.6rem 0.95rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.disclosurePdfLink {
  color: #475569;
  font-weight: 600;
  text-decoration: none;
}

.disclosurePdfLink:hover {
  color: #0f172a;
}

.consentActions .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  border: 1px solid #1e3a8a;
  background: #1e3a8a;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
}

.consentActions .cta-button:disabled {
  background: #cbd5e1;
  border-color: #cbd5e1;
  color: #f8fafc;
  cursor: not-allowed;
}

.disclosureModal[hidden] {
  display: none;
}

.disclosureModal {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.disclosureModal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.disclosureModal__dialog {
  position: relative;
  width: min(840px, calc(100vw - 2rem));
  max-height: calc(100vh - 4rem);
  margin: 2rem auto;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.disclosureModal__header,
.disclosureModal__footer {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.disclosureModal__footer {
  border-bottom: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.disclosureModal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.disclosureModal__header h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #0f172a;
}

.disclosureModal__close {
  background: transparent;
  border: 0;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #475569;
}

.disclosureModal__body {
  padding: 1.25rem;
  overflow-y: auto;
  color: #334155;
  line-height: 1.75;
}

.disclosureModal__body p {
  margin: 0 0 1rem;
}

.disclosureModal__confirm {
  min-width: 180px;
}

body.modal-open {
  overflow: hidden;
}

.disclosureModal__confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  border: 1px solid #1e3a8a;
  background: #1e3a8a;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
}

.disclosureModal__confirm:hover {
  transform: translateY(-1px);
}

.disclosureModal__dialog {
  position: relative;
  width: min(980px, calc(100vw - 2rem));
  height: min(88vh, 900px);
  margin: 2rem auto;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.disclosureModal__body {
  flex: 1;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.disclosureModal__confirm,
.disclosureModal__confirm:hover,
.disclosureModal__confirm:focus {
  background: #1e3a8a !important;
  color: #ffffff !important;
  border: 1px solid #1e3a8a;
}

.disclosureModal__confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.25);
}