:root {
  --al-primary: #0f766e;
  --al-primary-dark: #064e49;
  --al-primary-soft: #dff7f3;
  --al-accent: #3e9591;
  --al-accent-soft: #ddf3f1;
  --al-bg: #f4f8fb;
  --al-surface: #ffffff;
  --al-surface-soft: #fafcfe;
  --al-surface-hover: #edf5fb;
  --al-surface-emphasis:
    radial-gradient(700px 260px at 100% -12%, rgba(62, 149, 145, .14), transparent 60%),
    radial-gradient(520px 220px at 0% 0%, rgba(30, 95, 134, .12), transparent 58%),
    linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
  --al-border: #d6e3ee;
  --al-border-strong: #c4d6e5;
  --al-text: #172136;
  --al-muted: #657b8f;
  --al-muted-strong: #4f6679;
  --al-success: #2f8c62;
  --al-warning: #b66a18;
  --al-danger: #b74a4a;
  --al-radius-sm: 12px;
  --al-radius: 18px;
  --al-radius-lg: 24px;
  --al-space-1: .5rem;
  --al-space-2: .75rem;
  --al-space-3: 1rem;
  --al-space-4: 1.25rem;
  --al-shadow: 0 18px 44px rgba(18, 58, 87, .1), 0 1px 0 rgba(255, 255, 255, .75) inset;
  --al-shadow-soft: 0 10px 28px rgba(18, 58, 87, .06), 0 1px 0 rgba(255, 255, 255, .65) inset;
  --bs-primary: var(--al-primary);
  --bs-primary-rgb: 15, 118, 110;
  --bs-body-color: var(--al-text);
  --bs-body-bg: var(--al-bg);
  --bs-border-color: var(--al-border);
  --bs-link-color: var(--al-primary);
  --bs-link-hover-color: var(--al-primary-dark);
}

body {
  min-height: 100vh;
  background:
    radial-gradient(920px 360px at -8% -8%, rgba(30, 95, 134, .12), transparent 60%),
    radial-gradient(800px 320px at 100% 0%, rgba(62, 149, 145, .08), transparent 58%),
    linear-gradient(180deg, #f8fbfe 0%, #f3f7fb 44%, #edf4f9 100%);
  color: var(--al-text);
  font-family: "Manrope", "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: .95rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--al-primary-dark);
  font-weight: 800;
  letter-spacing: 0;
}

a {
  text-decoration: none;
}

a:focus-visible {
  border-radius: 8px;
  box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .18);
  outline: 0;
}

.btn {
  align-items: center;
  border-radius: var(--al-radius-sm);
  display: inline-flex;
  font-weight: 700;
  gap: .42rem;
  justify-content: center;
  letter-spacing: .01em;
  line-height: 1.1;
  min-height: 42px;
  padding: .74rem 1.05rem;
  text-align: center;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled,
.btn.is-loading {
  cursor: not-allowed;
  opacity: .82;
  transform: none;
}

.btn:focus-visible {
  box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .18);
}

.btn i {
  flex: 0 0 auto;
  font-size: .98em;
  line-height: 1;
}

.btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: var(--al-primary);
  --bs-btn-border-color: var(--al-primary);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--al-primary-dark);
  --bs-btn-hover-border-color: var(--al-primary-dark);
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: var(--al-primary-dark);
  --bs-btn-active-border-color: var(--al-primary-dark);
  --bs-btn-disabled-color: #ffffff;
  --bs-btn-disabled-bg: var(--al-primary-dark);
  --bs-btn-disabled-border-color: var(--al-primary-dark);
  box-shadow: 0 10px 22px rgba(15, 118, 110, .13);
}

.btn-primary.is-loading,
.btn-primary:disabled {
  background-color: var(--al-primary-dark);
  border-color: var(--al-primary-dark);
  color: #ffffff;
}

.btn-primary.is-loading {
  cursor: wait;
  opacity: .94;
}

.btn-white {
  background: #fff;
  border: 1px solid var(--al-border);
}

.btn-light {
  --bs-btn-color: var(--al-text);
  --bs-btn-bg: rgba(255, 255, 255, .92);
  --bs-btn-border-color: rgba(255, 255, 255, .92);
  --bs-btn-hover-color: var(--al-text);
  --bs-btn-hover-bg: #ffffff;
  --bs-btn-hover-border-color: #ffffff;
  box-shadow: 0 10px 22px rgba(18, 58, 87, .08);
}

.btn-outline-primary {
  --bs-btn-color: var(--al-primary);
  --bs-btn-border-color: #8fcac3;
  --bs-btn-bg: rgba(255, 255, 255, .96);
  --bs-btn-hover-bg: #e6f7f4;
  --bs-btn-hover-border-color: #69b9b0;
  --bs-btn-hover-color: #064e49;
}

.btn-outline-secondary {
  --bs-btn-color: #445165;
  --bs-btn-border-color: #c6d6e4;
  --bs-btn-bg: rgba(255, 255, 255, .92);
  --bs-btn-hover-bg: #eef4f9;
  --bs-btn-hover-border-color: #b9ccdc;
  --bs-btn-hover-color: #1e3348;
}

.btn-sm {
  min-height: 34px;
  padding: .54rem .86rem;
}

.btn-lg {
  min-height: 48px;
  padding: .9rem 1.24rem;
}

.form-control,
.form-select {
  border-color: #cbdbe8;
  border-radius: var(--al-radius-sm);
  min-height: 42px;
  padding: .56rem .75rem;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: #69b9b0;
  box-shadow: 0 0 0 .18rem rgba(15, 118, 110, .15);
}

.form-label {
  color: #35526f;
  font-size: .9rem;
  font-weight: 700;
}

.form-text {
  color: var(--al-muted);
  font-size: .82rem;
}

.dropdown-menu {
  border: 1px solid var(--al-border);
  border-radius: 14px;
  box-shadow: var(--al-shadow-soft);
}

.dropdown-item {
  align-items: center;
  color: var(--al-text);
  display: flex;
  font-weight: 720;
  gap: .1rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: #eef8fb;
  color: var(--al-primary-dark);
}

.dropdown-item:active,
.dropdown-item.active {
  background: var(--al-primary-soft);
  color: var(--al-primary-dark);
}

textarea.form-control {
  min-height: 130px;
}

.form-check-input:checked {
  background-color: var(--al-primary);
  border-color: var(--al-primary);
}

.form-switch.al-soft-panel {
  min-height: 88px;
  padding: 1rem 1rem 1rem 5rem;
  position: relative;
}

