/* ====================================================
  LearnJargon | Global CSS
  Design System: Void dark theme
  ==================================================== */

:root {
  --void:       #0D1017;
  --surf1:      #161C26;
  --surf2:      #1E2737;
  --border:     rgba(255, 255, 255, 0.07);
  --gold:       #E8A820;
  --coral:      #E06040;
  --jade:       #3DAA76;
  --text:       #F0EDE6;
  --muted1:     rgba(240, 237, 230, 0.6);
  --muted2:     rgba(240, 237, 230, 0.28);
  --font-display: Georgia, serif;
  --font-body:    -apple-system, 'Segoe UI', sans-serif;
  --glass-bg:           rgba(255, 255, 255, 0.035);
  --glass-bg-hover:     rgba(255, 255, 255, 0.065);
  --glass-border:       rgba(255, 255, 255, 0.10);
  --glass-border-hover: rgba(255, 255, 255, 0.18);
  --glass-specular:     linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.10) 30%, rgba(255,255,255,0.16) 50%, rgba(255,255,255,0.10) 70%, transparent 100%);
  --glass-gold-tint:    rgba(232, 168, 32, 0.05);
  --glass-gold-border:  rgba(232, 168, 32, 0.15);
  --glass-shadow:       0 4px 24px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --glass-shadow-lg:    0 8px 40px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--void);
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 168, 32, 0.04) 0%, transparent 60%),
                    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text);
  margin: 0;
}

p { margin: 0; }

a { color: var(--gold); }
a:hover { opacity: 0.85; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--void);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(232, 168, 32, 0.5);
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 12px rgba(232, 168, 32, 0.15), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}
.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(232, 168, 32, 0.25), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.btn-secondary {
  display: inline-block;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  color: rgba(240, 237, 230, 0.78);
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.btn-secondary:hover {
  border-color: var(--glass-border-hover);
  color: var(--text);
  background: var(--glass-bg-hover);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.btn-coral {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-coral:hover { opacity: 0.88; }

/* ---- Cards ---- */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--glass-specular);
  pointer-events: none;
  z-index: 1;
}

.card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-lg);
}

.card-surf2 {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.card-surf2::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* ---- Form fields ---- */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(240, 237, 230, 0.6);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.field input,
.field select {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-body);
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.field input:focus,
.field select:focus {
  border-color: rgba(232, 168, 32, 0.5);
  box-shadow: 0 0 0 3px rgba(232, 168, 32, 0.08);
}

.field input::placeholder {
  color: var(--muted2);
}

/* ---- Progress bar ---- */
.progress-track {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 99px;
  height: 6px;
  overflow: hidden;
}

.progress-fill {
  background: var(--gold);
  height: 100%;
  border-radius: 99px;
  transition: width 0.4s ease;
}

.progress-fill-jade {
  background: var(--jade);
}

.progress-fill-coral {
  background: var(--coral);
}

/* ---- Stage badge ---- */
.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 168, 32, 0.12);
  border: 1px solid rgba(232, 168, 32, 0.25);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
}

/* ---- Status badge ---- */
.status-acquired  { color: var(--jade);  background: rgba(61,170,118,0.12); border: 1px solid rgba(61,170,118,0.25); }
.status-struggling{ color: var(--coral); background: rgba(224,96,64,0.12);  border: 1px solid rgba(224,96,64,0.25);  }
.status-learning  { color: var(--gold);  background: rgba(232,168,32,0.12); border: 1px solid rgba(232,168,32,0.25); }

.status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ---- Table ---- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th {
  font-size: 11px;
  font-weight: 700;
  color: rgba(240, 237, 230, 0.35);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-align: left;
}

.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(240, 237, 230, 0.75);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

/* ---- Section spacing ---- */
.section {
  padding: 80px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- Divider ---- */
.divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 0;
}

/* ---- Eyebrow text ---- */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ---- Tooltip mockup ---- */
.tooltip-word {
  border-bottom: 1.5px solid var(--gold);
  cursor: pointer;
  color: var(--gold);
  position: relative;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ---- Responsive grid utilities ---- */
.grid-3-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

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

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

.nav-mobile-toggle {
  display: none;
}

.nav-mobile-panel[hidden] {
  display: none !important;
}

.hero-section {
  padding: 72px 28px 60px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-browser {
  margin-top: 40px;
}

.marketing-section {
  padding: 56px 28px;
  max-width: 980px;
  margin: 0 auto;
}

.pricing-section {
  padding: 0 32px 80px;
  max-width: 860px;
  margin: 0 auto;
}

.home-stage-list,
.faq-list {
  display: flex;
  flex-direction: column;
}

.home-stage-card {
  display: flex;
  align-items: center;
  gap: 24px;
}

.home-stage-summary,
.home-stage-tags,
.home-stage-rate {
  min-width: 0;
}

.home-stage-title-row,
.hiw-stage-title-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.home-stage-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.home-stats-card {
  height: 100%;
}

.home-cta-panel,
.pricing-bottom-cta {
  padding: 56px 48px;
}

.home-notify-form {
  display: flex;
  gap: 8px;
}

/* ---- Landing page palette refresh ---- */
.landing-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  color: #f8fafc;
  margin-bottom: 18px;
}

.landing-title-accent {
  color: var(--gold);
  font-style: normal;
}

.landing-lead,
.landing-section-copy,
.landing-card-copy,
.landing-cta-copy {
  color: rgba(240, 237, 230, 0.58);
}

.landing-lead {
  font-size: 15px;
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 32px;
}

.landing-browser,
.landing-panel,
.landing-stage-card,
.landing-stats-card,
.landing-cta-panel {
  background: rgba(15, 17, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.landing-browser {
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}

.landing-browser-toolbar {
  background: rgba(20, 23, 29, 0.98);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.landing-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.landing-browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  height: 26px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11px;
  color: rgba(240, 237, 230, 0.3);
}

.landing-browser-badge,
.landing-chip {
  background: rgba(232, 168, 32, 0.1);
  border: 1px solid rgba(232, 168, 32, 0.24);
  color: var(--gold);
}

.landing-browser-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.landing-browser-content {
  padding: 24px 26px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(240, 237, 230, 0.7);
  position: relative;
  background: rgba(10, 12, 16, 0.92);
}

.landing-browser-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: #f8fafc;
  font-weight: 700;
  margin-bottom: 14px;
}

.landing-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(17, 19, 23, 0.98);
  border: 1px solid rgba(232, 168, 32, 0.3);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 7px;
  white-space: nowrap;
  pointer-events: none;
}

.landing-legend-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-legend-meta {
  font-size: 11px;
  color: rgba(240, 237, 230, 0.35);
}

.landing-chip {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
}

.landing-panel {
  border-radius: 10px;
}

.landing-step-card {
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.landing-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.07) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.landing-step-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow:
    0px 4px 12px rgba(0, 0, 0, 0.2),
    0px 8px 28px rgba(0, 0, 0, 0.15);
}

