:root {
  --primary: #0b5cff;
  --primary-dark: #083b9a;
  --accent: #d8a23a;
  --ink: #101828;
  --text: #475467;
  --muted: #f3f6fb;
  --line: #e4e7ec;
  --white: #fff;
  --shadow: 0 18px 50px rgba(16, 24, 40, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

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

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 20, 48, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  background: linear-gradient(135deg, var(--primary), #21c7ff);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #e6efff;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a.active,
.nav-links a:hover {
  color: #fff;
  border-color: var(--accent);
}

.hero {
  padding: 86px 0 78px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 14, 34, .94), rgba(5, 20, 52, .78)),
    url("curated/hero/hero-founder-full.jpg") right center / contain no-repeat,
    #07142f;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #3cc6ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 680px;
  margin: 0 0 22px;
  color: #fff;
  font-size: 56px;
  line-height: 1.08;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: #d7e8ff;
  font-size: 20px;
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-tags span {
  padding: 8px 13px;
  color: #eef7ff;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .1);
}

.lead-card {
  padding: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.lead-card-head b {
  display: block;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.25;
}

.lead-card-head span {
  display: block;
  margin-top: 8px;
  color: #667085;
  line-height: 1.6;
}

.trial-form {
  margin-top: 24px;
}

.trial-form label {
  display: block;
  margin-bottom: 8px;
  color: #344054;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 116px;
  gap: 10px;
}

.lead-fields {
  display: grid;
  gap: 10px;
}

.form-row input,
.lead-fields input {
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #ccd3df;
  border-radius: 6px;
  font-size: 16px;
}

.trial-form > button {
  width: 100%;
  margin-top: 12px;
}

.form-row button,
.trial-form > button,
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--primary);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.trial-form p {
  margin: 12px 0 0;
  color: #667085;
  line-height: 1.7;
}

.lead-status {
  margin-top: 10px;
  color: #667085;
  font-size: 14px;
  font-weight: 800;
}

.lead-status.success {
  color: #047857;
}

.lead-status.error {
  color: #b42318;
}

.trial-form button:disabled {
  opacity: .68;
  cursor: not-allowed;
}

.quick-menu {
  padding: 36px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.nav-grid a {
  position: relative;
  display: flex;
  min-height: 166px;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .05);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.nav-grid a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--primary);
  content: "";
}

.nav-grid a:hover {
  transform: translateY(-3px);
  border-color: #b8d2ff;
  box-shadow: 0 18px 42px rgba(16, 24, 40, .1);
}

.nav-grid span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  justify-content: flex-start;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, #07142f, #123a78);
  font-weight: 900;
}

.nav-grid b {
  display: block;
  margin: 20px 20px 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.nav-grid small {
  display: block;
  min-height: 50px;
  margin: 0 20px;
  color: #667085;
  font-size: 15px;
  line-height: 1.65;
}

.nav-grid strong {
  display: inline-flex;
  margin: auto 20px 22px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
}

.section {
  padding: 86px 0;
}

.section.muted,
.muted {
  background: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: center;
}

.two-col.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}

.section h2,
.page-hero h1 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 40px;
  line-height: 1.22;
}

.section p,
.page-hero p {
  font-size: 18px;
  line-height: 1.85;
}

.check-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  margin: 10px 0;
  padding: 13px 15px;
  color: #263b61;
  font-weight: 800;
  background: #f1f6ff;
  border: 1px solid #d8e7ff;
  border-radius: 6px;
}

.video-card {
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #000;
}

.video-status {
  margin: 10px 4px 0;
  color: #667085;
  font-size: 14px;
  font-weight: 800;
}

.video-status.error {
  color: #b42318;
}

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

.section-head h2 {
  margin-bottom: 0;
}

.section-head a,
.text-link {
  color: var(--primary);
  font-weight: 900;
}

.course-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.course-card,
.feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.course-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.course-card div,
.feature-card {
  padding: 22px;
}

.course-card b,
.feature-card b {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}

.course-card p,
.feature-card p {
  margin: 10px 0 0;
  color: #667085;
  font-size: 16px;
  line-height: 1.75;
}

