.landing-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 76% -8%, rgba(var(--brand-rgb), .08), transparent 28rem),
    linear-gradient(180deg, var(--bg), var(--surface-2) 55%, var(--bg));
  overflow-x: hidden;
}

@media (min-width: 992px) {
  .login-reference-page {
    height: 100vh;
    overflow: hidden;
  }

  .login-ref-header {
    width: min(1280px, calc(100% - 64px));
    height: 72px;
  }

  .login-ref-logo .brand-logo {
    width: 178px;
    height: 38px;
  }

  .login-ref-main {
    width: min(1280px, calc(100% - 64px));
    height: calc(100vh - 72px);
    min-height: 0;
    grid-template-columns: minmax(0, 560px) minmax(460px, 560px);
    gap: 72px;
    align-items: center;
    padding: 0 0 18px;
  }

  .login-ref-left {
    height: 100%;
    min-height: 0;
    padding: 18px 0 0;
  }

  .welcome-note {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .login-ref-left h1 {
    max-width: 490px;
    margin-bottom: 12px;
    font-size: clamp(32px, 3.25vw, 42px);
    line-height: 1.13;
  }

  .login-ref-left > p {
    max-width: 500px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.55;
  }

  .login-feature-list {
    gap: 11px;
    max-width: 520px;
  }

  .login-feature-list article {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 11px;
  }

  .login-feature-list i {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .login-feature-list h3 {
    font-size: 13px;
    margin-bottom: 3px;
  }

  .login-feature-list p {
    font-size: 12px;
    line-height: 1.4;
  }

  .login-screen-image {
    display: block;
    left: -74px;
    bottom: -10px;
    width: 650px;
    max-width: none;
    max-height: 300px;
    object-fit: contain;
  }

  .login-ref-right {
    align-self: center;
    gap: 14px;
    padding-top: 0;
  }

  .login-ref-card {
    width: 100%;
    padding: 32px 40px;
    border-radius: 16px;
  }

  .login-ref-card h2 {
    font-size: 28px;
    margin-bottom: 6px;
  }

  .login-ref-card > p {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .ref-field {
    margin-top: 15px;
  }

  .ref-field label,
  .field-row a {
    font-size: 12px;
  }

  .ref-input {
    min-height: 46px;
    margin-top: 7px;
    padding: 0 13px;
  }

  .ref-input input {
    font-size: 13px;
  }

  .remember-row {
    margin: 13px 0 17px;
    font-size: 12px;
  }

  .remember-row input {
    width: 15px;
    height: 15px;
  }

  .login-ref-submit {
    min-height: 46px;
    font-size: 14px;
  }

  .login-ref-card .login-divider {
    margin: 20px 0 14px;
  }

  .login-ref-card .social-grid {
    gap: 10px;
  }

  .login-ref-card .social-grid button {
    min-height: 43px;
    font-size: 13px;
  }

  .login-switch {
    margin-top: 14px !important;
    font-size: 13px;
  }

  .secure-note {
    font-size: 12px;
  }
}

/* Login page authoritative compact layout */
@media (min-width: 992px) {
  .login-reference-page {
    height: 100vh;
    overflow: hidden;
    background:
      radial-gradient(circle at 78% 12%, rgba(var(--brand-rgb), .075), transparent 28rem),
      linear-gradient(135deg, #ffffff 0%, #f8fafc 48%, #f1f4f9 100%);
  }

  .login-ref-header {
    width: min(1288px, calc(100% - 80px));
    height: 68px;
  }

  .login-ref-logo .brand-logo {
    width: 166px;
    height: auto;
    max-height: 42px;
    object-fit: contain;
  }

  .language-btn {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
  }

  .login-ref-main {
    width: min(1288px, calc(100% - 80px));
    height: calc(100vh - 68px);
    min-height: 0;
    grid-template-columns: minmax(0, 548px) minmax(460px, 560px);
    gap: clamp(42px, 6vw, 96px);
    align-items: center;
    padding: 0 0 16px;
  }

  .login-ref-left {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
  }

  .welcome-note {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
  }

  .login-ref-left h1 {
    max-width: 500px;
    margin-bottom: 12px;
    font-size: clamp(34px, 3.15vw, 44px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.035em;
  }

  .login-ref-left > p {
    max-width: 510px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.55;
  }

  .login-feature-list {
    max-width: 520px;
    gap: 12px;
  }

  .login-feature-list article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .login-feature-list i {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .login-feature-list h3 {
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 760;
  }

  .login-feature-list p {
    font-size: 12px;
    line-height: 1.38;
  }

  .login-screen-image {
    display: none !important;
  }

  .desk-visual {
    position: relative;
    display: block;
    width: min(520px, 100%);
    height: 178px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background:
      radial-gradient(circle at 74% 24%, rgba(var(--brand-rgb), .11), transparent 10rem),
      linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(238, 242, 248, .68));
  }

  .desk-visual::after {
    bottom: -18px;
    height: 64px;
    background: linear-gradient(180deg, #ffffff, #e8edf5);
  }

  .laptop {
    left: 132px;
    bottom: 32px;
    width: 252px;
  }

  .laptop-screen {
    height: 132px;
    grid-template-columns: 38px 1fr;
    gap: 8px;
    padding: 10px;
    border-width: 8px;
    border-radius: 10px 10px 4px 4px;
  }

  .screen-content {
    gap: 7px;
  }

  .screen-content span {
    height: 21px;
    border-radius: 6px;
  }

  .screen-chart {
    height: 54px !important;
  }

  .laptop-base {
    width: 296px;
    height: 15px;
    margin-left: -22px;
  }

  .plant {
    left: 28px;
    bottom: 26px;
    transform: scale(.78);
    transform-origin: left bottom;
  }

  .mug {
    left: 410px;
    bottom: 32px;
    width: 46px;
    height: 54px;
  }

  .mug::after {
    right: -14px;
    top: 14px;
    width: 22px;
    height: 24px;
    border-width: 5px;
  }

  .floating-icon {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .floating-icon.one { left: 365px; bottom: 134px; }
  .floating-icon.two { left: 448px; bottom: 82px; }
  .floating-icon.three { left: 44px; bottom: 118px; }

  .login-ref-right {
    align-self: center;
    gap: 12px;
    padding-top: 0;
  }

  .login-ref-card {
    width: 100%;
    max-width: 560px;
    padding: 34px 40px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 22px 70px rgba(15, 23, 42, .08);
  }

  .login-ref-card h2 {
    margin-bottom: 6px;
    font-size: 28px;
    line-height: 1.08;
    font-weight: 800;
  }

  .login-ref-card > p {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .ref-field {
    margin-top: 15px;
  }

  .ref-input {
    min-height: 46px;
    margin-top: 7px;
    padding: 0 13px;
    border-radius: 8px;
  }

  .ref-input input,
  .field-row a,
  .ref-field label,
  .remember-row,
  .login-switch,
  .secure-note {
    font-size: 12px;
  }

  .remember-row {
    margin: 13px 0 17px;
  }

  .login-ref-submit {
    min-height: 46px;
    border-radius: 8px;
    font-size: 14px;
  }

  .login-ref-card .login-divider {
    margin: 20px 0 14px;
  }

  .login-ref-card .social-grid button {
    min-height: 43px;
    border-radius: 8px;
    font-size: 13px;
  }

  .login-switch {
    margin-top: 14px !important;
  }
}

@media (min-width: 992px) and (max-height: 690px) {
  .login-ref-header {
    height: 58px;
  }

  .login-ref-main {
    height: calc(100vh - 58px);
    grid-template-columns: minmax(0, 530px) minmax(450px, 540px);
    gap: 48px;
  }

  .login-ref-left h1 {
    font-size: clamp(30px, 3vw, 38px);
    margin-bottom: 9px;
  }

  .login-ref-left > p {
    margin-bottom: 12px;
  }

  .login-feature-list {
    gap: 8px;
  }

  .login-feature-list article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .login-feature-list i {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .desk-visual {
    height: 132px;
    margin-top: 8px;
  }

  .laptop {
    left: 125px;
    bottom: 22px;
    width: 220px;
  }

  .laptop-screen {
    height: 106px;
  }

  .laptop-base {
    width: 260px;
  }

  .plant {
    bottom: 18px;
    transform: scale(.62);
  }

  .mug {
    left: 360px;
    bottom: 24px;
    transform: scale(.8);
    transform-origin: left bottom;
  }

  .floating-icon {
    display: none;
  }

  .login-ref-card {
    padding: 28px 36px;
  }

  .login-ref-card h2 {
    font-size: 26px;
  }

  .login-ref-card > p {
    margin-bottom: 18px;
  }
}

/* Login page final polish: compact reference layout with contained CSS visual */
@media (min-width: 992px) {
  .login-reference-page {
    height: 100vh;
    overflow: hidden;
    background:
      radial-gradient(circle at 78% 12%, rgba(var(--brand-rgb), .075), transparent 28rem),
      linear-gradient(135deg, #ffffff 0%, #f8fafc 48%, #f1f4f9 100%);
  }

  .login-ref-header {
    width: min(1288px, calc(100% - 80px));
    height: 68px;
  }

  .login-ref-logo .brand-logo {
    width: 166px;
    height: auto;
    max-height: 42px;
    object-fit: contain;
  }

  .language-btn {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
  }

  .login-ref-main {
    width: min(1288px, calc(100% - 80px));
    height: calc(100vh - 68px);
    min-height: 0;
    grid-template-columns: minmax(0, 548px) minmax(460px, 560px);
    gap: clamp(42px, 6vw, 96px);
    align-items: center;
    padding: 0 0 16px;
  }

  .login-ref-left {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
  }

  .welcome-note {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
  }

  .login-ref-left h1 {
    max-width: 500px;
    margin-bottom: 12px;
    font-size: clamp(34px, 3.15vw, 44px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.035em;
  }

  .login-ref-left > p {
    max-width: 510px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.55;
  }

  .login-feature-list {
    max-width: 520px;
    gap: 12px;
  }

  .login-feature-list article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .login-feature-list i {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .login-feature-list h3 {
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 760;
  }

  .login-feature-list p {
    font-size: 12px;
    line-height: 1.38;
  }

  .login-screen-image {
    display: none !important;
  }

  .desk-visual {
    position: relative;
    display: block;
    width: min(520px, 100%);
    height: 178px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background:
      radial-gradient(circle at 74% 24%, rgba(var(--brand-rgb), .11), transparent 10rem),
      linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(238, 242, 248, .68));
  }

  .desk-visual::after {
    bottom: -18px;
    height: 64px;
    background: linear-gradient(180deg, #ffffff, #e8edf5);
  }

  .laptop {
    left: 132px;
    bottom: 32px;
    width: 252px;
  }

  .laptop-screen {
    height: 132px;
    grid-template-columns: 38px 1fr;
    gap: 8px;
    padding: 10px;
    border-width: 8px;
    border-radius: 10px 10px 4px 4px;
  }

  .screen-content {
    gap: 7px;
  }

  .screen-content span {
    height: 21px;
    border-radius: 6px;
  }

  .screen-chart {
    height: 54px !important;
  }

  .laptop-base {
    width: 296px;
    height: 15px;
    margin-left: -22px;
  }

  .plant {
    left: 28px;
    bottom: 26px;
    transform: scale(.78);
    transform-origin: left bottom;
  }

  .mug {
    left: 410px;
    bottom: 32px;
    width: 46px;
    height: 54px;
  }

  .mug::after {
    right: -14px;
    top: 14px;
    width: 22px;
    height: 24px;
    border-width: 5px;
  }

  .floating-icon {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .floating-icon.one { left: 365px; bottom: 134px; }
  .floating-icon.two { left: 448px; bottom: 82px; }
  .floating-icon.three { left: 44px; bottom: 118px; }

  .login-ref-right {
    align-self: center;
    gap: 12px;
    padding-top: 0;
  }

  .login-ref-card {
    width: 100%;
    max-width: 560px;
    padding: 34px 40px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 22px 70px rgba(15, 23, 42, .08);
  }

  .login-ref-card h2 {
    margin-bottom: 6px;
    font-size: 28px;
    line-height: 1.08;
    font-weight: 800;
  }

  .login-ref-card > p {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .ref-field {
    margin-top: 15px;
  }

  .ref-input {
    min-height: 46px;
    margin-top: 7px;
    padding: 0 13px;
    border-radius: 8px;
  }

  .ref-input input,
  .field-row a,
  .ref-field label,
  .remember-row,
  .login-switch,
  .secure-note {
    font-size: 12px;
  }

  .remember-row {
    margin: 13px 0 17px;
  }

  .login-ref-submit {
    min-height: 46px;
    border-radius: 8px;
    font-size: 14px;
  }

  .login-ref-card .login-divider {
    margin: 20px 0 14px;
  }

  .login-ref-card .social-grid button {
    min-height: 43px;
    border-radius: 8px;
    font-size: 13px;
  }

  .login-switch {
    margin-top: 14px !important;
  }
}

@media (min-width: 992px) and (max-height: 690px) {
  .login-ref-header {
    height: 58px;
  }

  .login-ref-main {
    height: calc(100vh - 58px);
    grid-template-columns: minmax(0, 530px) minmax(450px, 540px);
    gap: 48px;
  }

  .login-ref-left h1 {
    font-size: clamp(30px, 3vw, 38px);
    margin-bottom: 9px;
  }

  .login-ref-left > p {
    margin-bottom: 12px;
  }

  .login-feature-list {
    gap: 8px;
  }

  .login-feature-list article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .login-feature-list i {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .desk-visual {
    height: 132px;
    margin-top: 8px;
  }

  .laptop {
    left: 125px;
    bottom: 22px;
    width: 220px;
  }

  .laptop-screen {
    height: 106px;
  }

  .laptop-base {
    width: 260px;
  }

  .plant {
    bottom: 18px;
    transform: scale(.62);
  }

  .mug {
    left: 360px;
    bottom: 24px;
    transform: scale(.8);
    transform-origin: left bottom;
  }

  .floating-icon {
    display: none;
  }

  .login-ref-card {
    padding: 28px 36px;
  }

  .login-ref-card h2 {
    font-size: 26px;
  }

  .login-ref-card > p {
    margin-bottom: 18px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(18px);
}

.site-nav,
.landing-section,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-brand {
  display: flex;
  align-items: center;
  width: 172px;
  flex: 0 0 auto;
}

.site-brand .brand-logo {
  height: 30px;
  max-width: 166px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline: auto;
}

.nav-links a {
  padding: 9px 13px;
  color: var(--text);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.nav-links a.nav-link-active,
.home-page .nav-links a:first-child {
  color: var(--brand-600);
  background: rgba(var(--brand-rgb), .10);
}

.nav-links a:hover {
  color: var(--brand-700);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.theme-switcher.compact {
  min-height: 34px;
}

.home-page .theme-switcher.compact {
  display: none;
}

.nav-login,
.nav-cta {
  min-height: 38px;
  min-width: 82px;
  padding: 9px 16px;
  font-size: 13px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}

.landing-section {
  padding-block: 54px;
}

.hero-section {
  padding-top: 34px;
  padding-bottom: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 680px);
  align-items: center;
  gap: 34px;
  justify-content: space-between;
}

.hero-content h1 {
  max-width: 430px;
  margin: 18px 0 14px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: -.03em;
}

.hero-content h1 span {
  color: var(--brand-600);
}

.hero-content p {
  max-width: 430px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-actions .btn,
.cta-actions .btn {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 13px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.trust-badges i {
  color: var(--brand-600);
  margin-right: 5px;
}

.hero-product {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  min-width: 0;
}

.hero-blob {
  display: none;
}

.product-window {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  width: min(100%, 670px);
  min-height: 340px;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 84%, transparent);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 22px 60px rgba(15, 23, 42, .11);
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 16px 12px;
  border-right: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
}

.mini-logo {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--brand-300), var(--brand-600));
  margin-bottom: 6px;
}

.product-sidebar small {
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 8px;
}

.product-nav {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.product-nav.active {
  background: var(--nav-active);
  border-color: rgba(var(--brand-rgb), .32);
  color: var(--brand-700);
}

.product-main {
  padding: 14px;
}

.product-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.product-top strong,
.product-top small {
  display: block;
}

.product-top strong {
  font-size: 14px;
}

.product-top small {
  color: var(--muted);
  font-size: 11px;
}

.product-top label {
  height: 30px;
  min-width: 176px;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface-2);
}

.product-top input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.product-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.product-kpis article,
.mock-chart,
.mock-list,
.feature-card,
.role-stack article,
.live-board,
.price-card,
.testimonial-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.product-kpis article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px;
  padding: 10px;
}

.product-kpis i,
.feature-card i,
.role-stack i,
.live-tools i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--brand-700);
  background: var(--brand-100);
}

[data-theme="dark"] .product-kpis i,
[data-theme="dark"] .feature-card i,
[data-theme="dark"] .role-stack i,
[data-theme="dark"] .live-tools i {
  color: var(--brand-200);
  background: rgba(var(--brand-rgb), .14);
}

.product-kpis small {
  grid-column: 1 / 2;
  color: var(--muted);
  font-size: 10px;
}

.product-kpis strong {
  grid-column: 1 / 2;
  font-size: 17px;
  line-height: 1;
}

.product-kpis span {
  grid-column: 1 / -1;
  color: var(--success);
  font-size: 10px;
  font-weight: 700;
}

.product-panels {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: 9px;
  margin-top: 10px;
  align-items: stretch;
}

.mock-chart,
.mock-list {
  padding: 11px;
}

.compact-chart {
  height: 82px;
}

.recent-payment-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--border);
}

.recent-payment-inline h3 {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 700;
}

.recent-payment-inline small {
  color: var(--muted);
  font-size: 10px;
}

.recent-payment-inline strong {
  font-size: 15px;
}

.mock-list {
  display: grid;
  gap: 6px;
}

.mock-list > div:not(.card-title-row) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

.mock-list b {
  display: grid;
  gap: 2px;
  font-size: 11px;
}

.mock-list b small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.preview-bell {
  position: relative;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: var(--surface-2);
}

.preview-bell span {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
}

.product-bottom-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 9px;
}

.product-bottom-panels article {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.product-bottom-panels h3 {
  margin: 0 0 8px;
  font-size: 11px;
}

.product-bottom-panels span {
  display: block;
  font-size: 14px;
  font-weight: 750;
}

.product-bottom-panels small {
  color: var(--muted);
}

.academy-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 14px 0 20px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.academy-strip span {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12px;
}

.academy-strip strong {
  color: var(--subtle);
  font-size: 14px;
  text-align: center;
  letter-spacing: .03em;
  text-transform: none;
}

.academy-strip small {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--subtle);
}

.section-heading {
  max-width: 620px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  max-width: 680px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: -.03em;
}

.feature-grid,
.pricing-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.compact-features {
  padding-top: 28px;
  padding-bottom: 24px;
}

.compact-features .section-heading {
  display: none;
}

.reference-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  column-gap: 16px;
  row-gap: 6px;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 98%, transparent), color-mix(in srgb, var(--surface-2) 34%, var(--surface))),
    var(--surface);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(var(--brand-rgb), .55), transparent 72%);
  opacity: 0;
  transition: opacity .18s ease;
}

.feature-card i {
  width: 52px;
  height: 52px;
  font-size: 21px;
  border-radius: 14px;
  grid-row: 1 / span 2;
  box-shadow: 0 10px 18px rgba(var(--brand-rgb), .12), inset 0 1px 0 rgba(255,255,255,.42);
}

.feature-card:hover,
.price-card:hover,
.testimonial-grid article:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--border-strong) 82%, var(--brand-500));
  box-shadow: var(--shadow-sm);
}

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

.feature-card h3,
.role-stack h3,
.price-card h3,
.site-footer h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.feature-card h3,
.feature-card p {
  grid-column: 2;
}

.feature-card h3 {
  align-self: end;
  padding-top: 4px;
}

.feature-card p {
  max-width: 250px;
}

.feature-card p,
.role-stack p,
.price-card p,
.testimonial-grid p,
.site-footer p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.split-section,
.live-showcase,
.cta-section {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
  gap: 34px;
}

.role-copy-panel {
  position: relative;
  max-width: 470px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--border) 84%, transparent);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 10%, rgba(var(--brand-rgb), .16), transparent 10rem),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, transparent), color-mix(in srgb, var(--surface-2) 72%, transparent));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.role-copy-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(var(--brand-rgb), .28) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(135deg, transparent 0%, #000 22%, transparent 72%);
  opacity: .38;
  pointer-events: none;
}

