/* =========================================================
   Learning Rewired Lab
   Global Styles
   Temporary V1 Homepage + Starter Pages
   ========================================================= */

:root {
  --lrl-ink: #0f172a;
  --lrl-muted: #64748b;
  --lrl-soft: #f8fafc;
  --lrl-border: rgba(15, 23, 42, 0.1);
  --lrl-blue: #2563eb;
  --lrl-violet: #7c3aed;
  --lrl-teal: #14b8a6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--lrl-ink);
  background: #ffffff;
}

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

/* Temporary Navigation */

.temp-nav {
  width: min(1120px, calc(100% - 48px));
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.temp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--lrl-ink);
}

.temp-brand-icon {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.temp-nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.temp-nav-links a,
.temp-nav-locked {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--lrl-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.temp-nav-links a:hover {
  color: var(--lrl-ink);
  background: rgba(15, 23, 42, 0.04);
}

.temp-nav-locked {
  color: rgba(100, 116, 139, 0.5);
  cursor: not-allowed;
  position: relative;
}

.temp-nav-locked::after {
  content: "Soon";
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.08);
  color: var(--lrl-teal);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Temporary Page Layout */

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.temp-home {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(32px, 5vw, 64px) 24px;
}

.temp-card {
  width: min(1120px, 100%);
  padding: clamp(32px, 5vw, 72px);
  border: 1px solid var(--lrl-border);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.12), transparent 34%),
    #ffffff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
  overflow: visible;
}

.temp-eyebrow {
  margin: 0 0 22px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lrl-blue);
}

.temp-title {
  margin: 0;
  max-width: 980px;
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  padding-bottom: 0.12em;
  overflow: visible;
}

.temp-title span {
  display: inline-block;
  padding-right: 0.1em;
  padding-bottom: 0.05em;
  background: linear-gradient(135deg, var(--lrl-blue), var(--lrl-violet), var(--lrl-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.temp-copy {
  margin: 22px 0 0;
  max-width: 760px;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.7;
  color: var(--lrl-muted);
}

.temp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.temp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid var(--lrl-border);
}

.temp-btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--lrl-blue), var(--lrl-violet));
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.24);
}

.temp-btn.secondary {
  color: var(--lrl-ink);
  background: rgba(255, 255, 255, 0.72);
}

.temp-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.temp-link-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--lrl-border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--lrl-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.temp-link-grid a:hover {
  color: var(--lrl-ink);
  border-color: rgba(37, 99, 235, 0.28);
}

.temp-footer-locked {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: rgba(100, 116, 139, 0.62);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
  cursor: not-allowed;
}

.temp-footer-locked em {
  color: rgba(100, 116, 139, 0.52);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.temp-note {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--lrl-border);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--lrl-muted);
}

/* Temporary Footer */

.temp-footer {
  padding: 0 24px 32px;
}

.temp-footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 34px 0 28px;
  border-top: 1px solid var(--lrl-border);
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
}

.temp-footer-brand {
  max-width: 440px;
}

.temp-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--lrl-ink);
}

.temp-footer-icon {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
}