.landing-step-number,
.landing-stage-number {
  background: rgba(232, 168, 32, 0.12);
  border: 1px solid rgba(232, 168, 32, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
}

.landing-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  margin-bottom: 16px;
}

.landing-step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.landing-card-copy {
  font-size: 13px;
  line-height: 1.7;
}

.landing-stage-card {
  border-radius: 10px;
  padding: 16px 18px;
}

.landing-stage-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
}

.landing-stage-tag {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(240, 237, 230, 0.58);
  padding: 2px 8px;
  border-radius: 999px;
}

.landing-stats-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.landing-stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.landing-stats-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.landing-stats-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.landing-stats-label {
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}

.landing-stats-copy {
  font-size: 12px;
  color: rgba(240, 237, 230, 0.45);
  margin-top: 6px;
}

.landing-cta-panel {
  background: rgba(22, 28, 38, 0.5);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.landing-cta-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.07) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.landing-action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-action {
  min-height: 42px;
  min-width: 168px;
}

.landing-notify-copy {
  font-size: 12px;
  color: rgba(240, 237, 230, 0.35);
  margin-bottom: 10px;
}

.landing-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #f8fafc;
  font-size: 13px;
  padding: 9px 12px;
  outline: none;
}

/* ---- Liquid Glass Design System ---- */

/* Base glass material */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: var(--glass-shadow);
}

/* Specular highlight (top edge reflection) */
.glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 30%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.12) 70%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Subtle variant — less blur, more transparent */
.glass-subtle {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-subtle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Prominent variant — tinted glass with gold reflection */
.glass-prominent {
  background: rgba(232, 168, 32, 0.04);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid rgba(232, 168, 32, 0.12);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.glass-prominent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232, 168, 32, 0.15) 30%, rgba(232, 168, 32, 0.25) 50%, rgba(232, 168, 32, 0.15) 70%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Interactive glass — hover/focus lift + glow */
.glass-interactive:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  box-shadow:
    0px 4px 16px rgba(0, 0, 0, 0.3),
    0px 12px 32px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.glass-interactive:active {
  transform: translateY(0px) scale(0.985);
  transition-duration: 0.1s;
}

.glass-prominent.glass-interactive:hover {
  border-color: rgba(232, 168, 32, 0.22);
  box-shadow:
    0px 4px 16px rgba(0, 0, 0, 0.3),
    0px 12px 32px rgba(232, 168, 32, 0.06),
    0 0 0 1px rgba(232, 168, 32, 0.06) inset;
}

/* Glass shadow (depth layer) */
.glass-shadow {
  box-shadow:
    0px 2px 8px rgba(0, 0, 0, 0.2),
    0px 8px 24px rgba(0, 0, 0, 0.18);
}

.glass-shadow-lg {
  box-shadow:
    0px 4px 20px rgba(0, 0, 0, 0.25),
    0px 16px 48px rgba(0, 0, 0, 0.3);
}

/* ---- Ambient shadow (dark-themed) ---- */
.ambient-shadow {
  box-shadow:
    0px 4px 20px rgba(0, 0, 0, 0.25),
    0px 12px 40px rgba(0, 0, 0, 0.35);
}

/* ---- Hero wide layout ---- */
.hero-section--wide {
  max-width: 1180px;
  text-align: left;
  padding: 80px 32px 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.hero-grid-text {
  z-index: 10;
}

.hero-grid-visual {
  position: relative;
}

.landing-title--hero {
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.06;
  margin-bottom: 22px;
}

.hero-badge {
  display: inline-block;
  padding: 5px 14px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(232, 168, 32, 0.06);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(232, 168, 32, 0.18);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232, 168, 32, 0.2) 50%, transparent 100%);
  pointer-events: none;
}

/* Floating jargon chip on browser mockup */
.hero-floating-chip {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: rgba(22, 28, 38, 0.72);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(232, 168, 32, 0.16);
  border-left: 3px solid var(--gold);
  padding: 16px 18px;
  border-radius: 12px;
  max-width: 220px;
  z-index: 30;
  overflow: hidden;
  box-shadow:
    0px 4px 20px rgba(0, 0, 0, 0.3),
    0px 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-floating-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232, 168, 32, 0.15) 30%, rgba(255, 255, 255, 0.1) 60%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-floating-chip-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 6px;
}

.hero-floating-chip-term {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}

.hero-floating-chip-def {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(240, 237, 230, 0.5);
  margin: 0;
}

.hero-floating-chip-def em {
  font-style: italic;
  color: rgba(240, 237, 230, 0.35);
}

/* Hero background glow */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(232, 168, 32, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ---- Button size variant ---- */
.btn-primary--lg {
  font-size: 16px;
  padding: 14px 28px;
  min-height: 50px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.btn-primary--lg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 12px 12px 0 0;
}

/* ---- Features section ---- */
.marketing-section--alt {
  background: rgba(22, 28, 38, 0.45);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 72px 32px;
  max-width: none;
}

.marketing-section--alt .eyebrow,
.marketing-section--alt .landing-title {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  max-width: 980px;
  margin: 0 auto;
  gap: 40px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  box-shadow:
    0px 4px 16px rgba(0, 0, 0, 0.25),
    0px 16px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(232, 168, 32, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(232, 168, 32, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  box-shadow:
    0px 2px 8px rgba(0, 0, 0, 0.15),
    0px 6px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232, 168, 32, 0.2) 50%, transparent 100%);
  pointer-events: none;
}

.feature-icon {
  font-size: 18px;
  color: var(--gold);
}

.feature-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.feature-card-copy {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(240, 237, 230, 0.5);
  padding-left: 16px;
  border-left: 1px solid rgba(232, 168, 32, 0.18);
}

/* ---- Testimonials ---- */
.testimonials-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.testimonials-header {
  position: sticky;
  top: 100px;
  flex-shrink: 0;
  max-width: 280px;
}

.testimonials-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow:
    0px 4px 16px rgba(0, 0, 0, 0.25),
    0px 12px 32px rgba(0, 0, 0, 0.2);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(240, 237, 230, 0.78);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(232, 168, 32, 0.12);
  border: 1px solid rgba(232, 168, 32, 0.22);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.testimonial-role {
  font-size: 12px;
  color: rgba(240, 237, 230, 0.4);
}

/* ---- CTA Section ---- */
.cta-section {
  padding: 80px 32px 96px;
  max-width: 900px;
  margin: 0 auto;
}

.cta-container {
  background: rgba(22, 28, 38, 0.55);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border: 1px solid rgba(232, 168, 32, 0.1);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232, 168, 32, 0.12) 30%, rgba(255, 255, 255, 0.08) 60%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.cta-glow--top {
  top: -120px;
  right: -60px;
  background: rgba(232, 168, 32, 0.06);
}

.cta-glow--bottom {
  bottom: -120px;
  left: -60px;
  background: rgba(61, 170, 118, 0.04);
}

.hiw-stage-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 200px;
  gap: 24px;
  align-items: start;
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.hiw-stage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hiw-stage-card:hover {
  border-color: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.hiw-stage-progress {
  min-width: 0;
}

.pricing-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.07) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.11);
  transform: translateY(-2px);
  box-shadow:
    0px 4px 16px rgba(0, 0, 0, 0.2),
    0px 12px 32px rgba(0, 0, 0, 0.18);
}