.role-copy-panel::after {
  content: "\F4D7";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--brand-rgb), .26);
  border-radius: 14px;
  color: var(--brand-700);
  background: rgba(var(--brand-rgb), .12);
  font-family: "bootstrap-icons";
  font-size: 20px;
}

.role-copy-panel .eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(var(--brand-rgb), .22);
  border-radius: 999px;
  background: rgba(var(--brand-rgb), .10);
}

.role-copy-panel .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-600);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12);
}

.role-copy-panel h2,
.role-copy-panel p {
  position: relative;
  z-index: 1;
}

.role-copy-panel h2 {
  margin-top: 18px;
  max-width: 390px;
}

.role-copy-panel p {
  max-width: 350px;
}

.role-stack {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--border) 84%, transparent);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 12%, rgba(var(--brand-rgb), .16), transparent 16rem),
    radial-gradient(circle at 0% 88%, rgba(148, 163, 184, .14), transparent 14rem),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--surface-2) 78%, transparent));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.role-stack::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--border) 62%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--border) 62%, transparent) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(110deg, transparent 0%, #000 22%, #000 76%, transparent 100%);
  opacity: .38;
  pointer-events: none;
}

.role-stack::after {
  content: "";
  position: absolute;
  left: 37px;
  top: 54px;
  bottom: 54px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(var(--brand-rgb), .45), color-mix(in srgb, var(--border-strong) 70%, transparent), transparent);
  pointer-events: none;
}

