:root {
  --ink: #1a2421;
  --ink-soft: #4a5652;
  --ink-muted: #6b7a74;
  --line: #e8e4dc;
  --cream: #faf8f4;
  --cream-dark: #f3efe6;
  --green: #1f8f4a;
  --green-dark: #0d4f2f;
  --green-bright: #2ecc71;
  --green-light: #e8f5ee;
  --blue: #12356f;
  --blue-dark: #0a2448;
  --blue-hover: #0d2858;
  --gold: #d4af37;
  --gold-soft: #f5edd8;
  --white: #ffffff;
  --shadow: 0 16px 48px rgba(18, 53, 111, 0.1);
  --shadow-soft: 0 6px 22px rgba(18, 53, 111, 0.07);
  --radius: 16px;
  --radius-lg: 22px;
  --header-h: 72px;
  --panel-green: #062f1f;
  --panel-green-deep: #041f15;
  --panel-width: 240px;
  --hero-accent-green: #3ddc84;
  --hero-overlay: rgba(4, 22, 14, 0.72);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Barlow, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  flex-shrink: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.section-title {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue);
  margin: 0 0 14px;
}

.section-title .accent {
  color: var(--green);
}

.section-lede {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.14rem);
  color: var(--ink-soft);
  max-width: 58ch;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.section-head .section-lede {
  margin-inline: auto;
}

/* Hero shell + branding panel */
.hero-shell {
  display: grid;
  grid-template-columns: var(--panel-width) minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
}

.branding-panel {
  position: sticky;
  top: 0;
  z-index: 30;
  grid-column: 1;
  grid-row: 1;
  width: var(--panel-width);
  min-height: 100vh;
  background: linear-gradient(180deg, var(--panel-green) 0%, var(--panel-green-deep) 100%);
  color: var(--white);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
}

.branding-panel-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.branding-logo-link {
  display: block;
  margin: 0 auto 12px;
  max-width: 92%;
}

.branding-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(150px, 22vh, 210px);
  object-fit: contain;
  margin-inline: auto;
}

.branding-tagline {
  margin: 0 0 clamp(22px, 3vh, 32px);
  text-align: center;
  font-size: clamp(0.66rem, 1.1vw, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.45;
}

.panel-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.panel-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.15s, padding-left 0.15s;
}

.panel-nav a:hover,
.panel-nav a:focus-visible {
  color: var(--white);
  padding-left: 4px;
}

.panel-nav svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex-shrink: 0;
  opacity: 0.9;
}

.panel-nav-actions {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-close {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
}

.panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(8, 20, 14, 0.55);
  backdrop-filter: blur(2px);
}

body.panel-open {
  overflow: hidden;
}

.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 100vh;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding: 12px clamp(20px, 2.5vw, 32px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  z-index: 12;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.topbar-logo {
  display: none;
  flex-shrink: 0;
}

.topbar-logo img {
  display: block;
  height: 46px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

.hero-topnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  flex: 1;
  flex-wrap: wrap;
}

.hero-topnav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.15s;
  white-space: nowrap;
}

.hero-topnav a:hover,
.hero-topnav a:focus-visible {
  color: var(--green);
}

.hero-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.84rem;
}

.btn-trial-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.btn-trial-main {
  font-weight: 800;
  font-size: 0.92rem;
}

.btn-trial-sub {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.92;
  letter-spacing: 0.02em;
}

