:root {
  --foreground: oklch(23.2% 0.0907 265);
  --background: oklch(96.3% 0.00638 197);
  --card-foreground: oklch(35.4% 0.132 260);
  --card: oklch(99% 0.003 240);
  --primary: oklch(85.4% 0.108 198);
  --primary-foreground: oklch(35.4% 0.132 260);
  --secondary: oklch(35.4% 0.132 260);
  --secondary-foreground: oklch(99% 0.005 220);
  --muted: oklch(94% 0.01 240);
  --muted-foreground: oklch(61.9% 0.0372 265);
  --ink-soft: oklch(61.9% 0.0372 265);
  --border: oklch(90% 0.01 240);
  --ring: oklch(55% 0.1 210);
  --surface: oklch(96.3% 0.00638 197);
  --surface-alt: oklch(97% 0.008 235);
  --muted-section: oklch(95% 0.01 238);
  --gradient-start: #4a9fb5;
  --gradient-end: #1a3a5c;
  --line: color-mix(in oklab, var(--secondary) 10%, transparent);
  --glow: 0 18px 44px color-mix(in oklab, var(--secondary) 12%, transparent);
  --radius-xl: 1.25rem;
  --radius-lg: 1rem;
  --radius-md: 0.875rem;
  --radius-sm: 0.625rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: var(--foreground);
  background: var(--background);
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: min(68vw, 980px);
  height: min(68vw, 980px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.72;
  background: url('/static/cyan-dust-background.webp') no-repeat center / cover;
  -webkit-mask-image: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.92) 18%,
    rgba(0, 0, 0, 0.82) 42%,
    rgba(0, 0, 0, 0.38) 64%,
    transparent 82%
  );
  mask-image: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.92) 18%,
    rgba(0, 0, 0, 0.82) 42%,
    rgba(0, 0, 0, 0.38) 64%,
    transparent 82%
  );
}

body::before {
  top: -4rem;
  left: -14rem;
  right: auto;
}

body::after {
  right: -16rem;
  bottom: -3rem;
  left: auto;
  transform: scaleX(-1);
}

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

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: linear-gradient(to top, rgba(244, 249, 251, 0.88), rgba(255, 255, 255, 0.96));
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 36px color-mix(in oklab, var(--secondary) 8%, transparent);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-lockup-partner {
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.brand-lockup-login {
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.brand-logo {
  height: 22px;
  width: auto;
  display: block;
}

.brand-logo.dark {
  height: 24px;
}

.brand-logo-login.dark {
  height: 34px;
}

.customer-logo {
  display: block;
  width: auto;
  height: auto;
}

.customer-logo-inline {
  height: 38px;
  max-width: 92px;
  object-fit: contain;
}

.brand-separator {
  width: 1px;
  height: 30px;
  background: color-mix(in oklab, var(--secondary) 12%, transparent);
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 12px 28px rgba(8, 24, 71, 0.14);
}

.partner-badge-login {
  width: 118px;
  height: 38px;
  padding: 0;
  overflow: hidden;
}

.partner-logo {
  display: block;
  width: auto;
  height: auto;
}

.partner-logo-tealforge {
  width: 118px;
  height: 38px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.85);
  transform-origin: center;
}

.login-footer {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-bottom: 4px;
}

.login-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.login-partner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  flex: 0 0 auto;
}

.login-partner-badge-light {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 46, 87, 0.08);
  box-shadow: 0 14px 28px rgba(8, 24, 71, 0.08);
}

.login-partner-badge-dark {
  background: linear-gradient(135deg, #1c1750, #21337d);
  box-shadow: 0 16px 30px rgba(8, 24, 71, 0.16);
}

.login-partner-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.login-partner-logo-biosked {
  height: 28px;
}

.login-partner-logo-tealforge {
  height: 24px;
}

.customer-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 20px 40px rgba(8, 24, 71, 0.18);
}

.customer-logo-login {
  width: min(140px, 24vw);
  object-fit: contain;
}