.dashboard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--surf1);
}

.dashboard-nav-links,
.dashboard-nav-user {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dashboard-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px;
}

.dashboard-header-row,
.dashboard-billing-banner,
.dashboard-upgrade-cta,
.dashboard-card-header,
.vocab-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

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

.dashboard-word-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-shell {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-panel {
  width: 100%;
}

.auth-panel-sm {
  max-width: 400px;
}

.auth-panel-md {
  max-width: 440px;
}

.auth-panel-lg {
  max-width: 480px;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-brand-link {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.auth-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.12;
  margin: 0 0 10px;
}

.auth-subtitle {
  font-size: 14px;
  color: rgba(240, 237, 230, 0.5);
  line-height: 1.65;
  margin: 8px 0 0;
}

.auth-card {
  background: rgba(18, 20, 25, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px;
}

.auth-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  border-radius: 999px;
  border: 1px solid rgba(61, 170, 118, 0.24);
  background: rgba(61, 170, 118, 0.1);
  color: #8be0b4;
  padding: 0.35rem 0.75rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-alert {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  font-size: 13px;
}

.auth-alert ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-alert-error {
  background: rgba(224, 96, 64, 0.1);
  border-color: rgba(224, 96, 64, 0.26);
  color: #ffb19a;
}

.auth-alert-success {
  background: rgba(61, 170, 118, 0.12);
  border-color: rgba(61, 170, 118, 0.26);
  color: #8be0b4;
}

.auth-copy {
  font-size: 13px;
  color: rgba(240, 237, 230, 0.56);
  line-height: 1.65;
  margin: 0;
}

.auth-callout {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(240, 237, 230, 0.6);
}

.auth-footer {
  text-align: center;
  font-size: 13px;
  color: rgba(240, 237, 230, 0.42);
  margin-top: 18px;
}

.auth-link {
  color: var(--gold);
  text-decoration: none;
}

.auth-link:hover,
.auth-link:focus-visible {
  color: #f3c75e;
}

.auth-link-subtle {
  background: none;
  border: none;
  color: rgba(240, 237, 230, 0.42);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}

.auth-link-subtle:hover,
.auth-link-subtle:focus-visible {
  color: var(--text);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form .btn-primary,
.auth-form .btn-secondary,
.auth-form .btn-coral {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.vocab-sort-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  text-decoration: none;
}

.vocab-sort-link:hover,
.vocab-sort-link:focus-visible {
  color: var(--text);
}

.vocab-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 16px 10px;
}

.vocab-empty-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.vocab-pagination {
  padding: 18px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 18px;
}

.vocab-pagination-links {
  display: flex;
  gap: 8px;
}

.data-table-wrapper {
  width: 100%;
}

/* ---- Responsive helpers ---- */
@media (max-width: 640px) {
  .section { padding: 48px 16px; }
  nav { padding: 12px 16px !important; }

  /* Mobile navigation */
  .nav-desktop {
    display: none !important;
  }

  .nav-mobile-toggle {
    display: block !important;
  }

  .nav-mobile-panel {
    padding: 16px !important;
  }

  .mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Hero grid stacks on mobile */
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .hero-section--wide {
    text-align: center;
    padding: 56px 16px 48px !important;
  }

  .hero-grid-text .landing-lead {
    text-align: center !important;
    margin-left: auto !important;
  }

  .hero-grid-text .landing-action-row {
    justify-content: center !important;
  }

  .hero-floating-chip {
    bottom: -12px;
    left: -8px;
    max-width: 180px;
    padding: 12px 14px;
  }

  .hero-floating-chip-term {
    font-size: 14px;
  }

  .hero-floating-chip-def {
    font-size: 11px;
  }

  /* Features */
  .marketing-section--alt {
    padding: 48px 16px !important;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .feature-card-copy {
    border-left: none;
    padding-left: 0;
  }

  /* Testimonials */
  .testimonials-layout {
    flex-direction: column !important;
    gap: 32px !important;
  }

  .testimonials-header {
    position: static !important;
    max-width: none !important;
    text-align: center;
  }

  .testimonials-cards {
    grid-template-columns: 1fr !important;
  }

  .testimonial-card {
    margin-top: 0 !important;
  }

  /* CTA section */
  .cta-section {
    padding: 48px 16px 64px !important;
  }

  .cta-container {
    padding: 40px 24px !important;
    border-radius: 16px;
  }

  /* Footer responsive - single column */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Responsive grids - all become single column */
  .grid-3-cols,
  .grid-2-cols,
  .grid-4-cols {
    grid-template-columns: 1fr !important;
  }

  /* Typography adjustments */
  h1 { font-size: clamp(32px, 8vw, 48px) !important; }
  h2 { font-size: clamp(24px, 6vw, 32px) !important; }

  .hero-section,
  .pricing-section,
  .marketing-section {
    padding-inline: 16px !important;
  }

  .hero-section {
    padding-top: 56px !important;
    padding-bottom: 48px !important;
  }

  .marketing-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .pricing-section {
    padding-top: 0 !important;
    padding-bottom: 48px !important;
  }

  .hero-browser {
    margin-top: 40px !important;
  }

  .hero-browser-content {
    padding: 20px 18px !important;
  }

  .hero-browser-title {
    font-size: 18px !important;
    line-height: 1.45 !important;
  }

  .home-step-card,
  .home-stats-card,
  .pricing-card,
  .hiw-stage-card,
  .hiw-fact-card,
  .hiw-privacy-card,
  .faq-card {
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
  }

  .home-step-card,
  .home-stats-card,
  .pricing-card,
  .hiw-fact-card,
  .hiw-privacy-card,
  .faq-card {
    padding: 24px 20px !important;
  }

  .home-steps-grid,
  .home-stats-grid,
  .pricing-cards-grid,
  .hiw-split-grid,
  .hiw-privacy-grid {
    gap: 16px !important;
  }

  .home-stage-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    padding: 20px !important;
  }

  .home-stage-title-row,
  .hiw-stage-title-row {
    flex-wrap: wrap;
  }

  .home-stage-rate,
  .home-stage-tags {
    max-width: none !important;
    width: 100% !important;
  }

  .home-stage-list,
  .faq-list {
    gap: 16px !important;
  }

  .hiw-stage-card {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 20px !important;
  }

  .hiw-stage-progress {
    width: 100%;
  }

  .home-cta-panel,
  .pricing-bottom-cta {
    padding: 32px 20px !important;
  }

  .home-notify-form {
    flex-direction: column;
  }

  /* Button adjustments */
  .btn-primary, .btn-secondary, .btn-coral {
    padding: 12px 20px;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }

  /* Card adjustments */
  .card, .card-surf2 {
    padding: 20px 16px;
  }

  /* Table becomes scrollable */
  .data-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .data-table {
    font-size: 12px;
    min-width: 600px;
  }

  .data-table th,
  .data-table td {
    padding: 8px 10px;
  }
}

@media (max-width: 768px) {
  .section { padding: 56px 20px; }
  nav { padding: 12px 20px !important; }

  .dashboard-nav,
  .dashboard-main {
    padding-inline: 20px;
  }

  .dashboard-nav {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .dashboard-nav-links,
  .dashboard-nav-user,
  .dashboard-header-row,
  .dashboard-billing-banner,
  .dashboard-upgrade-cta,
  .dashboard-card-header,
  .vocab-toolbar {
    width: 100%;
    flex-wrap: wrap;
  }

  .dashboard-stats-grid,
  .dashboard-panels-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-word-row {
    align-items: flex-start;
  }

  .auth-shell {
    padding: 32px 20px;
  }

  .auth-card {
    padding: 28px 24px;
  }

  /* Mobile navigation */
  .nav-desktop {
    display: none !important;
  }

  .nav-mobile-toggle {
    display: block !important;
  }

  .nav-mobile-panel {
    padding: 16px 20px !important;
  }

  /* Footer responsive - 2 columns */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Responsive grids - 3-col and 4-col become 2-col */
  .grid-3-cols,
  .grid-4-cols {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* 2-col grids become single column */
  .grid-2-cols {
    grid-template-columns: 1fr !important;
  }

  .home-steps-grid,
  .home-stats-grid,
  .pricing-cards-grid,
  .hiw-split-grid,
  .hiw-privacy-grid {
    grid-template-columns: 1fr !important;
  }

  /* Typography adjustments */
  h1 { font-size: clamp(36px, 7vw, 52px) !important; }
  h2 { font-size: clamp(28px, 5vw, 36px) !important; }

  /* Table becomes scrollable on tablets too */
  .data-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .home-stage-card {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .home-stage-rate,
  .home-stage-tags {
    max-width: none !important;
  }

  .hiw-stage-card {
    grid-template-columns: 48px minmax(0, 1fr) !important;
  }

  /* Hero grid: stack on tablet */
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .hero-section--wide {
    text-align: center;
  }

  .hero-grid-text .landing-lead {
    text-align: center !important;
    margin-left: auto !important;
  }

  .hero-grid-text .landing-action-row {
    justify-content: center !important;
  }

  /* Testimonials: stack on tablet */
  .testimonials-layout {
    flex-direction: column !important;
    gap: 32px !important;
  }

  .testimonials-header {
    position: static !important;
    max-width: none !important;
    text-align: center;
  }

  .testimonials-cards {
    grid-template-columns: 1fr !important;
  }

  .testimonial-card {
    margin-top: 0 !important;
  }

  /* Features grid becomes 1 col on tablet */
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 48px 16px;
  }

  nav {
    padding: 12px 16px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .grid-3-cols,
  .grid-2-cols,
  .grid-4-cols {
    grid-template-columns: 1fr !important;
  }

  .hero-section,
  .pricing-section,
  .marketing-section {
    padding-inline: 16px !important;
  }

  .hero-section {
    padding-top: 56px !important;
    padding-bottom: 48px !important;
  }

  .marketing-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .pricing-section {
    padding-top: 0 !important;
    padding-bottom: 48px !important;
  }

  .home-steps-grid,
  .home-stats-grid,
  .pricing-cards-grid,
  .hiw-split-grid,
  .hiw-privacy-grid,
  .dashboard-stats-grid,
  .dashboard-panels-grid {
    gap: 16px !important;
  }

  .dashboard-nav,
  .dashboard-main {
    padding-inline: 16px;
  }

  .dashboard-main {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .dashboard-stats-grid,
  .dashboard-panels-grid {
    grid-template-columns: 1fr !important;
  }

  .dashboard-word-row,
  .dashboard-billing-banner,
  .dashboard-upgrade-cta,
  .dashboard-card-header,
  .vocab-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-nav-links,
  .dashboard-nav-user {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .auth-shell {
    align-items: flex-start;
    padding: 24px 16px 40px;
  }

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

  .vocab-filter-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .vocab-filter-form input,
  .vocab-filter-form select,
  .vocab-filter-form .btn-secondary {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  /* Tablet and below adjustments */
  .section {
    max-width: 100%;
    padding: 64px 24px;
  }

  /* Footer responsive */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

/* ---- 2026 visual refresh ---- */
.site-shell {
  min-height: 100vh;
  background: var(--void);
  color: var(--text);
}

.public-site-shell {
  background: #090c12;
  background-image: radial-gradient(ellipse 90% 50% at 50% -10%, rgba(232, 168, 32, 0.035) 0%, transparent 55%),
                    radial-gradient(ellipse 50% 40% at 100% 50%, rgba(99, 102, 241, 0.025) 0%, transparent 45%),
                    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(61, 170, 118, 0.02) 0%, transparent 45%);
  background-attachment: fixed;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(40px) saturate(1.6);
  -webkit-backdrop-filter: blur(40px) saturate(1.6);
  background: rgba(9, 12, 18, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 4px 24px rgba(0, 0, 0, 0.15);
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  color: var(--gold);
  font-style: normal;
}

.topbar-nav,
.topbar-actions,
.dashboard-nav-links,
.dashboard-nav-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-nav {
  gap: 20px;
}

.nav-link {
  color: rgba(240, 237, 230, 0.66);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  opacity: 1;
}

.nav-link-active {
  color: var(--text);
  border-bottom: 1px solid rgba(232, 168, 32, 0.45);
  padding-bottom: 0.2rem;
}

.nav-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 0.55rem 0.9rem;
  color: rgba(240, 237, 230, 0.82);
  font-size: 0.78rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.nav-chip:hover,
.nav-chip:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.nav-chip-primary {
  background: var(--gold);
  color: var(--void);
  border-color: rgba(232, 168, 32, 0.6);
  font-weight: 700;
  box-shadow: 0 2px 16px rgba(232, 168, 32, 0.2), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.nav-chip-primary:hover,
.nav-chip-primary:focus-visible {
  color: var(--void);
  box-shadow: 0 4px 24px rgba(232, 168, 32, 0.3), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.nav-mobile-toggle {
  border-radius: 999px !important;
  padding: 10px !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

.nav-mobile-panel {
  background: rgba(22, 28, 38, 0.95) !important;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.mobile-link {
  color: rgba(240, 237, 230, 0.74);
  text-decoration: none;
  padding: 0.75rem 0;
}

.mobile-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0.35rem 0;
}

.flash-banner {
  max-width: none;
  margin: 12px 20px 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  font-size: 0.875rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.flash-banner-success {
  background: rgba(61, 170, 118, 0.12);
  border-color: rgba(61, 170, 118, 0.28);
  color: #8be0b4;
}

.flash-banner-error {
  background: rgba(224, 96, 64, 0.12);
  border-color: rgba(224, 96, 64, 0.28);
  color: #ffb19a;
}

.site-main {
  position: relative;
  z-index: 1;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 16, 0.75);
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  margin-top: 72px;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.04) inset;
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 32px 28px;
}

.footer-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 237, 230, 0.38);
  margin-bottom: 18px;
}

.footer-link,
.footer-copy {
  color: rgba(240, 237, 230, 0.58);
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-copy-muted {
  color: rgba(240, 237, 230, 0.35);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.dashboard-app-shell {
  background: #05070a;
  background-image: radial-gradient(ellipse 70% 50% at 20% 0%, rgba(93, 168, 255, 0.025) 0%, transparent 50%),
                    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(232, 168, 32, 0.02) 0%, transparent 45%);
  background-attachment: fixed;
}

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

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  padding: 20px 14px 14px;
  background: rgba(14, 16, 20, 0.80);
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.03) inset;
}

.dashboard-sidebar-brand-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 8px 12px;
}

.dashboard-sidebar-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}

.dashboard-sidebar-brand {
  font-size: 1rem;
}

.dashboard-mobile-nav,
.dashboard-mobile-toggle {
  display: none;
}

.dashboard-mobile-nav {
  position: relative;
  width: auto;
  margin-left: auto;
  flex: 0 0 auto;
}

.dashboard-mobile-nav[open]::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.42);
  backdrop-filter: blur(4px);
  z-index: 110;
}

.dashboard-mobile-toggle {
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(240, 237, 230, 0.86);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  position: relative;
  z-index: 130;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.dashboard-mobile-toggle::-webkit-details-marker {
  display: none;
}

.dashboard-mobile-toggle:hover,
.dashboard-mobile-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.dashboard-mobile-nav[open] .dashboard-mobile-toggle {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(1px);
}

.dashboard-mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  width: min(320px, calc(100vw - 24px));
  max-height: min(75vh, 34rem);
  overflow-y: auto;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(14, 16, 22, 0.85);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  transform-origin: top right;
  animation: dashboardMobileMenuIn 180ms ease;
}

.dashboard-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dashboard-mobile-current {
  color: rgba(240, 237, 230, 0.82);
  font-size: 0.8rem;
  font-weight: 600;
}

.dashboard-mobile-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-mobile-label {
  color: rgba(240, 237, 230, 0.38);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 4px;
}

.dashboard-mobile-account-group {
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

@keyframes dashboardMobileMenuIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dashboard-sidebar-caption,
.dashboard-user-meta,
.dashboard-sidebar-label {
  color: rgba(240, 237, 230, 0.4);
  font-size: 0.74rem;
}

.dashboard-sidebar-nav,
.dashboard-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dashboard-sidebar-nav {
  flex: 1;
}

.dashboard-sidebar-footer {
  margin-top: auto;
  padding-top: 12px;
}

.dashboard-sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-sidebar-label {
  padding: 0 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0.65rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(240, 237, 230, 0.72);
  text-decoration: none;
  background: transparent;
}

.dashboard-sidebar-link:hover,
.dashboard-sidebar-link:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-sidebar-link-active {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.dashboard-sidebar-icon {
  width: 18px;
  display: inline-flex;
  justify-content: center;
  color: rgba(240, 237, 230, 0.52);
}

.dashboard-sidebar-link-active .dashboard-sidebar-icon {
  color: #5da8ff;
}

.dashboard-sidebar-link-button {
  width: 100%;
  cursor: pointer;
  font: inherit;
}

.dashboard-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px 0;
}

.dashboard-user-avatar {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
}

.dashboard-user-name {
  display: block;
  color: var(--text);
  font-size: 0.82rem;
}

.dashboard-workspace {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(5, 7, 10, 0.70);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.dashboard-topbar-kicker {
  color: rgba(240, 237, 230, 0.42);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.dashboard-topbar-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.dashboard-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-topbar-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.75rem;
  border-radius: 9px;
  border: 1px solid transparent;
  color: rgba(240, 237, 230, 0.6);
  text-decoration: none;
}

.dashboard-topbar-link:hover,
.dashboard-topbar-link:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

.dashboard-topbar-link-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.dashboard-nav {
  display: none;
}

.dashboard-main {
  max-width: none;
  margin: 0;
  padding: 14px 20px 24px;
}

.dashboard-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  padding: 18px;
  box-shadow: var(--glass-shadow);
}

.dashboard-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--glass-specular);
  pointer-events: none;
  z-index: 1;
}

.dashboard-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 16px;
}

.dashboard-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: rgba(240, 237, 230, 0.52);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-hero-title {
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  line-height: 1.1;
  margin-bottom: 8px;
}

.dashboard-hero-copy {
  max-width: 42rem;
  color: rgba(240, 237, 230, 0.68);
  font-size: 0.9rem;
  line-height: 1.6;
}

.dashboard-pill-row,
.dashboard-actions,
.dashboard-insight-list,
.dashboard-quick-stats,
.dashboard-card-stack,
.dashboard-empty-state,
.dashboard-session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 0.45rem 0.72rem;
  font-size: 0.76rem;
  color: rgba(240, 237, 230, 0.82);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.dashboard-pill-accent {
  background: rgba(232, 168, 32, 0.14);
  border-color: rgba(232, 168, 32, 0.3);
  color: var(--gold);
}

.dashboard-pill-danger {
  background: rgba(224, 96, 64, 0.12);
  border-color: rgba(224, 96, 64, 0.28);
  color: #ffb19a;
}

.dashboard-hero-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.glass-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 30%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.08) 70%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-side-card {
  padding: 16px;
}

.hero-side-label,
.stat-label,
.panel-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 237, 230, 0.38);
}

