:root {
  --wl-primary: #4d5bff;
  --wl-secondary: #0f766e;
  --wl-bg: #f3efe7;
  --wl-ink: #17211f;
  --wl-muted: #65706c;
  --wl-card: rgba(255, 252, 245, 0.88);
  --wl-border: rgba(23, 33, 31, 0.14);
}

* {
  box-sizing: border-box;
}

body.wl-portal-page {
  min-height: 100vh;
  margin: 0;
  color: var(--wl-ink);
  background:
    radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--wl-primary) 26%, transparent), transparent 34rem),
    radial-gradient(circle at 88% 16%, color-mix(in srgb, var(--wl-secondary) 22%, transparent), transparent 31rem),
    linear-gradient(135deg, #fffaf0 0%, var(--wl-bg) 48%, #e9f1ee 100%);
  font-family: "Avenir Next", "Montserrat", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

.wl-stage {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.wl-grid {
  position: absolute;
  inset: -20%;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(23, 33, 31, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 31, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: rotate(-7deg);
}

.wl-orb {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.38;
}

.wl-orb-a {
  left: -10rem;
  bottom: -12rem;
  background: color-mix(in srgb, var(--wl-primary) 58%, #fff 42%);
}

.wl-orb-b {
  right: -12rem;
  top: -10rem;
  background: color-mix(in srgb, var(--wl-secondary) 56%, #fff 44%);
}

.wl-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  width: min(1180px, calc(100% - 2rem));
  min-height: 100vh;
  margin: 0 auto;
  align-items: center;
  padding: clamp(2rem, 5vw, 5rem) 0;
}

.wl-hero {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
}

.wl-brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wl-brand-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--wl-border);
  box-shadow: 0 18px 50px rgba(23, 33, 31, 0.14);
}

.wl-eyebrow,
.wl-kicker {
  margin: 0 0 0.4rem;
  color: var(--wl-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wl-hero h1 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.25rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.wl-copy {
  max-width: 35rem;
  margin: 0;
  color: var(--wl-muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.wl-session-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 35rem);
  padding: 0.9rem 1rem;
  border: 1px solid color-mix(in srgb, var(--wl-primary) 34%, var(--wl-border));
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 45px rgba(23, 33, 31, 0.12);
}

.wl-session-link,
.wl-entry-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--wl-ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.wl-session-link {
  padding: 0.65rem 1rem;
}

.wl-card-panel {
  border: 1px solid var(--wl-border);
  border-radius: 34px;
  padding: clamp(1rem, 2vw, 1.35rem);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 252, 245, 0.55));
  box-shadow: 0 30px 90px rgba(23, 33, 31, 0.18);
  backdrop-filter: blur(18px);
}

.wl-panel-head {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.wl-panel-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.wl-panel-head p:last-child {
  max-width: 36rem;
  margin: 0.8rem 0 0;
  color: var(--wl-muted);
  line-height: 1.55;
}

.wl-entry-grid {
  display: grid;
  gap: 0.85rem;
}

.wl-entry-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 112px;
  padding: 1rem;
  border: 1px solid var(--wl-border);
  border-radius: 24px;
  background: var(--wl-card);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.wl-entry-card:hover,
.wl-entry-card:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--wl-primary) 48%, var(--wl-border));
  box-shadow: 0 18px 42px rgba(23, 33, 31, 0.15);
  outline: none;
}

.wl-entry-card-primary {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--wl-primary) 12%, #fff), rgba(255, 252, 245, 0.92));
  border-color: color-mix(in srgb, var(--wl-primary) 36%, var(--wl-border));
}

.wl-entry-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--wl-primary) 14%, #fff);
  color: var(--wl-primary);
  font-size: 1.25rem;
  font-weight: 900;
}

.wl-entry-label {
  margin: 0 0 0.25rem;
  color: var(--wl-primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wl-entry-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 900;
}

.wl-entry-description {
  margin: 0.24rem 0 0;
  color: var(--wl-muted);
  line-height: 1.4;
}

.wl-entry-action {
  min-width: 2.8rem;
  height: 2.8rem;
}

.wl-entry-card-skeleton {
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.48));
  background-size: 220% 100%;
  animation: wl-shimmer 1.2s ease-in-out infinite;
}

.wl-footer-strip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem 0.2rem;
  color: var(--wl-muted);
  font-size: 0.9rem;
}

.wl-plain-link {
  color: var(--wl-ink);
  font-weight: 800;
  text-decoration: none;
}

.wl-plain-link:hover {
  text-decoration: underline;
}

@keyframes wl-shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

@media (max-width: 860px) {
  .wl-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .wl-hero h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .wl-entry-card {
    grid-template-columns: auto 1fr;
  }

  .wl-entry-action {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .wl-shell {
    width: min(100% - 1rem, 1180px);
    padding: 1rem 0;
  }

  .wl-card-panel {
    border-radius: 24px;
  }

  .wl-brand-lockup {
    align-items: flex-start;
  }

  .wl-brand-logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .wl-session-banner,
  .wl-footer-strip {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 22px;
  }
}