.note-text {
  color: #667085;
  font-size: 14px;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.price-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.price-card.featured {
  border-color: #b7ccff;
  box-shadow: 0 18px 48px rgba(11, 92, 255, .14);
}

.price-card span {
  width: fit-content;
  padding: 5px 10px;
  color: var(--primary-dark);
  background: #eaf2ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.price-card h3 {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.1;
}

.price-card p {
  margin: 0 0 16px;
  color: #667085;
  font-size: 16px;
  line-height: 1.7;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.price-card li {
  line-height: 1.65;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.video-player-panel {
  display: grid;
  gap: 18px;
}

.player-caption {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.player-caption span {
  display: inline-flex;
  padding: 5px 10px;
  color: var(--primary-dark);
  background: #eaf2ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.player-caption h2 {
  margin: 14px 0 8px;
  font-size: 30px;
}

.player-caption p {
  margin: 0;
  color: #667085;
  font-size: 16px;
}

.latest-list {
  position: sticky;
  top: 98px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.latest-list h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 24px;
}

.video-pick {
  width: 100%;
  display: block;
  margin-top: 10px;
  padding: 14px;
  color: var(--ink);
  text-align: left;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.video-pick.active,
.video-pick:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.lesson-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .06);
}

.lesson-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  grid-row: span 2;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
  font-weight: 900;
}

.lesson-card b {
  color: var(--ink);
  line-height: 1.35;
}

.lesson-card small {
  color: #667085;
  line-height: 1.45;
}

.course-hero {
  padding-bottom: 58px;
}

.course-app {
  min-height: 280px;
}

.course-loading,
.course-error {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.course-error {
  display: grid;
  gap: 18px;
}

.course-error b {
  color: var(--ink);
  font-size: 22px;
}

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

.course-route-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(16, 24, 40, .07);
}

.course-route-card span {
  width: fit-content;
  padding: 6px 12px;
  color: var(--primary);
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: #eaf2ff;
  font-size: 14px;
  font-weight: 900;
}

.course-route-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
}

.course-route-card p {
  margin: 0;
  color: #667085;
  font-size: 17px;
  line-height: 1.75;
}

.course-route-card .btn {
  width: fit-content;
  margin-top: auto;
}

.course-subhead {
  align-items: center;
}

.course-lesson-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.course-lesson-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .06);
}

.course-lesson-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  grid-row: span 2;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
  font-weight: 900;
}

.course-lesson-card b {
  color: var(--ink);
}

.course-lesson-card small {
  color: #667085;
}

.course-player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.course-player-main,
.course-side-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.course-player-main {
  overflow: hidden;
}

.course-player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.course-player-top h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 28px;
}

.course-video-box {
  position: relative;
  background: #020617;
}

.course-video-box video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
}

.course-video-status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #dbeafe;
  background: rgba(2, 6, 23, .72);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.course-video-status.hidden {
  display: none;
}

.course-video-status.error {
  color: #fecaca;
}

.course-player-actions {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  padding: 18px 24px 24px;
}

.course-player-actions .btn:last-child {
  justify-self: end;
}

.muted-btn {
  color: var(--primary);
  background: #eaf2ff;
}

.course-side-list {
  position: sticky;
  top: 98px;
  padding: 20px;
}

.course-side-list h3 {
  margin: 8px 0 14px;
  color: var(--ink);
  font-size: 24px;
}

.course-side-list div {
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 210px);
  overflow-y: auto;
}

.course-side-list a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.course-side-list a.active,
.course-side-list a:hover {
  border-color: #bcd5ff;
  background: #eaf2ff;
}

.course-side-list span {
  color: var(--primary);
  font-weight: 900;
}

.course-side-list b {
  color: var(--ink);
  font-size: 14px;
}

.photo-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.photo-stack img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-stack img:first-child {
  grid-column: span 2;
  height: 320px;
}

.salon-showcase {
  background: #fff;
}

.salon-copy {
  max-width: 560px;
}

.salon-points {
  display: grid;
  gap: 12px;
  margin: 24px 0 18px;
}

.salon-points article {
  padding: 16px 18px;
  border: 1px solid #dbe7fb;
  border-radius: 8px;
  background: #f7faff;
}

.salon-points b {
  display: block;
  color: var(--ink);
  font-size: 17px;
}

.salon-points span {
  display: block;
  margin-top: 5px;
  color: #667085;
  line-height: 1.6;
}

.cta {
  padding: 68px 0;
  color: #fff;
  background: linear-gradient(135deg, #07142f, var(--primary-dark));
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 36px;
}

.cta p {
  margin: 0;
  color: #dce9ff;
}

.btn.light {
  padding: 0 24px;
  color: var(--primary);
  background: #fff;
}

.footer {
  padding: 34px 0;
  color: #98a2b3;
  background: #07101f;
}

.footer b {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.page-hero {
  padding: 76px 0;
  background: linear-gradient(135deg, #eef5ff, #fff);
}

.page-hero p {
  max-width: 780px;
  margin: 0;
}

.page-hero .eyebrow {
  color: var(--primary);
}

.quote-hero {
  padding: 58px 0;
}

.quote-section {
  padding-top: 48px;
}

.quote-container {
  max-width: 1120px;
}

.quote-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.quote-toolbar div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: #475467;
  font-size: 15px;
}

.quote-toolbar b {
  color: var(--ink);
}

.quote-status {
  white-space: nowrap;
  font-size: 15px;
}

.status-normal {
  color: #047857;
}

.status-delayed {
  color: #b45309;
}

.status-interrupted {
  color: #b42318;
}

.quote-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(16, 24, 40, .07);
}

.quote-table {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, .9fr) 1.45fr;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
}