.brand-signature {
  display: grid;
  gap: 10px;
}

.brand-signature span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy span {
  display: block;
  color: color-mix(in oklab, var(--secondary) 88%, white 0%);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-copy-light {
  margin-top: 6px;
}

.brand-copy-light span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: 28ch;
}

.brand-separator-light {
  background: rgba(255, 255, 255, 0.18);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a,
.action-pill,
.logout-link {
  color: color-mix(in oklab, var(--secondary) 72%, white 0%);
  border: 1px solid color-mix(in oklab, var(--border) 100%, transparent);
  background: rgba(255, 255, 255, 0.52);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.hero {
  margin-top: 22px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(258deg, #0a367f 17.51%, #081847 88.95%);
  color: white;
  box-shadow: var(--glow);
  overflow: hidden;
  position: relative;
  border: 1px solid color-mix(in oklab, white 12%, transparent);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -35% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--primary) 18%, transparent);
  border: 1px solid color-mix(in oklab, white 16%, transparent);
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 5vw, 48px);
  align-items: end;
  margin-top: 20px;
}

.hero-layout-single {
  grid-template-columns: minmax(0, 1fr);
}

.hero-title {
  margin: 18px 0 10px;
  font-size: clamp(2.5rem, 3.5vw + 0.5rem, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(1.2rem, 1.6vw + 0.5rem, 2rem);
  line-height: 1.2;
  max-width: 20ch;
  font-weight: 600;
}

.hero-body {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 58ch;
}

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

.action-pill {
  transition: transform 160ms ease, background 160ms ease;
}

.action-pill.primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: color-mix(in oklab, white 50%, transparent);
}

.action-pill:hover,
.logout-link:hover,
.nav-links a:hover,
.credential-button:hover {
  transform: translateY(-1px);
}

.hero-sidecard,
.section-card,
.resource-card,
.screenshot-card,
.credential-panel,
.contact-card,
.kit-card,
.login-card,
.login-brand,
.notice-band,
.usage-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid color-mix(in oklab, white 58%, var(--border));
  box-shadow: var(--glow);
  backdrop-filter: blur(14px);
}

.hero-sidecard {
  padding: 22px;
  background: rgba(255, 255, 255, 0.18);
  border-color: color-mix(in oklab, white 18%, transparent);
}

.hero-sidecard,
.hero-sidecard p,
.hero-sidecard h3 {
  color: white;
}

.hero-sidecard h3,
.section-card h2,
.resource-card h3,
.credential-panel h2,
.login-brand h1,
.login-card h1 {
  margin: 0 0 12px;
}

.hero-sidecard p,
.section-copy,
.resource-card p,
.screenshot-card p,
.contact-card p,
.kit-card p,
.login-card p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stat-card {
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.stat-card strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
}

.section {
  padding: 46px 0 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw + 0.25rem, 2.375rem);
  letter-spacing: -0.03em;
  color: var(--secondary);
  font-weight: 600;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: color-mix(in oklab, var(--gradient-end) 80%, black 0%);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.section-copy {
  margin: 0;
  max-width: 70ch;
  font-size: 1.04rem;
}

.intro-grid,
.resource-grid,
.card-grid,
.contact-grid,
.login-shell {
  display: grid;
  gap: 20px;
}

.intro-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.9fr);
}

.section-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.6);
}

.intro-grid-enhanced {
  align-items: stretch;
}

.intro-story-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 250, 252, 0.82));
}

.intro-lead {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.intro-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  background: linear-gradient(135deg, rgba(55, 175, 207, 0.18), rgba(10, 54, 127, 0.12));
  color: var(--secondary);
}

.intro-copy {
  font-size: 1.08rem;
}

.bullet-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--card-foreground);
}

.bullet-list li + li {
  margin-top: 10px;
}

.benefit-grid {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(27, 64, 104, 0.08);
  box-shadow: 0 12px 28px rgba(16, 46, 87, 0.08);
  color: var(--card-foreground);
  line-height: 1.55;
}