.temp-footer-brand p {
  margin: 14px 0 0;
  color: var(--lrl-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.temp-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 28px;
}

.temp-footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.temp-footer-column p {
  margin: 0 0 4px;
  color: var(--lrl-ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.temp-footer-column a {
  color: var(--lrl-muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.temp-footer-column a:hover {
  color: var(--lrl-blue);
}

.temp-footer-bottom {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.temp-footer-bottom p {
  margin: 0;
  color: var(--lrl-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Tablet */

@media (max-width: 900px) {
  .temp-card {
    width: min(760px, 100%);
  }

  .temp-title {
    max-width: 680px;
    font-size: clamp(3rem, 9vw, 5rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
  }

  .temp-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .temp-footer-nav {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
  }
}

/* Mobile */

@media (max-width: 640px) {
  .temp-nav {
    width: min(100%, calc(100% - 32px));
    align-items: flex-start;
    flex-direction: column;
  }

.temp-brand-icon {
  width: 36px;
  height: 36px;
}

.temp-footer-icon {
  width: 46px;
  height: 46px;
}

  .temp-nav-links {
    gap: 6px;
  }

.temp-nav-links a,
.temp-nav-locked {
  padding: 0 10px;
  font-size: 0.82rem;
}

  .temp-home {
    padding: 28px 16px;
  }

  .temp-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .temp-eyebrow {
    margin-bottom: 18px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .temp-title {
    max-width: 100%;
    font-size: clamp(2.8rem, 13vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
    padding-bottom: 0.12em;
  }

  .temp-title span {
    padding-right: 0.1em;
    padding-bottom: 0.05em;
  }

  .temp-copy {
    margin-top: 18px;
    font-size: 1rem;
  }

  .temp-actions {
    flex-direction: column;
  }

  .temp-btn {
    width: 100%;
  }

  .temp-link-grid {
    flex-direction: column;
  }

  .temp-link-grid a {
    width: 100%;
    justify-content: center;
  }

  .temp-footer {
    padding: 0 16px 28px;
  }

  .temp-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .temp-footer-nav {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ==========================================================
   FIELD GUIDES PAGE
   ========================================================== */

.fg-page {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #ffffff;
  color: #111827;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fg-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(84px, 9vw, 132px) 24px clamp(58px, 7vw, 96px);
  text-align: center;
}

.fg-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  margin: 0 0 34px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.10), rgba(20, 184, 166, 0.08));
  color: #6d28d9;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 800;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.fg-hero h1 {
  max-width: 1160px;
  margin: 0 auto;
  color: #080b12;
  font-size: clamp(82px, 10vw, 172px);
  line-height: 0.82;
  letter-spacing: -0.08em;
  font-weight: 300;
  text-wrap: balance;
}

.fg-hero h1 span {
  display: block;
  background: linear-gradient(135deg, #2563eb 0%, #5b4df5 46%, #7c3aed 72%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fg-intro {
  max-width: 820px;
  margin: 42px auto 0;
  color: #5f6472;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.78;
}

.fg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 34px;
}

.fg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.fg-btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, #111827 0%, #2457d6 100%);
  box-shadow: 0 14px 30px rgba(36, 87, 214, 0.24);
}

.fg-btn.secondary {
  color: #111827;
  background: #ffffff;
  border: 1px solid #d8dee9;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
}

.fg-stats {
  max-width: 960px;
  margin: 0 auto clamp(64px, 8vw, 104px);
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fg-stats article {
  padding: 28px 22px;
  border-radius: 30px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.07);
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.055);
}

.fg-stats strong {
  display: block;
  color: #111827;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.9;
  letter-spacing: -0.07em;
  font-weight: 300;
}

.fg-stats span {
  display: block;
  margin-top: 12px;
  color: #5f6472;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fg-thesis,
.fg-final {
  max-width: 1040px;
  margin: 0 auto clamp(64px, 8vw, 104px);
  padding: clamp(32px, 5vw, 54px);
  border-radius: 38px;
  text-align: center;
  background:
    radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.10), transparent 32%),
    radial-gradient(circle at 88% 10%, rgba(124, 58, 237, 0.08), transparent 34%),
    #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.07);
  box-shadow: 0 22px 64px rgba(17, 24, 39, 0.07);
}

.fg-kicker {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb, #7c3aed, #14b8a6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fg-thesis h2,
.fg-section-heading h2,
.fg-method h2,
.fg-coming-next h2,
.fg-final h2 {
  max-width: 880px;
  margin: 0 auto;
  color: #111827;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-weight: 400;
  text-wrap: balance;
}

.fg-thesis p:not(.fg-kicker),
.fg-section-heading p:not(.fg-kicker),
.fg-method p,
.fg-coming-next p,
.fg-final p:not(.fg-kicker) {
  max-width: 780px;
  margin: 24px auto 0;
  color: #5f6472;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
}

.fg-library,
.fg-categories {
  max-width: 1180px;
  margin: 0 auto clamp(64px, 8vw, 104px);
  padding: 0 24px;
}

.fg-section-heading {
  max-width: 880px;
  margin: 0 auto 38px;
  text-align: center;
}

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

.fg-guide-card,
.fg-category-grid article,
.fg-method-steps article {
  padding: 26px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.07);
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.055);
}

.fg-guide-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.fg-guide-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 32px;
}

.fg-guide-topline span,
.fg-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.fg-guide-topline .available {
  color: #047857;
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.fg-guide-type {
  margin: 0 0 12px;
  color: #2457d6;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fg-guide-card h3,
.fg-category-grid h3,
.fg-method-steps h3 {
  margin: 0;
  color: #111827;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.fg-guide-card p:not(.fg-guide-type),
.fg-category-grid p,
.fg-method-steps p {
  margin: 16px 0 0;
  color: #5f6472;
  font-size: 16px;
  line-height: 1.65;
}

.fg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
}

.fg-guide-card a {
  width: fit-content;
  margin-top: 22px;
  color: #2457d6;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}

.fg-guide-card a:hover {
  color: #111827;
}

.fg-method,
.fg-coming-next {
  max-width: 1180px;
  margin: 0 auto clamp(64px, 8vw, 104px);
  padding: clamp(28px, 5vw, 52px);
  border-radius: 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 42px;
  align-items: center;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(36, 87, 214, 0.25), rgba(124, 58, 237, 0.18), rgba(20, 184, 166, 0.18)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.075);
}

.fg-method h2,
.fg-coming-next h2 {
  margin-left: 0;
  margin-right: 0;
}

.fg-method p,
.fg-coming-next p {
  margin-left: 0;
  margin-right: 0;
}

.fg-method-steps {
  display: grid;
  gap: 14px;
}

.fg-method-steps span,
.fg-category-grid span,
.fg-level-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: #2457d6;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fg-category-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.fg-category-grid article {
  min-height: 240px;
}

.fg-category-grid h3 {
  font-size: 20px;
  line-height: 1.08;
}

.fg-category-grid p {
  font-size: 15px;
}

.fg-coming-next {
  background:
    radial-gradient(circle at 10% 12%, rgba(37, 99, 235, 0.18), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(20, 184, 166, 0.14), transparent 34%),
    #111827;
}

.fg-coming-next h2,
.fg-coming-next p,
.fg-coming-next .fg-kicker {
  color: #ffffff;
}

.fg-coming-next p {
  color: rgba(255, 255, 255, 0.76);
}

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

.fg-level-grid article {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.fg-level-grid span {
  color: #93c5fd;
}

.fg-level-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.58;
}

.fg-final {
  margin-bottom: 0;
}

.fg-actions.centered {
  justify-content: center;
}

@media (max-width: 920px) {
  .fg-hero h1 {
    font-size: clamp(70px, 15vw, 124px);
  }

  .fg-stats,
  .fg-guide-grid,
  .fg-method,
  .fg-coming-next,
  .fg-category-grid {
    grid-template-columns: 1fr;
  }

  .fg-category-grid article {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .fg-hero {
    padding: 52px 18px 72px;
  }

  .fg-eyebrow {
    min-height: 46px;
    padding: 0 22px;
    letter-spacing: 0.24em;
  }

  .fg-hero h1 {
    font-size: clamp(54px, 17vw, 84px);
    line-height: 0.86;
    letter-spacing: -0.075em;
  }

  .fg-intro {
    font-size: 18px;
  }

  .fg-actions {
    align-items: stretch;
  }

  .fg-actions a {
    width: 100%;
  }

  .fg-library,
  .fg-categories,
  .fg-stats {
    padding-left: 18px;
    padding-right: 18px;
  }

  .fg-thesis,
  .fg-method,
  .fg-coming-next,
  .fg-final {
    margin-left: 18px;
    margin-right: 18px;
    border-radius: 30px;
  }

  .fg-level-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Learning Rewired Lab
   Shared Dropdown Header
   ========================================================= */

.lrl-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lrl-nav {
  width: min(1180px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.lrl-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  color: #07111f;
  text-decoration: none;
}

.lrl-brand-icon {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.lrl-brand-text {
  display: grid;
  gap: 0;
  color: #07111f;
  font-size: 1rem;
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.lrl-nav-groups {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1;
}

.lrl-nav-item {
  position: relative;
}

.lrl-nav-trigger,
.lrl-nav-connect {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5f6b7e;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.lrl-nav-trigger:hover,
.lrl-nav-trigger:focus-visible,
.lrl-nav-connect:hover,
.lrl-nav-connect:focus-visible {
  color: #111827;
  background: rgba(15, 23, 42, 0.055);
  outline: none;
}

.lrl-nav-connect {
  color: #ffffff;
  background: linear-gradient(135deg, #111827 0%, #2457d6 100%);
  box-shadow: 0 14px 30px rgba(36, 87, 214, 0.20);
}

.lrl-nav-connect:hover,
.lrl-nav-connect:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #111827 0%, #3159f5 100%);
}

.lrl-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 320px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.16);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

.lrl-nav-item:hover .lrl-dropdown,
.lrl-nav-item:focus-within .lrl-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.lrl-dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 12px;
}

.lrl-dropdown a {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 16px;
  color: #111827;
  text-decoration: none;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.lrl-dropdown a:hover,
.lrl-dropdown a:focus-visible {
  background:
    radial-gradient(circle at 12% 10%, rgba(49, 89, 245, 0.09), transparent 42%),
    rgba(248, 250, 252, 0.96);
  outline: none;
  transform: translateY(-1px);
}

.lrl-dropdown strong {
  color: #111827;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.lrl-dropdown span {
  color: #667085;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .lrl-nav {
    width: min(1180px, calc(100% - 36px));
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .lrl-nav-groups {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .lrl-dropdown {
    left: 0;
    transform: translateY(8px);
  }

  .lrl-nav-item:hover .lrl-dropdown,
  .lrl-nav-item:focus-within .lrl-dropdown {
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .lrl-nav {
    width: min(1180px, calc(100% - 28px));
  }

  .lrl-brand-text {
    font-size: 0.96rem;
  }

  .lrl-nav-trigger,
  .lrl-nav-connect {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .lrl-dropdown {
    width: min(320px, calc(100vw - 32px));
  }
}