.quote-table-head {
  color: #fff;
  background: #07142f;
  font-size: 15px;
  font-weight: 900;
}

.quote-row {
  min-height: 58px;
  border-bottom: 1px solid #edf1f7;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.quote-row:last-child {
  border-bottom: 0;
}

.quote-name {
  font-size: 17px;
}

.quote-time {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.price-up {
  color: #dc2626;
}

.price-down {
  color: #059669;
}

.price-flash {
  animation: quoteFlash .32s ease;
}

@keyframes quoteFlash {
  0% {
    background: #fff2cc;
  }
  100% {
    background: transparent;
  }
}

.quote-mobile-list {
  display: none;
}

.quote-error {
  min-height: 24px;
  margin: 12px 0 0;
  color: #b45309;
  font-size: 14px;
  font-weight: 800;
}

.quote-disclaimer {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #dbe7fb;
  border-radius: 8px;
  background: #f8fbff;
}

.quote-disclaimer p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.75;
}

.quote-disclaimer p + p {
  margin-top: 6px;
  color: var(--ink);
  font-weight: 900;
}

.calendar-hero {
  padding: 58px 0;
}

.calendar-section {
  padding-top: 46px;
}

.calendar-widget-container {
  max-width: 1180px;
}

.calendar-widget-shell {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(16, 24, 40, .07);
}

.calendar-widget-frame {
  display: block;
  width: 100%;
  min-height: 720px;
}

.calendar-widget-frame {
  width: 100% !important;
  max-width: 100%;
}

.calendar-widget-message {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #667085;
  background: #fff;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.calendar-widget-message.loaded {
  display: none;
}

.calendar-widget-message.error {
  color: #b42318;
  background: #fff8f6;
}

.calendar-widget-shell .ecw-copyright {
  padding: 8px 12px 12px;
  text-align: center;
  line-height: 26px;
}

.calendar-widget-shell .ecw-copyright a {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.calendar-note {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #dbe7fb;
  border-radius: 8px;
  background: #f8fbff;
}

.calendar-note p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.75;
}

.wide-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.software-overview {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 24px 34px;
  align-items: start;
}

.software-intro {
  grid-column: 1 / -1;
  max-width: 980px;
}

.software-copy h2 {
  margin-bottom: 18px;
}

.software-copy > p {
  margin: 0 0 14px;
}

.software-tabs {
  padding: 22px;
  border: 1px solid #dbe7fb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .06);
}

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

.software-tabs .software-tab-nav button {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  color: #184278;
  background: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.software-tabs .software-tab-nav button.active {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.software-tab-panel {
  min-height: 178px;
  margin-top: 18px;
  padding: 24px;
  border-radius: 8px;
  background: #f5f8ff;
}

.software-tab-panel[hidden] {
  display: none;
}

.software-tab-panel b {
  display: block;
  color: var(--ink);
  font-size: 22px;
}

.software-tab-panel p {
  margin: 12px 0 0;
  color: #475467;
  font-size: 17px;
  line-height: 1.85;
}

.software-preview {
  margin: 0;
  padding: 18px;
  border: 1px solid #dbe7fb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .06);
}

.software-screen {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
  object-fit: contain;
}

.software-benefits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.software-benefits article {
  min-height: 92px;
  padding: 18px 20px;
  border: 1px solid #dbe7fb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .05);
}

.software-benefits b {
  display: block;
  color: var(--ink);
  font-size: 17px;
}

.software-benefits span {
  display: block;
  margin-top: 6px;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  padding: 20px;
  border-left: 4px solid var(--primary);
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .06);
}

.step b {
  display: block;
  color: var(--ink);
  font-size: 20px;
}

.step p {
  margin: 8px 0 0;
  font-size: 16px;
}

.step ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #475467;
  font-size: 16px;
  line-height: 1.8;
}

.step code {
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary-dark);
  background: #eaf2ff;
  font-family: inherit;
  font-weight: 900;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.download-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.download-icon {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #19b7ff);
  border-radius: 8px;
  font-size: 26px;
  font-weight: 900;
}

.download-content h3 {
  margin: 10px 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.35;
}

.download-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.status-pill {
  display: inline-flex;
  padding: 5px 10px;
  color: var(--primary-dark);
  background: #eaf2ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.meta-list {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef1f6;
}

