:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f8fbff;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --line: #dfe7f1;
  --line-soft: #edf2f8;
  --text: #0f1722;
  --muted: #697588;
  --nav-text: #425065;
  --accent: #2f6df6;
  --accent-soft: rgba(47, 109, 246, 0.12);
  --button-1: #7b89e3;
  --button-2: #8a95ea;
  --hero-top: #10295d;
  --hero-bottom: #091a3d;
  --hero-overlay: rgba(6, 14, 33, 0.78);
  --hero-line: rgba(255, 255, 255, 0.08);
  --scroll-progress: 0;
  --hero-shift: 0px;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-fast: 220ms;
  --motion-medium: 420ms;
  --motion-slow: 720ms;
  --nav-rail: rgba(255, 255, 255, 0.76);
  --nav-rail-border: rgba(124, 146, 177, 0.22);
  --nav-hover: rgba(47, 109, 246, 0.08);
  --nav-active: rgba(47, 109, 246, 0.12);
  --brand-logo-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBmaWxsPSJub25lIiByb2xlPSJpbWciIGFyaWEtaGlkZGVuPSJ0cnVlIj4NCiAgPGcgc3Ryb2tlPSIjMGIxMjIwIiBzdHJva2Utd2lkdGg9IjE2IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPg0KICAgIDxwYXRoIGQ9Ik0yNTYgNTIgNDA0IDEzOHYyMzZMMjU2IDQ2MCAxMDggMzc0VjEzOEwyNTYgNTJaIi8+DQogICAgPHBhdGggZD0iTTI1NiA1MlYyMTAiLz4NCiAgICA8cGF0aCBkPSJNMjU2IDMwMlY0NjAiLz4NCg0KICAgIDxwYXRoIGQ9Ik0yNTYgMjEwIDE4MiAxMzgiLz4NCiAgICA8cGF0aCBkPSJNMjU2IDIxMCAzMzAgMTM4Ii8+DQogICAgPHBhdGggZD0iTTI1NiAzMDIgMTgyIDM3NCIvPg0KICAgIDxwYXRoIGQ9Ik0yNTYgMzAyIDMzMCAzNzQiLz4NCg0KICAgIDxwYXRoIGQ9Ik0xODIgMTM4IDE0NiAxNzQgMTQ2IDIxNCIvPg0KICAgIDxwYXRoIGQ9Ik0zMzAgMTM4IDM2NiAxNzQgMzY2IDIxNCIvPg0KICAgIDxwYXRoIGQ9Ik0xODIgMzc0IDE0NiAzMzggMTQ2IDI5OCIvPg0KICAgIDxwYXRoIGQ9Ik0zMzAgMzc0IDM2NiAzMzggMzY2IDI5OCIvPg0KDQogICAgPHBhdGggZD0iTTE0NiAyMTQgMTc2IDI0NCAyMTQgMjQ0Ii8+DQogICAgPHBhdGggZD0iTTM2NiAyMTQgMzM2IDI0NCAyOTggMjQ0Ii8+DQogICAgPHBhdGggZD0iTTE0NiAyOTggMTc2IDI2OCAyMTQgMjY4Ii8+DQogICAgPHBhdGggZD0iTTM2NiAyOTggMzM2IDI2OCAyOTggMjY4Ii8+DQoNCiAgICA8cGF0aCBkPSJNMjE0IDI0NCAyMzggMjIwIDI1NiAyMjAgMjc0IDIyMCAyOTggMjQ0Ii8+DQogICAgPHBhdGggZD0iTTIxNCAyNjggMjM4IDI5MiAyNTYgMjkyIDI3NCAyOTIgMjk4IDI2OCIvPg0KDQogICAgPHBhdGggZD0iTTIwOCAxNjggMjM4IDE2OCIvPg0KICAgIDxwYXRoIGQ9Ik0zMDQgMTY4IDI3NCAxNjgiLz4NCiAgICA8cGF0aCBkPSJNMjA4IDM0NCAyMzggMzQ0Ii8+DQogICAgPHBhdGggZD0iTTMwNCAzNDQgMjc0IDM0NCIvPg0KICA8L2c+DQoNCiAgPGcgZmlsbD0iIzBiMTIyMCI+DQogICAgPGNpcmNsZSBjeD0iMjU2IiBjeT0iNTIiIHI9IjEzIi8+DQogICAgPGNpcmNsZSBjeD0iMjU2IiBjeT0iNDYwIiByPSIxMyIvPg0KICAgIDxjaXJjbGUgY3g9IjE4MiIgY3k9IjEzOCIgcj0iMTMiLz4NCiAgICA8Y2lyY2xlIGN4PSIzMzAiIGN5PSIxMzgiIHI9IjEzIi8+DQogICAgPGNpcmNsZSBjeD0iMTgyIiBjeT0iMzc0IiByPSIxMyIvPg0KICAgIDxjaXJjbGUgY3g9IjMzMCIgY3k9IjM3NCIgcj0iMTMiLz4NCiAgICA8Y2lyY2xlIGN4PSIxNDYiIGN5PSIyMTQiIHI9IjExIi8+DQogICAgPGNpcmNsZSBjeD0iMzY2IiBjeT0iMjE0IiByPSIxMSIvPg0KICAgIDxjaXJjbGUgY3g9IjE0NiIgY3k9IjI5OCIgcj0iMTEiLz4NCiAgICA8Y2lyY2xlIGN4PSIzNjYiIGN5PSIyOTgiIHI9IjExIi8+DQogICAgPGNpcmNsZSBjeD0iMjU2IiBjeT0iMjEwIiByPSIxNiIvPg0KICAgIDxjaXJjbGUgY3g9IjI1NiIgY3k9IjMwMiIgcj0iMTYiLz4NCiAgPC9nPg0KPC9zdmc+DQo=");
  --shadow: 0 12px 30px rgba(18, 34, 63, 0.06);
  --container: min(1280px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

/*

body {
  margin: 0;
  min-height: 100vh;
body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
}

body::before {
  top: -7rem;
  left: -8rem;
  width: 28rem;
  .team-role-directory {
    width: min(100%, 1120px);
    display: grid;
    gap: 26px;
  }

  .team-role-tools {
    display: flex;
    justify-content: center;
  }

  .team-role-picker-card {
    width: min(100%, 480px);
    display: grid;
    gap: 10px;
    padding: 18px 20px 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
  }

  .team-role-picker-card span {
    color: #385fd2;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .team-role-picker-card select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background-color: #f8fbff;
    color: var(--text);
    font: inherit;
    font-weight: 700;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--nav-text) 50%), linear-gradient(135deg, var(--nav-text) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 40px;
  }

  .team-role-picker-card select:focus {
    border-color: rgba(47, 109, 246, 0.45);
    box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.08);
  }

  .team-role-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .team-role-card {
    position: relative;
    overflow: hidden;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 12px;
    padding: 24px 18px 22px;
    border: 1px solid #e6ecf3;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(18, 34, 63, 0.05);
    scroll-margin-top: 110px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }

  .team-role-card::before {
    content: '';
    position: absolute;
    inset: auto auto 0 0;
    width: 100%;
    height: 4px;
    background: var(--role-accent, #2f6df6);
  }

  .team-role-card:focus {
    outline: 2px solid rgba(47, 109, 246, 0.35);
    outline-offset: 4px;
  }

  .team-role-card:target {
    border-color: rgba(47, 109, 246, 0.38);
    box-shadow: 0 18px 34px rgba(47, 109, 246, 0.12);
    transform: translateY(-2px);
  }

  .team-role-card:target .team-role-avatar {
    transform: scale(1.03);
  }

  .team-role-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--role-accent, #2f6df6);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 12px 22px rgba(15, 23, 34, 0.12);
    transition: transform 180ms ease;
  }

  .team-role-card h2 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: -0.03em;
    font-weight: 700;
    max-width: 17ch;
  }

  .team-role-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
  }
.section-pad {
  padding: 72px 0;
}

.section-heading {
  display: grid;
    .team-role-directory {
      gap: 22px;
}

    .team-role-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
  margin: 0 auto;
}
    .team-role-card {
      padding: 22px 16px 20px;
  margin: 0;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
    .team-role-avatar {
      width: 76px;
      height: 76px;
  font-weight: 800;
  max-width: 18ch;
}
  @media (max-width: 1080px) {
    .team-role-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 72ch;
  }

  @media (max-width: 520px) {
    .team-role-grid {
      grid-template-columns: 1fr;
    }
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(47, 109, 246, 0.14);
  background: rgba(47, 109, 246, 0.06);
  color: #385fd2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

*/

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
}

body::before {
  top: -7rem;
  left: -8rem;
  width: 28rem;
  height: 28rem;
  background: rgba(47, 109, 246, 0.06);
}

body::after {
  right: -8rem;
  bottom: 8rem;
  width: 34rem;
  height: 34rem;
  background: rgba(47, 109, 246, 0.04);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

button,
a,
summary {
  outline: none;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(47, 109, 246, 0.9);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-pad {
  padding: 72px 0;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.confirm-mark {
  width: 84px;
}

.staff-page,
.staff-department-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(47, 109, 246, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%);
}

.staff-page .section-pad,
.staff-department-page .section-pad {
  padding-top: 40px;
}

.staff-shell {
  width: min(100%, 1120px);
  display: grid;
  gap: 22px;
}

.staff-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(47, 109, 246, 0.08), rgba(255, 255, 255, 0.98) 52%);
  box-shadow: var(--shadow);
}

.staff-hero::after {
  content: '';
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: rgba(47, 109, 246, 0.08);
  filter: blur(16px);
}

.staff-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.staff-hero-copy {
  display: grid;
  gap: 16px;
}

.staff-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  max-width: 14ch;
}

.staff-hero .section-subtitle {
  text-align: left;
  max-width: 68ch;
}

.staff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.staff-hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(248, 251, 255, 0.92);
}

.staff-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.staff-stat {
  display: grid;
  gap: 6px;
  padding: 16px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #fff;
}

.staff-stat strong {
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.staff-stat span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.staff-selector {
  display: grid;
  gap: 10px;
}

.staff-selector span {
  color: #385fd2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.staff-selector select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--nav-text) 50%), linear-gradient(135deg, var(--nav-text) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.staff-selector select:focus {
  border-color: rgba(47, 109, 246, 0.45);
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.08);
}

.staff-department-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.staff-department-card,
.staff-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 34, 63, 0.05);
}

.staff-department-card::before,
.staff-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--staff-accent, var(--accent));
}

.staff-department-card {
  display: grid;
  gap: 14px;
}

.staff-department-card h2,
.staff-panel h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.staff-department-card p,
.staff-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.staff-department-card ul,
.staff-panel ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text);
  line-height: 1.75;
}

.staff-role-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.staff-role-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 13px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: #f8fbff;
  color: var(--text);
  min-width: 160px;
}

.staff-role-chip strong {
  font-size: 0.92rem;
  line-height: 1.2;
}

.staff-role-chip span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.staff-process {
  display: grid;
  gap: 12px;
}

.staff-step {
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #f8fbff;
}

.staff-step strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.staff-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.staff-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.staff-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 18px;
}

@media (max-width: 1080px) {
  .staff-hero-grid,
  .staff-split {
    grid-template-columns: 1fr;
  }

  .staff-department-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .staff-page .section-pad,
  .staff-department-page .section-pad {
    padding-top: 28px;
  }

  .staff-shell {
    gap: 18px;
  }

  .staff-hero h1 {
    max-width: none;
  }

  .staff-stat-grid {
    grid-template-columns: 1fr;
  }

  .staff-role-chip {
    min-width: 0;
    width: 100%;
  }
}

.section-heading.centered {
  max-width: 1040px;
  margin: 0 auto;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-align: center;
  font-weight: 800;
  max-width: 18ch;
}

.section-subtitle {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

.section-subtitle a {
  color: var(--accent);
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(47, 109, 246, 0.14);
  background: rgba(47, 109, 246, 0.06);
  color: #385fd2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 252, 255, 0.88) 100%);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(214, 224, 238, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
  transition:
    background-color var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, rgba(47, 109, 246, 0), rgba(47, 109, 246, 0.8), rgba(12, 34, 74, 0.72));
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  opacity: 0.72;
  pointer-events: none;
  transition: transform 120ms linear;
}

.site-header.is-hidden {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(201, 214, 232, 0.95);
  box-shadow: 0 14px 40px rgba(18, 34, 63, 0.08);
}

.nav-shell {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  justify-self: start;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--accent);
  background: currentColor;
  -webkit-mask: var(--brand-logo-mask) no-repeat center / contain;
  mask: var(--brand-logo-mask) no-repeat center / contain;
}

.brand-mark-nav {
  width: 28px;
  height: 28px;
}

.brand-mark-footer {
  width: 30px;
  height: 30px;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
  justify-self: center;
}

.site-nav a {
  position: relative;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--nav-text);
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease),
    box-shadow var(--motion-fast) ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0.45;
  transition: transform var(--motion-medium) var(--motion-ease);
}

.site-nav a:hover {
  color: var(--accent);
  background: rgba(47, 109, 246, 0.05);
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"],
.site-nav summary[aria-current="page"] {
  color: var(--nav-text);
  background: transparent;
}

.site-nav .nav-dropdown {
  position: relative;
}

.site-nav .nav-dropdown > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--nav-text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.site-nav .nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.site-nav .nav-dropdown > summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.7;
  transition: transform 0.18s ease;
}

.site-nav .nav-dropdown > summary:hover,
.site-nav .nav-dropdown > summary:focus-visible,
.site-nav .nav-dropdown[open] > summary {
  color: var(--accent);
  background: rgba(47, 109, 246, 0.05);
}

.site-nav .nav-dropdown[open] > summary::after {
  transform: rotate(-135deg) translateY(1px);
}

.site-nav .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 10;
}

.site-nav .nav-dropdown[open] .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.site-nav .nav-dropdown-menu a {
  width: 100%;
  background: rgba(47, 109, 246, 0.04);
}

.header-action {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--nav-text);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  justify-self: end;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.header-action:hover {
  color: var(--accent);
  border-color: rgba(47, 109, 246, 0.2);
  background: #fff;
}

.header-action svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.language-selector {
  position: relative;
  z-index: 75;
  justify-self: end;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(174, 190, 218, 0.24);
  border-radius: 12px;
  color: #f7fbff;
  background:
    linear-gradient(180deg, rgba(19, 34, 58, 0.98), rgba(8, 18, 34, 0.98));
  box-shadow:
    0 14px 32px rgba(8, 18, 34, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}

.language-trigger:hover,
.language-trigger:focus-visible,
.language-selector.is-open .language-trigger {
  border-color: rgba(113, 164, 255, 0.5);
  box-shadow:
    0 16px 36px rgba(8, 18, 34, 0.2),
    0 0 0 4px rgba(47, 109, 246, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.language-region {
  color: rgba(247, 251, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.language-code {
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 28px));
  max-height: min(420px, calc(100vh - 110px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 10px;
  overflow-y: auto;
  border: 1px solid rgba(206, 218, 236, 0.95);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 255, 0.98));
  box-shadow: 0 26px 70px rgba(18, 34, 63, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity var(--motion-fast) ease,
    transform var(--motion-medium) var(--motion-ease),
    visibility var(--motion-fast) ease;
}

.language-selector.is-open .language-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.language-menu::-webkit-scrollbar {
  width: 8px;
}

.language-menu::-webkit-scrollbar-thumb {
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background: rgba(47, 109, 246, 0.28);
}

.language-option {
  display: grid;
  gap: 2px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--nav-text);
  background: rgba(47, 109, 246, 0.045);
  text-align: left;
  cursor: pointer;
  transition:
    background var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    color var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}

.language-option:hover,
.language-option:focus-visible,
.language-option[aria-selected="true"] {
  border-color: rgba(47, 109, 246, 0.18);
  background: rgba(47, 109, 246, 0.1);
  color: #173a85;
  transform: translateY(-1px);
}

.language-option-code {
  color: rgba(42, 58, 82, 0.66);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.language-option-name {
  font-size: 0.86rem;
  font-weight: 800;
}

.google-translate-host,
body > .skiptranslate,
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body {
  top: 0 !important;
}

@media (min-width: 921px) {
  .nav-shell {
    position: relative;
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 68px;
  }

  .brand,
  .header-action,
  .logo-upload-input,
  .nav-toggle {
    display: none !important;
  }

  .site-nav {
    justify-self: center;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--nav-rail-border);
    border-radius: 999px;
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.95), transparent 54%),
      var(--nav-rail);
    box-shadow:
      0 18px 42px rgba(18, 34, 63, 0.08),
      0 1px 0 rgba(255, 255, 255, 0.84) inset;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: transparent;
    color: #445169;
    font-size: 0.97rem;
    font-weight: 700;
    letter-spacing: 0;
  }

  .site-nav a::after {
    display: block;
    left: 18px;
    right: 18px;
    bottom: 8px;
    height: 2px;
    background: linear-gradient(90deg, rgba(47, 109, 246, 0.2), rgba(47, 109, 246, 0.95));
    opacity: 0;
    transform: scaleX(0.2);
    transform-origin: center;
    transition:
      opacity var(--motion-fast) ease,
      transform var(--motion-medium) var(--motion-ease);
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    color: #173a85;
    background: var(--nav-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(47, 109, 246, 0.08);
  }

  .site-nav a[aria-current="page"] {
    background: var(--nav-active);
  }

  .site-nav a:hover::after,
  .site-nav a[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .language-selector {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
}

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}

.nav-toggle:hover {
  border-color: rgba(47, 109, 246, 0.26);
  box-shadow: 0 12px 24px rgba(18, 34, 63, 0.1);
  transform: translateY(-1px);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--nav-text);
  transition:
    transform var(--motion-fast) var(--motion-ease),
    opacity var(--motion-fast) ease,
    background-color var(--motion-fast) ease;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100svh - 64px);
  min-height: calc(100dvh - 64px);
  background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bottom) 100%);
  color: #fff;
  border-bottom: 1px solid rgba(13, 23, 38, 0.06);
}

.hero::before {
  content: "";
  position: absolute;
  left: -12%;
  bottom: -22%;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 137, 227, 0.26), rgba(47, 109, 246, 0) 68%);
  filter: blur(12px);
  opacity: 0.82;
  animation: hero-glow-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  filter: blur(5px) saturate(0.92);
  transform: translate3d(0, calc(var(--hero-shift) * -0.58), 0) scale(1.08);
  opacity: 0.9;
  transition: transform 140ms linear, opacity var(--motion-fast) ease;
  will-change: transform;
}

.hero-overlay {
  background:
    radial-gradient(circle at top center, rgba(125, 137, 227, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(4, 10, 25, 0.72) 0%, rgba(4, 10, 25, 0.84) 100%);
}

.dashboard-panel {
  position: absolute;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 24, 54, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 140ms linear, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
  will-change: transform;
}

.dashboard-panel-left {
  left: 2%;
  top: 10%;
  width: 30%;
  height: 68%;
  transform: translate3d(0, calc(var(--hero-shift) * 0.18), 0);
}

.dashboard-panel-center {
  left: 35%;
  top: 7%;
  width: 30%;
  height: 72%;
  transform: translate3d(0, calc(var(--hero-shift) * -0.12), 0);
}

.dashboard-panel-right {
  right: 2%;
  top: 12%;
  width: 30%;
  height: 62%;
  transform: translate3d(0, calc(var(--hero-shift) * 0.24), 0);
}

.dashboard-window {
  width: 100%;
  height: 100%;
  padding: 14px;
  display: grid;
  gap: 14px;
  animation: dashboard-float 14s var(--motion-ease) infinite alternate;
}

.dashboard-panel-center .dashboard-window {
  animation-duration: 16s;
  animation-delay: -4s;
}

.dashboard-panel-right .dashboard-window {
  animation-duration: 13s;
  animation-delay: -7s;
}

.dashboard-topbar {
  display: flex;
  gap: 6px;
}

.dashboard-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.dashboard-body {
  display: grid;
  gap: 12px;
  align-content: start;
}

.dashboard-line {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.w-72 { width: 72%; }
.w-66 { width: 66%; }
.w-64 { width: 64%; }
.w-52 { width: 52%; }
.w-46 { width: 46%; }
.w-76 { width: 76%; }

.dashboard-list,
.dashboard-cards,
.dashboard-stats {
  display: grid;
  gap: 10px;
}

.dashboard-list span,
.dashboard-cards span {
  display: block;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
}

.dashboard-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  height: 90px;
}

.dashboard-bars span {
  display: block;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, rgba(125, 137, 227, 0.95), rgba(47, 109, 246, 0.45));
  transform-origin: center bottom;
  animation: dashboard-bar-breathe 3.4s ease-in-out infinite;
}