.hero-side-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  margin: 10px 0 6px;
  color: var(--gold);
}

.hero-side-copy,
.stat-meta,
.panel-copy,
.muted-copy {
  color: rgba(240, 237, 230, 0.58);
  font-size: 0.9rem;
  line-height: 1.65;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  /* subtle solid divider instead of gradient */
  background: rgba(232, 168, 32, 0.28);
}

.stat-value {
  display: block;
  margin: 10px 0 6px;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  color: var(--text);
}

.stat-value-accent {
  color: var(--gold);
}

.stat-value-success {
  color: #8be0b4;
}

.stat-inline-progress {
  margin-top: 12px;
}

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

.panel-card,
.table-panel,
.cta-panel {
  padding: 18px;
}

.panel-card {
  border-radius: 12px;
}

.dashboard-detail-grid {
  align-items: stretch;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.panel-title {
  font-size: 0.98rem;
  margin-top: 4px;
}

.panel-link {
  color: rgba(240, 237, 230, 0.52);
  text-decoration: none;
  font-size: 0.82rem;
  white-space: nowrap;
}

.panel-link:hover,
.panel-link:focus-visible {
  color: var(--text);
}

.word-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.word-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.62rem 0.8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.word-chip-target {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 600;
}

.word-chip-native {
  color: rgba(240, 237, 230, 0.48);
  font-size: 0.82rem;
}

.dashboard-word-row {
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}

.dashboard-word-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.insight-progress-stack,
.dashboard-action-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.insight-progress-row,
.dashboard-action-row,
.dashboard-domain-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.progress-percent,
.metric-value,
.dashboard-action-title {
  color: var(--text);
  font-weight: 700;
}

.progress-percent {
  font-size: 0.9rem;
}

.progress-track-lg {
  height: 10px;
  margin-top: 10px;
}

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

.metric-card {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.metric-value {
  display: block;
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.dashboard-action-row,
.dashboard-domain-row {
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}

.dashboard-action-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(232, 168, 32, 0.14);
  border: 1px solid rgba(232, 168, 32, 0.26);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
}

.dashboard-action-title {
  margin-bottom: 6px;
}

.dashboard-domain-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.table-panel {
  border-radius: 12px;
}

.sessions-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
}

.sessions-table {
  min-width: 680px;
}

.sessions-table tr td:first-child {
  color: var(--text);
}

.session-domain {
  font-weight: 600;
}

.session-meta {
  display: block;
  margin-top: 4px;
  color: rgba(240, 237, 230, 0.42);
  font-size: 0.78rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 12px;
  background: rgba(22, 28, 38, 0.98);
}

.cta-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.empty-state {
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  padding: 20px 16px;
  text-align: center;
}

.dashboard-note-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.dashboard-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(240, 237, 230, 0.72);
  font-size: 0.88rem;
  line-height: 1.6;
}