.meta-list dt {
  color: #667085;
  font-weight: 800;
}

.meta-list dd {
  margin: 0;
  color: var(--ink);
  text-align: right;
  font-weight: 900;
}

.download-btn {
  width: 100%;
}

.property-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.property-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
}

.property-row:last-child {
  border-bottom: 0;
}

.property-row b,
.property-row span {
  display: flex;
  align-items: center;
  padding: 14px 18px;
}

.property-row b {
  color: var(--ink);
  background: #f8fafc;
}

.property-row span {
  line-height: 1.65;
}

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

.plugin-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.plugin-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plugin-top span {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
  font-weight: 900;
}

.plugin-top b {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.3;
}

.plugin-card p {
  margin: 16px 0;
  font-size: 16px;
  line-height: 1.75;
}

.plugin-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
  margin: 0 0 16px;
  padding-left: 18px;
  color: #475467;
  font-size: 14px;
  line-height: 1.55;
}

.plugin-meta {
  display: grid;
  gap: 8px;
  margin-top: auto;
  color: #667085;
  font-size: 14px;
  font-weight: 800;
}

.plugin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.plugin-actions.single {
  grid-template-columns: 1fr;
}

.btn.secondary {
  color: var(--primary);
  background: #eaf2ff;
  box-shadow: none;
}

.btn.danger {
  color: #b42318;
  background: #fff1f0;
  box-shadow: none;
}

.membership-hero {
  padding: 82px 0 74px;
  color: #fff;
  background: linear-gradient(135deg, #07142f, #0b2f6b);
}

.membership-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 44px;
  align-items: center;
}

.membership-hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #fff;
  font-size: 52px;
  line-height: 1.12;
}

.membership-hero-text {
  max-width: 720px;
  margin: 18px 0 0;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.85;
}

.membership-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.membership-actions .btn {
  padding: 0 22px;
}

.membership-summary {
  padding: 28px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}

.membership-summary b {
  display: block;
  margin-bottom: 18px;
  font-size: 24px;
}

.membership-summary div {
  display: grid;
  gap: 10px;
}

.membership-summary span {
  padding: 13px 14px;
  color: #263b61;
  border: 1px solid #d8e7ff;
  border-radius: 6px;
  background: #f1f6ff;
  font-weight: 900;
}

.membership-service-grid,
.membership-benefit-grid,
.membership-audience-grid,
.membership-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.membership-service-card,
.membership-benefit-card,
.membership-process-step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.membership-service-card span,
.membership-process-step span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 8px;
  background: var(--primary);
  font-weight: 900;
}

.membership-service-card b,
.membership-benefit-card b,
.membership-process-step b {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}

.membership-service-card p {
  min-height: 112px;
  margin: 12px 0 18px;
  color: #667085;
  font-size: 16px;
  line-height: 1.75;
}

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

.membership-benefit-card ul,
.membership-plan-card ul {
  margin: 14px 0 0;
  padding-left: 19px;
  color: #475467;
  line-height: 1.75;
}

.membership-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.membership-plan-card {
  display: flex;
  min-height: 620px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.membership-plan-card.recommended {
  border: 2px solid #82b3ff;
  box-shadow: 0 20px 50px rgba(11, 92, 255, .16);
}

.plan-badge {
  width: fit-content;
  padding: 6px 11px;
  color: #fff;
  border-radius: 999px;
  background: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.membership-plan-card h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 30px;
}

.membership-plan-card strong {
  display: block;
  margin: 10px 0 4px;
  color: var(--primary);
  font-size: 28px;
}

.membership-plan-card small,
.plan-audience {
  color: #667085;
  line-height: 1.7;
}

.plan-columns {
  display: grid;
  gap: 18px;
  margin: 20px 0;
}

.plan-columns b {
  color: var(--ink);
}

.membership-plan-card .btn {
  width: 100%;
  margin-top: auto;
}

.membership-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.membership-compare {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.membership-compare th,
.membership-compare td {
  padding: 16px 18px;
  border-bottom: 1px solid #edf1f7;
  text-align: left;
}

.membership-compare th {
  color: #fff;
  background: #07142f;
  font-weight: 900;
}

.membership-compare td {
  color: #475467;
  font-weight: 800;
}

.membership-compare td:first-child {
  color: var(--ink);
}

.membership-warning,
.membership-risk {
  margin-top: 20px;
  padding: 16px 18px;
  color: #7a3b00;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  font-size: 15px;
  line-height: 1.8;
}

.membership-process {
  grid-template-columns: repeat(4, 1fr);
}

.membership-process-step {
  min-height: 150px;
}

.membership-faq {
  display: grid;
  gap: 12px;
}

.membership-faq details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .05);
}