.dashboard-bars span:nth-child(1) { height: 34%; }
.dashboard-bars span:nth-child(2) { height: 56%; }
.dashboard-bars span:nth-child(3) { height: 74%; }
.dashboard-bars span:nth-child(4) { height: 44%; }
.dashboard-bars span:nth-child(5) { height: 62%; }

.dashboard-radar,
.dashboard-ring {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  justify-self: center;
  border: 10px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(125, 137, 227, 0.94);
  border-right-color: rgba(47, 109, 246, 0.7);
  animation: dashboard-spin 11s linear infinite;
}

.dashboard-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-stats div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-stats span {
  width: 42px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-stats strong {
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 64px);
  min-height: calc(100dvh - 64px);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 0;
  transform: translate3d(0, calc(var(--hero-shift) * -0.16), 0);
  transition: transform 140ms linear;
}

.hero-content.reveal {
  opacity: 1;
  filter: none;
  transform: translate3d(0, calc(var(--hero-shift) * -0.16), 0);
}

.hero-content.reveal.is-visible {
  transform: translate3d(0, calc(var(--hero-shift) * -0.16), 0);
}

.hero-content > * {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  animation: hero-enter 0.82s var(--motion-ease) both;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(6.25rem, 10vw, 8rem);
  height: clamp(6.25rem, 10vw, 8rem);
  margin-bottom: 24px;
  color: #fff;
  background: currentColor;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.24));
  -webkit-mask: var(--brand-logo-mask) no-repeat center / contain;
  mask: var(--brand-logo-mask) no-repeat center / contain;
  animation:
    hero-enter 0.82s var(--motion-ease) 0.08s both,
    hero-logo-float 5.8s ease-in-out 1.2s infinite;
}

.hero-title {
  margin: 0;
  width: min(100%, 1120px);
  max-width: 1120px;
  font-size: clamp(2.6rem, 4.9vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  font-weight: 800;
  text-wrap: balance;
  animation-delay: 0.18s;
}

.hero-title-text {
  display: inline;
}

.hero-title-caret {
  display: inline-block;
  width: 0.08em;
  min-width: 2px;
  height: 0.92em;
  margin-left: 0.12em;
  vertical-align: -0.08em;
  background: currentColor;
  border-radius: 999px;
  animation: hero-caret-blink 1s steps(1, end) infinite;
}

@keyframes hero-caret-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-caret {
    animation: none;
  }
}

.hero-content p {
  margin: 18px 0 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-content p:first-of-type {
  animation-delay: 0.3s;
}

.hero-supporting-line {
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
  animation-delay: 0.4s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  animation-delay: 0.5s;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: 0 14px 28px rgba(15, 23, 34, 0.14);
  transition: transform var(--motion-fast) var(--motion-ease), filter var(--motion-fast) ease, background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) var(--motion-ease);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.24) 50%, transparent 82%);
  transform: translateX(-140%);
  transition: transform 0.7s var(--motion-ease);
  pointer-events: none;
}

.button:hover {
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.03);
  box-shadow: 0 20px 38px rgba(15, 23, 34, 0.18);
}

.button:hover::after {
  transform: translateX(140%);
}