.role-stack article {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px;
  border-color: color-mix(in srgb, var(--border) 86%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 98%, transparent), color-mix(in srgb, var(--surface) 86%, var(--surface-2))),
    var(--surface);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.role-stack article:nth-child(even) {
  transform: translateX(18px);
}

.role-stack article:hover {
  transform: translateY(-2px) translateX(0);
  border-color: rgba(var(--brand-rgb), .34);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .09);
}

.role-stack h3 {
  margin: 0 0 4px;
}

.role-stack i {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  box-shadow: 0 8px 18px rgba(var(--brand-rgb), .16), inset 0 1px 0 rgba(255,255,255,.4);
}

.live-showcase {
  grid-template-columns: 1.1fr .9fr;
}

.live-board {
  padding: 12px;
  background: var(--surface);
}

.live-session-image {
  display: block;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  object-fit: cover;
  box-shadow: var(--shadow-xs);
}

.live-screen {
  position: relative;
  min-height: 310px;
  padding: 22px;
  overflow: hidden;
  border-radius: 14px;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(214, 162, 30, .16), transparent 32%),
    #111827;
}

.live-copy-panel {
  justify-self: start;
}

.live-copy-panel .btn {
  position: relative;
  z-index: 1;
  margin-top: 14px;
}

.recording-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #fecdd3;
  font-size: 12px;
  font-weight: 700;
}