.membership-faq summary {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.membership-faq p {
  margin: 12px 0 0;
  color: #667085;
  font-size: 16px;
  line-height: 1.75;
}

.membership-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: 38px;
  align-items: start;
}

.membership-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.membership-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.membership-form input,
.membership-form select,
.membership-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid #ccd3df;
  border-radius: 6px;
  background: #fff;
  font: inherit;
}

.membership-form textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.evening-class-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
}

.evening-info,
.evening-access-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.evening-info h2 {
  margin-bottom: 12px;
}

.evening-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.evening-points article {
  padding: 18px;
  border: 1px solid #dbe7fb;
  border-radius: 8px;
  background: #f8fbff;
}

.evening-points b,
.evening-access-card b {
  display: block;
  color: var(--ink);
  font-size: 19px;
}

.evening-points span {
  display: block;
  margin-top: 8px;
  color: #667085;
  line-height: 1.7;
}

.evening-access-card p {
  margin: 14px 0 20px;
  color: #667085;
  font-size: 16px;
  line-height: 1.75;
}

.btn.disabled {
  opacity: .58;
  cursor: not-allowed;
}

.ai-launcher {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 60;
  display: none;
  min-width: 104px;
  height: 48px;
  padding: 0 18px;
  color: #fff;
  background: #2563eb;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(37, 99, 235, .35);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.ai-launcher::before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-right: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.ai-launcher.show {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ai-assistant-widget {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 70;
  width: 390px;
  max-width: calc(100vw - 32px);
  height: 610px;
  max-height: calc(100vh - 48px);
  display: none;
  overflow: hidden;
  color: #e5e7eb;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .38);
}

.ai-assistant-widget.open {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
}

.ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: #111c33;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.ai-header strong {
  display: block;
  color: #fff;
  font-size: 17px;
}

.ai-header span {
  display: block;
  margin-top: 3px;
  color: #94a3b8;
  font-size: 12px;
}