.benefit-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(10, 54, 127, 0.08);
  font-size: 1.05rem;
}

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

.resource-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.resource-card,
.kit-card {
  overflow: hidden;
}

.media-rail {
  display: grid;
  gap: 12px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.18));
}

.media-rail.media-count-1 {
  grid-template-columns: 1fr;
}

.media-rail.media-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preview-tile,
.screenshot-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 10;
  min-height: 220px;
  background: linear-gradient(135deg, #dbeef4, #cfdceb);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.preview-tile img,
.screenshot-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 220ms ease;
}

.preview-tile.kind-video img {
  object-position: center;
}

.preview-tile:hover img,
.screenshot-link:hover img {
  transform: scale(1.03);
}

.preview-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 24, 71, 0.06), rgba(8, 24, 71, 0.08) 45%, rgba(8, 24, 71, 0.58));
}

.preview-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.preview-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.preview-play-triangle {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid white;
}

.preview-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  color: white;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
}

.resource-thumb,
.screenshot-thumb,
.gradient-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, color-mix(in oklab, var(--primary) 40%, white), color-mix(in oklab, var(--secondary) 10%, white));
}

.resource-thumb img,
.screenshot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gradient-thumb.gradient-aqua {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(135deg, var(--gradient-start), #0a367f);
}

.gradient-thumb.gradient-ink {
  background:
    radial-gradient(circle at top left, rgba(108, 229, 232, 0.14), transparent 22%),
    linear-gradient(258deg, #0a367f 17.51%, #081847 88.95%);
}

.card-body,
.screenshot-card-body {
  padding: 18px;
}

.resource-card .card-body,
.kit-card .card-body {
  padding: 20px 20px 22px;
}

.card-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--gradient-end) 78%, black 0%);
  font-weight: 800;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip-link,
.download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--secondary);
}

.download-link {
  padding: 11px 13px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--primary) 25%, white);
  border: 1px solid color-mix(in oklab, var(--border) 100%, transparent);
}

.gallery-heading {
  margin: 34px 0 16px;
}

.gallery-heading h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--secondary);
}

.gallery-heading p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.screenshot-card {
  overflow: hidden;
}

.screenshot-card-body h4 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
}

.glossary-panel {
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(55, 175, 207, 0.12), transparent 24%),
    linear-gradient(180deg, color-mix(in oklab, var(--primary) 10%, white), rgba(255, 255, 255, 0.94));
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in oklab, var(--border) 100%, transparent);
  box-shadow: var(--glow);
}

.glossary-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.glossary-card {
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 46, 87, 0.08);
  box-shadow: 0 12px 28px rgba(16, 46, 87, 0.08);
}

.glossary-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.glossary-card h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--secondary);
}

.glossary-card p {
  margin: 0;
  color: var(--card-foreground);
  line-height: 1.6;
}

.glossary-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(55, 175, 207, 0.12);
  font-size: 1.1rem;
}

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

.glossary-list {
  margin: 0;
  padding-left: 18px;
}

.glossary-list li + li {
  margin-top: 12px;
}

.glossary-list strong {
  color: var(--secondary);
}

.credential-panel {
  padding: 28px;
}

.credential-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.credential-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(120deg, #37afcf, #0a367f);
  color: var(--secondary-foreground);
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: white;
}

thead th {
  background: linear-gradient(258deg, #0a367f 17.51%, #081847 88.95%);
  color: white;
  text-align: left;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 600;
}

tbody td {
  padding: 14px 16px;
  border-top: 1px solid rgba(21, 49, 75, 0.08);
}

tbody tr:nth-child(even) td {
  background: rgba(244, 251, 252, 0.75);
}

.note-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.notice-band,
.usage-card {
  padding: 22px;
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.contact-card {
  padding: 24px;
  text-align: center;
}

.contact-photo-shell {
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 242, 248, 0.92));
  border: 1px solid rgba(16, 46, 87, 0.08);
  box-shadow: 0 14px 30px rgba(16, 46, 87, 0.1);
}