.live-screen h3 {
  margin: 42px 0 18px;
  color: #f8d873;
  font-size: 22px;
  font-weight: 700;
}

.formula-card {
  width: 160px;
  padding: 18px;
  border: 1px solid rgba(96, 165, 250, .7);
  border-radius: 10px;
  color: #93c5fd;
  font-size: 24px;
  text-align: center;
}

.screen-line {
  position: absolute;
  left: 250px;
  right: 40px;
  top: 150px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #facc15, transparent);
  transform: rotate(-8deg);
}

.participant-row {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.participant-row span,
.participant-row strong {
  width: 58px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dbeafe, #64748b);
}

.participant-row strong {
  display: grid;
  place-items: center;
  color: #f8fafc;
  background: rgba(255,255,255,.12);
}

.live-tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.live-tools article {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  text-align: center;
  font-size: 12px;
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card {
  padding: 18px;
}

.price-card.featured {
  border-color: rgba(var(--brand-rgb), .4);
  background:
    linear-gradient(180deg, rgba(var(--brand-rgb), .08), transparent 42%),
    var(--surface);
}

.price-card > span {
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

[data-theme="dark"] .price-card > span {
  color: var(--brand-300);
}

.price-card h3 {
  margin: 8px 0;
  font-size: 28px;
  line-height: 1;
}

.price-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.price-card li::before {
  content: "\2713";
  color: var(--success);
  margin-right: 8px;
}

.testimonial-grid article {
  padding: 18px;
}

.testimonial-grid strong,
.testimonial-grid span {
  display: block;
}

.testimonial-grid strong {
  margin-top: 16px;
  font-size: 14px;
}

.testimonial-grid span {
  color: var(--muted);
  font-size: 12px;
}

.cta-section {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(var(--brand-rgb), .12), transparent 45%),
    var(--surface);
  box-shadow: var(--shadow-sm);
}

.cta-section h2 {
  max-width: 620px;
}

.cta-actions {
  display: flex;
  gap: 10px;
}

.site-footer {
  padding: 42px 0 24px;
  border-top: 1px solid var(--border);
}

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

.site-footer .brand-logo {
  height: 30px;
  max-width: 170px;
  margin-bottom: 14px;
}

.site-footer h3 {
  margin: 0 0 10px;
}

.site-footer a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.site-footer a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.page-hero {
  padding-top: 46px;
  padding-bottom: 22px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .55fr);
  align-items: center;
  gap: 34px;
}

.page-hero h1 {
  max-width: 680px;
  margin: 12px 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: -.03em;
}

.page-hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.page-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.mini-dashboard {
  display: grid;
  gap: 10px;
}

.mini-dashboard .row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-2);
}