.ai-close {
  width: 34px;
  height: 34px;
  color: #cbd5e1;
  background: rgba(148, 163, 184, .12);
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.ai-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.ai-status {
  padding: 9px 14px 0;
  color: #93c5fd;
  background: #0f172a;
  font-size: 12px;
  font-weight: 800;
}

.ai-quick button {
  flex: 0 1 auto;
  padding: 8px 10px;
  color: #dbeafe;
  background: rgba(37, 99, 235, .18);
  border: 1px solid rgba(96, 165, 250, .28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.ai-option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 92%;
}

.ai-option-group button {
  padding: 8px 10px;
  color: #dbeafe;
  border: 1px solid rgba(96, 165, 250, .32);
  border-radius: 999px;
  background: rgba(37, 99, 235, .18);
  font-weight: 800;
  cursor: pointer;
}

.ai-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 18px 16px;
  background: linear-gradient(180deg, #0f172a, #111827);
}

.ai-message {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 16px;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.65;
}

.ai-message.assistant {
  align-self: flex-start;
  color: #e5e7eb;
  background: #374151;
  border-bottom-left-radius: 5px;
}

.ai-message.user {
  align-self: flex-end;
  color: #fff;
  background: #2563eb;
  border-bottom-right-radius: 5px;
}

.ai-feedback {
  align-self: flex-start;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  max-width: 88%;
  color: #cbd5e1;
  font-size: 12px;
}

.ai-feedback button {
  min-height: 30px;
  padding: 6px 10px;
  color: #dbeafe;
  border: 1px solid rgba(96, 165, 250, .35);
  border-radius: 999px;
  background: rgba(37, 99, 235, .16);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.ai-feedback button:disabled {
  opacity: .58;
  cursor: default;
}

.ai-form {
  display: grid;
  grid-template-columns: 1fr 74px;
  gap: 10px;
  padding: 14px;
  background: #0f172a;
  border-top: 1px solid rgba(148, 163, 184, .18);
}

.ai-form input {
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  color: #fff;
  background: #1f2937;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 999px;
  outline: none;
}

.ai-form input::placeholder {
  color: #94a3b8;
}

.ai-form button {
  height: 44px;
  color: #fff;
  background: #2563eb;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.ai-risk {
  padding: 9px 14px 12px;
  color: #94a3b8;
  background: #0f172a;
  font-size: 11px;
  line-height: 1.45;
  border-top: 1px solid rgba(148, 163, 184, .12);
}

.ai-contact-card {
  align-self: flex-start;
  display: grid;
  gap: 7px;
  max-width: 88%;
  padding: 14px;
  color: #e5e7eb;
  border: 1px solid rgba(96, 165, 250, .28);
  border-radius: 14px;
  background: #1f2937;
}

.ai-contact-card p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
}

.ai-contact-card img {
  width: 128px;
  max-width: 100%;
  border-radius: 8px;
  background: #fff;
}

.ai-contact-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-contact-card button,
.ai-contact-card a {
  padding: 7px 10px;
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.admin-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.admin-tabs button {
  min-height: 38px;
  padding: 0 16px;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  font-weight: 900;
  cursor: pointer;
}

.admin-tabs button.active {
  color: #fff;
  border-color: #2563eb;
  background: #2563eb;
}

.admin-panel label {
  display: grid;
  gap: 8px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.admin-panel label span {
  color: var(--ink);
  font-weight: 900;
}

.admin-panel input,
.admin-panel select,
.admin-panel textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccd3df;
  border-radius: 6px;
  font: inherit;
}

.log-table {
  display: grid;
  gap: 14px;
}

.log-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.log-item b,
.log-item small {
  display: block;
}

.log-item b {
  color: var(--ink);
}

.log-item small {
  margin-top: 4px;
  color: #667085;
}

.log-item p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

.quote-admin-panel {
  margin-bottom: 18px;
}

.quote-symbol-editor {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.quote-symbol-editor h3,
.quote-state-box h3 {
  margin: 0 0 8px;
  color: var(--ink);
}

.quote-symbol-head,
.quote-symbol-row {
  display: grid;
  grid-template-columns: 64px 1fr 1fr 80px 80px;
  gap: 8px;
  align-items: center;
}

.quote-symbol-head {
  color: #667085;
  font-size: 13px;
  font-weight: 900;
}

.quote-symbol-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.quote-state-box p {
  margin: 8px 0;
  font-size: 15px;
}

.admin-login-body,
.admin-body {
  min-height: 100vh;
  background: #eef3fa;
}

.admin-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-login-card {
  width: min(460px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 34px;
}

.admin-login-form {
  display: grid;
  gap: 14px;
}

.admin-login-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.admin-login-form input,
.admin-login-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccd3df;
  border-radius: 6px;
  font: inherit;
}

.totp-setup,
.recovery-codes {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #dbe7fb;
  border-radius: 8px;
  background: #f8fbff;
}

.totp-setup img {
  width: 180px;
  height: 180px;
}

.recovery-codes pre {
  padding: 12px;
  overflow-x: auto;
  background: #07142f;
  color: #fff;
  border-radius: 6px;
}

.admin-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-template-rows: 64px 1fr;
}

.admin-topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  background: #07142f;
  color: #fff;
}

.admin-topbar > div,
.admin-userbox {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-menu-search {
  position: relative;
  flex: 1;
  max-width: 520px;
}

.admin-menu-search input {
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  color: #e5e7eb;
  border: 1px solid rgba(147, 197, 253, .24);
  border-radius: 8px;
  background: rgba(15, 31, 61, .8);
  outline: none;
}

.admin-menu-search input::placeholder {
  color: #94a3b8;
}

.admin-search-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(147, 197, 253, .28);
  border-radius: 8px;
  background: #0f1f3d;
  box-shadow: 0 18px 40px rgba(2, 6, 23, .28);
}

.admin-search-results button {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  color: #dbeafe;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.admin-search-results button:hover {
  color: #fff;
  background: rgba(37, 99, 235, .35);
}

.admin-search-results span,
.admin-search-results p {
  margin: 0;
  color: #93c5fd;
  font-size: 12px;
}

.admin-sidebar {
  display: block;
  padding: 16px;
  background: #0f1f3d;
  overflow-y: auto;
}

.admin-menu-group {
  margin-bottom: 10px;
}

.admin-menu-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  color: #dbeafe;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.admin-menu-title:hover,
.admin-menu-group.expanded .admin-menu-title {
  color: #fff;
  background: rgba(37, 99, 235, .35);
  border-color: rgba(147, 197, 253, .35);
}

.admin-menu-children {
  display: none;
  gap: 6px;
  padding: 8px 0 0 10px;
}

.admin-menu-group.expanded .admin-menu-children {
  display: grid;
}

.admin-menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 6px;
  align-items: center;
}

.admin-menu-item button {
  min-height: 38px;
  padding: 8px 10px;
  color: #cbd5e1;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.admin-menu-item.active button:first-child,
.admin-menu-item button:hover {
  color: #fff;
  background: rgba(37, 99, 235, .32);
  border-color: rgba(147, 197, 253, .24);
}

.admin-menu-item .admin-fav-toggle {
  display: grid;
  place-items: center;
  padding: 0;
  color: #93c5fd;
  text-align: center;
}

.admin-menu-item .admin-fav-toggle.active {
  color: #facc15;
}

.admin-content {
  min-width: 0;
  padding: 28px;
  overflow: auto;
}

.admin-breadcrumb {
  margin-bottom: 12px;
  color: #667085;
  font-size: 14px;
  font-weight: 800;
}

.admin-favorites-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.admin-favorites-bar span {
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.admin-favorites-bar button {
  min-height: 32px;
  padding: 0 10px;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  font-weight: 800;
  cursor: pointer;
}

.admin-favorites-bar small {
  color: #667085;
}

.admin-view {
  display: none;
}

.admin-view.active {
  display: block;
}

.admin-view h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 32px;
}

.admin-view h2 {
  color: var(--ink);
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stat-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .06);
}

.admin-stat-grid b {
  display: block;
  color: var(--primary);
  font-size: 34px;
}

.admin-filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-filters input,
.admin-filters select {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #ccd3df;
  border-radius: 6px;
  font: inherit;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .06);
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf1f7;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.admin-table th {
  color: #fff;
  background: #07142f;
  font-weight: 900;
}

.admin-table select {
  padding: 7px 9px;
  border: 1px solid #ccd3df;
  border-radius: 6px;
}

.admin-detail {
  display: grid;
  gap: 6px;
  min-width: 260px;
  margin-top: 8px;
  color: #475467;
}

.admin-detail p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.admin-pagination,
.admin-bulk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}