.dashboard-note-dot {
  width: 8px;
  height: 8px;
  border-radius: 0;
  margin-top: 0.45rem;
  background: var(--gold);
  flex-shrink: 0;
}

.dashboard-shell-crisp {
  gap: 12px;
}

.dashboard-hero-crisp {
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.dashboard-hero-side-crisp {
  gap: 12px;
}

.dashboard-pill-row-crisp {
  gap: 8px;
}

.hero-side-card-crisp,
.stat-card-crisp,
.panel-card-crisp,
.table-panel-crisp,
.cta-panel-crisp,
.metric-card-crisp,
.word-chip-crisp,
.dashboard-word-row-crisp,
.dashboard-action-row-crisp,
.empty-state-crisp {
  border-radius: 10px;
}

.progress-track-crisp,
.progress-track-crisp .progress-fill {
  border-radius: 999px;
}

.dashboard-actions .btn-primary,
.dashboard-actions .btn-secondary,
.cta-panel-crisp .btn-coral {
  border-radius: 10px;
}

.dashboard-kpi-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.dashboard-kpi-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(240, 237, 230, 0.78);
  font-size: 0.8rem;
}

.analytics-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.analytics-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.analytics-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(240, 237, 230, 0.58);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.analytics-swatch {
  width: 10px;
  height: 10px;
  display: inline-block;
}