.mini-dashboard strong,
.mini-dashboard span {
  display: block;
}

.mini-dashboard span {
  color: var(--muted);
  font-size: 12px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.content-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.content-card i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--brand-700);
  background: var(--brand-100);
}

.content-card h3 {
  margin: 14px 0 7px;
  font-size: 15px;
  font-weight: 700;
}

.content-card p,
.content-card li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.content-card ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 18px;
}

.form-panel {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.auth-shell {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(380px, .65fr);
  gap: 38px;
  align-items: center;
  padding-block: 46px;
}

.auth-panel {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  padding: 30px;
}

.auth-panel h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 760;
}

.auth-panel p {
  color: var(--muted);
}

.form-field {
  margin-top: 14px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 650;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  outline: 0;
}

.form-field textarea {
  min-height: 110px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: rgba(var(--brand-rgb), .55);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .11);
}

.blog-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.blog-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.blog-thumb {
  height: 74px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), .18), var(--surface-3));
}

.detail-band {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(var(--brand-rgb), .08), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow-xs);
}

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

.process-list,
.policy-content {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.process-list article,
.policy-content article,
.faq-item {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.process-list span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 10px;
  color: var(--brand-800);
  background: var(--brand-100);
  font-weight: 800;
}

.policy-content h2,
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 720;
}

.policy-content p,
.faq-item p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.comparison-table {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.comparison-table table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.comparison-table th {
  color: var(--text);
  background: var(--surface-2);
  font-weight: 750;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.stat-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.stat-card strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.auth-page .site-header {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}

.login-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 22px;
}

.login-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .78fr);
  gap: 34px;
  align-items: center;
}