.admin-pagination button,
.admin-bulk select {
  padding: 9px 12px;
  border: 1px solid #ccd3df;
  border-radius: 6px;
  background: #fff;
}

.admin-panel pre {
  max-height: 360px;
  overflow: auto;
  padding: 14px;
  border-radius: 8px;
  color: #dbeafe;
  background: #07142f;
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 22px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(5, 14, 34, .96), rgba(5, 20, 52, .88)),
      url("curated/hero/hero-founder-full.jpg") right bottom / 58% auto no-repeat,
      #07142f;
  }

  .hero-grid,
  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr;
  }

  .nav-grid,
  .course-grid,
  .course-route-grid,
  .course-lesson-grid,
  .feature-grid,
  .download-grid,
  .plugin-grid,
  .lesson-grid,
  .pricing-grid,
  .membership-hero-grid,
  .membership-service-grid,
  .membership-benefit-grid,
  .membership-audience-grid,
  .membership-plan-grid,
  .membership-process,
  .membership-contact-grid,
  .evening-class-grid,
  .evening-points {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-layout,
  .course-player-layout {
    grid-template-columns: 1fr;
  }

  .latest-list,
  .course-side-list {
    position: static;
  }

  .course-side-list div {
    max-height: none;
  }
}

@media (max-width: 620px) {
  .hero {
    padding: 58px 0;
    background: linear-gradient(135deg, #07142f, #0a2e68);
  }

  .hero h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 17px;
  }

  .lead-card {
    padding: 22px;
  }

  .software-tab-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .software-tab-panel {
    min-height: auto;
  }

  .software-screen {
    max-width: 100%;
    justify-self: stretch;
  }

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

  .nav-grid,
  .course-grid,
  .course-route-grid,
  .course-lesson-grid,
  .feature-grid,
  .download-grid,
  .plugin-grid,
  .lesson-grid,
  .pricing-grid,
  .membership-hero-grid,
  .membership-service-grid,
  .membership-benefit-grid,
  .membership-audience-grid,
  .membership-plan-grid,
  .membership-process,
  .membership-contact-grid,
  .evening-class-grid,
  .evening-points,
  .software-overview,
  .software-benefits,
  .photo-stack {
    grid-template-columns: 1fr;
  }

  .download-card,
  .property-row {
    grid-template-columns: 1fr;
  }

  .property-row b {
    border-bottom: 1px solid var(--line);
  }

  .photo-stack img:first-child {
    grid-column: auto;
  }

  .nav-grid a {
    min-height: 150px;
  }

  .membership-hero {
    padding: 58px 0;
  }

  .membership-hero h1 {
    font-size: 36px;
  }

  .membership-actions .btn {
    width: 100%;
  }

  .membership-service-card p {
    min-height: auto;
  }

  .membership-plan-card {
    min-height: auto;
  }

  .course-route-card {
    min-height: auto;
    padding: 22px;
  }

  .course-route-card h2 {
    font-size: 28px;
  }

  .course-player-top,
  .course-subhead {
    align-items: flex-start;
    flex-direction: column;
  }

  .course-player-actions {
    grid-template-columns: 1fr;
  }

  .course-player-actions .btn,
  .course-player-actions .btn:last-child {
    width: 100%;
    justify-self: stretch;
  }

  .quote-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .quote-toolbar div {
    display: grid;
    gap: 6px;
    font-size: 13px;
  }

  .quote-card {
    display: none;
  }

  .quote-mobile-list {
    display: grid;
    gap: 8px;
  }

  .quote-mobile-row {
    display: grid;
    grid-template-columns: minmax(72px, 1.2fr) minmax(58px, .9fr) minmax(58px, .9fr) minmax(72px, 1fr);
    align-items: center;
    gap: 6px;
    padding: 12px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(16, 24, 40, .05);
  }

  .quote-mobile-row b {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.25;
  }

  .quote-mobile-row span {
    font-size: 15px;
    font-weight: 900;
    text-align: right;
  }

  .quote-mobile-row small {
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
    text-align: right;
  }

  .calendar-widget-shell,
  .calendar-widget-frame {
    min-height: 680px;
  }

  .admin-grid,
  .quote-symbol-head,
  .quote-symbol-row {
    grid-template-columns: 1fr;
  }

  .admin-app {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .admin-menu-search {
    width: 100%;
    max-width: none;
  }

  .admin-userbox {
    width: 100%;
    justify-content: space-between;
  }

  .admin-sidebar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 18px;
  }

  .admin-menu-group {
    flex: 0 0 auto;
    margin-bottom: 0;
    min-width: 180px;
  }

  .admin-menu-title {
    white-space: nowrap;
  }

  .admin-menu-children {
    padding-left: 0;
  }

  .admin-content {
    padding: 18px;
  }

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

  .photo-stack img,
  .photo-stack img:first-child {
    height: 230px;
  }

  .section {
    padding: 58px 0;
  }

  .section h2,
  .page-hero h1 {
    font-size: 30px;
  }

  .section-head,
  .cta-box {
    display: block;
  }

  .cta .btn {
    margin-top: 20px;
  }

  .ai-assistant-widget {
    right: 5vw;
    bottom: 5vw;
    width: 90vw;
    height: 90vh;
    max-height: 90vh;
  }

.ai-launcher {
    right: 18px;
    bottom: 18px;
  }
}