.analytics-swatch-session,
.analytics-bar-session {
  background: var(--jade);
}

.analytics-swatch-replaced,
.analytics-bar-replaced {
  background: var(--gold);
}

.analytics-chart-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(52px, 1fr));
  gap: 8px;
  align-items: end;
}

.analytics-chart-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.analytics-chart-values {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(240, 237, 230, 0.62);
  font-size: 0.78rem;
}

.analytics-chart-values-accent {
  color: var(--gold);
}

.analytics-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 126px;
  padding: 6px 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.analytics-bar {
  display: inline-block;
  width: 14px;
  min-height: 10px;
}

.analytics-axis-meta {
  color: rgba(240, 237, 230, 0.42);
  font-size: 0.72rem;
}

.language-switch-card {
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 10px;
}

.language-pair-signal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.language-pair-name {
  display: block;
  margin-top: 6px;
  font-size: 1.1rem;
  color: var(--text);
}

.language-pair-arrow {
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 700;
}

.language-form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.language-form-stack .field input,
.language-form-stack .field select {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
}

.language-form-errors {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(224, 96, 64, 0.28);
  background: rgba(224, 96, 64, 0.1);
}

.language-form-errors p {
  color: #ffb19a;
  font-size: 0.84rem;
}

.language-form-errors p + p {
  margin-top: 6px;
}