.login-visual,
.login-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.login-visual {
  position: relative;
  min-height: 620px;
  padding: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 10%, rgba(var(--brand-rgb), .16), transparent 16rem),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, transparent), color-mix(in srgb, var(--surface-2) 72%, transparent));
}

.login-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(var(--brand-rgb), .24) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(135deg, transparent 0%, #000 22%, transparent 78%);
  opacity: .38;
}

.login-visual > * {
  position: relative;
  z-index: 1;
}

.login-visual h1 {
  max-width: 520px;
  margin: 18px 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: -.03em;
}

.login-visual p {
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.login-preview {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--border) 86%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-sm);
}

.login-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.login-preview-top strong,
.login-preview-top small {
  display: block;
}

.login-preview-top small,
.login-preview-grid span {
  color: var(--muted);
  font-size: 11px;
}

.login-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.login-preview-grid article {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.login-preview-grid i,
.login-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--brand-700);
  background: var(--brand-100);
}

.login-preview-grid strong {
  font-size: 20px;
}

.login-preview-chart {
  height: 150px;
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: repeating-linear-gradient(to top, var(--chart-grid) 0 1px, transparent 1px 32px), var(--surface);
}

.login-preview-chart span {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--brand-300), var(--brand-600));
}

.login-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.login-trust i {
  color: var(--brand-600);
  margin-right: 5px;
}

.login-card {
  padding: 28px;
}

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

.login-card h2 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 760;
}

.login-card p {
  margin: 0;
  color: var(--muted);
}

.field-row,
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-row a {
  font-size: 12px;
  font-weight: 650;
}

.input-with-icon {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  padding: 0 11px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.input-with-icon:focus-within {
  border-color: rgba(var(--brand-rgb), .55);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .11);
}

.input-with-icon > i {
  color: var(--muted);
}

.input-with-icon input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.password-toggle {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
}

.login-options {
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.login-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.login-submit {
  min-height: 42px;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 14px;
  color: var(--muted);
  font-size: 12px;
}

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

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

.social-grid button {
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-weight: 650;
}

.social-grid button:hover {
  background: var(--surface-2);
}

.login-switch {
  margin-top: 18px !important;
  text-align: center;
  font-size: 13px;
}

.login-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 8px 0 28px;
}

.login-footer a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.login-reference-page {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 72% 18%, rgba(var(--brand-rgb), .08), transparent 30rem),
    linear-gradient(135deg, #ffffff 0%, var(--bg) 52%, #f2f5fb 100%);
  color: var(--text);
}

[data-theme="dark"] .login-reference-page {
  background:
    radial-gradient(circle at 72% 18%, rgba(var(--brand-rgb), .12), transparent 30rem),
    linear-gradient(135deg, var(--bg) 0%, var(--surface-2) 100%);
}

.login-ref-header {
  width: min(1390px, calc(100% - 72px));
  height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-ref-logo .brand-logo {
  width: 210px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.language-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}

.login-ref-main {
  width: min(1390px, calc(100% - 72px));
  min-height: calc(100vh - 104px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(520px, 620px);
  gap: 70px;
  align-items: start;
  padding: 12px 0 26px;
}

.login-ref-left {
  position: relative;
  min-height: 760px;
  height: auto;
  padding: 0 0 0 8px;
  overflow: hidden;
}

.welcome-note {
  display: inline-block;
  color: var(--brand-700);
  font-size: 18px;
  font-weight: 650;
  margin-bottom: 14px;
}

.login-ref-left h1 {
  max-width: 540px;
  margin: 0 0 18px;
  font-size: clamp(40px, 4vw, 50px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.035em;
}

.login-ref-left > p {
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
  margin-bottom: 26px;
}

.login-feature-list {
  display: grid;
  gap: 20px;
  max-width: 520px;
}

.login-feature-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.login-feature-list i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-700);
  background: rgba(var(--brand-rgb), .14);
  font-size: 20px;
}

.login-feature-list article:nth-child(2) i {
  color: var(--success);
  background: rgba(19, 184, 106, .13);
}

.login-feature-list article:nth-child(3) i {
  color: var(--warning);
  background: rgba(255, 159, 28, .13);
}

.login-feature-list article:nth-child(4) i {
  color: #4b67e8;
  background: rgba(75, 103, 232, .11);
}

.login-feature-list h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 760;
}

.login-feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.login-screen-image {
  position: absolute;
  left: -78px;
  right: -26px;
  bottom: -6px;
  width: calc(100% + 120px);
  max-height: 330px;
  object-fit: contain;
  object-position: left bottom;
  pointer-events: none;
}

.desk-visual {
  display: none;
}

.desk-visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 92px;
  background: linear-gradient(180deg, #fff, #e9edf5);
  border-top: 1px solid var(--border);
}

.laptop {
  position: absolute;
  left: 220px;
  bottom: 44px;
  width: 280px;
  z-index: 2;
}

.laptop-screen {
  height: 155px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  padding: 12px;
  border: 10px solid #2a3140;
  border-radius: 10px 10px 4px 4px;
  background: var(--surface);
  box-shadow: 0 18px 38px rgba(15, 23, 42, .18);
}

.screen-sidebar {
  border-radius: 6px;
  background: #172033;
}

.screen-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.screen-content span {
  height: 26px;
  border-radius: 7px;
  background: var(--surface-2);
}

.screen-chart {
  grid-column: 1 / -1;
  height: 64px;
  border-radius: 8px;
  background:
    linear-gradient(160deg, transparent 48%, var(--brand-500) 49% 51%, transparent 52%),
    repeating-linear-gradient(to top, var(--chart-grid) 0 1px, transparent 1px 20px);
}