.contact-photo {
  width: 100%;
  height: 100%;
}

.contact-photo.cover {
  object-fit: cover;
}

.contact-photo.contain {
  object-fit: contain;
  padding: 14px;
  background: white;
}

.contact-photo-shell-brand {
  width: 152px;
  height: 96px;
  border-radius: 26px;
  background: linear-gradient(135deg, #1c1750, #21337d);
  border-color: rgba(18, 38, 92, 0.24);
  box-shadow: 0 18px 36px rgba(16, 46, 87, 0.16);
}

.contact-photo.contain-brand {
  object-fit: contain;
  padding: 10px 12px;
}

.avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.35rem;
  font-weight: 800;
}

.avatar.teal {
  background: linear-gradient(135deg, var(--gradient-start), #6ce5e8);
}

.avatar.navy {
  background: linear-gradient(135deg, #294899, #0a367f);
}

.avatar.sand {
  background: linear-gradient(135deg, #c28d4d, #e0b887);
}

.contact-name {
  margin: 0 0 6px;
  font-size: 1.18rem;
  color: var(--secondary);
}

.contact-role {
  margin: 0 0 6px;
  color: var(--ink-soft);
}

.footer {
  padding: 42px 0 64px;
  color: var(--ink-soft);
}

.footer-legal {
  padding: 22px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.footer-legal p {
  margin: 0;
  line-height: 1.7;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 32px);
}

.login-layout {
  width: min(1120px, 100%);
  display: grid;
  gap: 18px;
}

.login-shell {
  width: 100%;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 450px);
  align-items: stretch;
  gap: clamp(18px, 2.4vw, 28px);
}

.login-brand {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: clamp(420px, 60vh, 560px);
  padding: clamp(28px, 5vw, 44px);
  color: white;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(258deg, #0a367f 17.51%, #081847 88.95%);
  position: relative;
  overflow: hidden;
}

.login-brand::after {
  content: "";
  position: absolute;
  inset: auto -12% -26% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 229, 232, 0.22), transparent 65%);
  pointer-events: none;
}

.login-brand-head,
.login-card {
  position: relative;
  z-index: 1;
}

.login-brand-copy {
  display: grid;
  gap: 12px;
  align-content: center;
  justify-items: start;
  min-height: 100%;
  padding-block: clamp(18px, 4vh, 40px);
}

.login-brand-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-brand-lead {
  margin: 0;
  max-width: 9ch;
  color: white;
  font-size: clamp(2.35rem, 2.4vw + 1rem, 3.85rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}

.login-highlights {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.login-highlight {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.login-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 3.4vw, 36px);
  background: rgba(255, 255, 255, 0.96);
}

.login-card form {
  display: grid;
  gap: 20px;
  margin-top: 14px;
}

.login-card-eyebrow {
  margin: 0 0 12px;
  color: color-mix(in oklab, var(--gradient-end) 86%, black 0%);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.login-card h1 {
  margin: 0 0 16px;
  max-width: 13.5ch;
  color: var(--secondary);
  font-size: clamp(1.9rem, 1.8vw + 0.95rem, 2.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 600;
  text-wrap: balance;
}

.login-card p {
  margin: 0;
  max-width: 30ch;
  color: var(--muted-foreground);
  font-size: clamp(1rem, 0.5vw + 0.94rem, 1.18rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.field-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--secondary);
  font-size: 1rem;
}

.password-field {
  position: relative;
}

.field-input {
  width: 100%;
  padding: 17px 112px 17px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  font: inherit;
  font-size: 1.05rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 24px rgba(8, 24, 71, 0.04);
}

.field-input:focus {
  outline: 2px solid rgba(23, 63, 138, 0.18);
  border-color: rgba(23, 63, 138, 0.3);
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(108, 229, 232, 0.22);
  color: var(--secondary);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.password-toggle:hover {
  background: rgba(108, 229, 232, 0.32);
}

.password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle [data-eye-closed] {
  display: none;
}

.password-toggle[data-visible="true"] [data-eye-open] {
  display: none;
}

.password-toggle[data-visible="true"] [data-eye-closed] {
  display: block;
}

.password-toggle:focus-visible {
  outline: 2px solid rgba(23, 63, 138, 0.18);
}

.submit-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 17px 22px;
  background: var(--primary);
  color: var(--primary-foreground);
  font: inherit;
  font-weight: 800;
  font-size: 1.12rem;
  cursor: pointer;
  box-shadow: 0 18px 34px color-mix(in oklab, var(--primary) 36%, transparent);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 38px color-mix(in oklab, var(--primary) 42%, transparent);
}

.login-legal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  max-width: 52ch;
  color: var(--muted-foreground);
  font-size: 0.94rem;
  line-height: 1.4;
  text-align: center;
}

.login-legal-icon {
  font-size: 0.95rem;
}

.hint {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.error-banner {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(203, 37, 58, 0.08);
  color: #9f1f32;
  border: 1px solid rgba(203, 37, 58, 0.18);
}

.logout-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 920px) {
  .hero-layout,
  .intro-grid,
  .panel-grid,
  .login-shell {
    grid-template-columns: 1fr;
  }

  .glossary-columns,
  .showcase-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .credential-header,
  .topbar-inner {
    align-items: flex-start;
  }

  .section-heading {
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .login-brand {
    min-height: 360px;
  }

  .login-brand-lead {
    max-width: 10ch;
  }

  .login-layout {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  body::before,
  body::after {
    width: min(110vw, 760px);
    height: min(110vw, 760px);
    opacity: 0.62;
  }

  body::before {
    top: -8rem;
    left: -18rem;
  }

  body::after {
    right: -20rem;
    bottom: -8rem;
  }

  .page-shell {
    width: min(100vw - 20px, 1180px);
  }

  .topbar-inner {
    padding: 12px 0;
    flex-direction: column;
  }

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

  .hero {
    padding: 24px;
    border-radius: var(--radius-lg);
  }

  .section-card,
  .credential-panel,
  .glossary-panel {
    padding: 22px;
  }

  .resource-grid,
  .card-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .media-rail.media-count-2 {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .login-page {
    padding: 14px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .brand-lockup {
    flex-wrap: wrap;
  }

  .brand-separator {
    display: none;
  }

  .customer-logo-inline {
    height: 34px;
    max-width: 82px;
  }

  .login-layout {
    gap: 14px;
  }

  .login-brand {
    min-height: 320px;
    padding: 24px;
  }

  .brand-lockup-login {
    gap: 8px;
  }

  .customer-logo-login {
    width: min(88px, 24vw);
  }

  .brand-logo-login.dark {
    height: 28px;
  }

  .brand-separator-light {
    height: 22px;
  }

  .partner-badge-login {
    width: 82px;
    height: 30px;
    border-radius: 10px;
  }

  .partner-logo-tealforge {
    width: 82px;
    height: 30px;
  }

  .login-partners {
    gap: 12px;
  }

  .login-partner-badge {
    min-width: 150px;
    height: 40px;
    padding: 0 14px;
    border-radius: 13px;
  }

  .login-partner-logo-biosked {
    height: 24px;
  }

  .login-partner-logo-tealforge {
    height: 20px;
  }

  .contact-photo-shell-brand {
    width: 140px;
    height: 88px;
  }

  .brand-copy-light span {
    font-size: 0.92rem;
    max-width: 22ch;
  }

  .login-brand-copy {
    gap: 10px;
  }

  .login-card h1 {
    max-width: 12ch;
  }

  .login-card p {
    max-width: 24ch;
  }

  .login-card {
    padding: 24px 20px;
  }

  .field-input {
    padding-right: 68px;
  }

  .password-toggle {
    right: 8px;
    width: 40px;
    height: 40px;
  }

  .login-legal {
    padding-inline: 8px;
  }
}