.news-app {
  display: grid;
  gap: 22px;
}

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-tabs a,
.news-back {
  padding: 10px 14px;
  color: #17345f;
  border: 1px solid #d7e3f4;
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.news-tabs a.active,
.news-tabs a:hover {
  color: #fff;
  border-color: #1563ff;
  background: #1563ff;
}

.news-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.news-search input {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #ccd3df;
  border-radius: 8px;
  font-size: 15px;
}

.newsletter-box {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
  gap: 26px;
  align-items: start;
  padding: 24px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .06);
}

.newsletter-box h2 {
  margin: 4px 0 10px;
  color: var(--ink);
  font-size: 28px;
}

.newsletter-box p {
  margin: 0;
  color: #667085;
  line-height: 1.7;
}

.newsletter-box form {
  display: grid;
  gap: 12px;
}

.newsletter-box input[type="email"],
.newsletter-box select {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #ccd3df;
  border-radius: 7px;
  font: inherit;
}

.newsletter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.newsletter-options label,
.newsletter-consent {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #344054;
  font-size: 14px;
  line-height: 1.5;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .06);
}

.news-cover {
  display: grid;
  min-height: 112px;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, #07142f, #1563ff);
  font-weight: 900;
  text-align: center;
}

.news-card h2,
.news-detail h1 {
  margin: 8px 0 10px;
  color: var(--ink);
}

.news-card h2 {
  font-size: 24px;
}

.news-card p,
.news-detail p,
.news-source-note {
  color: #56657a;
  line-height: 1.9;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.news-side {
  display: grid;
  gap: 14px;
}

.news-side section,
.news-detail,
.news-empty {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .06);
}

.news-side h3 {
  margin: 0 0 12px;
}

.news-side ul,
.news-related ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.news-pagination a {
  padding: 9px 14px;
  border: 1px solid #ccd3df;
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.news-pagination a.disabled {
  color: #98a2b3;
  pointer-events: none;
}

.news-detail {
  max-width: 920px;
  margin: 0 auto;
}

.news-detail h1 {
  font-size: 42px;
}

.news-detail section {
  margin-top: 24px;
}

.news-detail h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.news-risk {
  padding: 16px;
  border-radius: 8px;
  background: #f3f7ff;
}

.news-origin {
  margin-top: 22px;
}

@media (max-width: 860px) {
  .news-layout,
  .news-card,
  .news-search,
  .newsletter-box {
    grid-template-columns: 1fr;
  }

  .news-cover {
    min-height: 86px;
  }

  .news-card h2 {
    font-size: 21px;
  }

  .news-detail h1 {
    font-size: 30px;
  }
}