.laptop-base {
  height: 18px;
  width: 330px;
  margin-left: -25px;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, #d7dde8, #aeb8c8);
}

.plant {
  position: absolute;
  left: 70px;
  bottom: 40px;
  width: 78px;
  height: 94px;
  z-index: 2;
}

.plant::before,
.plant::after,
.plant span {
  content: "";
  position: absolute;
  bottom: 34px;
  width: 34px;
  height: 58px;
  border-radius: 34px 34px 4px 34px;
  background: linear-gradient(135deg, #7fb36a, #3f7a4d);
}

.plant::before { left: 8px; transform: rotate(-28deg); }
.plant::after { right: 4px; transform: rotate(28deg); }
.plant span { left: 26px; transform: rotate(4deg); }

.plant {
  background: radial-gradient(ellipse at bottom, #ffffff 0 34px, transparent 35px);
}

.mug {
  position: absolute;
  left: 540px;
  bottom: 46px;
  width: 58px;
  height: 70px;
  border-radius: 8px 8px 18px 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  z-index: 2;
}

.mug::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 18px;
  width: 28px;
  height: 30px;
  border: 6px solid #fff;
  border-left: 0;
  border-radius: 0 18px 18px 0;
}

.floating-icon {
  position: absolute;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-700);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-sm);
  z-index: 3;
}

.floating-icon.one { left: 468px; bottom: 176px; }
.floating-icon.two { left: 600px; bottom: 112px; }
.floating-icon.three { left: 116px; bottom: 152px; }

.login-ref-right {
  display: grid;
  gap: 30px;
  justify-items: center;
  padding-top: 8px;
}