.analytics-domain-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.analytics-domain-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.analytics-domain-bar-track {
  grid-column: 1 / -1;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.analytics-domain-bar-fill {
  height: 100%;
  background: var(--gold);
}

.vocab-hero {
  padding-bottom: 24px;
}

.vocab-filter-panel {
  height: 100%;
}

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

.vocab-summary-grid {
  margin-top: 4px;
}

.vocab-table {
  min-width: 760px;
}

.vocab-table .status-badge {
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.marketing-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 32px 20px;
}

.marketing-hero-panel,
.marketing-panel,
.pricing-card-modern,
.faq-card-modern,
.science-fact-card,
.stage-card-modern,
.privacy-card-modern,
.stats-preview-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 20, 25, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: none;
}

.marketing-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: rgba(18, 20, 25, 0.98);
}

.marketing-hero-grid,
.science-grid,
.reading-speed-grid,
.pricing-grid,
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.marketing-hero-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.02;
  margin-bottom: 12px;
}

.marketing-hero-copy,
.marketing-body-copy,
.faq-answer,
.pricing-note,
.support-copy {
  color: rgba(240, 237, 230, 0.64);
  font-size: 0.93rem;
  line-height: 1.72;
}

.marketing-body-copy strong {
  color: var(--text);
}

.marketing-pill-group,
.pricing-feature-list,
.privacy-list,
.faq-list-modern,
.stage-card-stack,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.marketing-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(240, 237, 230, 0.82);
  font-size: 0.8rem;
}

.marketing-pill-highlight {
  background: rgba(232, 168, 32, 0.14);
  border-color: rgba(232, 168, 32, 0.28);
  color: var(--gold);
}

.marketing-section-modern {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 32px 0;
}

.marketing-panel {
  padding: 22px;
}

.science-fact-list,
.faq-list-modern,
.stage-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.science-fact-card,
.faq-card-modern {
  padding: 16px 18px;
}

.science-fact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.science-fact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 168, 32, 0.12);
  border: 1px solid rgba(232, 168, 32, 0.22);
  font-size: 1.1rem;
}

.science-fact-title,
.stage-card-title,
.pricing-tier-title,
.faq-question,
.support-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.science-fact-copy,
.stage-card-copy,
.privacy-item,
.stats-preview-item {
  color: rgba(240, 237, 230, 0.56);
  font-size: 0.88rem;
  line-height: 1.7;
}

.stage-card-modern {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: start;
  padding: 16px 18px;
}

.stage-card-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 168, 32, 0.12);
  border: 1px solid rgba(232, 168, 32, 0.24);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.stage-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.stage-card-example {
  margin-top: 12px;
  color: rgba(240, 237, 230, 0.5);
  font-style: italic;
}

.unlock-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.unlock-badge-free {
  color: #8be0b4;
  background: rgba(61, 170, 118, 0.12);
  border: 1px solid rgba(61, 170, 118, 0.24);
}

.unlock-badge-pro {
  color: var(--gold);
  background: rgba(232, 168, 32, 0.12);
  border: 1px solid rgba(232, 168, 32, 0.24);
}

.stats-preview-card {
  padding: 22px;
}

.stats-preview-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stats-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stats-preview-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card-modern {
  position: relative;
  overflow: hidden;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pricing-card-modern.featured {
  /* flattened featured card */
  background: rgba(30, 39, 55, 0.95);
  border-color: rgba(232, 168, 32, 0.32);
}

.pricing-card-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.3rem);
  line-height: 1;
}

.pricing-unit {
  color: rgba(240, 237, 230, 0.4);
}

.pricing-feature-list {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(240, 237, 230, 0.8);
  font-size: 0.9rem;
}

.pricing-feature-muted {
  color: rgba(240, 237, 230, 0.32);
}

.pricing-feature-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  flex-shrink: 0;
}

.pricing-feature-icon-yes {
  color: #8be0b4;
  background: rgba(61, 170, 118, 0.14);
  border: 1px solid rgba(61, 170, 118, 0.26);
}

.pricing-feature-icon-no {
  color: rgba(240, 237, 230, 0.28);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-card-modern {
  position: relative;
}

.faq-card-modern::before {
  content: '+';
  position: absolute;
  top: 22px;
  right: 22px;
  color: rgba(232, 168, 32, 0.7);
  font-size: 1.1rem;
  font-weight: 700;
}

.faq-question {
  padding-right: 28px;
}

.support-card {
  text-align: center;
}

.privacy-card-modern {
  padding: 18px;
}

.privacy-page {
  padding: 52px 32px 72px;
  max-width: 860px;
  margin: 0 auto;
}

.privacy-header {
  margin-bottom: 40px;
}

.privacy-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 12px;
}

.privacy-updated {
  font-size: 13px;
  color: rgba(240, 237, 230, 0.4);
}

.privacy-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.privacy-section-card,
.privacy-contact-card {
  background: rgba(18, 20, 25, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 22px;
}

.privacy-section-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #f8fafc;
}

.privacy-section-content {
  font-size: 14px;
  color: rgba(240, 237, 230, 0.65);
  line-height: 1.75;
}

.privacy-section-content p {
  margin-bottom: 12px;
}

.privacy-section-content p:last-child {
  margin-bottom: 0;
}

.privacy-section-content ul {
  padding-left: 20px;
  margin: 12px 0;
}

.privacy-section-content li {
  margin-bottom: 8px;
}

.privacy-section-content li:last-child {
  margin-bottom: 0;
}

.privacy-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.privacy-label-safe {
  color: #8be0b4;
}

.privacy-label-blocked {
  color: #ffb19a;
}

.privacy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 10px;
}

.privacy-item {
  display: flex;
  gap: 8px;
}