.button-primary {
  background: var(--button-1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.button-secondary {
  background: var(--button-2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

:is(
  .faq-item,
  .news-drop,
  .promo-card,
  .join-team-card,
  .account-summary-card,
  .account-card,
  .legal-page .legal-card,
  .team-role-card,
  .staff-department-card
) {
  transform-origin: center top;
  transition: transform var(--motion-medium) var(--motion-ease), box-shadow var(--motion-medium) var(--motion-ease), border-color var(--motion-fast) ease;
}

:is(
  .faq-item,
  .news-drop,
  .promo-card,
  .join-team-card,
  .account-summary-card,
  .account-card,
  .legal-page .legal-card,
  .team-role-card,
  .staff-department-card
):hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(18, 34, 63, 0.1);
  border-color: rgba(47, 109, 246, 0.18);
}

.stats {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  padding: 28px 0 34px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}

.stat-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.stat-copy {
  display: grid;
  gap: 2px;
}

.stat-copy strong {
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.stat-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-item-reports {
  color: #ff4f74;
}

.stat-item-servers {
  color: #f0b63f;
}

.stat-item-users {
  color: #18c392;
}

.stat-item-sanctions {
  color: #2f6df6;
}

.narrow-copy {
  max-width: 1120px;
  margin: 0 auto;
}

.text-block {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.text-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
  font-size: 1.01rem;
}

.about-page .text-block {
  justify-items: center;
  text-align: center;
}

.about-page .narrow-copy {
  max-width: 1120px;
}

.about-page .section-heading h1 {
  max-width: 18ch;
}

.about-page .section-subtitle {
  max-width: 72ch;
}

.about-page .text-block p {
  max-width: 980px;
}

.legal-page .narrow-copy {
  max-width: 1080px;
}

.legal-page .section-heading h1 {
  max-width: 16ch;
}

.legal-page .section-subtitle {
  max-width: 78ch;
}

.legal-page .legal-note {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(47, 109, 246, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(47, 109, 246, 0.06), rgba(47, 109, 246, 0.025));
  color: var(--muted);
  line-height: 1.8;
}

.legal-page .legal-note strong {
  color: var(--text);
}

.report-page .legal-note {
  border-color: rgba(185, 28, 28, 0.2);
  background: linear-gradient(180deg, rgba(185, 28, 28, 0.08), rgba(185, 28, 28, 0.03));
  color: #b91c1c;
}

.report-page .legal-note strong {
  color: #8f1313;
}

.legal-page .legal-sections {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.legal-page .legal-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-page .legal-card h2 {
  margin: 0 0 14px;
  font-size: 1.38rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.legal-page .legal-card h3 {
  margin: 22px 0 10px;
  font-size: 1.04rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.legal-page .legal-card p,
.legal-page .legal-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.legal-page .legal-card p + p,
.legal-page .legal-card ul + p,
.legal-page .legal-card ol + p,
.legal-page .legal-card h3 + p,
.legal-page .legal-card h2 + p {
  margin-top: 14px;
}

.legal-page .legal-list {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.legal-page .legal-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.legal-page .legal-pill {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
}

.legal-page .legal-pill strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.legal-page .legal-callout {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 760px) {
  .legal-page .legal-card {
    padding: 22px;
  }

  .legal-page .legal-grid {
    grid-template-columns: 1fr;
  }
}

.faq-section {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
}

.faq-list {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  font-size: 1rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "⌄";
  color: var(--nav-text);
  display: inline-block;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  transform: translateY(1px) rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
  line-height: 1.74;
}

.faq-item[open] > p,
.faq-item[open] .news-drop-body {
  animation: details-rise 0.42s var(--motion-ease) both;
}

.news-drop {
  max-width: 860px;
  margin: 0 auto;
}

.news-drop summary {
  padding: 14px 16px;
  gap: 12px;
  justify-content: flex-start;
}

.news-drop-summary-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.news-drop-summary-title {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
}

.news-drop-summary-date {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-drop-body {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
}

.news-drop-body .news-meta {
  font-size: 0.84rem;
}

.news-drop-body .news-date strong {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-size: 1.2rem;
}

.news-drop-body .news-date span {
  font-size: 0.76rem;
}

.news-drop-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.news-drop-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.news-drop-list li {
  color: var(--muted);
  line-height: 1.65;
}

.news-drop-list strong {
  color: var(--text);
}

.news-drop-footer {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(47, 109, 246, 0.12);
  background: rgba(47, 109, 246, 0.05);
}

.promo-grid {
  display: grid;
  gap: 16px;
}

.promo-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 18px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(47, 109, 246, 0.08), transparent 32%);
  pointer-events: none;
}

.promo-card-partners {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.promo-card-dual {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.promo-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  align-content: center;
}

.promo-label {
  margin: 0;
  color: #385fd2;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.promo-card h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.promo-card p {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  line-height: 1.72;
}

.promo-button {
  width: fit-content;
}

.promo-graphic {
  position: relative;
  z-index: 1;
  min-height: 180px;
  border-radius: 16px;
  border: 1px solid rgba(47, 109, 246, 0.1);
  background: linear-gradient(180deg, rgba(47, 109, 246, 0.06), rgba(47, 109, 246, 0.02));
  overflow: hidden;
}

.promo-graphic::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 16px;
  border: 1px solid rgba(47, 109, 246, 0.14);
}

.promo-graphic::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(47, 109, 246, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 109, 246, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.8;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 92%);
}

.promo-graphic-alt {
  background: linear-gradient(180deg, rgba(47, 109, 246, 0.04), rgba(47, 109, 246, 0.015));
}

.join-team-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f6f7fb;
}

.join-team-showcase {
  flex: 1;
  padding: 30px 16px 28px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.join-team-content {
  width: min(100%, 1120px);
  display: grid;
  gap: 18px;
}

.join-team-heading {
  text-align: center;
}

.join-team-heading h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.9rem, 2.6vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.join-team-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.join-team-card {
  position: relative;
  overflow: hidden;
  min-height: 164px;
  padding: 16px 18px 16px 18px;
  border-radius: 4px;
  border: 1px solid rgba(228, 232, 242, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.join-team-card-partners {
  background: linear-gradient(180deg, #9c58bb 0%, #9c58bb 100%);
  color: #fff;
}

.join-team-card-dual {
  background: linear-gradient(180deg, #f4eadf 0%, #f4eadf 100%);
  color: #081a30;
}

.join-team-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-content: center;
  max-width: 360px;
}

.join-team-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.95;
}

.join-team-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.45rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.join-team-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 500;
}

.join-team-art {
  position: relative;
  flex: 0 0 210px;
  min-height: 132px;
}

.join-team-mark {
  position: absolute;
  inset: 0 -6px 0 auto;
  width: 230px;
  height: 140px;
  object-fit: contain;
  opacity: 0.82;
  pointer-events: none;
}

.join-team-card-dual .join-team-mark {
  opacity: 0.9;
}

.join-team-card-partners .join-team-mark {
  opacity: 0.8;
}

.join-team-card-partners .join-team-link,
.join-team-card-partners .join-team-label,
.join-team-card-partners h2 {
  color: #fff;
}

.join-team-card-dual .join-team-link,
.join-team-card-dual .join-team-label,
.join-team-card-dual h2 {
  color: #081a30;
}

@media (max-width: 920px) {
  .join-team-grid {
    grid-template-columns: 1fr;
  }

  .join-team-card {
    min-height: 160px;
  }

  .join-team-art {
    flex-basis: 200px;
  }
}

@media (max-width: 640px) {
  .join-team-showcase {
    padding: 12px;
  }

  .join-team-content {
    gap: 14px;
  }

  .join-team-heading h1 {
    font-size: clamp(1.7rem, 6vw, 2.3rem);
  }

  .join-team-card {
    padding: 18px 16px;
    min-height: 170px;
  }

  .join-team-art {
    flex-basis: 180px;
    min-height: 132px;
  }

  .join-team-mark {
    width: 220px;
    height: 138px;
  }
}

.our-team-page {
  min-height: 100vh;
  background: #fff;
}

.our-team-page .section-pad {
  padding-top: 42px;
}

.team-intro {
  display: grid;
  justify-items: center;
  gap: 0;
  text-align: center;
}

.team-intro h1 {
  margin: 0;
  font-size: clamp(1.75rem, 2.2vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.team-role-directory {
  width: min(100%, 1120px);
  display: grid;
  gap: 26px;
}

.team-role-tools {
  display: flex;
  justify-content: center;
}

.team-role-picker-card {
  width: min(100%, 480px);
  display: grid;
  gap: 10px;
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.team-role-picker-card span {
  color: #385fd2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-role-picker-card select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background-color: #f8fbff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--nav-text) 50%), linear-gradient(135deg, var(--nav-text) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.team-role-picker-card select:focus {
  border-color: rgba(47, 109, 246, 0.45);
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.08);
}

.team-role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.team-role-card {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px 18px 22px;
  border: 1px solid #e6ecf3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 34, 63, 0.05);
  scroll-margin-top: 110px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.team-role-card::before {
  content: '';
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 4px;
  background: var(--role-accent, #2f6df6);
}

.team-role-card:focus {
  outline: 2px solid rgba(47, 109, 246, 0.35);
  outline-offset: 4px;
}

.team-role-card:target {
  border-color: rgba(47, 109, 246, 0.38);
  box-shadow: 0 18px 34px rgba(47, 109, 246, 0.12);
  transform: translateY(-2px);
}

.team-role-card:target .team-role-avatar {
  transform: scale(1.03);
}

.team-role-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--role-accent, #2f6df6);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 22px rgba(15, 23, 34, 0.12);
  transition: transform 180ms ease;
}

.team-role-card h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 17ch;
}

.team-role-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .our-team-page .section-pad {
    padding-top: 28px;
  }

  .team-role-directory {
    gap: 22px;
  }

  .team-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .team-role-card {
    padding: 22px 16px 20px;
  }

  .team-role-avatar {
    width: 76px;
    height: 76px;
  }
}

@media (max-width: 1080px) {
  .team-role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .team-role-grid {
    grid-template-columns: 1fr;
  }

  .team-intro h1 {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }
}

.application-page .narrow-copy {
  max-width: 980px;
}

.application-switcher {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.application-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--nav-text);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.application-switch:hover {
  transform: translateY(-1px);
}

.application-switch.is-active {
  border-color: rgba(47, 109, 246, 0.18);
  background: rgba(47, 109, 246, 0.08);
  color: var(--accent);
}

.application-form {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.application-card {
  display: grid;
  gap: 16px;
}

.application-card h2 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.application-stack {
  display: grid;
  gap: 14px;
}

.application-field {
  display: grid;
  gap: 8px;
}

.application-field-full {
  grid-column: 1 / -1;
}

.application-field span {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
}

.application-field input,
.application-field textarea,
.application-field select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  line-height: 1.5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.application-field textarea {
  min-height: 118px;
  resize: vertical;
}

.application-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--nav-text) 50%), linear-gradient(135deg, var(--nav-text) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.application-field input::placeholder,
.application-field textarea::placeholder {
  color: #90a0b4;
}

.application-field input:focus,
.application-field textarea:focus {
  border-color: rgba(47, 109, 246, 0.45);
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.08);
}

.application-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.contact-page .section-heading h1 {
  max-width: 18ch;
}

.contact-page .section-subtitle {
  max-width: 68ch;
}

.contact-page .contact-direct {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.contact-page .contact-direct-card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform var(--motion-fast) var(--motion-ease), border-color var(--motion-fast) ease, box-shadow var(--motion-fast) var(--motion-ease);
}

.contact-page .contact-direct-card span {
  color: #385fd2;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-page .contact-direct-card strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.contact-page .contact-direct-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 109, 246, 0.2);
  box-shadow: 0 18px 34px rgba(18, 34, 63, 0.08);
}

.contact-page .contact-direct-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
  text-align: center;
}

.contact-page .contact-direct-note strong {
  color: var(--text);
}

.contact-page .contact-form-card {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.contact-page .contact-form-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-page .contact-form .application-actions {
  justify-content: flex-start;
}

.contact-page .contact-form .auth-status {
  margin-top: 10px;
}

.application-page .application-form .auth-status {
  margin-top: 10px;
}

.report-page .section-heading h1 {
  max-width: 18ch;
}

.report-page .section-subtitle {
  max-width: 68ch;
}

.report-page .report-form-card {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.report-page .report-form-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.report-page .report-form .application-actions {
  justify-content: flex-start;
}

.report-page .report-form .auth-status {
  margin-top: 10px;
}

.report-page .application-field input[type="file"] {
  padding-top: 12px;
  padding-bottom: 12px;
  cursor: pointer;
}

.report-page .application-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--button-1);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-page {
  background:
    radial-gradient(circle at top left, rgba(47, 109, 246, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(125, 137, 227, 0.14), transparent 30%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 42%, #f5f7fc 100%);
}

.auth-page .site-footer {
  background: transparent;
}

.auth-main {
  padding: 40px 0 76px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: min(100%, 640px);
  margin: 0 auto;
  align-items: stretch;
}

.auth-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.auth-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.7vw, 2.3rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.auth-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.auth-form {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.auth-links a {
  color: var(--accent);
  font-weight: 700;
}

.auth-submit {
  width: 100%;
  min-height: 46px;
}

.auth-status {
  margin-top: 18px;
  min-height: 1.5em;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

.auth-status:empty {
  display: none;
}

.auth-status[data-tone="success"] {
  color: #0f766e;
}

.auth-status[data-tone="error"] {
  color: #b42318;
}

.discord-login-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(88, 101, 242, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(88, 101, 242, 0.08), rgba(47, 109, 246, 0.04)),
    #fff;
  box-shadow: 0 18px 48px rgba(18, 34, 63, 0.08);
}

.discord-login-card h2 {
  margin: 6px 0 0;
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.discord-login-card p:not(.eyebrow):not(.auth-status) {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.discord-login-button {
  width: 100%;
  min-height: 52px;
  justify-content: center;
  gap: 10px;
  border: 0;
  background: #5865f2;
  color: #fff;
  box-shadow: 0 18px 34px rgba(88, 101, 242, 0.28);
}

.discord-login-button:hover {
  background: #4752c4;
  color: #fff;
}

.discord-login-button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.discord-login-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line-soft);
}

.confirm-card {
  padding: 24px 0 0;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.confirm-mark {
  width: 84px;
  height: 84px;
  color: var(--accent);
}

.confirm-card h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.confirm-card p {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
  line-height: 1.7;
}

.confirm-email {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.confirm-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.confirm-actions .button {
  min-width: 160px;
}

.confirm-notice,
.account-notice {
  margin: 0;
  max-width: 44ch;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(47, 109, 246, 0.14);
  background: rgba(47, 109, 246, 0.06);
  color: var(--nav-text);
  line-height: 1.7;
  font-size: 0.95rem;
}

.confirm-notice:empty,
.account-notice:empty {
  display: none;
}

.account-page {
  background:
    radial-gradient(circle at top left, rgba(47, 109, 246, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(138, 149, 234, 0.12), transparent 26%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 50%, #f4f7fc 100%);
}

.account-page .site-footer {
  background: transparent;
}

.account-main {
  padding: 38px 0 76px;
}

.account-shell {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.account-summary-card,
.account-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.account-summary-card {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 18px;
  padding: 32px;
  border-radius: 28px;
}

.account-avatar-frame {
  position: relative;
  width: 124px;
  height: 124px;
  border-radius: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, #0b1531 0%, #132d64 55%, #2f6df6 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 16px 34px rgba(18, 34, 63, 0.16);
}

.account-avatar-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.account-avatar-image,
.account-avatar-initials {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-avatar-initials {
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  background: rgba(5, 11, 25, 0.28);
}

.account-summary-card h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.account-summary-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-summary-grid div {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
}

.account-summary-grid strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.2;
}

.account-summary-grid span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.account-provider-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(88, 101, 242, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(88, 101, 242, 0.08), rgba(47, 109, 246, 0.04)),
    var(--surface-soft);
}

.account-provider-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: #5865f2;
  color: #fff;
  box-shadow: 0 14px 26px rgba(88, 101, 242, 0.25);
}

.account-provider-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.account-provider-card strong,
.account-provider-card span {
  display: block;
}

.account-provider-card strong {
  color: var(--text);
  line-height: 1.25;
}

.account-provider-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.account-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-summary-actions .button {
  flex: 1 1 140px;
}

.account-workspace {
  display: grid;
  gap: 18px;
}

.account-card {
  padding: 32px;
  border-radius: 28px;
}

.account-card-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.account-card-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.account-card-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-grid-tight {
  align-items: end;
}

.account-grid .application-field-full {
  grid-column: 1 / -1;
}

.account-upload-row {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
}

.account-upload-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.account-upload-button {
  width: fit-content;
}

.account-settings-block {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.account-settings-block h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.account-toggle-list {
  display: grid;
  gap: 12px;
}

.account-toggle {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
}

.account-toggle input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.account-toggle strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.96rem;
}

.account-toggle em {
  display: block;
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
  font-size: 0.92rem;
}

.account-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.account-actions-row .button {
  flex: 1 1 180px;
}

.account-status {
  margin-top: 6px;
}

.account-card .auth-status {
  min-height: 1.4em;
}

.admin-page {
  background:
    radial-gradient(circle at top left, rgba(47, 109, 246, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(138, 149, 234, 0.1), transparent 24%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 52%, #f4f7fc 100%);
}

.admin-page .site-footer {
  background: transparent;
}

.admin-main {
  padding: 34px 0 76px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  gap: 18px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(8, 18, 37, 0.06);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(8, 18, 37, 0.98), rgba(14, 34, 69, 0.95));
  color: #fff;
  box-shadow: 0 22px 60px rgba(12, 20, 41, 0.18);
}

.admin-hero-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.admin-hero .eyebrow {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #d9e6ff;
}

.admin-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.admin-hero p {
  margin: 0;
  max-width: 56ch;
  color: rgba(233, 239, 255, 0.8);
  line-height: 1.7;
}

.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-hero-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.admin-live-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d9e6ff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #69f0ae;
  box-shadow: 0 0 0 6px rgba(105, 240, 174, 0.12);
}

.admin-hero-stat {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-hero-stat strong {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.admin-hero-stat span {
  color: rgba(233, 239, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.admin-metric-card {
  display: grid;
  gap: 10px;
  padding: 22px 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.admin-metric-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-metric-card strong {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.admin-metric-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.admin-stack {
  display: grid;
  gap: 18px;
}

.admin-sidebar {
  display: grid;
  gap: 18px;
  align-self: start;
}

.admin-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.admin-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-card-heading {
  display: grid;
  gap: 8px;
}

.admin-card-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.admin-card-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.admin-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-pill.is-ok {
  color: #1f7a4f;
  background: rgba(31, 122, 79, 0.1);
}

.admin-pill.is-warning {
  color: #9b5b00;
  background: rgba(255, 162, 0, 0.12);
}

.admin-pill.is-alert {
  color: #b42318;
  background: rgba(180, 35, 24, 0.1);
}

.admin-pill.is-muted {
  color: #55657a;
  background: rgba(85, 101, 122, 0.1);
}

.admin-queue-list {
  display: grid;
  gap: 12px;
}

.admin-queue-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
}

.admin-queue-item-main {
  display: grid;
  gap: 10px;
}

.admin-queue-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.admin-queue-top strong {
  display: block;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.admin-queue-top p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-queue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-queue-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  justify-content: center;
  min-width: 160px;
}

.admin-queue-actions .button {
  width: 100%;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line-soft);
}

.admin-table th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table td strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.admin-table td span {
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-status-list {
  display: grid;
  gap: 12px;
}

.admin-status-row {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
}

.admin-status-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-status-row-top strong {
  font-size: 0.98rem;
}

.admin-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(47, 109, 246, 0.08);
  overflow: hidden;
}

.admin-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f6df6, #7b89e3);
}

.admin-timeline {
  display: grid;
  gap: 12px;
}

.admin-timeline-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
}

.admin-timeline-marker {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: linear-gradient(180deg, #8a95ea, #2f6df6);
  box-shadow: 0 0 0 6px rgba(47, 109, 246, 0.08);
}

.admin-timeline-item strong {
  display: block;
  margin-bottom: 4px;
}

.admin-timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-summary-card {
    position: static;
  }

  .admin-hero,
  .admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .account-main {
    padding: 24px 0 60px;
  }

  .account-summary-card,
  .account-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .admin-main {
    padding: 24px 0 60px;
  }

  .admin-hero,
  .admin-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .admin-card-header {
    flex-direction: column;
  }

  .admin-card-actions {
    justify-content: flex-start;
  }

  .admin-queue-item {
    grid-template-columns: 1fr;
  }

  .admin-queue-actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }

  .admin-queue-actions .button {
    flex: 1 1 140px;
  }

  .account-avatar-frame {
    width: 104px;
    height: 104px;
    border-radius: 30px;
  }

  .account-avatar-frame::before {
    inset: 10px;
    border-radius: 24px;
  }
}

@media (max-width: 980px) {
  .auth-shell {
    width: min(100%, 720px);
  }

  .auth-card {
    padding: 0;
  }

  .confirm-card {
    padding-top: 18px;
  }
}

@media (max-width: 640px) {
  .auth-main {
    padding: 24px 0 60px;
  }

  .auth-card {
    padding: 0;
    border-radius: 0;
  }

  .confirm-card {
    padding-top: 12px;
  }

  .auth-row {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .application-grid {
    grid-template-columns: 1fr;
  }
}

.graphic-ring,
.graphic-node {
  position: absolute;
  border-radius: 50%;
}

.graphic-ring {
  border: 1px solid rgba(47, 109, 246, 0.28);
}

.graphic-ring-a {
  width: 118px;
  height: 118px;
  left: 20px;
  top: 22px;
}

.graphic-ring-b {
  width: 74px;
  height: 74px;
  right: 28px;
  bottom: 28px;
}

.graphic-ring-c {
  width: 120px;
  height: 120px;
  right: 20px;
  top: 20px;
}

.graphic-ring-d {
  width: 78px;
  height: 78px;
  left: 26px;
  bottom: 26px;
}

.graphic-node {
  width: 14px;
  height: 14px;
  background: linear-gradient(180deg, #8a95ea, #2f6df6);
  box-shadow: 0 0 0 8px rgba(47, 109, 246, 0.06);
}

.graphic-node-a { top: 26px; right: 26px; }
.graphic-node-b { left: 26px; bottom: 26px; }
.graphic-node-c { right: 24px; bottom: 84px; }
.graphic-node-d { top: 26px; left: 26px; }
.graphic-node-e { right: 28px; bottom: 28px; }
.graphic-node-f { left: 74px; top: 74px; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.news-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.news-banner {
  position: relative;
  min-height: 160px;
  overflow: hidden;
}

.news-banner::before {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(circle at 20% 22%, rgba(47, 109, 246, 0.16), transparent 28%),
    radial-gradient(circle at 78% 40%, rgba(47, 109, 246, 0.1), transparent 24%),
    linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.12) 46%, transparent 47%);
  transform: rotate(-8deg);
}

.news-banner::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1px solid rgba(47, 109, 246, 0.18);
  box-shadow: 0 0 0 16px rgba(47, 109, 246, 0.04);
}

.banner-one {
  background: linear-gradient(135deg, #f4f7ff 0%, #eaf1ff 55%, #fdfdff 100%);
}

.banner-two {
  background: linear-gradient(135deg, #f8fbff 0%, #e8f0ff 55%, #fdfdff 100%);
}

.banner-three {
  background: linear-gradient(135deg, #f7f9ff 0%, #ebf2ff 55%, #ffffff 100%);
}

.news-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #385fd2;
  background: rgba(47, 109, 246, 0.1);
}

.news-date {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.news-date strong {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.news-date span {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-body h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.14;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.news-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.news-body a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--accent);
  font-weight: 700;
}

.news-body a:hover {
  color: #1f56d8;
}

.news-featured {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.news-featured-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.news-featured h3 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.news-featured p {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
}

.news-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.news-featured-pill {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
  color: var(--muted);
  line-height: 1.66;
  font-size: 0.95rem;
}

.news-featured-pill strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.news-featured-footer {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(47, 109, 246, 0.06);
  border: 1px solid rgba(47, 109, 246, 0.12);
}

.news-archive {
  margin: 20px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.94rem;
}

.user-lookup-page {
  background: #fff;
}

.lookup-main {
  color: var(--text);
  background: #fff;
  isolation: isolate;
}

.lookup-hero {
  position: relative;
  padding: 78px 0 46px;
  overflow: hidden;
  border-bottom: 1px solid rgba(214, 224, 238, 0.9);
  background: #fff;
}

.lookup-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.74fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.lookup-hero-content {
  width: 100%;
  padding: 0;
  text-align: left;
}

.lookup-hero-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.lookup-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(47, 109, 246, 0.14);
  border-radius: 18px;
  color: var(--accent);
  background: #fff;
  box-shadow: 0 20px 46px rgba(18, 34, 63, 0.1);
}

.lookup-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.lookup-eyebrow {
  margin: 0;
  color: var(--accent);
}

.lookup-hero h1 {
  margin: 0;
  max-width: 780px;
  color: var(--text);
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-transform: none;
  text-shadow: 0 3px 0 rgba(47, 109, 246, 0.08);
}

.lookup-hero p:not(.eyebrow) {
  width: min(680px, 100%);
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.65;
}

.lookup-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.lookup-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(214, 224, 238, 0.95);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(18, 34, 63, 0.06);
}

.lookup-hero-meta strong {
  color: var(--text);
}

.lookup-hero-card {
  padding: 22px;
  border: 1px solid rgba(214, 224, 238, 0.95);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 34, 63, 0.1);
}

.lookup-preview-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(47, 109, 246, 0.16);
  border-radius: 22px;
  background: #f8fbff;
}

.lookup-preview-dot {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.12);
}

.lookup-preview-card strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.lookup-preview-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.lookup-check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.lookup-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(214, 224, 238, 0.86);
  border-radius: 18px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.lookup-check-list span {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.lookup-search-section {
  position: relative;
  padding: 30px 0 38px;
  overflow: hidden;
  background: #fff;
}

.lookup-search-panel {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 2.6vw, 24px);
  border: 1px solid rgba(214, 224, 238, 0.95);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 56px rgba(18, 34, 63, 0.1);
}

.lookup-search-copy {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.lookup-search-copy h2 {
  margin: 6px 0 0;
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
}

.lookup-search-copy p:not(.eyebrow) {
  width: min(360px, 100%);
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.lookup-search-form {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 22px 0 0;
  padding: 6px;
  border: 1px solid rgba(47, 109, 246, 0.24);
  border-radius: 18px;
  background: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.lookup-search-form:hover,
.lookup-search-form:focus-within {
  border-color: rgba(47, 109, 246, 0.5);
  box-shadow:
    0 0 0 4px rgba(47, 109, 246, 0.08),
    0 18px 48px rgba(18, 34, 63, 0.1);
  transform: translateY(-1px);
}

.lookup-search-field {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.lookup-search-field svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: currentColor;
  margin-left: 10px;
}

.lookup-search-field input {
  width: 100%;
  min-height: 48px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 0.98rem;
}

.lookup-search-field input::placeholder {
  color: #8ca0bd;
}

.lookup-search-button {
  min-height: 48px;
  border-radius: 10px;
}

.lookup-search-button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.lookup-example-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.lookup-example-row > span {
  font-weight: 800;
}

.lookup-example-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(214, 224, 238, 0.95);
  border-radius: 999px;
  background: #fff;
  color: var(--nav-text);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.lookup-example-chip:hover {
  color: var(--accent);
  border-color: rgba(47, 109, 246, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(18, 34, 63, 0.08);
}

.lookup-results {
  width: min(820px, 100%);
  min-height: 0;
  margin: 22px auto 0;
}

.user-lookup-page .site-footer {
  padding-top: 28px;
  padding-bottom: 12px;
}

.user-lookup-page .site-footer .container {
  width: min(100% - 32px, 980px);
}

.user-lookup-page .footer-grid {
  grid-template-columns: minmax(230px, 1.1fr) repeat(3, minmax(110px, 0.62fr));
  gap: clamp(18px, 3vw, 34px);
  padding-bottom: 12px;
}

.user-lookup-page .footer-bottom {
  padding-top: 10px;
}

.lookup-empty-state,
.lookup-loading-card,
.lookup-status-card,
.lookup-result-card {
  border: 1px solid rgba(214, 224, 238, 0.95);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(18, 34, 63, 0.09);
}

.lookup-empty-state,
.lookup-loading-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 24px;
  color: var(--muted);
  text-align: left;
}

.lookup-empty-state span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(47, 109, 246, 0.1);
  font-weight: 900;
}

.lookup-empty-state strong,
.lookup-loading-card strong {
  display: block;
  color: var(--text);
}

.lookup-loading-card p,
.lookup-empty-state p {
  margin: 4px 0 0;
  line-height: 1.55;
}

.lookup-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(47, 109, 246, 0.14);
  border-top-color: var(--accent);
  border-radius: 999px;
  animation: lookup-spin 0.8s linear infinite;
}

.lookup-status-card {
  padding: clamp(22px, 4vw, 30px);
}

.lookup-status-card strong {
  display: block;
  color: var(--text);
  font-size: 1.4rem;
}

.lookup-status-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.lookup-status-card span {
  color: var(--text);
  font-weight: 800;
}

.lookup-status-card small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.lookup-status-card a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(47, 109, 246, 0.18);
  border-radius: 999px;
  margin-top: 16px;
  background: rgba(47, 109, 246, 0.08);
  color: var(--accent);
  font-weight: 800;
}

.lookup-status-card-clear {
  border-color: rgba(61, 220, 151, 0.24);
}

.lookup-status-card-error {
  border-color: rgba(255, 127, 127, 0.28);
}

.lookup-result-card {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 4vw, 32px);
}

.lookup-result-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--lookup-tone, var(--accent));
}

.lookup-result-danger {
  --lookup-tone: #e11d48;
  border-color: rgba(255, 127, 127, 0.32);
}

.lookup-result-warning,
.lookup-result-watch {
  --lookup-tone: #f59e0b;
  border-color: rgba(255, 191, 99, 0.3);
}

.lookup-result-clear {
  --lookup-tone: #22c55e;
  border-color: rgba(61, 220, 151, 0.28);
}

.lookup-result-header,
.lookup-result-subject,
.lookup-result-grid,
.lookup-record-item {
  border: 1px solid rgba(214, 224, 238, 0.92);
  background: rgba(255, 255, 255, 0.72);
}

.lookup-result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
}

.lookup-result-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lookup-result-header h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.lookup-result-header > span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: #173a85;
  background: rgba(47, 109, 246, 0.1);
  font-size: 0.82rem;
  font-weight: 900;
}

.lookup-result-subject {
  margin-top: 14px;
  padding: 18px;
  border-radius: 18px;
}

.lookup-result-subject span,
.lookup-result-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lookup-result-subject strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 1.25rem;
}

.lookup-result-subject small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.lookup-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 18px;
}

.lookup-result-grid div {
  padding: 16px;
  background: rgba(248, 251, 255, 0.8);
}

.lookup-result-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 1rem;
}

.lookup-record-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.lookup-record-item {
  padding: 16px;
  border-radius: 16px;
}

.lookup-record-item:hover {
  border-color: rgba(47, 109, 246, 0.18);
}

.lookup-record-item div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.lookup-record-item strong {
  color: var(--text);
  text-transform: capitalize;
}

.lookup-record-item span,
.lookup-record-item small {
  color: var(--muted);
}

.lookup-record-item p {
  margin: 10px 0;
  color: var(--muted);
  line-height: 1.6;
}

.lookup-guidance {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px auto 0;
}

.lookup-guidance article {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(214, 224, 238, 0.92);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(18, 34, 63, 0.08);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.lookup-guidance article:hover {
  border-color: rgba(47, 109, 246, 0.2);
  box-shadow: 0 24px 58px rgba(18, 34, 63, 0.12);
  transform: translateY(-3px);
}

.lookup-guidance span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(47, 109, 246, 0.1);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.lookup-guidance h2 {
  margin: 10px 0 8px;
  color: var(--text);
  font-size: 1.05rem;
}

.lookup-guidance p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.lookup-policy-note {
  width: min(920px, 100%);
  margin: 18px auto 0;
  padding: 18px 20px;
  border: 1px solid rgba(214, 224, 238, 0.95);
  border-radius: 20px;
  background: #f8fbff;
  color: var(--muted);
  line-height: 1.65;
  box-shadow: 0 18px 48px rgba(18, 34, 63, 0.06);
}

.lookup-policy-note strong {
  color: var(--text);
}

@keyframes lookup-spin {
  to {
    transform: rotate(360deg);
  }
}

.status-page {
  background: #fff;
}

.status-hero {
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 109, 246, 0.08), transparent 36%),
    linear-gradient(180deg, #f8fbff 0%, #fff 72%);
}

.status-actions {
  justify-content: center;
  margin-top: 28px;
}

.status-summary-card {
  width: min(720px, 100%);
  display: grid;
  gap: 10px;
  margin: 34px auto 0;
  padding: 18px 20px;
  border: 1px solid rgba(214, 224, 238, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 52px rgba(18, 34, 63, 0.08);
}

.status-summary-card div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text);
}

.status-summary-card p {
  margin: 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.status-summary-card a {
  color: var(--accent);
  font-weight: 800;
}

.status-pulse {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
}

.status-frame-section {
  padding-top: 20px;
  background: #fff;
}

.status-frame-shell {
  overflow: hidden;
  border: 1px solid rgba(214, 224, 238, 0.95);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 34, 63, 0.1);
}

.status-frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(214, 224, 238, 0.82);
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.status-frame-header h2 {
  margin: 4px 0 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.status-frame-header a {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 800;
}

.status-frame {
  width: 100%;
  min-height: 720px;
  display: block;
  border: 0;
  background: #fff;
}

.status-frame-note {
  margin: 0;
  padding: 14px 22px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  background: #fff;
}

.site-footer {
  padding-top: 36px;
  padding-bottom: 18px;
  border-top: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.88), #fff 46%),
    #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) repeat(3, minmax(130px, 0.72fr));
  gap: clamp(22px, 4vw, 58px);
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand-col p {
  max-width: 32ch;
  font-size: 0.94rem;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(47, 109, 246, 0.12);
  border-radius: 999px;
  background: rgba(47, 109, 246, 0.045);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.2;
  transition:
    background var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    color var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.footer-contact a:hover {
  border-color: rgba(47, 109, 246, 0.24);
  background: rgba(47, 109, 246, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.footer-contact-note {
  margin: 10px 0 0;
  max-width: 31ch;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.footer-contact-note strong {
  color: var(--text);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-col h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.footer-col a:hover {
  color: var(--text);
  transform: translateX(2px);
}

.footer-brand-col p,
.footer-bottom {
  color: var(--muted);
  line-height: 1.55;
}

.footer-bottom {
  padding-top: 14px;
  font-size: 0.86rem;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  overflow: visible;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--nav-text);
  box-shadow: 0 16px 34px rgba(15, 23, 34, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.94);
  transition: opacity var(--motion-fast) ease, transform var(--motion-fast) var(--motion-ease), color var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) var(--motion-ease);
  z-index: 40;
}

.back-to-top::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(47, 109, 246, 0.18), rgba(47, 109, 246, 0));
  opacity: 0;
  transition: opacity var(--motion-fast) ease;
  z-index: -1;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  animation: back-to-top-breathe 2.8s ease-in-out infinite;
}

.back-to-top.visible::after {
  opacity: 1;
}

.back-to-top:hover {
  color: var(--accent);
  border-color: rgba(47, 109, 246, 0.18);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 22px 44px rgba(15, 23, 34, 0.18);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  filter: blur(10px);
  transition: opacity var(--motion-slow) var(--motion-ease), transform var(--motion-slow) var(--motion-ease), filter var(--motion-medium) ease;
  will-change: transform, opacity, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal [data-reveal-child] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--motion-medium) var(--motion-ease) var(--reveal-delay, 0ms), transform var(--motion-medium) var(--motion-ease) var(--reveal-delay, 0ms);
}

.reveal.is-visible [data-reveal-child] {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-logo-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes hero-glow-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(40px, -24px, 0) scale(1.08);
  }
}

@keyframes dashboard-float {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(0, -18px, 0);
  }
}

@keyframes dashboard-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes dashboard-bar-breathe {
  0%,
  100% {
    transform: scaleY(1);
    filter: saturate(1);
  }

  50% {
    transform: scaleY(1.08);
    filter: saturate(1.12);
  }
}

@keyframes details-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes back-to-top-breathe {
  0%,
  100% {
    box-shadow: 0 16px 34px rgba(15, 23, 34, 0.14);
  }

  50% {
    box-shadow: 0 22px 40px rgba(47, 109, 246, 0.22);
  }
}

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

  .hero-content,
  .hero-background,
  .dashboard-panel-left,
  .dashboard-panel-center,
  .dashboard-panel-right,
  .hero-content > *,
  .reveal,
  .reveal [data-reveal-child] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 1100px) {
  .stats-row,
  .news-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-card {
    grid-template-columns: 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .contact-page .contact-direct {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .nav-shell {
    position: relative;
    grid-template-columns: 1fr auto auto;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(214, 224, 238, 0.92);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
    box-shadow: 0 22px 52px rgba(18, 34, 63, 0.16);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transition:
      opacity var(--motion-fast) ease,
      transform var(--motion-medium) var(--motion-ease),
      visibility var(--motion-fast) ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .site-nav a {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    background: rgba(47, 109, 246, 0.045);
    border: 1px solid rgba(47, 109, 246, 0.06);
  }

  .site-nav .nav-dropdown {
    width: 100%;
  }

  .site-nav .nav-dropdown > summary {
    width: 100%;
    background: rgba(47, 109, 246, 0.04);
  }

  .site-nav .nav-dropdown-menu {
    position: static;
    min-width: 0;
    padding: 6px 0 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .site-nav .nav-dropdown-menu a {
    padding-left: 14px;
  }

  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
    display: inline-grid;
    place-items: center;
    margin-left: 8px;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .header-action {
    display: none !important;
  }

  .language-selector {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .language-trigger {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 10px;
  }

  .language-menu {
    right: -44px;
    width: min(330px, calc(100vw - 24px));
    max-height: min(390px, calc(100vh - 104px));
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    min-height: 520px;
    padding: 62px 0 56px;
  }

  .lookup-hero-layout {
    grid-template-columns: 1fr;
  }

  .lookup-hero-card {
    width: min(720px, 100%);
  }

  .lookup-search-copy {
    display: grid;
    gap: 12px;
  }

  .lookup-search-copy p:not(.eyebrow) {
    width: 100%;
  }

  .lookup-result-grid,
  .lookup-guidance {
    grid-template-columns: 1fr;
  }

  .lookup-record-item div {
    display: grid;
  }

  .hero-title {
    width: min(100%, 1000px);
    max-width: 1000px;
    font-size: clamp(2.4rem, 7vw, 4.3rem);
  }

  .dashboard-panel-left {
    left: -8%;
    width: 36%;
  }

  .dashboard-panel-center {
    left: 33%;
    width: 34%;
  }

  .dashboard-panel-right {
    right: -8%;
    width: 36%;
  }

  .promo-card {
    grid-template-columns: 1fr;
  }

  .news-featured {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100vw - 24px, 1180px);
  }

  .section-pad {
    padding: 64px 0;
  }

  .site-footer {
    padding-top: 30px;
    padding-bottom: 16px;
  }

  .language-menu {
    grid-template-columns: 1fr;
  }

  .lookup-hero {
    padding: 50px 0 32px;
  }

  .lookup-hero-content {
    padding: 0;
  }

  .lookup-hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.3rem);
    letter-spacing: -0.05em;
  }

  .lookup-hero-meta {
    display: grid;
  }

  .lookup-hero-card,
  .lookup-search-panel {
    border-radius: 22px;
  }

  .lookup-preview-card {
    display: grid;
  }

  .lookup-search-section {
    padding-bottom: 38px;
  }

  .lookup-search-form {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .lookup-search-form:hover,
  .lookup-search-form:focus-within {
    transform: none;
  }

  .lookup-search-button {
    width: 100%;
  }

  .lookup-empty-state,
  .lookup-loading-card {
    align-items: flex-start;
  }

  .lookup-result-header {
    display: grid;
  }

  .lookup-result-header > span {
    width: fit-content;
  }

  .status-summary-card div,
  .status-frame-header {
    display: grid;
  }

  .status-frame {
    min-height: 620px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .hero {
    min-height: 500px;
  }

  .hero-content {
    min-height: 500px;
    padding: 56px 0 50px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
  }

  .hero-logo {
    width: 64px;
    height: 64px;
  }

  .stats-row,
  .news-grid,
  .footer-grid,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    gap: 12px;
  }

  .promo-card,
  .text-block,
  .news-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .news-featured-body {
    padding: 18px 16px 16px;
  }

  .news-featured-grid {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }

  .dashboard-panel-left {
    left: -18%;
    width: 42%;
  }

  .dashboard-panel-center {
    left: 28%;
    width: 44%;
  }

  .dashboard-panel-right {
    right: -18%;
    width: 42%;
  }
}

body.admin-page {
  color-scheme: dark;
  min-height: 100vh;
  color: #ffffff;
  font-family: "Poppins", "Inter", sans-serif;
  background: #091a3d;
  overflow-x: hidden;
}

body.admin-page::before,
body.admin-page::after {
  content: none;
}

body.admin-page .back-to-top,
body.admin-page .site-header,
body.admin-page .site-footer {
  display: none;
}

.admin-canvas {
  position: relative;
  width: min(100vw - 48px, 1320px);
  margin: 0 auto;
  padding: 34px 0 42px;
}

.admin-glow {
  position: fixed;
  pointer-events: none;
  z-index: -2;
}

.admin-glow-primary {
  top: -460px;
  left: -270px;
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d546ff 0%, #b226ff 44%, #8d1fff 78%, #7d18ef 100%);
}

.admin-glow-secondary {
  top: -20px;
  right: -150px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 12, 42, 0.24) 0%, rgba(5, 12, 42, 0.08) 42%, rgba(5, 12, 42, 0) 72%);
}

.admin-floating-badge {
  position: absolute;
  top: 136px;
  right: 18px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(139, 103, 255, 0.85);
  background: rgba(9, 15, 44, 0.92);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.03), 0 20px 40px rgba(0, 0, 0, 0.28);
  z-index: 3;
}

.admin-floating-badge span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.admin-floating-badge span:nth-child(1) {
  top: 18px;
  left: 18px;
  background: #ff7a45;
}

.admin-floating-badge span:nth-child(2) {
  top: 18px;
  right: 18px;
  background: #ff4f8d;
}

.admin-floating-badge span:nth-child(3) {
  bottom: 18px;
  left: 18px;
  background: #5ad0ff;
}

.admin-floating-badge span:nth-child(4) {
  bottom: 18px;
  right: 18px;
  background: #6f63ff;
}

.admin-title-block {
  position: relative;
  z-index: 2;
  padding: 34px 0 0 8px;
}

.admin-title-block h1 {
  margin: 0;
  display: grid;
  gap: 10px;
  max-width: 11ch;
  color: #fff;
  font-size: clamp(3.2rem, 5.7vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
  font-weight: 800;
}

.admin-stage {
  position: relative;
  margin-top: 34px;
  min-height: 760px;
}

.admin-ghost-card {
  position: absolute;
  left: 22px;
  top: 96px;
  width: 312px;
  z-index: 1;
}

.admin-shell {
  position: relative;
  z-index: 2;
  margin-left: 178px;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 640px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #11193c 0%, #0b112c 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
}

.admin-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px 18px 18px;
  background: linear-gradient(180deg, #0f1637 0%, #0b112c 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-sidebar-compact {
  padding: 18px 16px 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.admin-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  color: #f0f2ff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.admin-brand-mark {
  width: 22px;
  height: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  flex: 0 0 22px;
}

.admin-brand-mark span {
  border-radius: 50%;
}

.admin-brand-mark span:nth-child(1) {
  background: #ff7a45;
}

.admin-brand-mark span:nth-child(2) {
  background: #ff4f8d;
}

.admin-brand-mark span:nth-child(3) {
  background: #5ad0ff;
}

.admin-brand-mark span:nth-child(4) {
  background: #6f63ff;
}

.admin-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px;
  border-radius: 4px;
  border: 1px solid #1d2750;
  background: #0f1738;
}

.admin-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #e8ebff;
  font: inherit;
  font-size: 0.8rem;
}

.admin-search input::placeholder {
  color: #67729f;
}

.admin-search-icon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid #9da7d6;
  position: relative;
  flex: 0 0 9px;
}