.form-switch.al-soft-panel .form-check-input {
  background-color: #e4edf5;
  background-image: radial-gradient(circle, #ffffff 0 44%, transparent 48%);
  background-position: left .24rem center;
  background-repeat: no-repeat;
  background-size: 1.14rem 1.14rem;
  border: 1px solid #bdd4d0;
  box-shadow: inset 0 1px 2px rgba(18, 58, 87, .08);
  cursor: pointer;
  float: none;
  height: 1.65rem;
  left: 1rem;
  margin: 0;
  position: absolute;
  top: 1.05rem;
  transition: background-color .18s ease, background-position .18s ease, border-color .18s ease, box-shadow .18s ease;
  width: 3.15rem;
}

.form-switch.al-soft-panel .form-check-input:checked {
  background-color: var(--al-primary);
  background-position: right .24rem center;
  border-color: var(--al-primary);
  box-shadow: 0 8px 18px rgba(15, 118, 110, .18);
}

.form-switch.al-soft-panel .form-check-input:focus {
  border-color: #69b9b0;
  box-shadow: 0 0 0 .18rem rgba(15, 118, 110, .14);
}

.form-switch.al-soft-panel .form-check-input:checked:focus {
  box-shadow: 0 8px 18px rgba(15, 118, 110, .18), 0 0 0 .18rem rgba(15, 118, 110, .14);
}

.form-switch.al-soft-panel .form-check-input:hover {
  border-color: #69b9b0;
}

.form-switch.al-soft-panel .form-check-label {
  color: var(--al-primary-dark);
  display: block;
  line-height: 1.25;
  margin-bottom: .18rem;
}

.text-muted {
  color: var(--al-muted) !important;
}

.al-gradient-text {
  background: linear-gradient(110deg, var(--al-primary), var(--al-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.al-brand {
  align-items: center;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: var(--al-radius);
  box-shadow: var(--al-shadow-soft);
  color: var(--al-primary-dark);
  display: flex;
  font-size: 1.08rem;
  font-weight: 850;
  gap: .65rem;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
  padding: .8rem .88rem;
}

.al-brand:hover {
  color: var(--al-primary-dark);
}

.al-brand-mark {
  align-items: center;
  background: linear-gradient(180deg, #eff6fb 0%, #f9fcff 100%);
  border: 1px solid #d5e4f0;
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(17, 58, 86, .08);
  color: var(--al-primary-dark);
  display: inline-flex;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.al-app-shell {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: 100vh;
}

.al-sidebar {
  background:
    linear-gradient(180deg, rgba(243, 248, 252, .98) 0%, rgba(250, 252, 254, .98) 100%);
  border-right: 1px solid rgba(30, 95, 134, .12);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .72);
  color: var(--al-text);
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem 1rem 1.1rem;
  position: sticky;
  scrollbar-gutter: stable;
  top: 0;
}

.al-sidebar::before {
  background:
    radial-gradient(260px 120px at 0 0, rgba(30, 95, 134, .12), transparent 72%),
    radial-gradient(260px 140px at 100% 0, rgba(62, 149, 145, .08), transparent 72%);
  content: "";
  height: 220px;
  inset: 0 0 auto;
  pointer-events: none;
  position: absolute;
}

.al-sidebar > * {
  position: relative;
  z-index: 1;
}

.al-main-shell {
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.al-main-shell::before {
  background:
    radial-gradient(900px 300px at 14% -8%, rgba(30, 95, 134, .11), transparent 66%),
    radial-gradient(760px 280px at 100% 0%, rgba(62, 149, 145, .09), transparent 62%),
    linear-gradient(180deg, rgba(247, 251, 254, .64) 0%, rgba(247, 251, 254, 0) 100%);
  content: "";
  height: 360px;
  inset: 0 0 auto;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.al-topbar {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(250, 252, 254, .84);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 20px;
  box-shadow: var(--al-shadow-soft);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 1rem clamp(1rem, 2.2vw, 1.75rem) 0;
  min-height: 68px;
  padding: .75rem 1rem;
  position: sticky;
  top: 16px;
  z-index: 20;
}

.al-content {
  isolation: isolate;
  margin: 0 auto;
  max-width: 1280px;
  padding: clamp(1rem, 2.6vw, 1.75rem);
  position: relative;
  z-index: 1;
}

.al-content::before {
  background:
    radial-gradient(560px 180px at 0% 0%, rgba(30, 95, 134, .11), transparent 62%),
    radial-gradient(460px 180px at 100% 0%, rgba(62, 149, 145, .09), transparent 60%),
    linear-gradient(180deg, rgba(247, 251, 254, .78) 0%, rgba(247, 251, 254, 0) 100%);
  border-radius: 28px;
  content: "";
  inset: 0 0 auto;
  min-height: 280px;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.al-content > * {
  position: relative;
}

.al-section + .al-section {
  margin-top: var(--al-space-4);
}

.al-stack {
  display: grid;
  gap: var(--al-space-3);
}

.al-workspace-card {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: var(--al-radius);
  box-shadow: var(--al-shadow-soft);
  margin-bottom: 1rem;
  padding: .9rem;
}

.al-workspace-card-light {
  background: var(--al-surface-soft);
  border-color: var(--al-border);
}

.al-sidebar-muted {
  color: var(--al-muted);
}

.al-sidebar-title {
  color: var(--al-primary-dark);
}

.al-nav {
  display: grid;
  gap: .36rem;
}

.al-nav-label {
  color: var(--al-muted);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
  margin: 1rem .85rem .3rem;
  text-transform: uppercase;
}

.al-nav-link {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--al-text);
  display: flex;
  font-size: .9rem;
  font-weight: 700;
  gap: .7rem;
  padding: .76rem .85rem;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
  position: relative;
}

.al-nav-link:focus-visible {
  box-shadow: 0 0 0 .2rem rgba(30, 95, 134, .14);
  outline: 0;
}

.al-nav-link i {
  color: var(--al-primary);
  font-size: 1.05rem;
}

.al-nav-link:hover,
.al-nav-link.active {
  background: rgba(255, 255, 255, .8);
  border-color: rgba(30, 95, 134, .12);
  color: var(--al-primary-dark);
  transform: translateX(2px);
}

.al-nav-link.active {
  background:
    linear-gradient(180deg, rgba(220, 236, 247, .96) 0%, rgba(243, 248, 252, .98) 100%);
  border-color: rgba(30, 95, 134, .18);
  box-shadow: 0 12px 24px rgba(18, 58, 87, .08), inset 0 1px 0 rgba(255, 255, 255, .82);
}

.al-nav-link.active::after {
  background: linear-gradient(180deg, var(--al-primary), var(--al-accent));
  border-radius: 99px;
  content: "";
  height: 65%;
  position: absolute;
  right: .35rem;
  top: 17.5%;
  width: 3px;
}

.al-mobile-nav .al-nav-link {
  color: var(--al-text);
}

.al-mobile-nav .offcanvas-body {
  min-height: 0;
  overflow-y: auto;
}

.al-mobile-nav .al-nav-label {
  color: var(--al-muted);
}

.al-mobile-nav .al-nav-link:hover,
.al-mobile-nav .al-nav-link.active {
  background: var(--al-surface-hover);
  color: var(--al-primary);
}

.al-mobile-nav .al-nav-link.active::after {
  background: var(--al-primary);
}

.al-usage-chip {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 16px;
  box-shadow: var(--al-shadow-soft);
  padding: .85rem;
}

.al-usage-chip .progress,
.al-usage-meter .progress {
  background: #e4edf5;
  border-radius: 999px;
  height: .48rem;
  overflow: hidden;
}

.al-card .progress-bar:not(.bg-danger):not(.bg-warning):not(.bg-success),
.al-usage-chip .progress-bar {
  background: linear-gradient(90deg, var(--al-primary), var(--al-accent));
}

.al-avatar-btn {
  align-items: center;
  display: inline-flex;
  gap: .55rem;
  padding: .4rem .7rem .4rem .45rem;
}

.al-avatar-btn:hover,
.al-avatar-btn:focus,
.al-avatar-btn.show,
.al-avatar-btn[aria-expanded="true"] {
  background: #eef8fb;
  border-color: rgba(30, 95, 134, .18);
  color: var(--al-primary-dark);
  box-shadow: var(--al-shadow-soft);
}

.al-avatar-btn:active {
  background: var(--al-primary-soft);
  border-color: rgba(30, 95, 134, .22);
  color: var(--al-primary-dark);
}

.al-avatar {
  align-items: center;
  background: var(--al-primary-soft);
  border-radius: 999px;
  color: var(--al-primary-dark);
  display: inline-flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.al-page-header {
  align-items: flex-end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.al-page-header-surface {
  background: var(--al-surface-emphasis);
  border: 1px solid var(--al-border);
  border-radius: var(--al-radius-lg);
  box-shadow: var(--al-shadow-soft);
  padding: 1.1rem 1.2rem;
}

.al-page-header-actions .btn {
  min-width: 120px;
}

.al-page-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 850;
  letter-spacing: 0;
  margin: .1rem 0 .35rem;
}

.al-page-header p {
  color: var(--al-muted);
  margin: 0;
  max-width: 760px;
}

.al-eyebrow {
  color: var(--al-primary);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.al-card,
.al-stat-card,
.al-empty-state,
.al-preview-card,
.al-code-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(250, 252, 254, .98) 100%);
  border: 1px solid var(--al-border);
  border-radius: var(--al-radius);
  box-shadow: var(--al-shadow-soft);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.al-card {
  margin-bottom: 1.1rem;
  padding: 1.15rem;
}

.al-card-compact {
  padding: .9rem;
}

.al-card:hover,
.al-stat-card:hover,
.al-preview-card:hover {
  border-color: rgba(30, 95, 134, .18);
  box-shadow: var(--al-shadow);
}

.al-card-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.al-card-header h2,
.al-card h2 {
  font-size: 1.05rem;
  font-weight: 850;
  margin: 0;
}

.al-card-header p {
  color: var(--al-muted);
  margin: .24rem 0 0;
}

.al-field + .al-field {
  margin-top: var(--al-space-3);
}

.al-field .form-label {
  font-weight: 700;
  margin-bottom: .4rem;
}

.al-stat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.1rem;
}

.al-stat-card {
  align-items: flex-start;
  display: flex;
  gap: .9rem;
  padding: 1rem;
}

.al-stat-icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(30, 95, 134, .12), rgba(62, 149, 145, .12));
  border-radius: 16px;
  color: var(--al-primary);
  display: flex;
  flex: 0 0 auto;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.al-stat-label {
  color: var(--al-muted);
  font-size: .85rem;
  font-weight: 700;
}

.al-stat-value {
  color: var(--al-text);
  font-size: 1.65rem;
  font-weight: 880;
  line-height: 1.1;
}

.al-stat-helper {
  color: var(--al-muted);
  font-size: .82rem;
  margin-top: .15rem;
}

.al-status {
  border-radius: 999px;
  font-weight: 800;
  padding: .45rem .65rem;
}

.al-status-success {
  background: rgba(221, 243, 241, .95);
  color: #216d5d;
}

.al-status-info {
  background: #dcecf7;
  color: var(--al-primary-dark);
}

.al-status-muted {
  background: #edf5fb;
  color: var(--al-muted-strong);
}

.al-status-danger {
  background: rgba(250, 232, 232, .94);
  color: #984848;
}

.al-empty-state {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 2.4rem 1.2rem;
  text-align: center;
}

.al-empty-state h2 {
  font-size: 1.2rem;
  font-weight: 850;
  margin: .75rem 0 .35rem;
}

.al-empty-state p {
  color: var(--al-muted);
  max-width: 560px;
}

.al-empty-icon {
  align-items: center;
  background: linear-gradient(135deg, #dcecf7, #f2fbfa);
  border-radius: 22px;
  color: var(--al-primary);
  display: flex;
  font-size: 1.6rem;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.al-table {
  margin: 0;
}

.al-table-wrap {
  background: var(--al-surface);
  border: 1px solid var(--al-border);
  border-radius: var(--al-radius);
  overflow: hidden;
}

.al-table tbody tr {
  transition: background-color .15s ease;
}

.al-table tbody tr:hover {
  background: #f7fbff;
}

.al-table th {
  color: var(--al-muted);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.table a {
  text-underline-offset: 2px;
}

.al-source-row {
  min-width: 0;
}

.al-source-url {
  align-items: center;
  background: #f8fcff;
  border: 1px solid var(--al-border);
  border-radius: 999px;
  color: var(--al-muted-strong);
  display: inline-flex;
  font-size: .86rem;
  font-weight: 750;
  gap: .42rem;
  line-height: 1.2;
  max-width: 100%;
  min-width: 0;
  padding: .4rem .62rem;
}

.al-source-url i {
  color: var(--al-primary);
  flex: 0 0 auto;
  font-size: .9rem;
}

.al-source-url span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.al-source-url:hover {
  background: #eef8fb;
  border-color: rgba(15, 118, 110, .22);
  color: var(--al-primary-dark);
}

.al-table td,
.al-table th {
  padding: .9rem;
  vertical-align: middle;
}

.al-row-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  justify-content: flex-end;
}

.al-code-card {
  background: #103a56;
  color: #dcecf7;
  overflow: hidden;
}

.al-code-card pre {
  color: inherit;
  margin: 0;
  overflow-x: auto;
  padding: 1rem;
  white-space: pre-wrap;
}

.al-code-tag {
  color: #67e8f9;
}

.al-code-attr {
  color: #fde68a;
}

.al-help-list {
  color: var(--al-muted-strong);
  margin: 0;
  padding-left: 1.1rem;
}

.al-help-list li + li {
  margin-top: .35rem;
}

.al-soft-panel {
  background:
    radial-gradient(320px 110px at 100% -12%, rgba(62, 149, 145, .08), transparent 70%),
    linear-gradient(135deg, rgba(30, 95, 134, .08), rgba(62, 149, 145, .08));
  border: 1px solid rgba(30, 95, 134, .14);
  border-radius: var(--al-radius);
  padding: 1rem;
}

.al-command-hero {
  background:
    radial-gradient(620px 260px at 100% -18%, rgba(62, 149, 145, .16), transparent 68%),
    radial-gradient(680px 260px at 0% 0%, rgba(30, 95, 134, .14), transparent 60%),
    linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
  border: 1px solid rgba(30, 95, 134, .16);
  border-radius: 28px;
  box-shadow: var(--al-shadow);
  color: var(--al-text);
  margin-bottom: 1.1rem;
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 2rem);
  position: relative;
}

.al-command-hero::after {
  background:
    radial-gradient(circle at center, rgba(62, 149, 145, .12) 0%, rgba(62, 149, 145, 0) 68%);
  content: "";
  bottom: -90px;
  height: 240px;
  pointer-events: none;
  right: -60px;
  position: absolute;
  width: 240px;
}

.al-command-hero > * {
  position: relative;
  z-index: 1;
}

.al-home-hero {
  align-items: stretch;
  background:
    radial-gradient(620px 260px at 100% -18%, rgba(62, 149, 145, .16), transparent 68%),
    radial-gradient(680px 260px at 0% 0%, rgba(30, 95, 134, .14), transparent 60%),
    linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
  border: 1px solid rgba(30, 95, 134, .16);
  border-radius: 28px;
  box-shadow: var(--al-shadow);
  color: var(--al-text);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  margin-bottom: 1rem;
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 2rem);
  position: relative;
}

.al-launch-meter {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(30, 95, 134, .14);
  border-radius: 24px;
  box-shadow: var(--al-shadow-soft);
  padding: 1rem;
}

.al-launch-steps {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.al-step-card {
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(250, 252, 254, .98) 100%);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 18px;
  box-shadow: var(--al-shadow-soft);
  color: var(--al-text);
  display: flex;
  gap: .8rem;
  min-height: 104px;
  padding: .9rem;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.al-step-card:hover {
  border-color: rgba(30, 95, 134, .18);
  box-shadow: var(--al-shadow);
  color: var(--al-text);
  transform: translateY(-1px);
}

.al-step-card.is-current {
  background:
    radial-gradient(260px 80px at 100% -10%, rgba(62, 149, 145, .12), transparent 70%),
    linear-gradient(180deg, rgba(237, 246, 253, .98) 0%, rgba(255, 255, 255, .98) 100%);
  border-color: rgba(30, 95, 134, .2);
}

.al-step-card.is-done {
  background: linear-gradient(180deg, rgba(242, 251, 246, .98) 0%, rgba(255, 255, 255, .98) 100%);
  border-color: rgba(62, 149, 145, .18);
}

.al-step-number {
  align-items: center;
  background: #dcecf7;
  border-radius: 999px;
  color: var(--al-primary-dark);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 850;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.al-step-card.is-done .al-step-number {
  background: var(--al-accent-soft);
  color: #216d5d;
}

.al-step-body {
  display: grid;
  flex: 1 1 auto;
  gap: .18rem;
  min-width: 0;
}

.al-step-body strong {
  font-size: .95rem;
}

.al-step-body span {
  color: var(--al-muted);
  font-size: .82rem;
}

.al-focus-panel {
  background:
    radial-gradient(420px 140px at 100% -20%, rgba(62, 149, 145, .08), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 251, 254, .98));
  border: 1px solid rgba(30, 95, 134, .14);
  border-radius: 22px;
  box-shadow: var(--al-shadow-soft);
  margin-bottom: 1.1rem;
  padding: 1.15rem;
}

.al-prompt-grid,
.al-simple-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.al-prompt-chip {
  align-items: center;
  background: #f8fcff;
  border: 1px solid var(--al-border);
  border-radius: 16px;
  color: var(--al-text);
  display: inline-flex;
  font-weight: 750;
  gap: .55rem;
  min-height: 48px;
  padding: .75rem .85rem;
}

.al-prompt-chip i {
  color: var(--al-primary);
}

.al-mini-stat {
  background:
    radial-gradient(150px 80px at 100% 0%, rgba(30, 95, 134, .06), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 252, 255, .98));
  border: 1px solid var(--al-border);
  border-radius: 16px;
  padding: .85rem;
}

.al-mini-stat span,
.al-mini-stat small {
  color: var(--al-muted);
  display: block;
  font-size: .8rem;
  font-weight: 750;
}

.al-mini-stat strong {
  color: var(--al-text);
  display: block;
  font-size: 1.65rem;
  font-weight: 880;
  line-height: 1.1;
  margin: .15rem 0;
}

.al-link-list {
  display: grid;
  gap: .45rem;
}

.al-link-list a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--al-text);
  display: flex;
  font-weight: 760;
  gap: .6rem;
  padding: .65rem .7rem;
}

.al-link-list a:hover {
  background: #f8fcff;
  border-color: var(--al-border);
  color: var(--al-primary-dark);
}

.al-hero-kicker {
  color: var(--al-primary);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.al-hero-title {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  margin: .45rem 0 .65rem;
}

.al-hero-copy {
  color: var(--al-muted-strong);
  font-size: 1.02rem;
  margin: 0;
  max-width: 680px;
}

.al-readiness-panel {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(30, 95, 134, .14);
  border-radius: 24px;
  box-shadow: var(--al-shadow-soft);
  padding: 1rem;
}

.al-readiness-score {
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle, #ffffff 0 58%, transparent 60%),
    conic-gradient(var(--al-accent) calc(var(--score, 0) * 1%), #e4edf5 0);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(30, 95, 134, .1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: auto;
  max-width: 156px;
  width: 100%;
}

.al-readiness-score strong {
  color: var(--al-primary-dark);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.al-readiness-score span {
  color: var(--al-muted);
  font-size: .75rem;
  font-weight: 800;
}

.al-readiness-list {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
}

.al-readiness-item {
  align-items: center;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 16px;
  color: var(--al-text);
  display: flex;
  gap: .75rem;
  padding: .7rem .75rem;
}

.al-readiness-item.is-done {
  background: rgba(242, 251, 250, .98);
  border-color: rgba(62, 149, 145, .18);
}

.al-card .al-readiness-item {
  background: #f8fcff;
  border-color: var(--al-border);
  color: var(--al-text);
}

.al-card .al-readiness-item:hover {
  border-color: rgba(30, 95, 134, .18);
  color: var(--al-text);
}

.al-card .al-readiness-item.is-done {
  background: #f2fbfa;
  border-color: rgba(62, 149, 145, .22);
}

.al-readiness-icon {
  align-items: center;
  background: rgba(30, 95, 134, .08);
  border-radius: 12px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.al-action-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.al-action-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(250, 252, 254, .98) 100%);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 20px;
  box-shadow: var(--al-shadow-soft);
  color: var(--al-text);
  display: flex;
  flex-direction: column;
  min-height: 158px;
  padding: 1rem;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.al-action-card:hover {
  border-color: rgba(30, 95, 134, .18);
  box-shadow: var(--al-shadow);
  color: var(--al-text);
  transform: translateY(-2px);
}

.al-action-card i {
  color: var(--al-primary);
  font-size: 1.45rem;
}

.al-action-card strong {
  font-size: 1rem;
  margin-top: .75rem;
}

.al-action-card span {
  color: var(--al-muted);
  font-size: .88rem;
  margin-top: .25rem;
}

.al-product-shell {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
}

.al-sticky-panel {
  position: sticky;
  top: 96px;
}

.al-toolbar {
  background: #f8fcff;
  border: 1px solid var(--al-border);
  border-radius: 18px;
  padding: 1rem;
}

.al-knowledge-filter {
  align-items: stretch;
  display: grid;
  column-gap: .85rem;
  row-gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr));
}

.al-knowledge-filter > * {
  min-width: 0;
}

.al-toolbar .btn {
  min-width: 0;
  padding-left: .82rem;
  padding-right: .82rem;
  white-space: normal;
  width: 100%;
}

.al-filter-bar {
  background: linear-gradient(135deg, #f8fbff, #f8fcff);
  border: 1px solid var(--al-border);
  border-radius: 18px;
  padding: .8rem;
}

.al-form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.al-form-grid .is-full {
  grid-column: 1 / -1;
}

.al-knowledge-list {
  display: grid;
  gap: .85rem;
}

.al-knowledge-card {
  background: #fff;
  border: 1px solid var(--al-border);
  border-radius: 18px;
  padding: 1rem;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.al-knowledge-card:hover {
  border-color: rgba(30, 95, 134, .18);
  box-shadow: var(--al-shadow-soft);
  transform: translateY(-1px);
}

.al-meta-row {
  align-items: center;
  color: var(--al-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: .82rem;
  gap: .55rem;
}

.al-source-chip {
  align-items: center;
  background: #f5fafe;
  border: 1px solid #d6e3ee;
  border-radius: 999px;
  color: var(--al-primary-dark);
  display: inline-flex;
  font-size: .78rem;
  font-weight: 800;
  gap: .35rem;
  padding: .36rem .55rem;
}

.al-deploy-card {
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  border: 1px solid var(--al-border);
  border-radius: 24px;
  box-shadow: var(--al-shadow-soft);
  padding: 1.1rem;
}

.al-install-health {
  display: grid;
  gap: .7rem;
}

.al-health-item {
  align-items: center;
  border: 1px solid var(--al-border);
  border-radius: 16px;
  color: var(--al-text);
  display: flex;
  gap: .75rem;
  padding: .75rem;
}

.al-health-item:hover {
  border-color: rgba(30, 95, 134, .18);
  color: var(--al-text);
}

.al-health-item i {
  align-items: center;
  border-radius: 12px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.al-health-item.is-done i {
  background: var(--al-accent-soft);
  color: #216d5d;
}

.al-health-item.is-open i {
  background: #fef3c7;
  color: #92400e;
}

.al-doc-pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .75rem;
}

.al-guideline-stack {
  display: grid;
  gap: .95rem;
}

.al-guideline-title {
  align-items: center;
  color: var(--al-primary-dark);
  display: flex;
  font-size: .9rem;
  font-weight: 850;
  gap: .45rem;
  margin-bottom: .45rem;
}

.al-guideline-title i {
  color: var(--al-primary);
}

.al-guideline-list {
  color: var(--al-muted-strong);
  display: grid;
  font-size: .86rem;
  gap: .35rem;
  margin: 0;
  padding-left: 1.1rem;
}

.al-document-starter {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(248, 252, 255, .94)),
    radial-gradient(circle at top right, rgba(62, 149, 145, .18), transparent 32%);
}

.al-format-strip {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.al-format-chip {
  align-items: center;
  background: #f8fcff;
  border: 1px solid var(--al-border);
  border-radius: 16px;
  display: grid;
  gap: .1rem .65rem;
  grid-template-columns: auto 1fr;
  padding: .85rem;
}

.al-format-chip i {
  align-items: center;
  background: var(--al-primary-soft);
  border-radius: 12px;
  color: var(--al-primary-dark);
  display: inline-flex;
  font-size: 1.05rem;
  grid-row: span 2;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.al-format-chip span {
  color: var(--al-text);
  font-size: .9rem;
  font-weight: 850;
}

.al-format-chip small {
  color: var(--al-muted);
  font-size: .76rem;
  line-height: 1.25;
}

.al-sample-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.al-sample-tile {
  background: #fff;
  border: 1px solid var(--al-border);
  border-radius: 18px;
  color: var(--al-text);
  display: flex;
  flex-direction: column;
  min-height: 152px;
  padding: 1rem;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.al-sample-tile:hover {
  border-color: rgba(30, 95, 134, .26);
  box-shadow: var(--al-shadow-soft);
  color: var(--al-text);
  transform: translateY(-2px);
}

.al-sample-tile i {
  align-items: center;
  background: var(--al-accent-soft);
  border-radius: 14px;
  color: #216d5d;
  display: inline-flex;
  font-size: 1.08rem;
  height: 40px;
  justify-content: center;
  margin-bottom: .75rem;
  width: 40px;
}

.al-sample-tile span {
  font-weight: 850;
  line-height: 1.25;
}

.al-sample-tile small {
  color: var(--al-muted);
  line-height: 1.35;
  margin-top: .35rem;
}

.al-example-row {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.al-example-row > div {
  align-items: flex-start;
  background: rgba(248, 252, 255, .78);
  border: 1px solid var(--al-border);
  border-radius: 16px;
  color: var(--al-muted-strong);
  display: flex;
  font-size: .86rem;
  gap: .6rem;
  padding: .8rem .9rem;
}

.al-example-row i {
  color: var(--al-primary);
  flex: 0 0 auto;
  margin-top: .08rem;
}

.al-pipeline-step {
  align-items: center;
  background: #f5fafe;
  border: 1px solid #d6e3ee;
  border-radius: 999px;
  color: var(--al-muted);
  display: inline-flex;
  font-size: .76rem;
  font-weight: 800;
  gap: .35rem;
  padding: .36rem .55rem;
}

.al-pipeline-step.is-done {
  background: var(--al-accent-soft);
  border-color: rgba(62, 149, 145, .22);
  color: #216d5d;
}

.al-pipeline-step.is-current {
  background: var(--al-primary-soft);
  border-color: #c2dbef;
  color: var(--al-primary-dark);
}

.al-pipeline-step.is-failed {
  background: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

.al-playground-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
}

.al-inspector {
  display: grid;
  gap: .75rem;
}

.al-inspector-row {
  background: #f8fcff;
  border: 1px solid var(--al-border);
  border-radius: 16px;
  padding: .8rem;
}

.al-inspector-label {
  color: var(--al-muted);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.al-inspector-value {
  font-weight: 800;
  margin-top: .2rem;
}

.al-mini-browser {
  background: #fff;
  border: 1px solid var(--al-border);
  border-radius: 22px;
  box-shadow: var(--al-shadow-soft);
  overflow: hidden;
}

.al-mini-browser-bar {
  align-items: center;
  background: #f8fcff;
  border-bottom: 1px solid var(--al-border);
  display: flex;
  gap: .4rem;
  padding: .65rem .8rem;
}

.al-mini-browser-dot {
  background: #cbd5e1;
  border-radius: 999px;
  height: 10px;
  width: 10px;
}

.al-mini-browser-body {
  background: linear-gradient(135deg, #f8fcff, #edf5fb);
  min-height: 260px;
  padding: 1rem;
}

.al-dropzone {
  align-items: center;
  background: linear-gradient(135deg, #f8fcff, #edf5fb);
  border: 1.5px dashed #9db4cf;
  border-radius: var(--al-radius);
  cursor: pointer;
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.al-dropzone:focus-within {
  border-color: var(--al-primary);
  box-shadow: 0 0 0 .2rem rgba(30, 95, 134, .14);
}

.al-dropzone.dragging {
  background: #edf6fd;
  border-color: var(--al-primary);
  transform: translateY(-1px);
}

.al-preview-card {
  overflow: hidden;
}

.al-preview-header {
  align-items: center;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: .9rem 1rem;
}

.al-preview-body {
  background: #f8fcff;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  height: 300px;
  overflow: auto;
  padding: 1rem;
}

.al-preview-msg {
  border-radius: 16px;
  font-size: .92rem;
  line-height: 1.45;
  max-width: 86%;
  padding: .72rem .85rem;
  box-shadow: 0 8px 18px rgba(18, 58, 87, .05);
}

.al-preview-msg.assistant {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--al-border);
}

.al-preview-msg.user {
  align-self: flex-end;
  background: var(--al-primary);
  color: #fff;
}

.al-preview-meta {
  color: var(--al-muted);
  font-size: .75rem;
  margin-top: .3rem;
}

.al-preview-form {
  display: flex;
  gap: .65rem;
  padding: .85rem;
}

[aria-busy="true"] {
  pointer-events: none;
}

.al-typing {
  align-items: center;
  display: inline-flex;
  gap: .25rem;
}

.al-typing span {
  animation: alPulse 1s infinite ease-in-out;
  background: var(--al-muted);
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.al-typing span:nth-child(2) {
  animation-delay: .15s;
}

.al-typing span:nth-child(3) {
  animation-delay: .3s;
}

@keyframes alPulse {
  0%, 80%, 100% { opacity: .3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.al-toast-stack {
  z-index: 1080;
}

.al-toast {
  border: 1px solid var(--al-border);
  border-radius: 16px;
  box-shadow: var(--al-shadow);
  overflow: hidden;
}

.modal-content {
  border: 1px solid var(--al-border);
  box-shadow: var(--al-shadow);
}

.accordion-item {
  border: 1px solid var(--al-border);
  border-radius: 14px;
  overflow: hidden;
}

.accordion-item + .accordion-item {
  margin-top: .55rem;
}

.accordion-button {
  font-weight: 700;
}

.accordion-button:not(.collapsed) {
  background: #edf6fd;
  color: var(--al-primary-dark);
}

.al-toast-dot {
  background: var(--al-accent);
  border-radius: 999px;
  height: 10px;
  width: 10px;
}

.al-skeleton {
  display: grid;
  gap: .65rem;
}

.al-skeleton span {
  animation: alShimmer 1.3s infinite linear;
  background: linear-gradient(90deg, #e4edf5 25%, #f8fcff 37%, #e4edf5 63%);
  background-size: 400% 100%;
  border-radius: 999px;
  height: 14px;
}

.al-skeleton span:nth-child(2) {
  width: 76%;
}

.al-skeleton span:nth-child(3) {
  width: 48%;
}

@keyframes alShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

.landing-hero {
  background:
    radial-gradient(circle at 12% 8%, rgba(30, 95, 134, .14), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(62, 149, 145, .12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  overflow: hidden;
}

.public-page [data-aos] {
  will-change: transform, opacity;
}

.al-reduced-motion [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

.landing-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
}

.landing-nav-cta .btn {
  min-width: 112px;
}

.landing-hero h1 {
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  font-weight: 900;
  letter-spacing: 0;
}

.landing-hero p.lead {
  color: var(--al-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.mock-browser {
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(221, 229, 239, .9);
  border-radius: 28px;
  box-shadow: var(--al-shadow);
  padding: 1rem;
}

.mock-toolbar {
  align-items: center;
  display: flex;
  gap: .38rem;
  margin-bottom: .9rem;
}

.mock-dot {
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.mock-site {
  background: linear-gradient(135deg, #fff, #f8fcff);
  border: 1px solid var(--al-border);
  border-radius: 22px;
  min-height: 390px;
  padding: 1.2rem;
  position: relative;
}

.mock-chat {
  background: #fff;
  border: 1px solid var(--al-border);
  border-radius: 18px;
  bottom: 1rem;
  box-shadow: var(--al-shadow-soft);
  max-width: 320px;
  padding: .85rem;
  position: absolute;
  right: 1rem;
}

.al-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.1rem;
}

.al-trust-pill {
  align-items: center;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(30, 95, 134, .14);
  border-radius: 999px;
  color: var(--al-primary-dark);
  display: inline-flex;
  font-size: .78rem;
  font-weight: 750;
  gap: .35rem;
  padding: .38rem .62rem;
}

.al-pricing-card-popular {
  border: 1px solid rgba(30, 95, 134, .22);
  box-shadow: 0 18px 45px rgba(18, 58, 87, .14);
  position: relative;
}

.al-pricing-badge {
  background: linear-gradient(135deg, var(--al-primary), var(--al-accent));
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .04em;
  padding: .35rem .6rem;
  text-transform: uppercase;
}

.feature-icon {
  align-items: center;
  background: #f5fafe;
  border-radius: 16px;
  color: var(--al-primary);
  display: inline-flex;
  font-size: 1.2rem;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.landing-hero {
  background:
    radial-gradient(920px 360px at 82% 10%, rgba(62, 149, 145, .16), transparent 62%),
    radial-gradient(780px 340px at 2% 0%, rgba(30, 95, 134, .13), transparent 62%),
    linear-gradient(180deg, #f8fbfe 0%, #eef6fb 68%, #ffffff 100%);
  min-height: min(860px, 92vh);
  overflow: hidden;
  position: relative;
}

.landing-hero::before {
  background:
    radial-gradient(680px 220px at 52% 30%, rgba(255, 255, 255, .74), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.landing-hero-container {
  position: relative;
  z-index: 3;
}

.landing-hero-scene {
  inset: 0;
  opacity: .74;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.landing-hero-scene::before {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 0 34%, rgba(255, 255, 255, .72) 47%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(214, 227, 238, .22), rgba(255, 255, 255, 0));
  content: "";
  height: 100%;
  left: 46%;
  position: absolute;
  top: 0;
  transform: skewX(-9deg);
  width: 24%;
}

.landing-scene-panel {
  animation: landingFloat 8s ease-in-out infinite;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(30, 95, 134, .14);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(18, 58, 87, .14), inset 0 1px 0 rgba(255, 255, 255, .82);
  color: var(--al-text);
  padding: 1rem;
  position: absolute;
}

.landing-scene-dashboard {
  right: clamp(16rem, 23vw, 28rem);
  top: 22%;
  width: min(420px, 32vw);
}

.landing-chat-window {
  animation-delay: -2s;
  right: clamp(1rem, 6vw, 5rem);
  top: 31%;
  width: min(380px, 30vw);
}

.landing-pipeline-card {
  animation-delay: -4s;
  bottom: 12%;
  right: clamp(3rem, 12vw, 9rem);
  width: min(440px, 36vw);
}

@keyframes landingFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.landing-panel-topline {
  align-items: center;
  color: var(--al-muted);
  display: flex;
  font-size: .76rem;
  font-weight: 850;
  justify-content: space-between;
  letter-spacing: .04em;
  margin-bottom: .8rem;
  text-transform: uppercase;
}

.landing-live-dot {
  align-items: center;
  background: var(--al-accent-soft);
  border: 1px solid rgba(62, 149, 145, .22);
  border-radius: 999px;
  color: #216d5d;
  display: inline-flex;
  gap: .3rem;
  padding: .24rem .48rem;
}

.landing-live-dot::before {
  background: var(--al-success);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(47, 140, 98, .12);
  content: "";
  height: 7px;
  width: 7px;
}

.landing-dashboard-grid {
  display: grid;
  gap: .55rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-dashboard-grid div,
.landing-search-signal,
.landing-chat-tools,
.landing-pipeline-mini span {
  background: rgba(248, 252, 255, .82);
  border: 1px solid rgba(30, 95, 134, .1);
  border-radius: 14px;
}

.landing-dashboard-grid div {
  padding: .72rem;
}

.landing-dashboard-grid strong {
  color: var(--al-primary-dark);
  display: block;
  font-size: 1.24rem;
  line-height: 1.1;
}

.landing-dashboard-grid span {
  color: var(--al-muted);
  display: block;
  font-size: .74rem;
  margin-top: .2rem;
}

.landing-search-signal {
  align-items: center;
  display: flex;
  gap: .7rem;
  margin-top: .75rem;
  padding: .72rem;
}

.landing-search-signal > span {
  background:
    radial-gradient(circle, var(--al-accent) 0 28%, transparent 31%),
    conic-gradient(var(--al-primary), var(--al-accent), var(--al-primary));
  border-radius: 999px;
  height: 42px;
  width: 42px;
}

.landing-search-signal strong,
.landing-search-signal small {
  display: block;
}

.landing-search-signal small {
  color: var(--al-muted);
}

.landing-chat-bubble {
  border-radius: 16px;
  font-size: .88rem;
  line-height: 1.48;
  padding: .76rem .84rem;
}

.landing-chat-bubble + .landing-chat-bubble {
  margin-top: .6rem;
}

.landing-chat-user {
  background: #edf6fd;
  color: var(--al-primary-dark);
  margin-left: 2.4rem;
}

.landing-chat-assistant {
  background: var(--al-primary);
  color: #fff;
  margin-right: 1.8rem;
}

.landing-chat-tools {
  color: var(--al-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: .72rem;
  font-weight: 800;
  gap: .45rem;
  margin-top: .7rem;
  padding: .52rem;
}

.landing-pipeline-mini {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.landing-pipeline-mini span {
  color: var(--al-primary-dark);
  font-size: .74rem;
  font-weight: 850;
  padding: .46rem .58rem;
}

.landing-nav {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 18px;
  box-shadow: var(--al-shadow-soft);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1rem;
  padding: .65rem .72rem;
  position: relative;
  z-index: 6;
}

.landing-brand {
  align-items: center;
  color: var(--al-primary-dark);
  display: inline-flex;
  font-weight: 900;
  gap: .62rem;
}

.landing-brand:hover {
  color: var(--al-primary-dark);
}

.landing-nav-links {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.landing-nav-links a,
.landing-nav-links a:visited {
  color: var(--al-muted-strong);
  font-size: .88rem;
  font-weight: 800;
}

.landing-nav-links a:hover {
  color: var(--al-primary-dark);
}

.landing-nav-cta .btn {
  min-width: 112px;
}

.landing-hero-inner {
  align-items: center;
  display: flex;
  min-height: min(720px, 76vh);
  padding: clamp(3rem, 7vw, 5.8rem) 0 clamp(3rem, 6vw, 4.5rem);
  position: relative;
  z-index: 4;
}

.landing-hero-copy {
  max-width: 720px;
}

.landing-proof-pill {
  align-items: center;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(30, 95, 134, .14);
  border-radius: 999px;
  box-shadow: var(--al-shadow-soft);
  color: var(--al-primary-dark);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 850;
  gap: .42rem;
  padding: .42rem .72rem;
}

.landing-hero h1 {
  color: var(--al-primary-dark);
  font-size: clamp(2.9rem, 7vw, 6.25rem);
  font-weight: 900;
  line-height: .98;
  margin: 1rem 0 1rem;
  max-width: 11.5ch;
}

.landing-hero p.lead {
  color: var(--al-text);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 680px;
}

.landing-hero-subcopy {
  color: var(--al-muted-strong);
  font-size: 1rem;
  max-width: 650px;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.35rem;
}

.landing-hero-metrics {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.45rem;
  max-width: 680px;
}

.landing-hero-metrics div {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 16px;
  box-shadow: var(--al-shadow-soft);
  padding: .82rem .88rem;
}

.landing-hero-metrics strong {
  color: var(--al-primary-dark);
  display: block;
  font-size: 1rem;
}

.landing-hero-metrics span {
  color: var(--al-muted);
  display: block;
  font-size: .78rem;
  margin-top: .15rem;
}

.landing-trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--al-border);
  border-top: 1px solid var(--al-border);
}

.landing-trust-grid {
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: .95rem 0;
}

.landing-trust-grid div {
  align-items: center;
  color: var(--al-primary-dark);
  display: flex;
  font-size: .88rem;
  font-weight: 800;
  gap: .5rem;
  min-width: 0;
}

.landing-trust-grid i {
  color: var(--al-accent);
  flex: 0 0 auto;
}

.landing-section {
  padding-bottom: clamp(3rem, 7vw, 5.2rem);
  padding-top: clamp(3rem, 7vw, 5.2rem);
}

.landing-section-head {
  margin: 0 auto 2rem;
  max-width: 820px;
  text-align: center;
}

.landing-section-head h2,
.landing-band h2,
.landing-rag-copy h2,
.landing-safety-grid h2,
.landing-final-cta h2 {
  color: var(--al-primary-dark);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin: .5rem 0 .75rem;
}

.landing-section-head p,
.landing-band p,
.landing-rag-copy p,
.landing-safety-grid p,
.landing-final-cta p {
  color: var(--al-muted-strong);
  font-size: 1.02rem;
  margin: 0;
}

.landing-benefit-grid,
.landing-feature-grid,
.landing-pricing-grid {
  display: grid;
  gap: 1rem;
}

.landing-benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-benefit-card,
.landing-feature-card,
.landing-pricing-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(250, 252, 254, .98));
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 20px;
  box-shadow: var(--al-shadow-soft);
  color: var(--al-text);
  padding: 1.1rem;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.landing-benefit-card:hover,
.landing-feature-card:hover,
.landing-pricing-card:hover {
  border-color: rgba(30, 95, 134, .2);
  box-shadow: var(--al-shadow);
  transform: translateY(-2px);
}

.landing-benefit-card h3,
.landing-feature-card h3,
.landing-pricing-card h3 {
  font-size: 1.05rem;
  margin: .9rem 0 .45rem;
}

.landing-benefit-card p,
.landing-feature-card p,
.landing-pricing-card p {
  color: var(--al-muted-strong);
  margin: 0;
}

.landing-band,
.landing-rag-section {
  background:
    radial-gradient(900px 320px at 100% 0%, rgba(62, 149, 145, .1), transparent 64%),
    linear-gradient(180deg, #f8fbfe 0%, #eef6fb 100%);
  border-bottom: 1px solid var(--al-border);
  border-top: 1px solid var(--al-border);
  padding: clamp(3rem, 7vw, 5.2rem) 0;
}

.landing-band-grid {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
}

.landing-process-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-process-grid article {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 18px;
  box-shadow: var(--al-shadow-soft);
  padding: 1rem;
}

.landing-process-grid span {
  color: var(--al-accent);
  display: block;
  font-size: .78rem;
  font-weight: 900;
  margin-bottom: .4rem;
}

.landing-process-grid h3 {
  font-size: 1rem;
  margin-bottom: .35rem;
}

.landing-process-grid p {
  font-size: .9rem;
}

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

.landing-feature-card i {
  color: var(--al-primary);
  font-size: 1.55rem;
}

.landing-rag-copy {
  max-width: 880px;
}

.landing-rag-flow {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.4rem;
}

.landing-rag-flow span {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 999px;
  box-shadow: var(--al-shadow-soft);
  color: var(--al-primary-dark);
  font-size: .84rem;
  font-weight: 850;
  padding: .58rem .76rem;
}

.landing-usecase-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 252, 255, .98));
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 24px;
  box-shadow: var(--al-shadow-soft);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(180px, .32fr) minmax(0, .68fr);
  padding: 1rem;
}

.landing-usecase-tabs {
  display: grid;
  gap: .55rem;
}

.landing-usecase-tabs button {
  background: #f8fcff;
  border: 1px solid var(--al-border);
  border-radius: 14px;
  color: var(--al-text);
  font-weight: 850;
  padding: .8rem .9rem;
  text-align: left;
}

.landing-usecase-tabs button:hover,
.landing-usecase-tabs button.is-active {
  background: #edf6fd;
  border-color: rgba(30, 95, 134, .2);
  color: var(--al-primary-dark);
}

.landing-usecase-panels {
  min-height: 280px;
  position: relative;
}

.landing-usecase-panel {
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(62, 149, 145, .08), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(250, 252, 254, .98));
  border: 1px solid rgba(30, 95, 134, .1);
  border-radius: 20px;
  display: none;
  min-height: 100%;
  padding: 1.25rem;
}

.landing-usecase-panel.is-active {
  display: block;
}

.landing-usecase-panel h3 {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  line-height: 1.08;
  max-width: 720px;
}

.landing-usecase-panel p {
  color: var(--al-muted-strong);
  max-width: 760px;
}

.landing-question-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}

.landing-question-list span {
  background: #f5fafe;
  border: 1px solid var(--al-border);
  border-radius: 999px;
  color: var(--al-primary-dark);
  font-size: .82rem;
  font-weight: 800;
  padding: .48rem .64rem;
}

.landing-safety-grid {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.landing-safety-list {
  display: grid;
  gap: .75rem;
}

.landing-safety-list div {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--al-border);
  border-radius: 16px;
  box-shadow: var(--al-shadow-soft);
  color: var(--al-muted-strong);
  display: flex;
  gap: .7rem;
  padding: .85rem;
}

.landing-safety-list i {
  color: var(--al-success);
}

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

.landing-pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.landing-pricing-card.is-featured {
  border-color: rgba(62, 149, 145, .28);
  box-shadow: var(--al-shadow);
}

.landing-pricing-card .al-help-list {
  margin: .8rem 0 1rem;
}

.landing-pricing-compare {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.landing-pricing-compare a {
  align-items: center;
  background: #f8fcff;
  border: 1px solid rgba(30, 95, 134, .14);
  border-radius: 999px;
  box-shadow: var(--al-shadow-soft);
  color: var(--al-primary-dark);
  display: inline-flex;
  font-weight: 850;
  gap: .55rem;
  min-height: 46px;
  padding: .62rem 1rem;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.landing-pricing-compare a:hover {
  background: #eef8fb;
  border-color: rgba(62, 149, 145, .3);
  box-shadow: var(--al-shadow);
  color: var(--al-primary-dark);
  transform: translateY(-1px);
}

.pricing-hero {
  min-height: min(780px, 88vh);
}

.pricing-hero .landing-hero-inner {
  min-height: min(640px, 70vh);
}

.pricing-hero h1 {
  max-width: 12.5ch;
}

.pricing-hero-copy {
  max-width: 760px;
}

.pricing-scene-plan {
  top: 20%;
}

.pricing-scene-checkout {
  top: 34%;
}

.pricing-scene-limits {
  bottom: 14%;
}

.pricing-price {
  color: var(--al-primary-dark);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 900;
  line-height: 1;
  margin: .4rem 0 .7rem;
}

.pricing-price span {
  color: var(--al-muted);
  font-size: .95rem;
  font-weight: 800;
  margin-left: .2rem;
}

.pricing-comparison-shell {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(30, 95, 134, .14);
  border-radius: 22px;
  box-shadow: var(--al-shadow-soft);
  overflow: hidden;
}

.pricing-comparison-shell .table {
  margin-bottom: 0;
}

.pricing-band-grid {
  align-items: center;
}

.contact-hero {
  min-height: min(780px, 88vh);
}

.contact-hero .landing-hero-inner {
  min-height: min(620px, 70vh);
}

.contact-hero h1 {
  max-width: 10ch;
}

.contact-hero-copy {
  max-width: 780px;
}

.contact-scene-inbox {
  top: 18%;
}

.contact-scene-chat {
  top: 34%;
}

.contact-scene-routing {
  bottom: 14%;
}

.contact-section {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.contact-shell {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
}

.contact-shell-upgraded {
  isolation: isolate;
  position: relative;
}

.contact-shell-upgraded::before {
  background:
    radial-gradient(740px 260px at 10% 0%, rgba(30, 95, 134, .08), transparent 68%),
    radial-gradient(580px 220px at 100% 20%, rgba(62, 149, 145, .1), transparent 66%);
  content: "";
  inset: -1.5rem;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.contact-form-card,
.contact-side-panel,
.contact-response-card {
  background:
    radial-gradient(520px 180px at 100% -15%, rgba(62, 149, 145, .1), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 252, 255, .98));
  border: 1px solid rgba(30, 95, 134, .14);
  border-radius: 24px;
  box-shadow: var(--al-shadow-soft);
}

.contact-form-card {
  overflow: hidden;
  padding: clamp(1rem, 3vw, 1.35rem);
}

.contact-form-top {
  align-items: center;
  background:
    radial-gradient(500px 160px at 100% 0%, rgba(62, 149, 145, .12), transparent 70%),
    linear-gradient(135deg, rgba(30, 95, 134, .08), rgba(255, 255, 255, .9));
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 20px;
  display: flex;
  gap: .95rem;
  margin-bottom: .9rem;
  padding: .95rem;
}

.contact-form-top span,
.contact-response-top span {
  color: var(--al-primary);
  display: inline-block;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: .18rem;
  text-transform: uppercase;
}

.contact-form-top h3,
.contact-response-top h3 {
  font-size: 1.15rem;
  font-weight: 900;
  margin: 0;
}

.contact-form-top p {
  color: var(--al-muted);
  margin: .25rem 0 0;
}

.contact-form-mark {
  align-items: center;
  background: var(--al-primary);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(30, 95, 134, .2);
  color: #fff;
  display: flex;
  flex: 0 0 auto;
  font-size: 1.25rem;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.contact-route-grid {
  display: grid;
  gap: .6rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.contact-route-grid div {
  align-items: center;
  background: #fff;
  border: 1px solid var(--al-border);
  border-radius: 16px;
  display: flex;
  gap: .5rem;
  min-height: 54px;
  padding: .72rem;
}

.contact-route-grid i {
  color: var(--al-primary);
  flex: 0 0 auto;
}

.contact-route-grid span {
  color: var(--al-muted-strong);
  font-size: .82rem;
  font-weight: 850;
  line-height: 1.2;
}

.contact-plan-notice {
  align-items: flex-start;
  background:
    radial-gradient(360px 120px at 100% 0%, rgba(62, 149, 145, .12), transparent 70%),
    linear-gradient(180deg, #f6fbff, #ffffff);
  border: 1px solid rgba(30, 95, 134, .14);
  border-radius: 18px;
  color: var(--al-muted-strong);
  display: flex;
  gap: .75rem;
  margin-bottom: 1rem;
  padding: .85rem;
}

.contact-plan-notice > i {
  align-items: center;
  background: var(--al-primary-soft);
  border-radius: 14px;
  color: var(--al-primary-dark);
  display: flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.contact-plan-notice strong,
.contact-plan-notice span {
  display: block;
}

.contact-plan-notice strong {
  color: var(--al-text);
  font-weight: 900;
}

.contact-plan-notice span {
  font-size: .88rem;
  line-height: 1.55;
  margin-top: .12rem;
}

.contact-field-grid {
  display: grid;
  gap: .95rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-field {
  min-width: 0;
}

.contact-field.is-full {
  grid-column: 1 / -1;
}

.contact-field label {
  color: var(--al-text);
  display: block;
  font-size: .86rem;
  font-weight: 850;
  margin-bottom: .38rem;
}

.contact-field .form-control,
.contact-field .form-select {
  background-color: rgba(255, 255, 255, .94);
  border-color: rgba(30, 95, 134, .16);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
  min-height: 48px;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.contact-field .form-control:focus,
.contact-field .form-select:focus {
  border-color: #88aed0;
  box-shadow: 0 0 0 .2rem rgba(31, 94, 140, .13);
  transform: translateY(-1px);
}

.contact-field textarea.form-control {
  min-height: 160px;
}

.contact-field .errorlist {
  color: #b42318;
  font-size: .82rem;
  list-style: none;
  margin: .35rem 0 0;
  padding: 0;
}

.contact-submit-row {
  align-items: center;
  border-top: 1px solid var(--al-border);
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: space-between;
  margin-top: 1.15rem;
  padding-top: 1.1rem;
}

.contact-submit-row span {
  color: var(--al-muted);
  font-size: .88rem;
  max-width: 320px;
}

.contact-side {
  display: grid;
  gap: 1rem;
}

.contact-response-card {
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(30, 95, 134, .16), transparent 72%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  padding: 1.1rem;
}

.contact-response-top {
  align-items: flex-start;
  display: flex;
  gap: .8rem;
  justify-content: space-between;
  margin-bottom: .9rem;
}

.contact-response-top > i {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 16px;
  color: var(--al-primary);
  display: flex;
  flex: 0 0 auto;
  font-size: 1.2rem;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.contact-admin-preview {
  background: #0f2f3f;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  display: grid;
  gap: .55rem;
  padding: .75rem;
}

.contact-admin-row {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  color: rgba(255, 255, 255, .74);
  padding: .72rem;
}

.contact-admin-row.is-new {
  background: rgba(62, 149, 145, .22);
  border-color: rgba(135, 213, 210, .26);
}

.contact-admin-row strong,
.contact-admin-row span {
  display: block;
}

.contact-admin-row strong {
  color: #fff;
  font-size: .9rem;
}

.contact-admin-row span {
  font-size: .8rem;
  margin-top: .12rem;
}

.contact-side-panel {
  padding: 1.1rem;
}

.contact-side-panel h3 {
  font-size: 1.05rem;
  font-weight: 850;
  margin: .65rem 0 .55rem;
}

.contact-side-panel p {
  color: var(--al-muted);
}

.contact-panel-icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(30, 95, 134, .12), rgba(62, 149, 145, .12));
  border-radius: 16px;
  color: var(--al-primary);
  display: flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.contact-method-list {
  display: grid;
  gap: .65rem;
}

.contact-method-list div {
  align-items: center;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--al-border);
  border-radius: 16px;
  display: flex;
  gap: .75rem;
  padding: .75rem;
}

.contact-method-list strong {
  align-items: center;
  background: var(--al-primary);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.contact-method-list span {
  color: var(--al-muted-strong);
  font-size: .9rem;
  font-weight: 700;
}

.contact-side-panel-accent {
  background:
    radial-gradient(400px 180px at 100% 0%, rgba(219, 154, 62, .12), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 251, 245, .98));
}

.landing-faq {
  margin: 0 auto;
  max-width: 900px;
}

.landing-final-cta {
  padding: clamp(3rem, 7vw, 5.2rem) 0;
}

.landing-final-cta-inner {
  align-items: center;
  background:
    radial-gradient(680px 220px at 100% 0%, rgba(62, 149, 145, .14), transparent 68%),
    linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
  border: 1px solid rgba(30, 95, 134, .16);
  border-radius: 28px;
  box-shadow: var(--al-shadow);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(1.25rem, 4vw, 2.2rem);
}

.landing-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: flex-end;
}

.landing-footer {
  padding: 1.5rem 0;
}

.landing-footer-inner {
  align-items: center;
  border-top: 1px solid var(--al-border);
  color: var(--al-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  padding-top: 1rem;
}

.landing-footer-copy {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
}

.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.landing-footer-links a,
.landing-footer-links a:visited {
  align-items: center;
  background: #f8fcff;
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 999px;
  color: var(--al-muted-strong);
  display: inline-flex;
  font-size: .88rem;
  font-weight: 850;
  min-height: 36px;
  padding: .42rem .78rem;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.landing-footer-links a:hover {
  background: #eef8fb;
  border-color: rgba(62, 149, 145, .28);
  color: var(--al-primary-dark);
  transform: translateY(-1px);
}

.legal-hero {
  background:
    radial-gradient(760px 300px at 100% 0%, rgba(62, 149, 145, .14), transparent 62%),
    radial-gradient(720px 280px at 0% 12%, rgba(30, 95, 134, .12), transparent 60%),
    linear-gradient(180deg, #f8fbfe 0%, #eef6fb 76%, #ffffff 100%);
  overflow: hidden;
  padding: 1rem 0 clamp(2.6rem, 6vw, 4.6rem);
  position: relative;
}

.legal-hero::before {
  background: linear-gradient(90deg, rgba(30, 95, 134, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(30, 95, 134, .08) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  inset: 0;
  opacity: .2;
  pointer-events: none;
  position: absolute;
}

.legal-hero > .container {
  position: relative;
  z-index: 1;
}

.legal-hero-inner {
  align-items: end;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  padding-top: clamp(3rem, 9vw, 6rem);
}

.legal-hero h1 {
  color: var(--al-primary-dark);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .94;
  margin: .7rem 0 1rem;
  max-width: 13.5ch;
}

.legal-hero p {
  color: var(--al-muted-strong);
  font-size: clamp(1.02rem, 2vw, 1.24rem);
  line-height: 1.7;
  max-width: 760px;
}

.legal-summary-card {
  background:
    radial-gradient(280px 120px at 100% 0%, rgba(62, 149, 145, .14), transparent 70%),
    rgba(255, 255, 255, .9);
  border: 1px solid rgba(30, 95, 134, .14);
  border-radius: 24px;
  box-shadow: var(--al-shadow-soft);
  padding: 1.05rem;
}

.legal-summary-card span,
.legal-summary-card small {
  color: var(--al-muted);
  display: block;
  font-weight: 760;
}

.legal-summary-card strong {
  color: var(--al-primary-dark);
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  margin: .2rem 0 .5rem;
}

.legal-page {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.legal-layout {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.legal-toc {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 252, 255, .98));
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 22px;
  box-shadow: var(--al-shadow-soft);
  display: grid;
  gap: .3rem;
  padding: .9rem;
  position: sticky;
  top: 1rem;
}

.legal-toc strong {
  color: var(--al-primary-dark);
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: .35rem;
  text-transform: uppercase;
}

.legal-toc a,
.legal-toc a:visited {
  border-radius: 12px;
  color: var(--al-muted-strong);
  font-size: .88rem;
  font-weight: 760;
  padding: .46rem .55rem;
  text-decoration: none;
}

.legal-toc a:hover {
  background: #eef8fb;
  color: var(--al-primary-dark);
}

.legal-doc {
  background:
    radial-gradient(640px 240px at 100% 0%, rgba(62, 149, 145, .07), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(250, 252, 254, .98));
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 26px;
  box-shadow: var(--al-shadow-soft);
  padding: clamp(1.15rem, 3vw, 2rem);
}

.legal-meta-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.4rem;
}

.legal-meta-grid div,
.legal-contact-card {
  background: #fff;
  border: 1px solid var(--al-border);
  border-radius: 16px;
  padding: .85rem;
}

.legal-meta-grid span,
.legal-contact-card span {
  color: var(--al-muted);
  display: block;
  font-size: .82rem;
  font-weight: 760;
}

.legal-meta-grid strong,
.legal-contact-card strong {
  color: var(--al-primary-dark);
  display: block;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.legal-doc section {
  border-top: 1px solid var(--al-border);
  padding: 1.2rem 0;
  scroll-margin-top: 1rem;
}

.legal-doc section:first-of-type {
  border-top: 0;
}

.legal-doc h2 {
  color: var(--al-primary-dark);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 900;
  margin: 0 0 .7rem;
}

.legal-doc h3 {
  color: var(--al-primary-dark);
  font-size: 1rem;
  font-weight: 900;
  margin: 1rem 0 .35rem;
}

.legal-doc p {
  color: var(--al-muted-strong);
  line-height: 1.75;
  margin: 0 0 .75rem;
}

.legal-doc p:last-child {
  margin-bottom: 0;
}

.legal-contact-card {
  margin: .8rem 0;
}

.auth-shell {
  align-items: center;
  background:
    radial-gradient(920px 360px at -8% -8%, rgba(30, 95, 134, .14), transparent 60%),
    radial-gradient(800px 320px at 100% 0%, rgba(62, 149, 145, .08), transparent 58%),
    linear-gradient(180deg, #f8fbfe 0%, #f3f7fb 44%, #edf4f9 100%);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 1.5rem;
}

.auth-shell-landing {
  align-items: stretch;
  background:
    radial-gradient(920px 360px at 82% 10%, rgba(62, 149, 145, .16), transparent 62%),
    radial-gradient(780px 340px at 2% 0%, rgba(30, 95, 134, .13), transparent 62%),
    linear-gradient(180deg, #f8fbfe 0%, #eef6fb 68%, #ffffff 100%);
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.auth-shell-landing::before {
  background:
    radial-gradient(680px 220px at 52% 30%, rgba(255, 255, 255, .74), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.auth-landing-scene {
  inset: 0;
  opacity: .74;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.auth-landing-scene::before {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 0 34%, rgba(255, 255, 255, .72) 47%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(214, 227, 238, .22), rgba(255, 255, 255, 0));
  content: "";
  height: 100%;
  left: 45%;
  position: absolute;
  top: 0;
  transform: skewX(-9deg);
  width: 24%;
}

.auth-scene-dashboard {
  right: clamp(22rem, 36vw, 44rem);
  top: 15%;
  width: min(360px, 27vw);
}

.auth-scene-chat {
  animation-delay: -2s;
  right: clamp(-8rem, -2vw, -1.5rem);
  top: 30%;
  width: min(330px, 25vw);
}

.auth-scene-pipeline {
  animation-delay: -4s;
  bottom: 9%;
  right: clamp(18rem, 30vw, 36rem);
  width: min(390px, 29vw);
}

.auth-landing-layout {
  margin: 0 auto;
  max-width: 1180px;
  min-height: 100vh;
  padding: 1rem;
  position: relative;
  z-index: 4;
}

.auth-landing-nav {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 18px;
  box-shadow: var(--al-shadow-soft);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: .65rem .72rem;
}

.auth-landing-nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.auth-landing-grid {
  align-items: center;
  display: grid;
  gap: clamp(1.8rem, 5vw, 4.25rem);
  grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
  min-height: calc(100vh - 96px);
  padding: clamp(2rem, 6vw, 5rem) 0;
}

.auth-landing-copy {
  max-width: 690px;
}

.auth-landing-copy h1 {
  color: var(--al-primary-dark);
  font-size: clamp(2.6rem, 6vw, 5.35rem);
  font-weight: 900;
  line-height: .98;
  margin: 1rem 0;
  max-width: 11ch;
}

.auth-landing-copy p {
  color: var(--al-muted-strong);
  font-size: 1.05rem;
  max-width: 650px;
}

.auth-landing-metrics {
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.35rem;
}

.auth-landing-metrics div,
.auth-login-card {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(30, 95, 134, .14);
  box-shadow: 0 24px 70px rgba(18, 58, 87, .14), inset 0 1px 0 rgba(255, 255, 255, .82);
}

.auth-landing-metrics div {
  border-radius: 16px;
  padding: .82rem .9rem;
}

.auth-landing-metrics strong,
.auth-landing-metrics span {
  display: block;
}

.auth-landing-metrics strong {
  color: var(--al-primary-dark);
  font-size: .92rem;
}

.auth-landing-metrics span {
  color: var(--al-muted);
  font-size: .78rem;
  margin-top: .18rem;
}

.auth-login-card {
  background:
    radial-gradient(460px 170px at 100% 0%, rgba(62, 149, 145, .08), transparent 70%),
    rgba(255, 255, 255, .9);
  border-radius: 26px;
  box-shadow: 0 28px 82px rgba(18, 58, 87, .2), inset 0 1px 0 rgba(255, 255, 255, .9);
  justify-self: end;
  max-width: 500px;
  padding: clamp(1.15rem, 3vw, 2rem);
  position: relative;
  width: 100%;
  z-index: 5;
}

.auth-login-card::before {
  background: linear-gradient(90deg, rgba(30, 95, 134, .18), rgba(62, 149, 145, .24), rgba(30, 95, 134, .08));
  border-radius: 999px;
  content: "";
  display: block;
  height: 4px;
  margin-bottom: 1rem;
  width: 72px;
}

.auth-signup-card {
  max-width: 620px;
}

.auth-signup-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-form-field {
  min-width: 0;
}

.auth-form-field.is-wide {
  grid-column: 1 / -1;
}

.auth-login-card form label,
.auth-form-field label {
  color: #35526f;
  display: block;
  font-size: .88rem;
  font-weight: 800;
  margin-bottom: .36rem;
}

.auth-login-card input:not([type="checkbox"]):not([type="radio"]),
.auth-login-card select,
.auth-login-card textarea {
  border: 1px solid #cbdbe8;
  border-radius: 12px;
  display: block;
  min-height: 42px;
  padding: .62rem .78rem;
  width: 100%;
}

.auth-login-card input:not([type="checkbox"]):not([type="radio"]):focus,
.auth-login-card select:focus,
.auth-login-card textarea:focus {
  border-color: #88aed0;
  box-shadow: 0 0 0 .18rem rgba(31, 94, 140, .15);
}

.auth-login-card > p a {
  color: var(--al-primary-dark);
  font-weight: 850;
  text-decoration: none;
}

.auth-login-card > p a:hover {
  color: var(--al-primary);
  text-decoration: underline;
  text-underline-offset: .18rem;
}

.auth-login-frame {
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(30, 95, 134, .14);
  border-radius: 24px;
  box-shadow: 0 28px 62px rgba(20, 56, 86, .13);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  max-width: 1080px;
  overflow: hidden;
  padding: .6rem;
  width: 100%;
}

.auth-login-story {
  background:
    radial-gradient(560px 260px at -10% 0%, rgba(31, 94, 140, .1), transparent 68%),
    radial-gradient(300px 140px at 100% 18%, rgba(95, 143, 181, .12), transparent 72%),
    linear-gradient(180deg, #ecf5fc 0%, #f7fbff 100%);
  border: 1px solid #d9e6f1;
  border-radius: 20px;
  color: var(--al-text);
  display: flex;
  flex-direction: column;
  min-height: 640px;
  padding: clamp(1.35rem, 3vw, 2.2rem);
}

.auth-story-main {
  margin: auto 0 1.5rem;
  max-width: 580px;
}

.auth-story-main .al-eyebrow {
  color: var(--al-primary);
}

.auth-story-main h1 {
  color: var(--al-primary-dark);
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
  margin: .65rem 0 1rem;
}

.auth-story-main p {
  color: var(--al-muted-strong);
  font-size: 1.04rem;
  margin: 0;
}

.auth-login-highlights {
  display: grid;
  gap: .65rem;
  margin-bottom: 1rem;
}

.auth-login-highlights div {
  align-items: center;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 16px;
  box-shadow: var(--al-shadow-soft);
  color: var(--al-text);
  display: flex;
  font-weight: 800;
  gap: .65rem;
  padding: .72rem .8rem;
}

.auth-login-highlights i {
  color: var(--al-accent);
}

.auth-login-preview {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 22px;
  box-shadow: var(--al-shadow-soft);
  padding: .9rem;
}

.auth-login-form {
  align-self: center;
  padding: clamp(1.25rem, 3vw, 2.3rem);
  position: relative;
}

.auth-login-form form {
  margin-top: .2rem;
}

.auth-back-link {
  align-items: center;
  color: var(--al-muted-strong);
  display: inline-flex;
  font-size: .84rem;
  font-weight: 800;
  gap: .4rem;
  margin-bottom: 1.1rem;
}

.auth-back-link:hover {
  color: var(--al-primary-dark);
}

.auth-login-options {
  align-items: center;
  color: var(--al-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: .85rem;
  gap: .8rem;
  justify-content: space-between;
}

.auth-login-options .form-check {
  align-items: center;
  display: inline-flex;
  gap: .45rem;
  margin: 0;
  min-height: 0;
}

.auth-login-options .form-check-label {
  color: var(--al-text);
  font-size: .88rem;
  font-weight: 700;
  margin: 0;
}

.auth-login-options input[type="checkbox"] {
  border-radius: 5px;
  flex: 0 0 auto;
  height: 1rem;
  margin: 0;
  padding: 0;
  width: 1rem;
}

.auth-login-checklist {
  display: grid;
  gap: .55rem;
  margin-top: 1rem;
}

.auth-login-checklist div {
  align-items: center;
  background: rgba(248, 252, 255, .9);
  border: 1px solid rgba(30, 95, 134, .1);
  border-radius: 14px;
  color: var(--al-muted-strong);
  display: flex;
  font-size: .84rem;
  font-weight: 750;
  gap: .55rem;
  padding: .62rem .72rem;
}

.auth-login-checklist i {
  color: var(--al-accent);
}

.auth-shell-split {
  align-items: stretch;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  padding: clamp(1rem, 2vw, 1.5rem);
}

.auth-panel {
  border-radius: 32px;
  min-width: 0;
}

.auth-panel-story {
  background:
    radial-gradient(560px 260px at -10% 0%, rgba(31, 94, 140, .1), transparent 68%),
    radial-gradient(300px 140px at 100% 18%, rgba(95, 143, 181, .12), transparent 72%),
    linear-gradient(180deg, #ecf5fc 0%, #f7fbff 100%);
  border: 1px solid #d9e6f1;
  box-shadow: var(--al-shadow);
  color: var(--al-text);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  position: relative;
}

.auth-panel-story::after {
  background:
    radial-gradient(circle at 80% 88%, rgba(62, 149, 145, .14), transparent 24%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.auth-panel-story > * {
  position: relative;
  z-index: 1;
}

.auth-brand {
  align-items: center;
  color: var(--al-primary-dark);
  display: inline-flex;
  font-weight: 900;
  gap: .65rem;
}

.auth-brand:hover {
  color: var(--al-primary-dark);
}

.auth-story-content {
  margin: auto 0;
  max-width: 720px;
  padding: 2rem 0;
}

.auth-story-content .al-eyebrow {
  color: var(--al-primary);
}

.auth-story-content h1 {
  color: var(--al-primary-dark);
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin: .6rem 0 1rem;
}

.auth-story-content p {
  color: var(--al-muted-strong);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  max-width: 640px;
}

.auth-proof-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.auth-proof-card {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 20px;
  padding: 1rem;
}

.auth-proof-card i {
  align-items: center;
  background: rgba(30, 95, 134, .08);
  border-radius: 14px;
  color: var(--al-primary);
  display: inline-flex;
  font-size: 1.1rem;
  height: 40px;
  justify-content: center;
  margin-bottom: .8rem;
  width: 40px;
}

.auth-proof-card strong {
  display: block;
  font-size: .96rem;
  margin-bottom: .2rem;
}

.auth-proof-card span {
  color: var(--al-muted);
  display: block;
  font-size: .84rem;
}

.auth-mini-chat {
  align-self: flex-end;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(30, 95, 134, .12);
  border-radius: 24px;
  max-width: 430px;
  padding: 1rem;
  width: 100%;
}

.auth-mini-chat-header {
  align-items: center;
  color: var(--al-muted);
  display: flex;
  font-size: .82rem;
  font-weight: 800;
  gap: .5rem;
  margin-bottom: .75rem;
}

.auth-status-dot {
  background: #34d399;
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(52, 211, 153, .14);
  height: 9px;
  width: 9px;
}

.auth-chat-bubble {
  border-radius: 16px;
  font-size: .88rem;
  line-height: 1.45;
  padding: .75rem .85rem;
}

.auth-chat-bubble + .auth-chat-bubble {
  margin-top: .65rem;
}

.auth-chat-bubble.visitor {
  background: var(--al-primary);
  color: #fff;
  margin-left: 2rem;
}

.auth-chat-bubble.assistant {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--al-border);
  color: var(--al-text);
  margin-right: 2rem;
}

.auth-form-panel {
  align-items: center;
  display: flex;
  justify-content: center;
}

.auth-card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--al-border);
  border-radius: 26px;
  box-shadow: var(--al-shadow);
  max-width: 470px;
  padding: 2rem;
  width: 100%;
}

.auth-card-elevated {
  border-radius: 30px;
  max-width: 520px;
  padding: clamp(1.35rem, 3vw, 2.25rem);
}

.auth-mobile-brand {
  display: none;
  margin-bottom: 1.25rem;
}

.auth-header {
  margin-bottom: 1rem;
}

.auth-kicker {
  background: #f5fafe;
  border: 1px solid #cdddeb;
  border-radius: 999px;
  color: var(--al-primary-dark);
  display: inline-flex;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .05em;
  margin-bottom: .85rem;
  padding: .35rem .6rem;
  text-transform: uppercase;
}

.auth-benefits {
  display: grid;
  gap: .5rem;
  margin: 0 0 1rem;
  padding: 0;
}

.auth-benefits li {
  align-items: center;
  color: var(--al-text);
  display: inline-flex;
  font-size: .84rem;
  gap: .45rem;
  list-style: none;
}

.auth-benefits li i {
  color: var(--al-accent);
}

.auth-card form label {
  color: #35526f;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .45rem;
}

.auth-card form label + input,
.auth-card form label + select,
.auth-card form label + textarea {
  margin-top: .35rem;
}

.auth-card input:not([type="checkbox"]):not([type="radio"]),
.auth-card select,
.auth-card textarea {
  border: 1px solid #cbdbe8;
  border-radius: 12px;
  display: block;
  min-height: 42px;
  padding: .72rem .85rem;
  width: 100%;
}

.auth-card input[type="checkbox"],
.auth-card input[type="radio"] {
  height: 1rem;
  margin-top: .2rem;
  min-height: 0;
  padding: 0;
  width: 1rem;
}

.auth-card label {
  font-weight: 750;
  margin: .85rem 0 .35rem;
}

.auth-social-btn {
  justify-content: center;
  margin-top: 1.25rem;
  min-height: 46px;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.auth-social-btn:not(:disabled):hover {
  border-color: rgba(30, 95, 134, .22);
  box-shadow: var(--al-shadow-soft);
  transform: translateY(-1px);
}

.auth-divider {
  align-items: center;
  color: var(--al-muted);
  display: flex;
  font-size: .78rem;
  font-weight: 800;
  gap: .8rem;
  letter-spacing: .04em;
  margin: 1.35rem 0 1rem;
  text-transform: uppercase;
}

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

.auth-input-wrap {
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #f8fcff);
  border: 1px solid #cbdbe8;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
  display: flex;
  position: relative;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.auth-input-wrap:focus-within {
  border-color: #88aed0;
  box-shadow: 0 0 0 .18rem rgba(31, 94, 140, .15);
  transform: translateY(-1px);
}

.auth-input-wrap i {
  color: var(--al-primary);
  flex: 0 0 auto;
  margin-left: .95rem;
}

.auth-input-wrap input {
  background: transparent;
  border: 0 !important;
  border-radius: 14px;
  box-shadow: none !important;
  min-height: 48px;
  padding: .8rem .95rem .8rem .7rem;
}

.auth-input-wrap input::placeholder {
  color: var(--al-muted);
}

.auth-security-note {
  align-items: flex-start;
  background: #f8fcff;
  border: 1px solid var(--al-border);
  border-radius: 16px;
  color: var(--al-muted);
  display: flex;
  font-size: .84rem;
  gap: .6rem;
  margin-top: 1rem;
  padding: .8rem;
}

.auth-security-note i {
  color: var(--al-primary);
}

.errorlist {
  color: #b42318;
  font-size: .88rem;
  margin: .35rem 0 0;
  padding-left: 1rem;
}

.errorlist li::marker {
  color: #ef4444;
}

.al-mobile-card-label {
  color: var(--al-muted);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .al-app-shell {
    grid-template-columns: 1fr;
  }

  .auth-shell-split {
    grid-template-columns: 1fr;
  }

  .auth-login-frame {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .auth-login-story {
    display: none;
  }

  .auth-panel-story {
    display: none;
  }

  .auth-mobile-brand {
    display: block;
  }

  .auth-landing-scene {
    opacity: .32;
  }

  .auth-scene-dashboard {
    right: 20rem;
    top: 22%;
    width: 320px;
  }

  .auth-scene-chat {
    right: -5rem;
    width: 300px;
  }

  .auth-scene-pipeline {
    right: 12rem;
    width: 330px;
  }

  .auth-landing-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .auth-login-card {
    justify-self: start;
  }

  .auth-login-card::before {
    display: none;
  }

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

  .landing-hero-scene {
    opacity: .32;
  }

  .landing-scene-dashboard {
    right: 14rem;
    top: 24%;
    width: 360px;
  }

  .landing-chat-window {
    right: 1.2rem;
    width: 330px;
  }

  .landing-pipeline-card {
    right: 2rem;
    width: 380px;
  }

  .landing-nav-links {
    display: none;
  }

  .landing-hero-inner {
    min-height: 680px;
  }

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

  .landing-band-grid,
  .contact-shell,
  .legal-hero-inner,
  .legal-layout,
  .landing-safety-grid,
  .landing-final-cta-inner {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

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

  .landing-final-actions {
    justify-content: flex-start;
  }

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

  .al-action-grid,
  .al-home-hero,
  .al-launch-steps,
  .al-product-shell,
  .al-playground-grid {
    grid-template-columns: 1fr;
  }

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

  .al-sticky-panel {
    position: static;
  }

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

@media (max-width: 720px) {
  .btn {
    min-height: 44px;
  }

  .auth-shell {
    padding: 1rem;
  }

  .auth-login-frame {
    border-radius: 24px;
    padding: .45rem;
  }

  .auth-login-form {
    padding: 1.1rem;
  }

  .auth-login-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-shell-landing {
    min-height: 100vh;
  }

  .auth-landing-scene {
    display: none;
  }

  .auth-landing-layout {
    padding: 1rem;
  }

  .auth-landing-nav {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .auth-landing-nav .landing-brand {
    flex: 1 1 100%;
  }

  .auth-landing-nav-actions {
    display: grid;
    flex: 1 1 100%;
    grid-template-columns: 1fr;
  }

  .auth-landing-grid {
    padding: 2rem 0;
  }

  .auth-landing-copy h1 {
    font-size: clamp(2.35rem, 15vw, 3.5rem);
  }

  .auth-landing-metrics {
    grid-template-columns: 1fr;
  }

  .auth-login-card {
    border-radius: 22px;
    padding: 1.1rem;
  }

  .auth-signup-grid {
    grid-template-columns: 1fr;
  }

  .auth-panel,
  .auth-card,
  .auth-card-elevated {
    border-radius: 22px;
  }

  .auth-card {
    padding: 1.2rem;
  }

  .al-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .al-page-header-surface {
    border-radius: 18px;
    padding: .95rem;
    width: 100%;
  }

  .al-page-header-actions {
    width: 100%;
  }

  .al-page-header-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .al-form-grid {
    grid-template-columns: 1fr;
  }

  .al-content {
    padding: 1rem;
  }

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

  .al-command-hero {
    border-radius: 22px;
  }

  .al-action-grid {
    grid-template-columns: 1fr;
  }

  .al-prompt-grid,
  .al-example-row,
  .al-format-strip,
  .al-sample-grid,
  .al-simple-grid {
    grid-template-columns: 1fr;
  }

  .al-readiness-score {
    margin: 1rem 0 0;
    max-width: 132px;
  }

  .al-preview-form {
    flex-direction: column;
  }

  .al-card {
    padding: 1rem;
  }

  .al-responsive-table thead {
    display: none;
  }

  .al-responsive-table,
  .al-responsive-table tbody,
  .al-responsive-table tr,
  .al-responsive-table td {
    display: block;
    width: 100%;
  }

  .al-responsive-table tr {
    border: 1px solid var(--al-border);
    border-radius: 16px;
    margin-bottom: .8rem;
    overflow: hidden;
  }

  .al-responsive-table td {
    border-bottom: 1px solid #eef2f7;
  }

  .al-responsive-table td::before {
    color: var(--al-muted);
    content: attr(data-label);
    display: block;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .04em;
    margin-bottom: .25rem;
    text-transform: uppercase;
  }

  .al-row-actions {
    justify-content: flex-start;
  }

  .landing-nav {
    gap: .75rem;
  }

  .landing-hero-scene {
    display: none;
  }

  .landing-nav {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .landing-brand {
    flex: 1 1 100%;
  }

  .landing-nav-cta {
    display: grid !important;
    flex: 1 1 100%;
    grid-template-columns: 1fr;
  }

  .landing-nav .btn {
    min-width: 0;
  }

  .landing-hero-inner {
    min-height: 0;
    padding: 3rem 0;
  }

  .landing-hero h1 {
    font-size: clamp(2.45rem, 16vw, 3.65rem);
    max-width: 10.5ch;
  }

  .landing-hero-metrics,
  .landing-benefit-grid,
  .landing-feature-grid,
  .landing-process-grid,
  .landing-pricing-grid,
  .contact-route-grid,
  .contact-field-grid,
  .legal-meta-grid,
  .landing-trust-grid {
    grid-template-columns: 1fr;
  }

  .landing-usecase-shell {
    border-radius: 20px;
    grid-template-columns: 1fr;
    padding: .8rem;
  }

  .landing-usecase-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: .2rem;
  }

  .landing-usecase-tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .landing-usecase-panels {
    min-height: 0;
  }

  .landing-section-head {
    text-align: left;
  }

  .contact-form-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-submit-row .btn {
    width: 100%;
  }

  .landing-final-actions .btn {
    width: 100%;
  }

  .mock-chat {
    left: 1rem;
    max-width: none;
  }
}

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