.privacy-item-bullet {
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .privacy-page {
    padding-inline: 24px;
  }

  .dashboard-app {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    gap: 12px;
    padding: 16px 20px 12px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .dashboard-sidebar-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .dashboard-sidebar-nav::-webkit-scrollbar {
    display: none;
  }

  .dashboard-sidebar-group {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-width: max-content;
  }

  .dashboard-sidebar-label {
    display: none;
  }

  .dashboard-sidebar-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .dashboard-sidebar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 0;
    padding-top: 0;
  }

  .dashboard-user-card {
    min-width: 0;
    padding: 0;
  }

  .dashboard-user-card > div {
    min-width: 0;
  }

  .dashboard-user-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dashboard-sidebar-link-button {
    width: auto;
    flex: 0 0 auto;
  }

  .topbar-inner,
  .site-footer-inner,
  .dashboard-main {
    padding-inline: 24px;
  }

  .dashboard-hero-grid,
  .panel-grid {
    grid-template-columns: 1fr;
  }

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

  .panel-metric-grid {
    grid-template-columns: 1fr;
  }

  .analytics-kpi-grid,
  .language-form-grid {
    grid-template-columns: 1fr;
  }

  .vocab-filter-grid {
    grid-template-columns: 1fr;
  }

  .marketing-hero,
  .marketing-section-modern {
    padding-inline: 24px;
  }

  .marketing-hero-grid,
  .science-grid,
  .reading-speed-grid,
  .pricing-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .stage-card-modern {
    grid-template-columns: 56px minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-topbar {
    padding: 14px 16px 10px;
  }

  .dashboard-topbar,
  .dashboard-topbar-actions,
  .dashboard-sidebar-nav,
  .dashboard-sidebar-group {
    flex-wrap: wrap;
  }

  .dashboard-topbar-actions {
    width: 100%;
    gap: 6px;
  }

  .dashboard-mobile-nav {
    display: block;
  }

  .dashboard-mobile-toggle {
    display: inline-flex;
  }

  .dashboard-sidebar-nav,
  .dashboard-sidebar-footer {
    display: none;
  }

  .topbar-inner,
  .site-footer-inner,
  .dashboard-main {
    padding-inline: 20px;
  }

  .dashboard-pill-row,
  .dashboard-actions,
  .panel-header,
  .cta-panel,
  .insight-progress-row,
  .dashboard-action-row,
  .dashboard-domain-row,
  .analytics-domain-row {
    flex-wrap: wrap;
  }

  .language-pair-signal {
    grid-template-columns: 1fr;
  }

  .analytics-chart-grid {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .dashboard-hero,
  .panel-card,
  .table-panel,
  .cta-panel {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .dashboard-sidebar {
    gap: 10px;
    padding: 12px 12px 10px;
  }

  .dashboard-sidebar-brand-block {
    padding: 0 4px;
  }

  .dashboard-sidebar-caption {
    display: none;
  }

  .dashboard-sidebar-nav {
    gap: 8px;
    margin-inline: -4px;
    padding-inline: 4px;
  }

  .dashboard-sidebar-group {
    gap: 8px;
  }

  .dashboard-sidebar-link,
  .dashboard-sidebar-link-button {
    min-height: 36px;
    padding: 0.55rem 0.7rem;
    font-size: 0.82rem;
  }

  .dashboard-sidebar-footer {
    gap: 8px;
    align-items: center;
  }

  .dashboard-mobile-toggle {
    width: 40px;
    height: 40px;
  }

  .dashboard-mobile-menu {
    right: 0;
    width: min(300px, calc(100vw - 20px));
    padding: 10px;
  }

  .dashboard-user-name {
    max-width: 104px;
    font-size: 0.76rem;
  }

  .topbar-inner,
  .site-footer-inner,
  .dashboard-main {
    padding-inline: 16px;
  }

  .flash-banner {
    margin-inline: 0;
  }

  .dashboard-main {
    padding-top: 10px;
    padding-bottom: 18px;
  }

  .dashboard-stats-grid,
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .analytics-kpi-grid,
  .language-form-grid {
    grid-template-columns: 1fr;
  }

  .analytics-chart-grid {
    grid-template-columns: repeat(7, minmax(48px, 1fr));
  }

  .dashboard-hero-title {
    font-size: 1.65rem;
    line-height: 1.04;
  }

  .dashboard-hero-copy,
  .hero-side-copy,
  .stat-meta,
  .panel-copy,
  .muted-copy {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .dashboard-pill-row,
  .dashboard-actions {
    gap: 8px;
  }

  .dashboard-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-topbar-actions {
    display: none;
  }

  .dashboard-hero,
  .panel-card,
  .table-panel,
  .cta-panel,
  .hero-side-card,
  .stat-card {
    padding: 14px;
  }

  .analytics-chart-grid {
    grid-template-columns: repeat(7, minmax(48px, 1fr));
    width: max-content;
    min-width: 100%;
  }

  .analytics-chart-column {
    min-width: 50px;
  }

  .dashboard-kpi-chip {
    min-height: 30px;
    padding: 0.4rem 0.6rem;
    font-size: 0.74rem;
  }

  .language-pair-arrow {
    justify-self: start;
    transform: rotate(90deg);
  }

  .vocab-filter-panel {
    padding: 14px;
  }

  .vocab-filter-grid {
    gap: 10px;
    margin-top: 12px;
  }

  .vocab-pagination {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .vocab-pagination-links {
    width: 100%;
  }

  .vocab-pagination-links .btn-secondary {
    flex: 1 1 0;
    text-align: center;
  }

  .sessions-table {
    min-width: 560px;
  }

  .vocab-table {
    min-width: 620px;
  }

  .marketing-hero,
  .marketing-section-modern {
    padding-inline: 16px;
  }


@media (max-width: 420px), (max-height: 820px) {
  .dashboard-topbar {
    padding: 12px 12px 8px;
  }

  .dashboard-topbar-kicker {
    font-size: 0.66rem;
    margin-bottom: 2px;
  }

  .dashboard-topbar-title {
    font-size: 0.92rem;
  }

  .dashboard-shell,
  .dashboard-shell-crisp {
    gap: 10px;
  }

  .dashboard-hero,
  .panel-card,
  .table-panel,
  .cta-panel,
  .hero-side-card,
  .stat-card {
    padding: 12px;
  }

  .dashboard-pill {
    font-size: 0.72rem;
    padding: 0.42rem 0.62rem;
  }

  .hero-side-value,
  .stat-value {
    margin: 8px 0 4px;
  }
}
  .marketing-hero {
    padding-top: 32px;
  }

  .marketing-hero-panel,
  .marketing-panel,
  .pricing-card-modern,
  .faq-card-modern,
  .science-fact-card,
  .stage-card-modern,
  .privacy-card-modern,
  .stats-preview-card {
    padding: 20px;
    border-radius: 12px;
  }

  .privacy-page {
    padding: 36px 16px 56px;
  }

  .privacy-section-card,
  .privacy-contact-card {
    padding: 18px;
  }

  .stage-card-modern {
    grid-template-columns: 1fr;
  }

  .faq-card-modern::before {
    top: 18px;
    right: 18px;
  }
}