.admin-search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 5px;
  height: 1.5px;
  border-radius: 999px;
  background: #9da7d6;
  transform: rotate(45deg);
}

.admin-menu {
  display: grid;
  gap: 4px;
  color: #c4c9ee;
  font-size: 0.87rem;
}

.admin-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 8px 8px;
  color: #d852ff;
  font-weight: 700;
}

.admin-menu-heading.is-active {
  color: #d852ff;
}

.admin-menu-caret {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  line-height: 1;
}

.admin-menu-subtitle {
  margin-top: 8px;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0;
}

.admin-menu a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 8px 0 10px;
  border-radius: 8px;
  color: #b7c0ef;
  font-size: 0.85rem;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.admin-menu a::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.admin-menu a.is-selected {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.admin-menu a.is-selected::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 22px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #e04fff, #7f56ff);
  transform: translateY(-50%);
}

.admin-user-card {
  margin-top: auto;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-user-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff7a45, #7f56ff);
  font-size: 0.65rem;
  font-weight: 800;
  color: #ffffff;
}

.admin-user-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.admin-user-copy strong {
  color: #f1f3ff;
  font-size: 0.8rem;
  line-height: 1.1;
}

.admin-user-copy span {
  color: #8690bd;
  font-size: 0.66rem;
  line-height: 1.2;
}

.admin-user-arrow {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.admin-main-panel {
  padding: 24px 22px 22px;
}

.admin-main-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-main-copy {
  display: grid;
  gap: 4px;
}

.admin-main-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.admin-main-copy p {
  margin: 0;
  color: #8f98c8;
  font-size: 0.76rem;
  line-height: 1.35;
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  color: #f6f7ff;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.admin-btn span {
  margin-left: 6px;
  font-size: 0.72rem;
}

.admin-btn-ghost {
  color: #d7ddff;
}

.admin-btn-accent {
  border-color: transparent;
  background: linear-gradient(180deg, #d745ff 0%, #a63aff 100%);
  box-shadow: 0 10px 24px rgba(215, 69, 255, 0.26);
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.admin-stat-card {
  display: grid;
  gap: 8px;
  padding: 14px 14px 12px;
  min-height: 108px;
  border-radius: 12px;
  border: 1px solid #25305b;
  background: linear-gradient(180deg, #111839 0%, #0d1433 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-stat-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f1f3ff 0%, #aab7ff 100%);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.025);
}

.admin-stat-icon-users {
  background: linear-gradient(180deg, #f6f7ff 0%, #8bc7ff 100%);
}

.admin-stat-icon-signups {
  background: linear-gradient(180deg, #f6f7ff 0%, #76e6a4 100%);
}

.admin-stat-icon-subscriptions {
  background: linear-gradient(180deg, #f6f7ff 0%, #ffc06e 100%);
}

.admin-stat-dots {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  letter-spacing: 2px;
}

.admin-stat-label {
  color: #8e98c0;
  font-size: 0.7rem;
}

.admin-stat-value-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-stat-value-row strong {
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.admin-stat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 16px;
  padding: 0 4px;
  border-radius: 3px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0;
}

.admin-stat-badge.is-up {
  color: #65e5a2;
  background: rgba(101, 229, 162, 0.14);
}

.admin-stat-badge.is-down {
  color: #ff97a3;
  background: rgba(255, 151, 163, 0.12);
}

.admin-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.54fr) minmax(286px, 0.78fr);
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}

.admin-panel {
  position: relative;
  border-radius: 14px;
  border: 1px solid #25305b;
  background: linear-gradient(180deg, #11183a 0%, #0c1331 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-panel-head-tight {
  margin-bottom: 4px;
}

.admin-panel-head-copy {
  display: grid;
  gap: 6px;
}

.admin-panel-label {
  color: #8e98c0;
  font-size: 0.72rem;
}

.admin-panel-value-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-panel-value-row strong {
  color: #ffffff;
  font-size: 1.92rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.admin-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  color: #8791bc;
  font-size: 0.68rem;
}

.admin-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend-dot-revenue {
  background: #d44bff;
}

.legend-dot-expenses {
  background: #21c1ff;
}

.admin-date-pill {
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.admin-revenue-card {
  grid-row: span 2;
  padding: 18px 18px 12px;
  overflow: hidden;
}

.admin-revenue-grid {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 16px;
}

.admin-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  height: 286px;
  padding: 0 0 28px;
  color: #6d77a3;
  font-size: 0.66rem;
}

.admin-chart-frame {
  position: relative;
  height: 286px;
}

.admin-line-chart {
  width: 100%;
  height: 100%;
  display: block;
}

.admin-chart-callout {
  position: absolute;
  left: 126px;
  top: 150px;
  display: grid;
  gap: 2px;
  color: #8f98c0;
  pointer-events: none;
}

.admin-chart-callout strong {
  color: #ffffff;
  font-size: 0.96rem;
  letter-spacing: -0.03em;
}

.admin-chart-callout p {
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.2;
}

.admin-months {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
  margin: 8px 0 0 46px;
  color: #68739d;
  font-size: 0.62rem;
  text-align: center;
}

.admin-side-stack {
  display: grid;
  gap: 14px;
}

.admin-profit-card,
.admin-session-card {
  padding: 18px;
}

.admin-profit-card {
  min-height: 238px;
}

.admin-session-card {
  min-height: 178px;
}

.admin-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 118px;
  margin-top: 18px;
  padding: 0 4px;
}

.admin-bar-chart span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #d44bff 0%, #7d47ff 100%);
}

.admin-bar-chart span:nth-child(even) {
  background: linear-gradient(180deg, #4cc8ff 0%, #25a8ff 100%);
}

.admin-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  color: #8b95be;
  font-size: 0.68rem;
}

.admin-card-foot a {
  color: #d852ff;
}

.admin-session-chart {
  height: 86px;
  margin-top: 14px;
}

.admin-mini-line-chart {
  width: 100%;
  height: 100%;
  display: block;
}

.admin-mini-axis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  color: #68739d;
  font-size: 0.62rem;
}

body.admin-page .eyebrow {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #d9e6ff;
}

.admin-access-state {
  width: min(100%, 620px);
  margin: 86px auto 0;
  padding: 24px;
  display: grid;
  gap: 14px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(12, 20, 49, 0.94), rgba(8, 14, 36, 0.92));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

body.admin-page.admin-locked .admin-canvas {
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding-top: 18px;
  padding-bottom: 18px;
}

body.admin-page.admin-locked .admin-access-state {
  width: min(100%, 540px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  justify-items: center;
}

body.admin-page.admin-locked .admin-access-state h1 {
  max-width: 10ch;
}

body.admin-page.admin-locked .admin-access-state p {
  max-width: 44ch;
}

body.admin-page.admin-locked .admin-access-actions {
  justify-content: center;
}

body.admin-page.admin-locked .admin-floating-badge {
  top: 84px;
  right: 28px;
}

.admin-access-state h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.admin-access-state p {
  margin: 0;
  max-width: 48ch;
  color: rgba(233, 239, 255, 0.76);
  line-height: 1.7;
}

.admin-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-canvas [hidden] {
  display: none !important;
}

@media (max-width: 1220px) {
  .admin-canvas {
    width: min(100vw - 32px, 1320px);
  }

  .admin-shell {
    margin-left: 154px;
  }

  .admin-ghost-card {
    left: 8px;
  }
}

@media (max-width: 1100px) {
  .admin-ghost-card {
    display: none;
  }

  .admin-shell {
    margin-left: 0;
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .admin-workspace {
    grid-template-columns: 1fr;
  }

  .admin-revenue-card {
    grid-row: auto;
  }

  .admin-revenue-grid {
    grid-template-columns: 40px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .admin-canvas {
    width: min(100vw - 20px, 1320px);
    padding: 18px 0 24px;
  }

  .admin-title-block {
    padding-left: 0;
  }

  .admin-title-block h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .admin-floating-badge {
    top: 110px;
    right: 8px;
    width: 50px;
    height: 50px;
  }

  .admin-shell {
    border-radius: 22px;
  }

  .admin-access-state {
    margin-top: 68px;
    padding: 20px;
    border-radius: 22px;
  }

  body.admin-page.admin-locked .admin-access-state {
    padding: 0;
  }

  .admin-main-panel {
    padding: 18px 16px 16px;
  }

  .admin-main-header {
    flex-direction: column;
  }

  .admin-top-actions {
    justify-content: flex-start;
  }

  .admin-stat-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .admin-panel-head {
    flex-direction: column;
  }

  .admin-legend {
    justify-content: flex-start;
  }

  .admin-revenue-grid {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .admin-axis {
    height: 250px;
  }

  .admin-chart-frame {
    height: 250px;
  }

  .admin-chart-callout {
    left: 96px;
    top: 128px;
  }

  .admin-months {
    margin-left: 34px;
    gap: 2px;
  }
}

@media (max-width: 520px) {
  .admin-shell {
    border-radius: 18px;
  }

  .admin-access-state {
    width: 100%;
    margin-top: 56px;
    padding: 18px;
  }

  body.admin-page.admin-locked .admin-access-state {
    width: 100%;
    padding: 0;
  }

  .admin-sidebar {
    padding: 16px 14px 14px;
  }

  .admin-brand-row {
    font-size: 0.92rem;
  }

  .admin-menu {
    font-size: 0.82rem;
  }

  .admin-menu a,
  .admin-menu-heading,
  .admin-menu-subtitle {
    padding-left: 6px;
    padding-right: 6px;
  }

  .admin-user-card {
    padding-left: 6px;
    padding-right: 6px;
  }

  .admin-panel {
    border-radius: 12px;
  }

  .admin-panel-value-row strong {
    font-size: 1.6rem;
  }

  .admin-card-foot {
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }
}

body.admin-dashboard-page {
  min-height: 100vh;
  color: #edf3ff;
  font-family: "Inter", "Poppins", sans-serif;
  background:
    radial-gradient(circle at 16% 18%, rgba(92, 148, 255, 0.28), rgba(92, 148, 255, 0) 34%),
    radial-gradient(circle at 82% 14%, rgba(76, 200, 255, 0.16), rgba(76, 200, 255, 0) 30%),
    radial-gradient(circle at 86% 82%, rgba(245, 177, 76, 0.12), rgba(245, 177, 76, 0) 24%),
    linear-gradient(180deg, #07111c 0%, #06101a 100%);
  overflow-x: hidden;
}

body.admin-dashboard-page::before,
body.admin-dashboard-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body.admin-dashboard-page::before {
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.08;
}

body.admin-dashboard-page::after {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 45%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.1), rgba(6, 10, 18, 0.4));
}

body.admin-dashboard-page .back-to-top,
body.admin-dashboard-page .site-header,
body.admin-dashboard-page .site-footer {
  display: none;
}

.dashboard-canvas {
  position: relative;
  width: min(100vw - 32px, 1540px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0 36px;
}

.dashboard-grid-noise,
.dashboard-orb {
  position: fixed;
  pointer-events: none;
}

.dashboard-grid-noise {
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.45));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.45));
}

.dashboard-orb {
  z-index: -1;
  filter: blur(28px);
  opacity: 0.96;
}

.dashboard-orb-a {
  top: -220px;
  left: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 148, 255, 0.32) 0%, rgba(92, 148, 255, 0) 70%);
}

.dashboard-orb-b {
  right: -160px;
  bottom: -220px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 177, 76, 0.18) 0%, rgba(245, 177, 76, 0) 70%);
}

.dashboard-canvas [hidden] {
  display: none !important;
}

.dashboard-access {
  width: min(100%, 640px);
  margin: 0 auto;
  padding: 28px;
  display: grid;
  gap: 14px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.94), rgba(8, 13, 24, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px);
}

body.admin-dashboard-page.admin-locked .dashboard-canvas {
  display: grid;
  align-content: center;
  padding-top: 18px;
  padding-bottom: 18px;
}

body.admin-dashboard-page.admin-locked .dashboard-access {
  justify-items: center;
  text-align: center;
}

.dashboard-eyebrow,
.dashboard-kicker,
.dashboard-panel-kicker,
.dashboard-topbar-label {
  margin: 0;
  color: #8fa0c9;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 700;
}