.login-ref-card {
  width: min(100%, 620px);
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .login-ref-card {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.login-ref-card h2 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
}

.login-ref-card > p {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 15px;
}

.ref-field {
  margin-top: 24px;
}

.ref-field label {
  font-size: 15px;
  font-weight: 650;
  color: var(--text);
}

.ref-input {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.ref-input:focus-within {
  border-color: rgba(var(--brand-rgb), .55);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .10);
}

.ref-input > i,
.ref-input .password-toggle {
  color: var(--muted);
}

.ref-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.remember-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.remember-row input {
  width: 18px;
  height: 18px;
}

.login-ref-submit {
  width: 100%;
  min-height: 60px;
  font-size: 17px;
  gap: 10px;
}

.login-ref-card .login-divider {
  margin: 36px 0 26px;
}

.login-ref-card .social-grid button {
  min-height: 60px;
  font-size: 16px;
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.secure-note i {
  color: var(--brand-700);
}

@media (max-height: 760px) and (min-width: 992px) {
  .login-reference-page {
    height: 100vh;
    overflow-y: hidden;
  }

  .login-ref-header {
    height: 70px;
  }

  .login-ref-logo .brand-logo {
    width: 176px;
    height: 38px;
  }

  .login-ref-main {
    min-height: calc(100vh - 70px);
    grid-template-columns: minmax(0, 620px) minmax(500px, 580px);
    gap: 54px;
    padding-top: 6px;
  }

  .login-ref-left {
    min-height: calc(100vh - 76px);
  }

  .welcome-note {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .login-ref-left h1 {
    font-size: clamp(32px, 3.2vw, 42px);
    margin-bottom: 12px;
  }

  .login-ref-left > p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .login-feature-list {
    gap: 12px;
  }

  .login-feature-list article {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .login-feature-list i {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .login-feature-list h3 {
    font-size: 13px;
  }

  .login-feature-list p {
    font-size: 12px;
    line-height: 1.42;
  }

  .login-screen-image {
    max-height: 242px;
    bottom: -14px;
  }

  .login-ref-card {
    padding: 34px 40px;
  }

  .login-ref-card h2 {
    font-size: 28px;
  }

  .login-ref-card > p {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .ref-field {
    margin-top: 16px;
  }

  .ref-field label {
    font-size: 13px;
  }

  .ref-input {
    min-height: 48px;
  }

  .remember-row {
    margin: 14px 0 18px;
    font-size: 12px;
  }

  .login-ref-submit {
    min-height: 48px;
    font-size: 14px;
  }

  .login-ref-card .login-divider {
    margin: 22px 0 16px;
  }

  .login-ref-card .social-grid button {
    min-height: 44px;
    font-size: 13px;
  }

  .secure-note {
    font-size: 12px;
  }
}

@media (max-width: 991.98px) {
  .site-nav {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .mobile-menu-btn {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .nav-links,
  .nav-actions {
    display: none;
    width: 100%;
  }

  .nav-open .nav-links,
  .nav-open .nav-actions {
    display: flex;
  }

  .nav-open .nav-links {
    flex-direction: column;
    align-items: stretch;
    order: 3;
  }

  .nav-open .nav-actions {
    order: 4;
    flex-wrap: wrap;
  }

  .hero-grid,
  .page-hero-grid,
  .split-section,
  .live-showcase,
  .cta-section,
  .auth-shell,
  .login-grid {
    grid-template-columns: 1fr;
  }

  .login-ref-main {
    width: min(100% - 32px, 760px);
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .login-ref-left {
    min-height: auto;
  }

  .desk-visual {
    position: relative;
    left: auto;
    right: auto;
    height: 250px;
    margin-top: 24px;
  }

  .login-ref-right {
    padding-top: 0;
  }

  .site-nav,
  .landing-section,
  .site-footer {
    width: min(100% - 32px, 1180px);
  }

  .hero-product {
    min-height: auto;
  }

  .hero-blob {
    right: -26px;
    width: 96%;
    height: 80%;
  }

  .product-window {
    width: 100%;
    margin-left: 0;
  }

  .hero-content h1 {
    font-size: clamp(32px, 7vw, 42px);
  }

  .feature-grid,
  .content-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-stack article:nth-child(even) {
    transform: none;
  }

  .academy-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .academy-strip span {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .site-nav,
  .landing-section,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .landing-section {
    padding-block: 38px;
  }

  .hero-section {
    padding-top: 30px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .product-window,
  .product-panels,
  .product-kpis,
  .product-bottom-panels,
  .content-grid,
  .detail-grid,
  .stat-grid,
  .feature-grid,
  .pricing-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .blog-row {
    grid-template-columns: 1fr;
  }

  .login-wrap {
    width: min(100% - 24px, 1120px);
    padding-top: 28px;
  }

  .login-visual {
    min-height: auto;
    padding: 22px;
  }

  .login-card {
    padding: 22px;
  }

  .login-preview-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .login-footer {
    width: min(100% - 24px, 1120px);
    flex-wrap: wrap;
  }

  .login-ref-header,
  .login-ref-main {
    width: min(100% - 24px, 760px);
  }

  .login-ref-header {
    height: 76px;
  }

  .login-ref-logo .brand-logo {
    width: 164px;
    height: 36px;
  }

  .language-btn {
    padding: 7px 10px;
    font-size: 12px;
  }

  .login-ref-left {
    padding-left: 0;
  }

  .login-ref-left h1 {
    font-size: 32px;
  }

  .login-ref-left > p {
    font-size: 14px;
  }

  .login-feature-list article {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .login-feature-list i {
    width: 42px;
    height: 42px;
  }

  .desk-visual {
    display: none;
  }

  .login-reference-page {
    height: auto;
    overflow-y: auto;
  }

  .login-ref-main {
    height: auto;
  }

  .login-screen-image {
    display: none;
  }

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

  .login-ref-card h2 {
    font-size: 28px;
  }

  .ref-input,
  .login-ref-submit,
  .login-ref-card .social-grid button {
    min-height: 48px;
  }

  .product-sidebar {
    display: none;
  }

  .hero-blob {
    display: none;
  }

  .product-window {
    min-height: auto;
  }

  .role-stack {
    padding: 14px;
  }

  .role-copy-panel {
    padding: 18px;
  }

  .role-stack::after {
    left: 31px;
  }

  .product-top {
    flex-wrap: wrap;
  }

  .product-top label {
    order: 3;
    width: 100%;
    min-width: 100%;
  }

  .academy-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .live-tools {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-section {
    padding: 20px;
  }

  .cta-actions,
  .hero-actions,
  .footer-bottom {
    flex-direction: column;
  }
}

@media (min-width: 992px) {
  .login-reference-page {
    height: 100vh;
    overflow: hidden;
  }

  .login-ref-header {
    width: min(1280px, calc(100% - 64px));
    height: 72px;
  }

  .login-ref-logo .brand-logo {
    width: 178px;
    height: 38px;
  }

  .login-ref-main {
    width: min(1280px, calc(100% - 64px));
    height: calc(100vh - 72px);
    min-height: 0;
    grid-template-columns: minmax(0, 560px) minmax(460px, 560px);
    gap: 72px;
    align-items: center;
    padding: 0 0 18px;
  }

  .login-ref-left {
    height: 100%;
    min-height: 0;
    padding: 18px 0 0;
  }

  .welcome-note {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .login-ref-left h1 {
    max-width: 490px;
    margin-bottom: 12px;
    font-size: clamp(32px, 3.25vw, 42px);
    line-height: 1.13;
  }

  .login-ref-left > p {
    max-width: 500px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.55;
  }

  .login-feature-list {
    gap: 11px;
    max-width: 520px;
  }

  .login-feature-list article {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 11px;
  }

  .login-feature-list i {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .login-feature-list h3 {
    font-size: 13px;
    margin-bottom: 3px;
  }

  .login-feature-list p {
    font-size: 12px;
    line-height: 1.4;
  }

  .login-screen-image {
    display: block;
    left: -74px;
    bottom: -10px;
    width: 650px;
    max-width: none;
    max-height: 300px;
    object-fit: contain;
  }

  .login-ref-right {
    align-self: center;
    gap: 14px;
    padding-top: 0;
  }

  .login-ref-card {
    width: 100%;
    padding: 32px 40px;
    border-radius: 16px;
  }

  .login-ref-card h2 {
    font-size: 28px;
    margin-bottom: 6px;
  }

  .login-ref-card > p {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .ref-field {
    margin-top: 15px;
  }

  .ref-field label,
  .field-row a {
    font-size: 12px;
  }

  .ref-input {
    min-height: 46px;
    margin-top: 7px;
    padding: 0 13px;
  }

  .ref-input input {
    font-size: 13px;
  }

  .remember-row {
    margin: 13px 0 17px;
    font-size: 12px;
  }

  .remember-row input {
    width: 15px;
    height: 15px;
  }

  .login-ref-submit {
    min-height: 46px;
    font-size: 14px;
  }

  .login-ref-card .login-divider {
    margin: 20px 0 14px;
  }

  .login-ref-card .social-grid {
    gap: 10px;
  }

  .login-ref-card .social-grid button {
    min-height: 43px;
    font-size: 13px;
  }

  .login-switch {
    margin-top: 14px !important;
    font-size: 13px;
  }

  .secure-note {
    font-size: 12px;
  }
}
/* EOF login override marker */