.btn-trial-topbar,
.btn-trial-sidebar,
.btn-hero-trial {
  background: linear-gradient(135deg, var(--green) 0%, #178a42 100%);
  color: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(31, 143, 74, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-trial-topbar {
  padding: 10px 16px;
  gap: 10px;
}

.btn-trial-topbar:hover,
.btn-trial-topbar:focus-visible,
.btn-trial-sidebar:hover,
.btn-trial-sidebar:focus-visible,
.btn-hero-trial:hover,
.btn-hero-trial:focus-visible {
  filter: brightness(1.06);
  box-shadow: 0 10px 28px rgba(31, 143, 74, 0.42);
}

.btn-trial-sidebar {
  flex-direction: column;
  padding: 12px 14px;
  width: 100%;
  text-align: center;
}

.btn-trial-sidebar .btn-trial-stack {
  align-items: center;
}

.btn-request-demo {
  border-radius: 12px;
  border-color: rgba(26, 36, 33, 0.22);
  color: var(--ink);
  font-weight: 700;
}

.btn-request-demo:hover,
.btn-request-demo:focus-visible {
  background: #f7f7f5;
  border-color: rgba(26, 36, 33, 0.35);
}

.btn-buy-now-topbar {
  border-radius: 12px;
  border: 2px solid var(--gold);
  color: var(--ink);
  background: linear-gradient(180deg, #fffef8 0%, #f8f4e8 100%);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.18);
}

.btn-buy-now-topbar:hover,
.btn-buy-now-topbar:focus-visible {
  background: #fffdf5;
  border-color: #c9a030;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
  background: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.btn-gold {
  background: var(--gold);
  color: var(--panel-green-deep);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  filter: brightness(1.05);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.site-main {
  background: var(--cream);
}

/* Legacy header/footer brand (footer only) */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: clamp(56px, 9vw, 72px);
  width: auto;
  max-width: min(156px, 40vw);
  object-fit: contain;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: var(--white);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: #f4f7fb;
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-blue:hover,
.btn-blue:focus-visible {
  background: var(--blue-hover);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(31, 107, 69, 0.22);
}

.btn-green:hover,
.btn-green:focus-visible {
  background: var(--green-dark);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-white:hover,
.btn-white:focus-visible {
  background: #f4f7fb;
}

.btn-ghost-white {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
  background: transparent;
}

.btn-ghost-white:hover,
.btn-ghost-white:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 0.95rem;
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-icon--lg {
  width: 20px;
  height: 20px;
}

/* Hero */
.hero {
  position: relative;
  flex: 1;
  min-height: clamp(520px, 72vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(4, 18, 12, 0.88) 0%, rgba(6, 28, 18, 0.78) 42%, rgba(8, 32, 22, 0.55) 100%),
    url("../assets/login-hero.jpg") center center / cover no-repeat;
  color: var(--white);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  width: 100%;
  padding: clamp(36px, 4vw, 56px) clamp(28px, 4vw, 52px);
}

.hero-eyebrow {
  margin: 0 0 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-copy h1 {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-copy h1 .accent {
  color: var(--hero-accent-green);
  display: inline-block;
}

.hero-slogan--lead {
  margin: 0 0 20px;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(0.88rem, 1.6vw, 1.05rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.98);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  max-width: 42ch;
}

.hero-support {
  margin: 0 0 28px;
  font-size: clamp(0.94rem, 1.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 50ch;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.btn-hero-trial {
  padding: 16px 22px;
  border-radius: 14px;
  min-width: min(100%, 210px);
}

.btn-hero-demo {
  padding: 16px 22px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-hero-demo:hover,
.btn-hero-demo:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-hero-pricing {
  padding: 16px 22px;
  border-radius: 14px;
  border: 2px solid rgba(212, 175, 55, 0.65);
  color: var(--white);
  background: rgba(212, 175, 55, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  font-weight: 800;
}

.btn-hero-pricing:hover,
.btn-hero-pricing:focus-visible {
  background: rgba(212, 175, 55, 0.24);
  border-color: rgba(212, 175, 55, 0.85);
}

.hero-trust {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.hero-trust svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--hero-accent-green);
  stroke: var(--hero-accent-green);
}

/* Hero bottom feature strip */
.hero-feature-strip {
  flex-shrink: 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #f0f2f4 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 40px);
}

.hero-feature-strip-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  max-width: 1280px;
  margin-inline: auto;
}

.hero-feature-item {
  text-align: center;
  padding: 8px 6px;
}

.hero-feature-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: rgba(31, 143, 74, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 143, 74, 0.15);
}

.hero-feature-icon svg {
  width: 22px;
  height: 22px;
}

.hero-feature-item h3 {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-feature-item p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-muted);
  max-width: 22ch;
  margin-inline: auto;
}

/* Hero product preview */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: clamp(340px, 42vh, 480px);
  padding: 12px 0 12px 40px;
}

.hero-leaderboard-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 400px);
  margin-left: auto;
  flex-shrink: 0;
}

/* Hero leaderboard — mirrors leaderboard.html glass card */
.hero-lb-card {
  --hero-lb-glass-top: rgba(255, 255, 255, 0.18);
  --hero-lb-glass-board: rgba(255, 255, 255, 0.07);
  --hero-lb-head1: rgba(58, 56, 54, 0.45);
  --hero-lb-head2: rgba(47, 45, 44, 0.32);
  --hero-lb-row-odd: rgba(255, 255, 255, 0.06);
  --hero-lb-row-even: rgba(255, 255, 255, 0.1);
  --hero-lb-border: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--hero-lb-border);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-lb-top {
  padding: 12px 14px 10px;
  background:
    linear-gradient(135deg, var(--hero-lb-head1), var(--hero-lb-head2)),
    var(--hero-lb-glass-top);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-lb-topRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-lb-format {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 2px solid rgba(180, 210, 255, 0.16);
  background: rgba(13, 42, 85, 0.16);
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero-lb-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-lb-pill--live {
  border-color: rgba(184, 255, 184, 0.2);
  background: rgba(47, 107, 47, 0.16);
  color: #b8ffb8;
}

.hero-lb-titleBlock {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-lb-kicker {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-lb-event {
  margin: 4px 0 0;
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

.hero-lb-course {
  margin: 2px 0 0;
  font-family: Cinzel, Georgia, serif;
  font-weight: 900;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-lb-board {
  padding: 10px 10px 14px;
  background: var(--hero-lb-glass-board);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-lb-wrap {
  background: linear-gradient(180deg, rgba(15, 42, 85, 0.22), rgba(10, 31, 61, 0.18));
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.hero-lb-head,
.hero-lb-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 64px 44px;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
}

.hero-lb-head {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(90deg, var(--hero-lb-head1), var(--hero-lb-head2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-lb-head span:last-child,
.hero-lb-score,
.hero-lb-thin {
  text-align: right;
}

.hero-lb-viewport {
  position: relative;
  height: clamp(220px, 30vh, 280px);
  overflow: hidden;
  border-radius: 0 0 10px 10px;
  mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
}

.hero-lb-list {
  will-change: transform;
}

.hero-lb-rank {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.hero-lb-move {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
}

.hero-lb-move--up {
  color: #b8ffb8;
  border-color: rgba(184, 255, 184, 0.35);
}

.hero-lb-move--down {
  color: #ffb8b8;
  border-color: rgba(255, 184, 184, 0.35);
}

.hero-lb-sub {
  margin-top: 2px;
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-lb-thin {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  font-feature-settings: "tnum" 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-lb-list {
    transform: none !important;
  }
}

.hero-lb-nameWrap {
  min-width: 0;
}

.hero-lb-name {
  font-family: "Barlow Condensed", Barlow, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  line-height: 1.15;
}

.hero-lb-row {
  font-family: "Barlow Condensed", Barlow, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  font-feature-settings: "tnum" 1;
  background: var(--hero-lb-row-odd);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.18s ease;
}

.hero-lb-row:nth-child(even) {
  background: var(--hero-lb-row-even);
}

.hero-lb-row--leader {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.12), rgba(255, 215, 0, 0.03));
}

.hero-lb-score {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.05;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-lb-score--under {
  color: #6ee78a;
}

.hero-lb-score--even {
  color: #ffffff;
}

.hero-lb-score--over {
  color: #ff6b6b;
}

.hero-lb-evenMark {
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-lb-footer-btn {
  display: block;
  margin-top: 12px;
  padding: 10px 14px;
  text-align: center;
  font-family: Barlow, system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.15s, border-color 0.15s;
}

.hero-lb-footer-btn:hover,
.hero-lb-footer-btn:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.32);
}

/* Pricing section (#pricing) */
.home-pricing-section {
  padding: clamp(56px, 8vw, 88px) 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.home-pricing-section .home-pricing-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 820px;
  margin-inline: auto;
}

.home-pricing-section .home-pricing-footnote,
.home-pricing-section .home-pricing-status {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.home-pricing-plans {
  display: grid;
  gap: 14px;
}

.home-pricing-plan {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.home-pricing-plan--recommended {
  border-color: rgba(31, 143, 74, 0.35);
  background: linear-gradient(180deg, #f4fbf6 0%, var(--cream) 100%);
  box-shadow: 0 10px 28px rgba(31, 143, 74, 0.12);
}

.home-pricing-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  border: 1px solid rgba(31, 143, 74, 0.2);
}

.home-pricing-plan-name {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.home-pricing-price {
  margin: 0 0 6px;
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1.1;
}

.home-pricing-period {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.home-pricing-note {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.home-pricing-plan-btn {
  width: 100%;
  border-radius: 12px;
  padding: 13px 16px;
}

.home-pricing-footnote {
  margin: 18px 0 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.home-pricing-footnote a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-pricing-status {
  margin: 14px 0 0;
  min-height: 1.2em;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-dark);
}

.home-pricing-status.is-error {
  color: #9a2f24;
}

.home-pricing-status:empty {
  display: none;
}

.hero-visual figure {
  margin: 0;
}

.device-phone {
  position: absolute;
  left: 0;
  bottom: 8%;
  width: clamp(160px, 22vw, 240px);
  z-index: 3;
  transform: rotate(-2deg);
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.45));
}

.device-screen-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}

.device-phone-bezel {
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border-radius: 28px;
  padding: 10px;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  border: 2px solid #2a2a2a;
  overflow: hidden;
  line-height: 0;
}

.device-screen-img--scorecard {
  border-radius: 18px;
  max-height: min(58vh, 480px);
  object-fit: cover;
  object-position: top center;
  background: #f3efe6;
}

.hero-copy {
  min-width: 0;
}

/* Features — three highlight rows */
.features {
  padding: clamp(56px, 8vw, 88px) 0;
  background: var(--white);
}

.highlight-rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 920px;
  margin-inline: auto;
}

.highlight-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px 26px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 80px;
}

.highlight-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-icon svg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
}

.highlight-body h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--blue);
}

.highlight-body p {
  margin: 0 0 10px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 62ch;
}

.highlight-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.highlight-link:hover,
.highlight-link:focus-visible {
  color: var(--green-dark);
}

/* Use cases */
.use-cases {
  padding: clamp(56px, 8vw, 96px) 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.use-case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  scroll-margin-top: calc(var(--header-h) + 16px);
  transition: transform 0.2s, box-shadow 0.2s;
}

.use-case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.use-case-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--blue);
}

.use-case-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Demo courses */
.courses {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--white);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.course-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 12px;
}

.course-emblem {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--green-light), #d4ebdc);
  border: 2px solid rgba(31, 107, 69, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.course-emblem svg {
  width: 28px;
  height: 28px;
}

.course-card-image {
  height: 120px;
  background-size: cover;
  background-position: center;
}
.course-card-image--1 {
  background-image: linear-gradient(0deg, rgba(18, 53, 111, 0.12), rgba(18, 53, 111, 0.12)),
    url("../assets/login-hero.jpg");
  background-position: 15% center;
}

.course-card-image--2 {
  background: linear-gradient(135deg, #2d6a4f 0%, #95d5b2 100%);
}

.course-card-image--3 {
  background: linear-gradient(135deg, #1b4332 0%, #74c69d 60%, #b7e4c7 100%);
}

.course-card:nth-child(4) .course-card-image--4,
.course-card-image--4 {
  background-image: linear-gradient(0deg, rgba(13, 79, 47, 0.18), rgba(13, 79, 47, 0.18)),
    url("../assets/login-hero.jpg");
  background-position: 85% center;
}

.courses-slogan {
  text-align: center;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.02em;
  margin-top: 40px;
}

.course-card h3 {
  margin: 0;
  padding: 14px 16px 18px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.35;
}

/* Tutorials */
.tutorials {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--cream);
}

.tutorial-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tutorial-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
}

.tutorial-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: #8a6d28;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.tutorial-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
}

.tutorial-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.tutorials-cta {
  text-align: center;
}

/* Contact */
.contact {
  padding: clamp(56px, 8vw, 80px) 0;
  background: var(--blue);
  color: var(--white);
  text-align: center;
}

.contact h2 {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 14px;
}

.contact-lede {
  margin: 0 auto 28px;
  max-width: 54ch;
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: rgba(255, 255, 255, 0.9);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-size: 0.95rem;
}

.contact-info a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.contact-info a:hover,
.contact-info a:focus-visible {
  color: #7dd4a0;
}

/* Footer */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.88);
  padding: clamp(40px, 6vw, 56px) 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-tagline {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 28ch;
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.15s;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.15s;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #7dd4a0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* About */
.about {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
}

.about-copy p {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 58ch;
}

.about-slogan {
  margin: 8px 0 0 !important;
  font-family: Cinzel, Georgia, serif;
  font-weight: 600;
  color: var(--green) !important;
  font-size: 1.05rem !important;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-stat {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
}

.about-stat strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}

.about-stat span {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 1024px) {
  .course-grid,
  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .hero-topnav {
    display: none;
  }

  .hero-topbar-actions .btn-request-demo {
    display: none;
  }
}

@media (max-width: 1200px) {
  .hero-feature-strip-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .hero-feature-item:nth-child(n + 4) {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .hero-shell {
    display: block;
    height: auto;
    max-height: none;
    min-height: 100vh;
    overflow: visible;
  }

  .branding-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(88vw, 300px);
    height: 100vh;
    max-height: 100vh;
    grid-column: auto;
    grid-row: auto;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.28);
    z-index: 40;
  }

  .branding-panel.is-open {
    transform: translateX(0);
  }

  .branding-logo {
    max-height: 150px;
  }

  .panel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .panel-nav-actions {
    display: flex;
  }

  .hero-stage {
    height: auto;
    max-height: none;
    min-height: calc(100vh - 0px);
    grid-column: auto;
    grid-row: auto;
  }

  .hero-topbar {
    justify-content: flex-start;
    gap: 10px;
  }

  .topbar-logo {
    display: block;
  }

  .hero-topbar-actions {
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px 36px;
    height: auto;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    min-height: 320px;
    height: auto;
    max-height: none;
    justify-content: center;
    padding: 0 4px 12px;
  }

  .hero-leaderboard-wrap {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .hero-lb-head .hero-lb-col-thru,
  .hero-lb-thin {
    display: none;
  }

  .hero-lb-head,
  .hero-lb-row {
    grid-template-columns: 44px minmax(0, 1fr) 64px;
  }

  .hero-lb-viewport {
    height: 220px;
  }

  .home-pricing-section .home-pricing-plans {
    grid-template-columns: 1fr;
  }

  .device-phone {
    left: 4px;
    width: clamp(120px, 32vw, 170px);
    bottom: 4%;
  }

  .device-screen-img--scorecard {
    max-height: 280px;
  }

  .hero-feature-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlight-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 18px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 28px));
  }

  .course-grid,
  .use-case-grid,
  .tutorial-list {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-slogan--lead {
    max-width: none;
  }

  .hero-trust {
    flex-direction: column;
    gap: 10px;
  }

  .hero-lb-score {
    font-size: 22px;
  }

  .hero-lb-name {
    font-size: 15px;
  }

  .hero-lb-rank {
    font-size: 18px;
  }

  .hero-lb-viewport {
    height: 200px;
  }

  .device-phone {
    width: 100px;
  }

  .device-screen-img--scorecard {
    max-height: 220px;
  }

  .hero-feature-strip-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-feature-item p {
    max-width: none;
  }

  .btn-trial-topbar .btn-trial-sub {
    display: none;
  }

  .btn-trial-topbar {
    padding: 10px 14px;
  }

  .btn-buy-now-topbar {
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  .highlight-row {
    grid-template-columns: 1fr;
  }

  .highlight-icon {
    width: 44px;
    height: 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-info {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .feature-card:hover,
  .course-card:hover,
  .use-case-card:hover,
  .btn:active {
    transform: none;
  }
}