.dashboard-access h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.dashboard-access p {
  margin: 0;
  color: rgba(229, 236, 252, 0.76);
  line-height: 1.7;
}

.dashboard-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  color: #eff4ff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-button:hover {
  transform: translateY(-1px);
}

.dashboard-button-primary {
  border-color: transparent;
  background: linear-gradient(180deg, #62c4ff 0%, #6a8dff 100%);
  box-shadow: 0 14px 32px rgba(97, 154, 255, 0.22);
}

.dashboard-button-ghost {
  color: #dce7ff;
}

.dashboard-chrome {
  margin-bottom: 18px;
  padding: 0 8px;
  display: grid;
  gap: 18px;
}

.dashboard-chrome-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dashboard-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dashboard-brand-lockup p,
.dashboard-brand-lockup strong {
  margin: 0;
  line-height: 1.1;
}

.dashboard-brand-lockup p {
  color: #8a97bf;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-brand-lockup strong {
  color: #f7faff;
  font-size: 0.92rem;
  letter-spacing: -0.03em;
}

.dashboard-brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  flex: 0 0 26px;
}

.dashboard-brand-mark span {
  border-radius: 50%;
}

.dashboard-brand-mark span:nth-child(1) {
  background: #62c4ff;
}

.dashboard-brand-mark span:nth-child(2) {
  background: #6a8dff;
}

.dashboard-brand-mark span:nth-child(3) {
  background: #f8c76f;
}

.dashboard-brand-mark span:nth-child(4) {
  background: #55f0cc;
}

.dashboard-chrome-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #cfd8ef;
  font-size: 0.72rem;
  font-weight: 600;
}

.dashboard-chip-live {
  border-color: rgba(82, 232, 188, 0.18);
  background: rgba(82, 232, 188, 0.08);
  color: #9ef0cf;
}

.dashboard-chip-soft {
  color: #b9c5e2;
}

.dashboard-chrome-copy {
  max-width: 760px;
  display: grid;
  gap: 10px;
}

.dashboard-chrome-copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.08em;
}

.dashboard-chrome-copy p:last-child {
  margin: 0;
  max-width: 58ch;
  color: rgba(224, 232, 250, 0.76);
  line-height: 1.7;
}

.dashboard-stage {
  position: relative;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  min-height: 780px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(7, 13, 24, 0.92), rgba(6, 10, 18, 0.96));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(22px);
}

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px 18px 18px;
  background: linear-gradient(180deg, rgba(9, 15, 27, 0.96), rgba(7, 12, 23, 0.98));
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #f3f7ff;
  font: inherit;
  font-size: 0.83rem;
}

.dashboard-search input::placeholder {
  color: #8190b4;
}

.dashboard-search-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #9fb1d9;
  position: relative;
  flex: 0 0 10px;
}

.dashboard-search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 5px;
  height: 1.5px;
  border-radius: 999px;
  background: #9fb1d9;
  transform: rotate(45deg);
}

.dashboard-nav {
  display: grid;
  gap: 4px;
  color: #bfd0f5;
  font-size: 0.88rem;
}

.dashboard-nav-heading {
  margin: 10px 0 4px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.71rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px 0 14px;
  border-radius: 12px;
  color: #c3d0f4;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.dashboard-nav a::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.dashboard-nav a.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 22px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #62c4ff 0%, #f8c76f 100%);
  transform: translateY(-50%);
}

.dashboard-sidebar-card {
  margin-top: auto;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 10px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #62c4ff 0%, #6a8dff 55%, #f8c76f 100%);
  color: #04111c;
  font-size: 0.74rem;
  font-weight: 800;
}

.dashboard-sidebar-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.dashboard-sidebar-copy strong {
  color: #f4f7ff;
  font-size: 0.82rem;
  line-height: 1.1;
}

.dashboard-sidebar-copy span {
  overflow: hidden;
  color: #8495bc;
  font-size: 0.68rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-sidebar-arrow {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.95rem;
}

.dashboard-main {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.dashboard-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dashboard-topbar-copy {
  display: grid;
  gap: 6px;
}

.dashboard-topbar-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.dashboard-topbar-copy p {
  margin: 0;
  max-width: 58ch;
  color: #8b97be;
  line-height: 1.5;
}

.dashboard-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-stat-card {
  display: grid;
  gap: 8px;
  min-height: 152px;
  padding: 16px 16px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(11, 17, 31, 0.96), rgba(9, 14, 26, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.dashboard-stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dashboard-stat-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.024);
}

.dashboard-stat-icon-blue {
  background: linear-gradient(180deg, #62c4ff 0%, #6a8dff 100%);
}

.dashboard-stat-icon-cyan {
  background: linear-gradient(180deg, #38d8ff 0%, #55f0cc 100%);
}

.dashboard-stat-icon-amber {
  background: linear-gradient(180deg, #f8c76f 0%, #ff8f5c 100%);
}

.dashboard-stat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0;
}

.dashboard-stat-badge.is-up {
  color: #9ef0cf;
  background: rgba(82, 232, 188, 0.1);
}

.dashboard-stat-label {
  color: #8a97be;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.dashboard-stat-value-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.dashboard-stat-value-row strong {
  color: #ffffff;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.dashboard-stat-value-row span {
  color: #8b97be;
  font-size: 0.72rem;
}

.dashboard-sparkline {
  width: 100%;
  height: 56px;
  display: block;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.54fr) minmax(286px, 0.76fr);
  gap: 14px;
  align-items: start;
}

.dashboard-panel {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(11, 17, 31, 0.96), rgba(9, 14, 26, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.dashboard-analytics-panel {
  grid-row: span 2;
  padding: 18px 18px 14px;
  overflow: hidden;
}

.dashboard-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-panel-head-tight {
  margin-bottom: 2px;
}

.dashboard-panel-head h3 {
  margin: 2px 0 0;
  color: #ffffff;
  font-size: 1.28rem;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.dashboard-panel-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  color: #8b97be;
  font-size: 0.7rem;
}

.dashboard-panel-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend-dot-blue {
  background: #62c4ff;
}

.legend-dot-cyan {
  background: #55f0cc;
}

.dashboard-chart-frame {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 18px;
}

.dashboard-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  height: 296px;
  padding: 0 0 24px;
  color: #6f7da2;
  font-size: 0.66rem;
}

.dashboard-chart-shell {
  position: relative;
  height: 296px;
}

.dashboard-line-chart {
  width: 100%;
  height: 100%;
  display: block;
}

.dashboard-chart-callout {
  position: absolute;
  left: 126px;
  top: 128px;
  display: grid;
  gap: 2px;
  color: #97a5c9;
  pointer-events: none;
}

.dashboard-chart-callout strong {
  color: #ffffff;
  font-size: 1.02rem;
  letter-spacing: -0.04em;
}

.dashboard-chart-callout span {
  font-size: 0.7rem;
}

.dashboard-xaxis {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
  margin: 8px 0 0 46px;
  color: #6f7da2;
  font-size: 0.62rem;
  text-align: center;
}

.dashboard-side-stack {
  display: grid;
  gap: 14px;
}

.dashboard-ring-panel,
.dashboard-activity-panel {
  padding: 18px;
}

.dashboard-donut-wrap {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}

.dashboard-donut {
  position: relative;
  width: 140px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(#4cc8ff 0 38%, #6a8dff 38% 72%, #f8c76f 72% 88%, #ff8f5c 88% 100%);
}

.dashboard-donut::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0b1222;
}

.dashboard-donut-label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
}

.dashboard-donut-label strong {
  display: block;
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.dashboard-donut-label span {
  display: block;
  margin-top: 3px;
  color: #8b97be;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-ring-list {
  display: grid;
  gap: 12px;
}

.dashboard-ring-list > div {
  display: grid;
  gap: 6px;
}

.dashboard-ring-list span,
.dashboard-ring-list strong {
  color: #dce5fb;
  font-size: 0.76rem;
}

.dashboard-ring-list strong {
  justify-self: end;
  color: #8b97be;
  font-weight: 700;
}

.dashboard-progress {
  position: relative;
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.dashboard-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #62c4ff 0%, #55f0cc 100%);
}

.dashboard-activity-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.dashboard-activity-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.dashboard-activity-list strong {
  display: block;
  color: #f6f8ff;
  font-size: 0.84rem;
}

.dashboard-activity-list span:last-child {
  color: #8694b9;
  font-size: 0.72rem;
  line-height: 1.4;
}

.dashboard-activity-dot {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
  flex: 0 0 10px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.025);
}

.dashboard-activity-dot-blue {
  background: #62c4ff;
}

.dashboard-activity-dot-cyan {
  background: #55f0cc;
}

.dashboard-activity-dot-amber {
  background: #f8c76f;
}

.dashboard-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 14px;
}

.dashboard-table-panel,
.dashboard-notes-panel {
  padding: 18px;
}

.dashboard-panel-link {
  color: #62c4ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.dashboard-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
  padding: 12px 10px;
  text-align: left;
  white-space: nowrap;
}

.dashboard-table thead th {
  padding-top: 0;
  color: #8b97be;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-table tbody tr {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-table tbody td {
  color: #f4f7ff;
  font-size: 0.84rem;
}

.dashboard-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-status.is-live {
  color: #9ef0cf;
  background: rgba(82, 232, 188, 0.1);
}

.dashboard-status.is-warm {
  color: #ffd69b;
  background: rgba(248, 199, 111, 0.12);
}

.dashboard-status.is-good {
  color: #99c5ff;
  background: rgba(98, 196, 255, 0.1);
}

.dashboard-status.is-muted {
  color: #c4cce2;
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-note-list {
  display: grid;
  gap: 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.dashboard-note-list li {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-note-list strong {
  color: #ffffff;
  font-size: 0.88rem;
}

.dashboard-note-list span {
  color: #8593b8;
  font-size: 0.74rem;
  line-height: 1.55;
}

body.admin-dashboard-page.admin-ready .dashboard-chrome,
body.admin-dashboard-page.admin-ready .dashboard-stage {
  animation: dashboard-rise 0.55s ease both;
}

@keyframes dashboard-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.admin-dashboard-page.admin-ready .dashboard-chrome,
  body.admin-dashboard-page.admin-ready .dashboard-stage {
    animation: none;
  }

  .dashboard-button {
    transition: none;
  }
}

@media (max-width: 1280px) {
  .dashboard-shell {
    grid-template-columns: 264px minmax(0, 1fr);
  }

  .dashboard-layout,
  .dashboard-bottom-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-analytics-panel {
    grid-row: auto;
  }
}

@media (max-width: 1080px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dashboard-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-chart-frame {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .dashboard-xaxis {
    margin-left: 40px;
  }
}

@media (max-width: 760px) {
  .dashboard-canvas {
    width: min(100vw - 20px, 1540px);
    padding: 18px 0 24px;
  }

  .dashboard-access,
  .dashboard-shell {
    border-radius: 22px;
  }

  .dashboard-access {
    padding: 22px;
  }

  .dashboard-main,
  .dashboard-sidebar {
    padding: 18px 16px 16px;
  }

  .dashboard-topbar {
    flex-direction: column;
  }

  .dashboard-topbar-actions {
    justify-content: flex-start;
  }

  .dashboard-stat-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-panel-head {
    flex-direction: column;
  }

  .dashboard-panel-legend {
    justify-content: flex-start;
  }

  .dashboard-chart-frame {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .dashboard-axis {
    height: 252px;
  }

  .dashboard-chart-shell {
    height: 252px;
  }

  .dashboard-chart-callout {
    left: 96px;
    top: 112px;
  }

  .dashboard-xaxis {
    margin-left: 34px;
    gap: 2px;
  }

  .dashboard-donut-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 540px) {
  .dashboard-canvas {
    width: 100%;
  }

  .dashboard-access {
    width: 100%;
  }

  .dashboard-chrome {
    padding: 0;
  }

  .dashboard-chrome-copy h1 {
    font-size: clamp(1.9rem, 10vw, 3.1rem);
  }

  .dashboard-brand-lockup p {
    letter-spacing: 0.08em;
  }

  .dashboard-shell {
    border-radius: 18px;
  }

  .dashboard-stat-card,
  .dashboard-panel {
    border-radius: 18px;
  }

  .dashboard-button {
    width: 100%;
  }

  .dashboard-topbar-actions,
  .dashboard-access-actions {
    width: 100%;
  }

  .dashboard-topbar-actions .dashboard-button,
  .dashboard-access-actions .dashboard-button {
    width: 100%;
  }

  .dashboard-table th,
  .dashboard-table td {
    padding-left: 8px;
    padding-right: 8px;
  }
}

body.team-showcase-page {
  min-height: 100vh;
  background: #fff;
  color: var(--text);
}

body.team-showcase-page::before,
body.team-showcase-page::after {
  content: none;
}

.team-showcase-section {
  padding-top: 40px;
}

.team-showcase-shell {
  width: min(100%, 1180px);
  display: grid;
  gap: 30px;
}

.team-showcase-heading {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.team-showcase-heading h1 {
  margin: 0;
  font-size: clamp(2.45rem, 4.8vw, 4.75rem);
  line-height: 0.96;
  letter-spacing: -0.08em;
  font-weight: 300;
}

.team-showcase-heading h1 strong {
  font-weight: 800;
}

.team-category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.team-category-tab {
  padding: 8px 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #151a22;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.team-category-tab:hover {
  color: #d88b2d;
}

.team-category-tab.is-active {
  color: #fff;
  background: #d88b2d;
  box-shadow: 0 12px 24px rgba(216, 139, 45, 0.18);
}

.team-category-tab:focus-visible {
  outline: 2px solid rgba(216, 139, 45, 0.5);
  outline-offset: 2px;
}

.team-role-picker-wrap {
  display: flex;
  justify-content: center;
}

.team-role-picker {
  width: min(100%, 420px);
  display: grid;
  gap: 0;
}

.team-role-picker > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #16212f;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.team-role-picker > summary::-webkit-details-marker {
  display: none;
}

.team-role-picker > summary::after {
  content: '▾';
  color: var(--nav-text);
  font-size: 0.8rem;
  transition: transform 0.18s ease;
}

.team-role-picker[open] > summary {
  border-radius: 18px 18px 0 0;
  border-bottom-color: transparent;
  box-shadow: 0 14px 22px rgba(18, 34, 63, 0.06);
}

.team-role-picker[open] > summary::after {
  transform: rotate(180deg);
}

.team-role-picker-menu {
  display: grid;
  gap: 6px;
  padding: 14px 14px 16px;
  border: 1px solid #1f232b;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: #1f2127;
  box-shadow: 0 18px 34px rgba(15, 23, 34, 0.22);
}

.team-role-picker-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #f7f8fb;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.team-role-picker-menu a:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(2px);
}

.team-role-picker-menu a:focus-visible {
  outline: 2px solid rgba(63, 124, 244, 0.55);
  outline-offset: 2px;
}

.team-role-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 10px;
  background: #3f7cf4;
  box-shadow: 0 0 0 4px rgba(63, 124, 244, 0.12);
}

.team-role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 6px;
}

.team-role-card {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px 18px 22px;
  border: 1px solid #e6ecf3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 34, 63, 0.05);
  text-align: center;
  scroll-margin-top: 110px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.team-role-card::before {
  content: '';
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 4px;
  background: var(--role-accent, #2f6df6);
}

.team-role-card:hover {
  transform: translateY(-2px);
}

.team-role-avatar-shell {
  position: relative;
  width: 112px;
  height: 112px;
}

.team-role-avatar-shell::before {
  content: '';
  position: absolute;
  inset: -6px -10px -8px 14px;
  border-radius: 50%;
  background: repeating-linear-gradient(135deg, rgba(18, 24, 39, 0.06) 0 1px, transparent 1px 7px);
  opacity: 0.7;
  transform: rotate(-10deg);
}

.team-role-avatar {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--role-accent, #2f6df6);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 30px rgba(15, 23, 34, 0.15);
}

.team-role-badge {
  position: absolute;
  left: 0;
  bottom: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d88b2d;
  box-shadow: 0 10px 18px rgba(216, 139, 45, 0.25);
}

.team-role-badge svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.team-role-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(216, 139, 45, 0.1);
  color: #d88b2d;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-role-card h2 {
  margin: 0;
  color: #232833;
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  max-width: 16ch;
}

.team-role-card p {
  margin: 0;
  max-width: 24ch;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.62;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.team-role-card.is-hidden {
  display: none;
}

@media (max-width: 1100px) {
  .team-role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .team-showcase-section {
    padding-top: 28px;
  }

  .team-showcase-shell {
    gap: 24px;
  }

  .team-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .team-role-card {
    padding: 22px 16px 20px;
  }

  .team-role-avatar-shell {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 520px) {
  .team-showcase-heading h1 {
    font-size: clamp(2rem, 13vw, 3rem);
  }

  .team-category-tabs {
    gap: 8px 10px;
  }

  .team-category-tab {
    font-size: 0.68rem;
    padding: 8px 10px;
  }

  .team-role-picker {
    width: 100%;
  }

  .team-role-grid {
    grid-template-columns: 1fr;
  }
}

/* Home hero refresh */
.home-hero {
  min-height: min(780px, calc(100dvh - 64px));
  background:
    radial-gradient(circle at 18% 18%, rgba(82, 143, 255, 0.32), transparent 28%),
    radial-gradient(circle at 82% 26%, rgba(47, 109, 246, 0.26), transparent 30%),
    linear-gradient(135deg, #061126 0%, #0e2c66 48%, #061a38 100%);
}

.home-hero::before {
  left: auto;
  right: -15rem;
  bottom: -16rem;
  width: 42rem;
  height: 42rem;
  background: radial-gradient(circle, rgba(119, 167, 255, 0.3), rgba(47, 109, 246, 0) 68%);
  opacity: 0.78;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 44%, #000 0%, transparent 72%);
  opacity: 0.42;
  pointer-events: none;
}

.home-hero-background {
  filter: none;
  opacity: 1;
  transform: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.1), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(8, 16, 36, 0.78), transparent 52%);
}

.home-hero-content {
  min-height: min(780px, calc(100dvh - 64px));
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.68fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  justify-items: stretch;
  text-align: left;
  padding: clamp(64px, 9vw, 104px) 0;
}

.home-hero-content > * {
  animation-delay: 0.08s;
}

.home-hero-copy {
  display: grid;
  justify-items: start;
  gap: 22px;
}

.home-hero .eyebrow {
  margin: 0;
  border-color: rgba(159, 191, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #dbe8ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-hero .hero-title {
  width: min(100%, 880px);
  max-width: 880px;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.home-hero .hero-copy {
  margin: 0;
  max-width: 54ch;
  color: rgba(236, 243, 255, 0.86);
  font-size: clamp(1.05rem, 1.6vw, 1.26rem);
  line-height: 1.65;
}

.home-hero .hero-actions {
  justify-content: flex-start;
  gap: 12px;
  margin-top: 2px;
}

.home-hero .button {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
}

.home-hero .button-primary {
  background: linear-gradient(180deg, #4a85ff 0%, #245cf4 100%);
  box-shadow: 0 18px 44px rgba(47, 109, 246, 0.34);
}

.home-hero .button-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 44px rgba(0, 0, 0, 0.14);
}

.home-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 820px);
  margin-top: 8px;
}

.home-hero-proof span {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(199, 216, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(231, 238, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.45;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.home-hero-proof strong {
  color: #fff;
  font-size: 0.92rem;
}

.home-hero-panel {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(189, 212, 255, 0.22);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.07)),
    rgba(9, 24, 54, 0.66);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
}

.home-hero-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(82, 143, 255, 0.32), transparent 58%);
  filter: blur(10px);
}

.home-panel-header {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(231, 238, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #45e6a6;
  box-shadow: 0 0 0 8px rgba(69, 230, 166, 0.12);
}

.home-panel-card {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(206, 222, 255, 0.16);
  border-radius: 22px;
  background: rgba(5, 15, 36, 0.62);
  color: #fff;
}

.home-panel-card-highlight {
  min-height: 158px;
  background:
    radial-gradient(circle at 100% 0%, rgba(72, 133, 255, 0.32), transparent 42%),
    rgba(8, 23, 54, 0.72);
}

.home-panel-label {
  color: #9dbdff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-panel-card strong {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.04em;
}

.home-panel-card p {
  margin: 0;
  color: rgba(231, 238, 255, 0.72);
  line-height: 1.55;
}

.home-panel-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.home-panel-route span {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(69, 230, 166, 0.95), rgba(74, 133, 255, 0.55));
  box-shadow: 0 0 20px rgba(74, 133, 255, 0.28);
}

.home-panel-route span:nth-child(2) {
  opacity: 0.72;
}

.home-panel-route span:nth-child(3) {
  opacity: 0.48;
}

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

@media (max-width: 980px) {
  .home-hero,
  .home-hero-content {
    min-height: auto;
  }

  .home-hero-content {
    grid-template-columns: 1fr;
    padding: 70px 0 58px;
    text-align: center;
  }

  .home-hero-copy {
    justify-items: center;
  }

  .home-hero .hero-actions {
    justify-content: center;
  }

  .home-hero-proof {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .home-hero-panel {
    width: min(560px, 100%);
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .home-hero-content {
    padding: 54px 0 46px;
  }

  .home-hero .hero-title {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  .home-hero .hero-actions,
  .home-panel-grid {
    grid-template-columns: 1fr;
  }

  .home-hero .hero-actions {
    display: grid;
    width: 100%;
  }

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

  .home-hero-panel {
    padding: 14px;
    border-radius: 24px;
  }

  .home-panel-card {
    min-height: auto;
  }
}

/* Reference-style SynSoftware homepage */
body.home-landing-page {
  min-height: 100vh;
  background: #1b1b1a;
}

body.home-landing-page .site-header,
body.home-landing-page .site-footer {
  display: none;
}

.home-reference-main {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 18% 78%, rgba(66, 229, 239, 0.08), transparent 16rem),
    radial-gradient(circle at 86% 18%, rgba(255, 92, 43, 0.08), transparent 12rem),
    #1b1b1a;
}

.home-reference-stage {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  overflow: hidden;
}

.home-reference-frame {
  position: relative;
  isolation: isolate;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: visible;
  padding: clamp(34px, 5vw, 92px) clamp(34px, 8vw, 150px);
  background:
    radial-gradient(circle at 82% 72%, rgba(109, 40, 217, 0.17), transparent 24rem),
    radial-gradient(circle at 52% 82%, rgba(11, 84, 255, 0.14), transparent 22rem),
    #07080d;
  box-shadow:
    0 52px 110px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.home-reference-frame::before {
  content: "";
  position: absolute;
  inset: auto 6% 0 6%;
  z-index: -1;
  height: 46%;
  border-radius: 999px 999px 0 0;
  background: radial-gradient(ellipse at center, rgba(31, 81, 214, 0.28), transparent 68%);
  filter: blur(38px);
}

.home-reference-frame.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.home-reference-nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.home-reference-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 0.8rem;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.home-reference-logo {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 30px;
}

.home-reference-logo span {
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  transform: translateY(-50%);
  box-shadow: 0 0 22px currentColor;
}

.home-reference-logo span:first-child {
  left: 0;
  color: #f12fd2;
  background: #f12fd2;
}

.home-reference-logo span:last-child {
  right: 0;
  color: #7ef4ff;
  background: #7ef4ff;
  mix-blend-mode: screen;
}

.home-reference-links {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 82px);
}

.home-reference-links a {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.4vw, 1.34rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.home-reference-links a:hover {
  color: #fff;
}

.home-reference-orb {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  pointer-events: none;
}

.home-reference-orb-pink {
  left: -54px;
  top: 255px;
  width: 112px;
  height: 112px;
  background: #f531cd;
  box-shadow: 0 0 32px rgba(245, 49, 205, 0.58);
}

.home-reference-orb-orange {
  right: -50px;
  top: -48px;
  width: 104px;
  height: 104px;
  background: #ff5c2b;
  box-shadow: 0 0 34px rgba(255, 92, 43, 0.42);
}

.home-reference-orb-cyan {
  left: 54px;
  bottom: 156px;
  width: 66px;
  height: 66px;
  background: #7ef4ff;
  box-shadow: 0 0 34px rgba(126, 244, 255, 0.4);
}

.home-reference-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(460px, 1fr);
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
  min-height: calc(100vh - clamp(100px, 12vw, 170px));
}

.home-reference-copy {
  width: min(620px, 100%);
  padding-top: clamp(42px, 7vw, 124px);
}

.home-reference-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 4vw, 5.25rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 800;
  text-wrap: balance;
}

.home-reference-copy p {
  width: min(570px, 100%);
  margin: clamp(22px, 2vw, 34px) 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.26vw, 1.38rem);
  line-height: 1.42;
  letter-spacing: -0.035em;
}

.home-reference-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: clamp(34px, 4vw, 62px);
}

.home-reference-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  min-height: 62px;
  overflow: hidden;
  padding: 0 34px;
  color: #101014;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 42px rgba(255, 255, 255, 0.1);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}

.home-reference-button span {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 84px;
  height: 100%;
  background: linear-gradient(45deg, #7ef4ff 0 22%, #f531cd 22% 44%, #ff5c2b 44% 66%, transparent 66%);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.home-reference-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 58px rgba(255, 255, 255, 0.16);
}

.home-reference-link {
  color: #7ef4ff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-reference-visual {
  position: relative;
  min-height: clamp(540px, 54vw, 820px);
  transform: translateX(3vw);
}

.security-ring {
  position: absolute;
  border-radius: 50%;
  transform-style: preserve-3d;
  filter: drop-shadow(0 36px 42px rgba(0, 0, 0, 0.55));
}

.security-ring::before,
.security-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.security-ring::before {
  background:
    conic-gradient(from 210deg, #050710, #0c2a8e, #38dfff, #a738ff, #ff43dc, #ff7c38, #0b1228, #050710);
  box-shadow:
    inset 0 0 0 18px rgba(255, 255, 255, 0.08),
    inset 0 0 0 38px rgba(0, 0, 0, 0.55),
    inset 0 0 0 74px rgba(71, 111, 255, 0.36),
    inset 0 0 0 112px rgba(5, 7, 16, 0.92),
    0 0 42px rgba(101, 213, 255, 0.28);
}

.security-ring::after {
  inset: 24%;
  background:
    radial-gradient(circle at 42% 36%, rgba(85, 190, 255, 0.18), transparent 26%),
    radial-gradient(circle, #03040a 0 42%, #081638 55%, #03040a 72%);
  box-shadow:
    inset 0 0 0 8px rgba(69, 113, 255, 0.3),
    inset 0 0 28px rgba(0, 0, 0, 0.9);
}

.security-ring-back {
  right: 28%;
  top: 25%;
  width: clamp(430px, 36vw, 700px);
  aspect-ratio: 1;
  transform: rotate(-12deg) skewY(-5deg);
  opacity: 0.88;
}

.security-ring-front {
  right: -2%;
  top: 18%;
  width: clamp(520px, 45vw, 860px);
  aspect-ratio: 1;
  transform: rotate(8deg) skewY(-4deg);
}

.security-ring-small {
  right: 18%;
  top: 50%;
  width: clamp(280px, 24vw, 470px);
  aspect-ratio: 1;
  transform: rotate(16deg) skewY(-5deg);
  filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.62));
}

.security-ring-small::before {
  box-shadow:
    inset 0 0 0 12px rgba(255, 255, 255, 0.08),
    inset 0 0 0 26px rgba(0, 0, 0, 0.58),
    inset 0 0 0 48px rgba(37, 112, 255, 0.5),
    inset 0 0 0 78px rgba(5, 7, 16, 0.94),
    0 0 42px rgba(255, 49, 205, 0.28);
}

.home-discord-visual {
  display: grid;
  place-items: center;
  transform: translateX(4vw);
}

.home-discord-logo-wrap {
  position: relative;
  width: clamp(560px, 58vw, 980px);
  aspect-ratio: 1.2;
  display: grid;
  place-items: center;
  isolation: isolate;
  perspective: 1100px;
  transform-style: preserve-3d;
  cursor: pointer;
  --discord-glow-x: 50%;
  --discord-glow-y: 48%;
}

.home-discord-logo-wrap::before,
.home-discord-logo-wrap::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.home-discord-logo-wrap::before {
  inset: -8% -10% -16%;
  z-index: -2;
  background:
    radial-gradient(circle at var(--discord-glow-x) var(--discord-glow-y), rgba(255, 255, 255, 0.2), transparent 44%),
    radial-gradient(circle at 48% 50%, rgba(126, 244, 255, 0.16), transparent 38%),
    radial-gradient(circle at 65% 44%, rgba(245, 49, 205, 0.12), transparent 42%);
  filter: blur(52px);
  opacity: 0.66;
  animation: discordHaloPulse 5.8s ease-in-out infinite;
}

.home-discord-logo-wrap::after {
  display: none;
}

.home-discord-logo {
  width: min(100%, 760px);
  height: auto;
  color: #5865f2;
  fill: currentColor;
  filter:
    drop-shadow(0 24px 48px rgba(88, 101, 242, 0.42))
    drop-shadow(0 0 34px rgba(88, 101, 242, 0.34));
  transform: translateY(0) scale(1);
  transform-origin: center;
  animation: discordLogoFloat 6.4s ease-in-out infinite;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 220ms ease;
  will-change: transform, filter;
}

.home-circuit-logo {
  display: block;
  width: min(112%, 960px);
  max-height: 84vh;
  object-fit: contain;
  mix-blend-mode: screen;
  user-select: none;
  opacity: 0.96;
  filter:
    drop-shadow(0 24px 50px rgba(255, 255, 255, 0.2))
    drop-shadow(0 0 46px rgba(126, 244, 255, 0.28))
    drop-shadow(0 0 74px rgba(245, 49, 205, 0.12));
}

.home-discord-logo-wrap.is-pointer-active .home-discord-logo {
  animation: none;
  transition: transform 80ms linear, filter 160ms ease;
}

@keyframes discordLogoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter:
      drop-shadow(0 24px 50px rgba(255, 255, 255, 0.2))
      drop-shadow(0 0 46px rgba(126, 244, 255, 0.28))
      drop-shadow(0 0 74px rgba(245, 49, 205, 0.12));
  }

  50% {
    transform: translateY(-16px) scale(1.018);
    filter:
      drop-shadow(0 34px 64px rgba(255, 255, 255, 0.26))
      drop-shadow(0 0 58px rgba(126, 244, 255, 0.34))
      drop-shadow(0 0 88px rgba(245, 49, 205, 0.16));
  }
}

@keyframes discordHaloPulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-discord-logo,
  .home-discord-logo-wrap::before {
    animation: none;
  }

  .home-discord-logo {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .home-reference-stage {
    padding: 0;
  }

  .home-reference-frame {
    min-height: 100vh;
    width: 100%;
  }

  .home-reference-content {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .home-reference-copy {
    width: min(760px, 100%);
    padding-top: 70px;
  }

  .home-reference-visual {
    min-height: 410px;
    transform: translateX(0);
  }

  .home-discord-logo-wrap {
    width: clamp(390px, 86vw, 760px);
  }

  .security-ring-back {
    right: 38%;
  }

  .security-ring-front {
    right: 8%;
  }
}

@media (max-width: 760px) {
  .home-reference-frame {
    padding: 24px 20px 60px;
  }

  .home-reference-nav {
    align-items: flex-start;
  }

  .home-reference-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .home-reference-links a {
    font-size: 0.96rem;
  }

  .home-reference-orb-pink {
    width: 76px;
    height: 76px;
    left: -38px;
    top: 310px;
  }

  .home-reference-orb-orange {
    width: 76px;
    height: 76px;
    right: -34px;
    top: 88px;
  }

  .home-reference-orb-cyan {
    display: none;
  }

  .home-reference-copy {
    padding-top: 66px;
  }

  .home-reference-actions {
    display: grid;
    align-items: stretch;
  }

  .home-reference-button {
    min-width: 0;
    width: min(320px, 100%);
  }

  .home-reference-visual {
    min-height: 330px;
    margin-top: 10px;
  }

  .home-discord-logo-wrap {
    width: min(100vw, 520px);
  }

  .home-discord-logo {
    transform: none;
  }

  .security-ring-back {
    left: 0;
    right: auto;
    top: 18%;
  }

  .security-ring-front {
    right: -38%;
    top: 8%;
  }

  .security-ring-small {
    right: 16%;
    top: 48%;
  }
}

/* Site-wide dark reference theme */
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) {
  color-scheme: dark;
  --bg: #07080d;
  --bg-soft: #0b0d14;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.09);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --nav-text: rgba(255, 255, 255, 0.82);
  --accent: #7ef4ff;
  --accent-soft: rgba(126, 244, 255, 0.14);
  --button-1: #ffffff;
  --button-2: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  background:
    radial-gradient(circle at 12% 22%, rgba(245, 49, 205, 0.12), transparent 18rem),
    radial-gradient(circle at 88% 18%, rgba(255, 92, 43, 0.1), transparent 14rem),
    radial-gradient(circle at 78% 78%, rgba(35, 91, 255, 0.16), transparent 24rem),
    #07080d;
  color: var(--text);
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page)::before,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page)::after {
  content: none;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-header {
  position: sticky;
  top: 0;
  background: #07080d;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-header::after {
  content: none;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-header .nav-shell {
  width: 100%;
  max-width: none;
  min-height: 82px;
  padding: 0 clamp(26px, 7vw, 118px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .brand {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  color: #fff;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .brand-mark {
  position: relative;
  width: 44px;
  height: 30px;
  color: transparent;
  background: transparent;
  -webkit-mask: none;
  mask: none;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .brand-mark::before,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .brand-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  transform: translateY(-50%);
  box-shadow: 0 0 24px currentColor;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .brand-mark::before {
  left: 0;
  color: #f12fd2;
  background: #f12fd2;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .brand-mark::after {
  right: 0;
  color: #7ef4ff;
  background: #7ef4ff;
  mix-blend-mode: screen;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .brand-name {
  color: #fff;
  font-size: 0;
  letter-spacing: -0.04em;
  text-transform: none;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .brand-name::after {
  content: "Syn\A Software.";
  display: block;
  white-space: pre-line;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 0.9;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .header-action,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .logo-upload-input {
  display: none !important;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(28px, 5vw, 82px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav a {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  box-shadow: none;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav a::after {
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, #f12fd2, #7ef4ff);
  opacity: 0;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav a:hover,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav a[aria-current="page"] {
  color: #fff;
  background: transparent;
  transform: none;
  box-shadow: none;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav a:hover::after,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) main {
  background:
    radial-gradient(circle at 80% 16%, rgba(255, 92, 43, 0.08), transparent 16rem),
    radial-gradient(circle at 16% 24%, rgba(245, 49, 205, 0.08), transparent 18rem),
    #07080d;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) :is(
  .lookup-main,
  .lookup-hero,
  .lookup-search-section,
  .status-hero,
  .team-showcase-section,
  .account-main,
  .auth-page main,
  .application-page main,
  .legal-page main
) {
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 92, 43, 0.08), transparent 18rem),
    radial-gradient(circle at 18% 24%, rgba(245, 49, 205, 0.08), transparent 18rem),
    radial-gradient(circle at 70% 82%, rgba(34, 91, 255, 0.14), transparent 22rem),
    #07080d;
  color: #fff;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .section-heading h1,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .section-heading h2,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .lookup-hero h1,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .team-showcase-heading h1 {
  color: #fff;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .eyebrow,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .lookup-eyebrow {
  border-color: rgba(126, 244, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #7ef4ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .section-subtitle,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .section-heading p,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .legal-card p,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-brand-col p,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-contact-note {
  color: rgba(255, 255, 255, 0.68);
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) :is(
  .legal-card,
  .news-card,
  .news-featured-card,
  .promo-card,
  .application-card,
  .contact-form-card,
  .report-form,
  .discord-login-card,
  .confirm-card,
  .account-card,
  .account-summary-card,
  .lookup-search-panel,
  .lookup-result-card,
  .lookup-empty-state,
  .lookup-loading-card,
  .lookup-guidance-card,
  .lookup-policy-note,
  .status-summary-card,
  .staff-hero,
  .staff-hero-panel,
  .team-role-card
) {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045)),
    rgba(7, 8, 13, 0.76);
  color: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) :is(
  input,
  textarea,
  select,
  .lookup-search-field,
  .application-switch,
  .footer-contact a,
  .confirm-email,
  .account-summary-grid,
  .account-upload-row,
  .account-toggle,
  .legal-page .legal-pill,
  .legal-page .legal-callout,
  .news-featured-item,
  .status-iframe-wrap
) {
  border-color: rgba(255, 255, 255, 0.14);
  background-color: rgba(255, 255, 255, 0.075);
  color: #fff;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) input::placeholder,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .button-primary {
  background: #fff;
  color: #101014;
  border-color: rgba(255, 255, 255, 0.84);
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 49, 205, 0.1), transparent 16rem),
    #07080d;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-grid {
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-col h3,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-brand .brand-name::after {
  color: #fff;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-col a,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-bottom,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-contact a {
  color: rgba(255, 255, 255, 0.68);
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-col a:hover,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-contact a:hover {
  color: #7ef4ff;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .back-to-top {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(7, 8, 13, 0.9);
  color: #fff;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-footer {
  padding-top: 22px;
  padding-bottom: 12px;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-footer.section-pad {
  padding-top: 24px;
  padding-bottom: 14px;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-grid {
  grid-template-columns: minmax(260px, 0.86fr) repeat(3, minmax(150px, 0.42fr));
  gap: clamp(24px, 5vw, 78px);
  padding-bottom: 16px;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-brand {
  gap: 8px;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-brand .brand-mark {
  width: 34px;
  height: 24px;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-brand .brand-mark::before,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-brand .brand-mark::after {
  width: 24px;
  height: 24px;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-brand .brand-name::after {
  font-size: 0.72rem;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-brand-col p {
  max-width: 27ch;
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-contact {
  gap: 8px;
  margin-top: 16px;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-contact a {
  padding: 7px 10px;
  font-size: 0.82rem;
  line-height: 1.1;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-contact-note {
  max-width: 28ch;
  margin-top: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-col {
  gap: 8px;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-col h3 {
  margin-bottom: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-col a {
  font-size: 0.88rem;
  line-height: 1.25;
}

body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-bottom {
  padding-top: 12px;
  font-size: 0.78rem;
}

@media (max-width: 860px) {
  body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 560px) {
  body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 921px) {
  body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .brand {
    display: inline-flex !important;
  }

  body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 920px) {
  body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-header .nav-shell {
    min-height: 72px;
    padding: 0 20px;
  }

  body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-toggle {
    display: inline-grid;
    place-items: center;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
  }

  body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-toggle span {
    background: #fff;
  }

  body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(7, 8, 13, 0.96);
  }

  body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav a {
    width: 100%;
    padding: 13px 16px;
    font-size: 1rem;
  }
}

/* Keep the same reference header on the homepage too */
body.home-landing-page .site-header {
  display: block;
  position: sticky;
  top: 0;
  z-index: 80;
  background: #07080d;
  border: 0;
  box-shadow: none;
}

body.home-landing-page .site-header::after {
  content: none;
}

body.home-landing-page .site-header .nav-shell {
  width: 100%;
  max-width: none;
  min-height: 82px;
  padding: 0 clamp(26px, 7vw, 118px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

body.home-landing-page .brand {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  color: #fff;
}

body.home-landing-page .brand-mark {
  position: relative;
  width: 44px;
  height: 30px;
  color: transparent;
  background: transparent;
  -webkit-mask: none;
  mask: none;
}

body.home-landing-page .brand-mark::before,
body.home-landing-page .brand-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  transform: translateY(-50%);
  box-shadow: 0 0 24px currentColor;
}

body.home-landing-page .brand-mark::before {
  left: 0;
  color: #f12fd2;
  background: #f12fd2;
}

body.home-landing-page .brand-mark::after {
  right: 0;
  color: #7ef4ff;
  background: #7ef4ff;
  mix-blend-mode: screen;
}

body.home-landing-page .brand-name {
  color: #fff;
  font-size: 0;
  letter-spacing: -0.04em;
  text-transform: none;
}

body.home-landing-page .brand-name::after {
  content: "Syn\A Software.";
  display: block;
  white-space: pre-line;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 0.9;
}

body.home-landing-page .header-action,
body.home-landing-page .logo-upload-input {
  display: none !important;
}

body.home-landing-page .site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(28px, 5vw, 82px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.home-landing-page .site-nav a {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  box-shadow: none;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

body.home-landing-page .site-nav a::after {
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, #f12fd2, #7ef4ff);
  opacity: 0;
}

body.home-landing-page .site-nav a:hover,
body.home-landing-page .site-nav a[aria-current="page"] {
  color: #fff;
  background: transparent;
  transform: none;
  box-shadow: none;
}

body.home-landing-page .site-nav a:hover::after,
body.home-landing-page .site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

body.home-landing-page .home-reference-nav {
  display: none;
}

body.home-landing-page .home-reference-stage,
body.home-landing-page .home-reference-frame {
  min-height: calc(100vh - 82px);
  min-height: calc(100dvh - 82px);
}

body.home-landing-page .home-reference-content {
  min-height: calc(100vh - 180px);
  min-height: calc(100dvh - 180px);
}

body.home-landing-page .home-reference-copy {
  padding-top: 0;
}

body.home-landing-page .language-selector,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .language-selector {
  position: absolute;
  top: 50%;
  right: clamp(12px, 2vw, 28px);
  transform: translateY(-50%);
}

body.home-landing-page .language-trigger,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .language-trigger {
  min-height: 38px;
  padding: 0 13px;
  border-color: rgba(126, 244, 255, 0.18);
  background: rgba(28, 45, 74, 0.72);
  color: #fff;
}

body.home-landing-page .site-nav,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav {
  margin-right: clamp(70px, 6vw, 96px);
}

@media (max-width: 920px) {
  body.home-landing-page .site-header .nav-shell {
    min-height: 72px;
    padding: 0 20px;
  }

  body.home-landing-page .nav-toggle {
    display: inline-grid;
    place-items: center;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
  }

  body.home-landing-page .nav-toggle span {
    background: #fff;
  }

  body.home-landing-page .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: grid;
    gap: 8px;
    margin-right: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(7, 8, 13, 0.96);
  }

  body.home-landing-page .site-nav a {
    width: 100%;
    padding: 13px 16px;
    font-size: 1rem;
  }

  body.home-landing-page .language-selector,
  body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .language-selector {
    right: 68px;
  }

  body.home-landing-page .home-reference-stage,
  body.home-landing-page .home-reference-frame {
    min-height: calc(100vh - 72px);
    min-height: calc(100dvh - 72px);
  }
}

/* Refined dark language selector */
body:not(.admin-page):not(.admin-dashboard-page) .language-selector {
  z-index: 260;
}

body:not(.admin-page):not(.admin-dashboard-page) .language-selector.is-open .language-trigger {
  border-color: rgba(126, 244, 255, 0.48);
  background: linear-gradient(135deg, rgba(126, 244, 255, 0.16), rgba(245, 49, 205, 0.12));
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.34),
    0 0 0 4px rgba(126, 244, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body:not(.admin-page):not(.admin-dashboard-page) .language-menu {
  top: calc(100% + 12px);
  right: 0;
  width: min(310px, calc(100vw - 24px));
  max-height: min(330px, calc(100vh - 96px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(126, 244, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 0%, rgba(245, 49, 205, 0.16), transparent 150px),
    radial-gradient(circle at 92% 18%, rgba(126, 244, 255, 0.12), transparent 140px),
    linear-gradient(180deg, rgba(18, 24, 38, 0.98), rgba(7, 8, 13, 0.98));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 244, 255, 0.42) transparent;
}

body:not(.admin-page):not(.admin-dashboard-page) .language-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  border-left: 1px solid rgba(126, 244, 255, 0.18);
  border-top: 1px solid rgba(126, 244, 255, 0.18);
  background: rgba(18, 24, 38, 0.98);
  transform: rotate(45deg);
}

body:not(.admin-page):not(.admin-dashboard-page) .language-menu::-webkit-scrollbar {
  width: 6px;
}

body:not(.admin-page):not(.admin-dashboard-page) .language-menu::-webkit-scrollbar-track {
  background: transparent;
}

body:not(.admin-page):not(.admin-dashboard-page) .language-menu::-webkit-scrollbar-thumb {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(126, 244, 255, 0.56), rgba(245, 49, 205, 0.42));
}

body:not(.admin-page):not(.admin-dashboard-page) .language-option {
  min-height: 42px;
  padding: 8px 10px;
  border-color: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  color: rgba(246, 248, 255, 0.92);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

body:not(.admin-page):not(.admin-dashboard-page) .language-option:hover,
body:not(.admin-page):not(.admin-dashboard-page) .language-option:focus-visible {
  border-color: rgba(126, 244, 255, 0.35);
  color: #ffffff;
  background: rgba(126, 244, 255, 0.105);
  transform: translateY(-1px);
}

body:not(.admin-page):not(.admin-dashboard-page) .language-option[aria-selected="true"] {
  border-color: rgba(126, 244, 255, 0.5);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(126, 244, 255, 0.18), rgba(245, 49, 205, 0.16));
  box-shadow:
    0 10px 24px rgba(47, 109, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body:not(.admin-page):not(.admin-dashboard-page) .language-option-code {
  color: rgba(190, 207, 238, 0.68);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

body:not(.admin-page):not(.admin-dashboard-page) .language-option-name {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
}

body:not(.admin-page):not(.admin-dashboard-page) .language-option[aria-selected="true"] .language-option-code {
  color: rgba(126, 244, 255, 0.92);
}

@media (max-width: 720px) {
  body:not(.admin-page):not(.admin-dashboard-page) .language-menu {
    right: -12px;
    width: min(286px, calc(100vw - 22px));
    max-height: min(306px, calc(100vh - 92px));
    grid-template-columns: 1fr;
  }
}

/* Report hover menu */
body.home-landing-page .nav-report-dropdown,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-report-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

body.home-landing-page .site-nav .nav-report-trigger,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav .nav-report-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.home-landing-page .nav-report-chevron,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-report-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.72;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease, opacity 180ms ease;
}

body.home-landing-page .nav-report-menu,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-report-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: min(380px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
  border: 1px solid rgba(126, 244, 255, 0.13);
  border-radius: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(245, 49, 205, 0.12), transparent 130px),
    linear-gradient(135deg, rgba(16, 34, 59, 0.98), rgba(8, 18, 32, 0.98));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 180ms ease;
  z-index: 280;
}

body.home-landing-page .nav-report-dropdown:hover .nav-report-menu,
body.home-landing-page .nav-report-dropdown:focus-within .nav-report-menu,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-report-dropdown:hover .nav-report-menu,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-report-dropdown:focus-within .nav-report-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

body.home-landing-page .nav-report-dropdown:hover .nav-report-chevron,
body.home-landing-page .nav-report-dropdown:focus-within .nav-report-chevron,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-report-dropdown:hover .nav-report-chevron,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-report-dropdown:focus-within .nav-report-chevron {
  opacity: 1;
  transform: rotate(-135deg) translate(-1px, -1px);
}

body.home-landing-page .nav-report-menu::before,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-report-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-left: 1px solid rgba(126, 244, 255, 0.13);
  border-top: 1px solid rgba(126, 244, 255, 0.13);
  background: rgba(16, 34, 59, 0.98);
  transform: translateX(-50%) rotate(45deg);
}

body.home-landing-page .nav-report-insight,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-report-insight {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px 16px;
  color: #dce8ff;
  background:
    radial-gradient(circle at 14% 0%, rgba(126, 244, 255, 0.14), transparent 96px),
    rgba(31, 65, 111, 0.58);
}

body.home-landing-page .nav-report-insight strong,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-report-insight strong {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
}

body.home-landing-page .nav-report-insight span,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-report-insight span {
  color: rgba(221, 232, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.55;
}

body.home-landing-page .site-nav .nav-report-insight a,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav .nav-report-insight a {
  width: fit-content;
  min-height: auto;
  padding: 0;
  border: 0;
  color: #7ef4ff;
  background: transparent;
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 800;
}

body.home-landing-page .site-nav .nav-report-insight a::after,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav .nav-report-insight a::after {
  content: none;
}

body.home-landing-page .nav-report-links,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-report-links {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: rgba(8, 18, 32, 0.72);
}

body.home-landing-page .site-nav .nav-report-links a,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav .nav-report-links a {
  width: 100%;
  min-height: auto;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(232, 239, 255, 0.78);
  background: transparent;
  box-shadow: none;
  font-size: 0.94rem;
  font-weight: 600;
  text-transform: none;
}

body.home-landing-page .site-nav .nav-report-links a:hover,
body.home-landing-page .site-nav .nav-report-links a:focus-visible,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav .nav-report-links a:hover,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav .nav-report-links a:focus-visible {
  border-color: rgba(126, 244, 255, 0.18);
  color: #ffffff;
  background: rgba(126, 244, 255, 0.08);
  transform: translateX(2px);
}

body.home-landing-page .site-nav .nav-report-links a::after,
body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav .nav-report-links a::after {
  content: none;
}

@media (max-width: 920px) {
  body.home-landing-page .nav-report-dropdown,
  body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-report-dropdown {
    display: grid;
    width: 100%;
  }

  body.home-landing-page .site-nav .nav-report-trigger,
  body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .site-nav .nav-report-trigger {
    width: 100%;
    justify-content: space-between;
  }

  body.home-landing-page .nav-report-menu,
  body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-report-menu {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  body.home-landing-page .nav-report-menu::before,
  body:not(.home-landing-page):not(.admin-page):not(.admin-dashboard-page) .nav-report-menu::before {
    content: none;
  }
}

/* Unified public footer - matches the About Us page footer across the site */
body:not(.admin-page):not(.admin-dashboard-page) .site-footer {
  display: block;
  padding: 24px 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 49, 205, 0.1), transparent 16rem),
    #07080d;
  color: #ffffff;
}

body:not(.admin-page):not(.admin-dashboard-page) .site-footer.section-pad {
  padding-top: 24px;
  padding-bottom: 14px;
}

body:not(.admin-page):not(.admin-dashboard-page) .site-footer .container {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) repeat(3, minmax(150px, 0.42fr));
  gap: clamp(24px, 5vw, 78px);
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-brand {
  gap: 8px;
  margin-bottom: 12px;
}

body:not(.admin-page):not(.admin-dashboard-page) .brand-mark-footer {
  width: 34px;
  height: 24px;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-brand .brand-name::after,
body:not(.admin-page):not(.admin-dashboard-page) .footer-col h3,
body:not(.admin-page):not(.admin-dashboard-page) .footer-contact-note strong {
  color: #ffffff;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-brand-col p {
  max-width: 27ch;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.45;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-contact a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-contact-note {
  max-width: 28ch;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.45;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-col {
  display: grid;
  gap: 8px;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-col h3 {
  margin: 0 0 2px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-col a {
  display: block;
  width: fit-content;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.25;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-col a:hover,
body:not(.admin-page):not(.admin-dashboard-page) .footer-contact a:hover {
  color: #7ef4ff;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-bottom {
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  body:not(.admin-page):not(.admin-dashboard-page) .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  body:not(.admin-page):not(.admin-dashboard-page) .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  body:not(.admin-page):not(.admin-dashboard-page) .site-footer .container {
    width: min(100% - 28px, 1280px);
  }

  body:not(.admin-page):not(.admin-dashboard-page) .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Final footer sizing lock */
body:not(.admin-page):not(.admin-dashboard-page) .site-footer,
body:not(.admin-page):not(.admin-dashboard-page) .site-footer.section-pad,
body.home-landing-page .site-footer,
body.home-landing-page .site-footer.section-pad {
  padding-top: 18px !important;
  padding-bottom: 8px !important;
  min-height: 0 !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .site-footer .container,
body.home-landing-page .site-footer .container {
  width: min(100% - 40px, 1280px) !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-grid,
body.home-landing-page .footer-grid {
  grid-template-columns: minmax(235px, 0.78fr) repeat(3, minmax(140px, 0.38fr)) !important;
  gap: clamp(22px, 5vw, 74px) !important;
  padding-bottom: 10px !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-brand,
body.home-landing-page .footer-brand {
  margin-bottom: 8px !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-brand-col p,
body.home-landing-page .footer-brand-col p {
  max-width: 25ch !important;
  margin: 0 !important;
  font-size: 0.84rem !important;
  line-height: 1.36 !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-contact,
body.home-landing-page .footer-contact {
  gap: 8px !important;
  margin-top: 14px !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-contact a,
body.home-landing-page .footer-contact a {
  min-height: 28px !important;
  padding: 5px 10px !important;
  font-size: 0.78rem !important;
  line-height: 1 !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-contact-note,
body.home-landing-page .footer-contact-note {
  max-width: 25ch !important;
  margin-top: 9px !important;
  font-size: 0.78rem !important;
  line-height: 1.34 !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-col,
body.home-landing-page .footer-col {
  gap: 6px !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-col h3,
body.home-landing-page .footer-col h3 {
  margin-bottom: 0 !important;
  font-size: 0.74rem !important;
  line-height: 1.15 !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-col a,
body.home-landing-page .footer-col a {
  margin: 0 !important;
  font-size: 0.82rem !important;
  line-height: 1.18 !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .footer-bottom,
body.home-landing-page .footer-bottom {
  padding-top: 8px !important;
  font-size: 0.74rem !important;
  line-height: 1.2 !important;
}

@media (max-width: 860px) {
  body:not(.admin-page):not(.admin-dashboard-page) .footer-grid,
  body.home-landing-page .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  body:not(.admin-page):not(.admin-dashboard-page) .footer-brand-col,
  body.home-landing-page .footer-brand-col {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 560px) {
  body:not(.admin-page):not(.admin-dashboard-page) .site-footer .container,
  body.home-landing-page .site-footer .container {
    width: min(100% - 28px, 1280px) !important;
  }

  body:not(.admin-page):not(.admin-dashboard-page) .footer-grid,
  body.home-landing-page .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Stop the footer from creating a large empty block underneath its content. */
html,
body:not(.admin-page):not(.admin-dashboard-page) {
  min-height: 100%;
}

body:not(.admin-page):not(.admin-dashboard-page) {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body:not(.admin-page):not(.admin-dashboard-page) > .site-header,
body:not(.admin-page):not(.admin-dashboard-page) > .site-footer,
body:not(.admin-page):not(.admin-dashboard-page) > .back-to-top {
  flex: 0 0 auto;
}

body:not(.admin-page):not(.admin-dashboard-page) > main {
  flex: 1 0 auto;
}

body:not(.admin-page):not(.admin-dashboard-page) > .site-footer,
body:not(.admin-page):not(.admin-dashboard-page) > .site-footer.section-pad {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-top: 0 !important;
  overflow: visible !important;
}

/* Remove the large hero/content boxes so every page feels open like the homepage. */
body:not(.admin-page):not(.admin-dashboard-page) :is(
  .legal-card,
  .news-card,
  .news-featured-card,
  .promo-card,
  .join-team-card,
  .application-card,
  .contact-form-card,
  .contact-direct-card,
  .report-form,
  .discord-login-card,
  .confirm-card,
  .account-card,
  .account-summary-card,
  .lookup-search-panel,
  .lookup-result-card,
  .lookup-empty-state,
  .lookup-loading-card,
  .lookup-guidance-card,
  .lookup-policy-note,
  .status-summary-card,
  .staff-hero,
  .staff-hero-panel,
  .team-role-card
) {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:not(.admin-page):not(.admin-dashboard-page) :is(
  .legal-card,
  .news-card,
  .news-featured-card,
  .promo-card,
  .join-team-card,
  .application-card,
  .contact-direct-card,
  .discord-login-card,
  .confirm-card,
  .account-card,
  .account-summary-card,
  .lookup-search-panel,
  .lookup-empty-state,
  .lookup-loading-card,
  .lookup-guidance-card,
  .lookup-policy-note,
  .status-summary-card,
  .staff-hero,
  .staff-hero-panel,
  .team-role-card
) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body:not(.admin-page):not(.admin-dashboard-page) :is(
  .legal-card,
  .news-card,
  .news-featured-card,
  .promo-card,
  .join-team-card,
  .application-card,
  .account-card,
  .account-summary-card,
  .lookup-search-panel,
  .lookup-empty-state,
  .lookup-loading-card,
  .lookup-guidance-card,
  .lookup-policy-note,
  .staff-hero,
  .staff-hero-panel,
  .team-role-card
):hover {
  transform: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Form polish after removing the page boxes. */
body:not(.admin-page):not(.admin-dashboard-page) .application-field select option {
  background: #ffffff;
  color: #101014;
}

body:not(.admin-page):not(.admin-dashboard-page) .application-field select option:checked {
  background: #dfe7ff;
  color: #101014;
}

body:not(.admin-page):not(.admin-dashboard-page) .application-field select:focus {
  border-color: rgba(126, 244, 255, 0.65) !important;
  box-shadow: 0 0 0 4px rgba(126, 244, 255, 0.12) !important;
}

body.user-lookup-page .lookup-search-panel {
  width: min(900px, 100%) !important;
}

body.user-lookup-page .lookup-search-form {
  border-color: rgba(126, 244, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.075) !important;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

body.user-lookup-page .lookup-search-field {
  color: rgba(255, 255, 255, 0.72) !important;
  background: transparent !important;
}

body.user-lookup-page .lookup-search-field input {
  background: transparent !important;
  color: #ffffff !important;
}

body.user-lookup-page .lookup-search-field input::placeholder {
  color: rgba(255, 255, 255, 0.58) !important;
}

body.user-lookup-page .lookup-search-button {
  border-color: rgba(126, 244, 255, 0.24) !important;
  background: linear-gradient(135deg, #7ef4ff 0%, #3b6fff 48%, #f531cd 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 36px rgba(47, 109, 246, 0.28) !important;
}

body.user-lookup-page .lookup-example-row {
  color: rgba(255, 255, 255, 0.68) !important;
}

body.user-lookup-page .lookup-example-chip {
  min-width: 96px;
  justify-content: center;
  border-color: rgba(126, 244, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body.user-lookup-page .lookup-example-chip:hover {
  border-color: rgba(126, 244, 255, 0.62) !important;
  color: #7ef4ff !important;
  background: rgba(126, 244, 255, 0.12) !important;
}

body.user-lookup-page .lookup-results {
  margin-top: 34px;
}

body.user-lookup-page :is(.lookup-status-card, .lookup-result-card, .lookup-empty-state, .lookup-loading-card) {
  border: 1px solid rgba(126, 244, 255, 0.2) !important;
  background:
    linear-gradient(135deg, rgba(126, 244, 255, 0.12), rgba(245, 49, 205, 0.055)),
    rgba(8, 10, 18, 0.72) !important;
  color: #ffffff !important;
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body.user-lookup-page :is(.lookup-status-card strong, .lookup-result-header h2, .lookup-result-subject strong, .lookup-result-grid strong, .lookup-empty-state strong, .lookup-loading-card strong) {
  color: #ffffff !important;
}

body.user-lookup-page :is(.lookup-status-card p, .lookup-status-card small, .lookup-result-subject small, .lookup-empty-state p, .lookup-loading-card p) {
  color: rgba(255, 255, 255, 0.72) !important;
}

body.user-lookup-page :is(.lookup-status-card span, .lookup-result-subject span, .lookup-result-grid span, .lookup-result-kicker) {
  color: #7ef4ff !important;
}

body.user-lookup-page :is(.lookup-result-header, .lookup-result-subject, .lookup-result-grid, .lookup-record-item) {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.075) !important;
}

body.user-lookup-page .lookup-result-grid div {
  background: rgba(255, 255, 255, 0.055) !important;
}

body.user-lookup-page .lookup-result-header > span,
body.user-lookup-page .lookup-empty-state > span {
  color: #ffffff !important;
  background: rgba(126, 244, 255, 0.14) !important;
}

body.user-lookup-page .lookup-profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid rgba(126, 244, 255, 0.2);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(126, 244, 255, 0.14), transparent 18rem),
    rgba(255, 255, 255, 0.075);
}

body.user-lookup-page .lookup-profile-card img {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border: 2px solid rgba(126, 244, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.35),
    0 0 0 6px rgba(126, 244, 255, 0.07);
  object-fit: cover;
}

body.user-lookup-page .lookup-profile-main {
  min-width: 180px;
  flex: 1 1 220px;
}

body.user-lookup-page .lookup-profile-card span {
  display: block;
  color: #7ef4ff !important;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.user-lookup-page .lookup-profile-card strong {
  display: block;
  margin-top: 5px;
  color: #ffffff !important;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.05;
}

body.user-lookup-page .lookup-profile-card small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.66) !important;
  font-weight: 700;
}

body.user-lookup-page .lookup-profile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

body.user-lookup-page .lookup-profile-actions em {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(126, 244, 255, 0.22);
  border-radius: 999px;
  background: rgba(126, 244, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.user-lookup-page .lookup-profile-actions button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

body.user-lookup-page .lookup-profile-actions button:hover {
  border-color: rgba(126, 244, 255, 0.58);
  background: rgba(126, 244, 255, 0.16);
  transform: translateY(-1px);
}

body.user-lookup-page .lookup-audit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

body.user-lookup-page .lookup-audit-strip div,
body.user-lookup-page .lookup-next-step {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.user-lookup-page .lookup-audit-strip div {
  padding: 12px;
}

body.user-lookup-page .lookup-audit-strip span,
body.user-lookup-page .lookup-next-step span,
body.user-lookup-page .lookup-result-grid small {
  display: block;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.user-lookup-page .lookup-audit-strip strong {
  display: block;
  margin-top: 5px;
  color: #ffffff !important;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

body.user-lookup-page .lookup-next-step {
  margin: 18px 0;
  padding: 16px;
}

body.user-lookup-page .lookup-next-step p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.76) !important;
  line-height: 1.6;
}

body.user-lookup-page .lookup-result-grid small {
  margin-top: 4px;
  letter-spacing: 0.02em;
  text-transform: none;
}

body.user-lookup-page .lookup-status-card .lookup-profile-card {
  margin-top: 0;
}

@media (max-width: 560px) {
  body.user-lookup-page .lookup-profile-card {
    align-items: flex-start;
  }

  body.user-lookup-page .lookup-profile-actions {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  body.user-lookup-page .lookup-profile-card img {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  body.user-lookup-page .lookup-audit-strip {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 561px) and (max-width: 860px) {
  body.user-lookup-page .lookup-audit-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body:not(.admin-page):not(.admin-dashboard-page) .legal-card :is(li, p) {
  color: rgba(255, 255, 255, 0.72) !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .legal-card :is(h2, h3, strong) {
  color: #ffffff !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .legal-card a {
  color: #7ef4ff !important;
  font-weight: 800;
}

body:not(.admin-page):not(.admin-dashboard-page) .legal-card a:hover {
  color: #ffffff !important;
}

/* Site-wide motion polish */
html {
  scroll-behavior: smooth;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) {
  animation: synPageFadeIn 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) main {
  position: relative;
  isolation: isolate;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(126, 244, 255, 0.08), transparent 18rem),
    radial-gradient(circle at 84% 16%, rgba(245, 49, 205, 0.07), transparent 17rem),
    radial-gradient(circle at 72% 82%, rgba(47, 109, 246, 0.08), transparent 22rem);
  filter: blur(10px);
  opacity: 0.85;
  transform: translate3d(0, 0, 0);
  animation: synAuroraDrift 18s ease-in-out infinite alternate;
  overflow: hidden;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) main > * {
  position: relative;
  z-index: 1;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .site-header {
  animation: synHeaderDrop 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .brand-mark,
body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .home-reference-logo {
  animation: synLogoPulse 4.8s ease-in-out infinite;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.985);
  filter: blur(7px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--reveal-sequence, 0) * 34ms);
  will-change: opacity, transform, filter;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) [data-reveal-child] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 560ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .reveal.is-visible [data-reveal-child] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .motion-card {
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
  will-change: transform;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .motion-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--magnetic-glow-x, 50%) var(--magnetic-glow-y, 50%), rgba(126, 244, 255, 0.18), transparent 13rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), transparent 44%);
  opacity: 0;
  transition: opacity 220ms ease;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .motion-card > * {
  position: relative;
  z-index: 1;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .motion-card:hover {
  transform: translate3d(0, -6px, 0) scale(1.01) !important;
  border-color: rgba(126, 244, 255, 0.3) !important;
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(126, 244, 255, 0.09) !important;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .motion-card:hover::after {
  opacity: 1;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) [data-magnetic] {
  --magnetic-x: 0px;
  --magnetic-y: 0px;
  --magnetic-glow-x: 50%;
  --magnetic-glow-y: 50%;
  transition:
    transform 170ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 170ms ease,
    border-color 170ms ease,
    background 170ms ease,
    box-shadow 170ms ease;
  will-change: transform;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) [data-magnetic].is-magnetic-active {
  transform: translate3d(var(--magnetic-x), var(--magnetic-y), 0) scale(1.018);
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) :is(.button, .home-reference-button, .lookup-search-button, .footer-contact a, .language-trigger) {
  position: relative;
  overflow: hidden;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) :is(.button, .home-reference-button, .lookup-search-button, .footer-contact a, .language-trigger)::before {
  content: "";
  position: absolute;
  inset: -120% -40%;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.32), transparent 70%);
  opacity: 0;
  transform: translateX(-45%) rotate(8deg);
  transition: opacity 180ms ease, transform 480ms ease;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) :is(.button, .home-reference-button, .lookup-search-button, .footer-contact a, .language-trigger):hover::before {
  opacity: 0.75;
  transform: translateX(45%) rotate(8deg);
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .back-to-top {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  flex: none !important;
  overflow: visible !important;
}

/* SynSoftware solutions page */
body.solutions-page {
  color: #ffffff;
  background: #05070d;
}

.solutions-main {
  min-height: 100vh;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 8%, rgba(95, 69, 255, 0.42), transparent 24rem),
    radial-gradient(circle at 8% 18%, rgba(245, 49, 205, 0.16), transparent 18rem),
    radial-gradient(circle at 62% 88%, rgba(47, 109, 246, 0.18), transparent 28rem),
    linear-gradient(145deg, #05060b 0%, #07101d 48%, #05070d 100%);
}

.solutions-hero {
  padding: clamp(54px, 7vw, 104px) 0 clamp(54px, 7vw, 96px);
}

.solutions-shell {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.solutions-page-heading {
  max-width: 760px;
  margin: 0 0 clamp(24px, 4vw, 42px);
}

.solutions-page-heading h1 {
  margin: 10px 0 0;
  color: #ffffff;
  font-size: clamp(2.65rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.solutions-page-heading p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.75;
}

.solutions-eyebrow,
.solution-category {
  margin: 0;
  color: rgba(126, 244, 255, 0.86);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.solutions-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}

.solution-card {
  position: relative;
  overflow: hidden;
  min-height: 372px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: clamp(22px, 2.8vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.115);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    #070911;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 46px rgba(0, 0, 0, 0.16);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--solution-border, rgba(126, 244, 255, 0.5)), transparent 38%),
    radial-gradient(circle at 18% 0%, var(--solution-glow, rgba(126, 244, 255, 0.14)), transparent 13rem);
  height: 2px;
  opacity: 0.72;
  transition: opacity 200ms ease;
}

.solution-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--solution-border, rgba(126, 244, 255, 0.48)), transparent);
  opacity: 0.28;
}

.solution-card > * {
  position: relative;
  z-index: 1;
}

.solution-card:hover {
  transform: translateY(-3px);
  border-color: var(--solution-border, rgba(126, 244, 255, 0.5));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    #080b14;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 22px 56px rgba(0, 0, 0, 0.24);
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-card-vanguard {
  --solution-glow: rgba(139, 74, 255, 0.14);
  --solution-border: rgba(166, 121, 255, 0.74);
  --solution-icon-bg: rgba(166, 121, 255, 0.17);
  --solution-ring: rgba(151, 91, 255, 0.1);
}

.solution-card-hosting {
  --solution-glow: rgba(77, 181, 255, 0.13);
  --solution-border: rgba(87, 190, 255, 0.72);
  --solution-icon-bg: rgba(87, 190, 255, 0.15);
  --solution-ring: rgba(77, 181, 255, 0.08);
}

.solution-card-custom {
  --solution-glow: rgba(245, 49, 146, 0.12);
  --solution-border: rgba(245, 101, 171, 0.7);
  --solution-icon-bg: rgba(245, 101, 171, 0.14);
  --solution-ring: rgba(245, 76, 153, 0.08);
}

.solution-icon {
  display: inline-grid;
  place-items: center;
  color: #ffffff;
}

.solution-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 5px;
}

.solution-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, var(--solution-icon-bg, rgba(126, 244, 255, 0.14)), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 12px 28px rgba(0, 0, 0, 0.2);
}

.solution-card .solution-category {
  color: var(--solution-border, rgba(126, 244, 255, 0.86));
}

.solution-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.solution-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  letter-spacing: -0.05em;
}

.solution-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.038);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solution-card p:not(.solution-category) {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.65;
}

.solution-feature-list {
  display: grid;
  gap: 8px;
  margin: 2px 0 8px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.69);
  font-size: 0.92rem;
}

.solution-feature-list li {
  position: relative;
  padding-left: 18px;
}

.solution-feature-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.74em;
  width: 8px;
  height: 1px;
  border-radius: 0;
  background: var(--solution-border, #7ef4ff);
  box-shadow: none;
  transform: translateY(-50%);
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  color: var(--solution-border, #7ef4ff);
  font-weight: 900;
  transition: color 180ms ease, transform 180ms ease;
}

.solution-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

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

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

@media (max-width: 560px) {
  .solutions-shell {
    width: min(100% - 28px, 1280px);
  }

  .solutions-hero {
    padding-top: 34px;
  }

  .solutions-page-heading {
    margin-bottom: 22px;
  }

  .solution-card {
    min-height: auto;
    border-radius: 16px;
  }

  .solution-card-top {
    align-items: center;
  }

}

@keyframes solutionsOrbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes solutionsFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) :is(input, textarea, select) {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) :is(input, textarea, select):focus {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 4px rgba(126, 244, 255, 0.1),
    0 16px 40px rgba(0, 0, 0, 0.18) !important;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .footer-col a {
  transition: color 170ms ease, transform 170ms ease, opacity 170ms ease;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .footer-col a:hover {
  transform: translateX(4px);
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .site-footer {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto !important;
  margin-bottom: 0 !important;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .site-footer .reveal,
body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .site-footer [data-reveal-child] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: color 170ms ease, transform 170ms ease, opacity 170ms ease !important;
}

body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .site-footer::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 244, 255, 0.46), rgba(245, 49, 205, 0.28), transparent);
  animation: synFooterScan 7s ease-in-out infinite;
}

@keyframes synPageFadeIn {
  from {
    opacity: 0;
    filter: blur(5px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes synHeaderDrop {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes synAuroraDrift {
  0% {
    transform: translate3d(-2vw, -1vh, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate3d(2vw, 2vh, 0) rotate(6deg) scale(1.05);
  }

  100% {
    transform: translate3d(1vw, -2vh, 0) rotate(-4deg) scale(1.02);
  }
}

@keyframes synLogoPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(126, 244, 255, 0));
  }

  50% {
    filter: drop-shadow(0 0 18px rgba(126, 244, 255, 0.42));
  }
}

@keyframes synFooterScan {
  0%,
  100% {
    opacity: 0.32;
    transform: translateX(-16%);
  }

  50% {
    opacity: 1;
    transform: translateX(16%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page),
  body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .site-header,
  body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .brand-mark,
  body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .home-reference-logo,
  body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .site-footer::before {
    animation: none !important;
  }

  body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .reveal,
  body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) [data-reveal-child],
  body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) .motion-card,
  body.site-animations-ready:not(.admin-page):not(.admin-dashboard-page) [data-magnetic] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Compact circuit logo brand mark */
body:not(.admin-page):not(.admin-dashboard-page) .brand-mark {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
  color: #ffffff !important;
  background: currentColor !important;
  -webkit-mask: url("assets/synsoftware-logo.svg") no-repeat center / contain !important;
  mask: url("assets/synsoftware-logo.svg") no-repeat center / contain !important;
  border-radius: 0 !important;
  filter:
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.18))
    drop-shadow(0 0 20px rgba(126, 244, 255, 0.2));
}

body:not(.admin-page):not(.admin-dashboard-page) .brand-mark::before,
body:not(.admin-page):not(.admin-dashboard-page) .brand-mark::after {
  content: none !important;
  display: none !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .brand-mark-footer {
  width: 30px !important;
  height: 30px !important;
  flex-basis: 30px !important;
}
/* End compact circuit logo brand mark */

/* Join team page polish */
.join-team-modern-page .join-main {
  min-height: calc(100vh - 76px);
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 49, 205, 0.16), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(255, 92, 45, 0.12), transparent 28%),
    linear-gradient(135deg, #07070b 0%, #0b0d16 58%, #111021 100%);
  color: #ffffff;
}

.join-team-modern-page .join-section {
  padding: clamp(44px, 7vw, 86px) 0 clamp(58px, 8vw, 104px);
}

.join-team-modern-page .join-shell {
  width: min(100% - 44px, 1120px);
  display: grid;
  gap: clamp(24px, 4vw, 42px);
}

.join-team-modern-page .join-heading {
  width: min(780px, 100%);
  margin: 0 auto;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.join-team-modern-page .join-heading h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.join-team-modern-page .join-heading p:last-child {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

.join-team-modern-page .join-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.join-team-modern-page .join-role-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(8, 9, 15, 0.84);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.28);
}

.join-team-modern-page .join-role-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--join-accent, #7ef4ff), transparent 72%);
  opacity: 0.95;
}

.join-team-modern-page .join-role-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -42% 30%;
  height: 210px;
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--join-accent, #7ef4ff) 26%, transparent), transparent 68%);
  opacity: 0.5;
  pointer-events: none;
}

.join-team-modern-page .join-role-support {
  --join-accent: #7ef4ff;
}

.join-team-modern-page .join-role-development {
  --join-accent: #f531cd;
}

.join-team-modern-page .join-role-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.join-team-modern-page .join-role-icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: #ffffff;
  background: color-mix(in srgb, var(--join-accent, #7ef4ff) 22%, rgba(255, 255, 255, 0.06));
}

.join-team-modern-page .join-role-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.join-team-modern-page .join-role-status {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.join-team-modern-page .join-role-kicker {
  position: relative;
  z-index: 1;
  margin: 10px 0 -6px;
  color: var(--join-accent, #7ef4ff);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.join-team-modern-page .join-role-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 520px;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.join-team-modern-page .join-role-card p:not(.join-role-kicker) {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.65;
}

.join-team-modern-page .join-role-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin: 4px 0 2px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.74);
}

.join-team-modern-page .join-role-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.45;
}

.join-team-modern-page .join-role-card li::before {
  content: "";
  width: 9px;
  height: 2px;
  flex: 0 0 9px;
  margin-top: 0.7em;
  border-radius: 999px;
  background: var(--join-accent, #7ef4ff);
}

.join-team-modern-page .join-role-button {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid color-mix(in srgb, var(--join-accent, #7ef4ff) 42%, rgba(255, 255, 255, 0.12));
  border-radius: 12px;
  padding: 0 18px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--join-accent, #7ef4ff) 82%, #ffffff), var(--join-accent, #7ef4ff));
  color: #080a12;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 44px color-mix(in srgb, var(--join-accent, #7ef4ff) 24%, transparent);
  transition: transform 170ms ease, box-shadow 170ms ease, filter 170ms ease;
}

.join-team-modern-page .join-role-button:hover,
.join-team-modern-page .join-role-button:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.12);
  box-shadow: 0 22px 58px color-mix(in srgb, var(--join-accent, #7ef4ff) 34%, transparent);
}

.join-team-modern-page .join-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.7);
}

.join-team-modern-page .join-note strong {
  color: #ffffff;
}

.join-team-modern-page .join-note span {
  line-height: 1.65;
}

@media (max-width: 820px) {
  .join-team-modern-page .join-role-grid,
  .join-team-modern-page .join-note {
    grid-template-columns: 1fr;
  }

  .join-team-modern-page .join-heading {
    text-align: left;
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .join-team-modern-page .join-shell {
    width: min(100% - 28px, 1120px);
  }

  .join-team-modern-page .join-role-card {
    border-radius: 18px;
  }
}
/* End join team page polish */

/* Stable form system */
body:not(.admin-page):not(.admin-dashboard-page) :is(
  .application-card,
  .contact-form-card,
  .report-form-card,
  .report-form,
  .application-form,
  .lookup-search-form
).motion-card,
body:not(.admin-page):not(.admin-dashboard-page) :is(
  .application-card,
  .contact-form-card,
  .report-form-card,
  .report-form,
  .application-form,
  .lookup-search-form
).motion-card:hover {
  transform: none !important;
}

body:not(.admin-page):not(.admin-dashboard-page) :is(
  .application-page,
  .contact-page,
  .report-page,
  .auth-page
) .application-card {
  padding: clamp(18px, 2.4vw, 28px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 9, 14, 0.68) !important;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body:not(.admin-page):not(.admin-dashboard-page) :is(
  .application-page,
  .contact-page,
  .report-page,
  .auth-page
) .application-card:hover {
  transform: none !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .application-form {
  margin-top: 0;
}

body:not(.admin-page):not(.admin-dashboard-page) .application-field {
  min-width: 0;
}

body:not(.admin-page):not(.admin-dashboard-page) .application-field span {
  color: rgba(255, 255, 255, 0.9) !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .application-field[hidden] {
  display: none !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .application-field-hint {
  margin-top: -2px;
  color: rgba(255, 255, 255, 0.56) !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  line-height: 1.45;
}

body:not(.admin-page):not(.admin-dashboard-page) .application-field :is(input, textarea, select) {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.03) !important;
  outline: none !important;
  transform: none !important;
  transition:
    border-color 170ms ease,
    background-color 170ms ease,
    box-shadow 170ms ease !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .application-field textarea {
  min-height: 124px;
}

body:not(.admin-page):not(.admin-dashboard-page) .application-field select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.78) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78) 50%, transparent 50%) !important;
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px) !important;
  background-size: 6px 6px, 6px 6px !important;
  background-repeat: no-repeat !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .application-field select option {
  background: #11131a !important;
  color: #ffffff !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .application-field select option:checked {
  background: #19315f !important;
  color: #ffffff !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .application-field :is(input, textarea, select)::placeholder {
  color: rgba(255, 255, 255, 0.48) !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .application-field :is(input, textarea, select):hover {
  border-color: rgba(126, 244, 255, 0.36) !important;
  background-color: rgba(255, 255, 255, 0.085) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(126, 244, 255, 0.045) !important;
  transform: none !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .application-field :is(input, textarea, select):focus,
body:not(.admin-page):not(.admin-dashboard-page) .application-field :is(input, textarea, select):focus-visible {
  border-color: rgba(126, 244, 255, 0.72) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow:
    0 0 0 4px rgba(126, 244, 255, 0.12),
    0 16px 44px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  transform: none !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .report-page .application-field input[type="file"] {
  color: rgba(255, 255, 255, 0.72) !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .report-page .application-field input[type="file"]::file-selector-button {
  border: 1px solid rgba(126, 244, 255, 0.22) !important;
  background: linear-gradient(135deg, rgba(126, 244, 255, 0.92), rgba(59, 111, 255, 0.92)) !important;
  color: #08101b !important;
}

body:not(.admin-page):not(.admin-dashboard-page) .report-routing-note {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(126, 244, 255, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(126, 244, 255, 0.1), rgba(245, 49, 205, 0.045)),
    rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

body:not(.admin-page):not(.admin-dashboard-page) .report-routing-note strong {
  color: #7ef4ff;
}

body:not(.admin-page):not(.admin-dashboard-page) .lookup-search-form,
body:not(.admin-page):not(.admin-dashboard-page) .lookup-search-form:hover {
  transform: none !important;
}

@media (max-width: 760px) {
  body:not(.admin-page):not(.admin-dashboard-page) .application-grid {
    grid-template-columns: 1fr !important;
  }

  body:not(.admin-page):not(.admin-dashboard-page) :is(
    .application-page,
    .contact-page,
    .report-page,
    .auth-page
  ) .application-card {
    padding: 16px !important;
    border-radius: 18px !important;
  }
}
/* End stable form system */
