@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #0b1c2d;
  --bg-subtle: #0d1624;
  --bg-elev: #1a2942;
  --ink: #f5f3f0;
  --muted: rgba(245, 243, 240, 0.7);
  --primary: #3fb8b2;
  --primary-deep: #2b8c86;
  --primary-soft: rgba(63, 184, 178, 0.2);
  --accent: #e67e5f;
  --accent-deep: #d76e50;
  --accent-soft: rgba(230, 126, 95, 0.24);
  --pop: #f0c993;
  --pop-soft: rgba(240, 201, 147, 0.24);
  --success: #38b372;
  --success-soft: rgba(56, 179, 114, 0.2);
  --panel: rgba(26, 41, 66, 0.8);
  --panel-strong: rgba(26, 41, 66, 0.95);
  --panel-border: rgba(255, 255, 255, 0.08);
  --panel-border-strong: rgba(255, 255, 255, 0.12);
  --danger: #ef6c63;
  --danger-soft: rgba(239, 108, 99, 0.2);
  --stroke: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(4, 12, 24, 0.3);
  --shadow-md: 0 22px 44px rgba(4, 12, 24, 0.5);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --transition: 200ms ease;
  --max-width: 1200px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(63, 184, 178, 0.2), transparent 60%),
    radial-gradient(800px 400px at 90% -10%, rgba(230, 126, 95, 0.25), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
  line-height: 1.2;
}

h1 {
  font-size: 1.75rem;
}

h2 {
  font-size: 1.35rem;
}

h3 {
  font-size: 1.1rem;
}

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

a:focus-visible,
.button:focus-visible,
.nav-link:focus-visible,
.text-link:focus-visible,
.button-link:focus-visible {
  outline: 2px solid rgba(63, 184, 178, 0.6);
  outline-offset: 2px;
}

.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--stroke);
  background: rgba(11, 28, 45, 0.82);
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.nav-inner {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 600;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5b7cff, #8b5cf6, #3fb8b2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
}

.brand-text {
  font-size: 1.1rem;
}

.nav-center,
.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-center {
  justify-content: center;
  flex: 1;
}

.nav-actions {
  justify-content: flex-end;
}

.nav-actions .button {
  padding: 10px 20px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  color: rgba(245, 243, 240, 0.7);
  transition: all var(--transition);
}

.nav-link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(63, 184, 178, 0.1);
  border-color: rgba(63, 184, 178, 0.2);
}

.button-link {
  border: none;
  background: transparent;
  cursor: pointer;
}

.button_to {
  display: inline;
  margin: 0;
}

.button_to button {
  font: inherit;
}

.main-content {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
  padding: 112px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.main-content--marketing {
  width: 100%;
  padding: 0;
  gap: 0;
}

.font-display {
  font-family: var(--font-display);
}

.font-serif {
  font-family: var(--font-display);
}

.centered {
  text-align: center;
}

.small {
  font-size: 0.85rem;
}

.italic {
  font-style: italic;
}

.accent {
  color: var(--accent);
}

.teal {
  color: var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 12px;
}

.section-inner {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
}

.marketing-hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
}

.marketing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(63, 184, 178, 0.15), transparent 55%);
  opacity: 0.7;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 72px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-copy p {
  margin: 0;
}

.hero-title {
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  line-height: 1.1;
  margin: 0;
}

.hero-title span {
  color: var(--primary);
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 56ch;
}

.hero-quote {
  margin: 0;
  color: rgba(245, 243, 240, 0.6);
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.call-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-card {
  background: linear-gradient(180deg, rgba(26, 41, 66, 0.95), rgba(13, 26, 46, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 32px;
  width: min(100%, 360px);
  box-shadow: 0 30px 60px rgba(5, 12, 24, 0.6);
}

.call-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.call-card h3 {
  margin: 0 0 4px;
  font-size: 1.4rem;
}

.call-card p {
  margin: 0;
}

.call-avatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5b7cff, #8b5cf6, #3fb8b2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-lg {
  width: 42px;
  height: 42px;
}

.call-actions {
  margin-top: 24px;
  display: flex;
  gap: 24px;
}

.call-action {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: 0 12px 24px rgba(5, 12, 24, 0.4);
}

.call-action--end {
  background: #e05b56;
}

.call-action--answer {
  background: #38b372;
}

.call-action:hover {
  transform: translateY(-2px);
}

.call-action:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}

.chat-bubble {
  position: absolute;
  padding: 12px 20px;
  border-radius: 18px;
  background: rgba(26, 41, 66, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-sm);
  color: #f5f3f0;
  font-size: 0.95rem;
}

.bubble-one {
  top: 36px;
  left: -10px;
  transform: translateX(-10%);
}

.bubble-two {
  top: 90px;
  right: -10px;
  transform: translateX(10%);
  background: rgba(63, 184, 178, 0.2);
  color: var(--primary);
  border-color: rgba(63, 184, 178, 0.3);
}

.bubble-three {
  bottom: 140px;
  left: 10px;
}

.bubble-four {
  bottom: 70px;
  right: 40px;
  background: rgba(230, 126, 95, 0.2);
  color: var(--accent);
  border-color: rgba(230, 126, 95, 0.3);
}

.bubble-five {
  top: 50%;
  left: -18px;
  transform: translateY(-50%);
  background: rgba(63, 184, 178, 0.18);
  color: var(--primary);
  border-color: rgba(63, 184, 178, 0.3);
}

.marketing-section {
  padding: 120px 0;
}

.problem-section {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 22, 36, 0.95) 100%);
}

.alt-section {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 22, 36, 0.9) 100%);
}

.section-heading {
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(2.2rem, 3.2vw, 3.4rem);
  margin: 0;
}

.section-title.highlight {
  color: var(--accent);
  font-size: clamp(2.6rem, 4vw, 3.8rem);
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 12px;
}

.problem-section .section-heading {
  margin-bottom: 32px;
}

.problem-copy {
  display: grid;
  gap: 8px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto 48px;
  font-size: 1.2rem;
}

.problem-copy p {
  margin: 0;
}

.journey-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: rgba(245, 243, 240, 0.7);
}

.journey-step p {
  margin: 0;
}

.journey-circle {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  border: 3px solid rgba(245, 243, 240, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
}

.journey-circle--teal {
  border-color: var(--primary);
  color: var(--primary);
}

.journey-circle--muted {
  border-color: rgba(245, 243, 240, 0.35);
  color: rgba(245, 243, 240, 0.4);
}

.journey-circle--warn {
  border-color: rgba(230, 126, 95, 0.5);
  color: rgba(230, 126, 95, 0.6);
}

.journey-circle--accent {
  border-color: var(--accent);
  color: var(--accent);
}

.journey-line {
  width: 64px;
  height: 3px;
  background: rgba(245, 243, 240, 0.2);
  border-radius: 999px;
}

.streak-chart {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(26, 41, 66, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 32px;
}

.streak-chart h3 {
  text-align: center;
  margin: 0 0 24px;
  font-weight: 500;
  color: rgba(245, 243, 240, 0.8);
}

.streak-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 220px;
}

.streak-bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: rgba(245, 243, 240, 0.15);
}

.streak-bar--teal {
  background: var(--primary);
}

.streak-bar--accent {
  background: var(--accent);
}

.streak-bar--muted {
  background: rgba(245, 243, 240, 0.15);
}

.streak-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  color: rgba(245, 243, 240, 0.5);
  font-size: 0.9rem;
}

.streak-labels .accent {
  color: var(--accent);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
  align-items: start;
}

.comparison-copy {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 1.1rem;
}

.comparison-copy p {
  margin: 0;
}

.comparison-cards {
  display: grid;
  gap: 20px;
}

.comparison-card {
  background: rgba(26, 41, 66, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.comparison-card h3 {
  margin-top: 0;
}

.comparison-card p {
  margin: 0 0 12px;
}

.comparison-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
  color: rgba(245, 243, 240, 0.7);
}

.comparison-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.comparison-card li::before {
  content: "•";
  color: rgba(245, 243, 240, 0.4);
}

.comparison-card--accent {
  background: linear-gradient(135deg, rgba(230, 126, 95, 0.2), rgba(63, 184, 178, 0.2));
  border-color: rgba(230, 126, 95, 0.35);
}

.comparison-card--accent li::before {
  content: none;
}

.comparison-card--accent .check {
  color: var(--accent);
  font-weight: 700;
}

.comparison-card .strong {
  color: #ffffff;
  font-weight: 600;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.timeline-card {
  background: rgba(26, 41, 66, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-card h3 {
  margin-top: 0;
}

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

.step-index {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

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

.feature-card h3 {
  margin-top: 0;
}

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

.quote-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px;
  text-align: center;
  display: grid;
  gap: 24px;
  background: linear-gradient(135deg, rgba(230, 126, 95, 0.12), rgba(63, 184, 178, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
}

.quote-card p {
  margin: 0;
}

.quote-card blockquote {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-style: italic;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.audience-card {
  font-size: 1.1rem;
}

.not-for-card {
  margin-top: 24px;
  text-align: center;
  background: rgba(230, 126, 95, 0.12);
  border-color: rgba(230, 126, 95, 0.35);
}

.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
}

.pricing-card h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.pricing-card .button {
  margin-top: 8px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.pricing-card p {
  margin: 0;
}

.pricing-card li {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.pricing-card li::before {
  content: "•";
  color: var(--primary);
}

.final-cta {
  position: relative;
  overflow: hidden;
}

.cta-words {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  font-size: clamp(3rem, 9vw, 8rem);
  opacity: 0.05;
  white-space: nowrap;
  pointer-events: none;
}

.final-cta .section-inner {
  position: relative;
  z-index: 1;
}

.marketing-footer {
  border-top: 1px solid var(--stroke);
  padding: 80px 0 40px;
  background: #0b1c2d;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.footer-grid a:hover {
  color: #ffffff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid var(--stroke);
  padding-top: 24px;
  text-align: center;
  color: rgba(245, 243, 240, 0.5);
}

.hero-card,
.card,
.stat-card,
.highlight-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.learning-item + .learning-item {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--stroke);
}

.transcript-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.transcript-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 8px;
}

.transcript-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border-left: 3px solid transparent;
}

.transcript-group--coach {
  border-left-color: var(--primary);
  background: rgba(63, 184, 178, 0.06);
}

.transcript-group--learner {
  border-left-color: var(--accent);
}

.transcript-role {
  font-weight: 600;
  color: var(--primary-deep);
  min-width: 92px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.transcript-texts {
  display: inline;
  flex: 1;
}

.transcript-text + .transcript-text::before {
  content: " ";
}

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

.stack > .button {
  width: 100%;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
}

.input {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--panel-border);
  background: var(--panel-strong);
  font-size: 1rem;
  color: var(--ink);
  transition: border var(--transition), box-shadow var(--transition);
}

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

.input:focus-visible {
  outline: none;
  border-color: rgba(63, 184, 178, 0.6);
  box-shadow: 0 0 0 3px rgba(63, 184, 178, 0.2);
}

select.input {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

select.input option {
  background: var(--bg-elev);
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  gap: 6px;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  border-color: rgba(230, 126, 95, 0.6);
  box-shadow: 0 18px 30px rgba(230, 126, 95, 0.3);
}

.button.primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 20px 32px rgba(230, 126, 95, 0.35);
}

.button.primary:active {
  transform: translateY(0);
}

.button.ghost {
  background: transparent;
  border-color: rgba(245, 243, 240, 0.3);
  color: #f5f3f0;
}

.button.ghost:hover {
  border-color: rgba(245, 243, 240, 0.6);
  color: #ffffff;
  transform: translateY(-1px);
}

.helper {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.highlights {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.highlight-card h3 {
  margin-top: 0;
}

.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.billing-card {
  background: linear-gradient(135deg, rgba(63, 184, 178, 0.16), rgba(26, 41, 66, 0.6));
  border: 1px solid rgba(63, 184, 178, 0.3);
}

.billing-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.billing-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.billing-meter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.meter {
  height: 10px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-deep) 100%);
  transition: width var(--transition);
}

.billing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.stats-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.stat-value {
  font-size: 2rem;
  margin: 0;
}

.stat-sub {
  color: var(--muted);
  margin: 6px 0 0;
}

.dashboard-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-header {
  margin-bottom: 16px;
}

.card-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.progress-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  min-height: 180px;
}

.progress-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.progress-bar .bar {
  width: 100%;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-deep) 100%);
  transition: height var(--transition);
}

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

.pill {
  background: rgba(63, 184, 178, 0.18);
  color: #dff7f5;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table th,
.table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--stroke);
}

.table th {
  color: rgba(245, 243, 240, 0.6);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.table tbody tr {
  transition: background var(--transition);
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.text-link {
  font-weight: 600;
  color: var(--primary);
}

.flash {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.flash-notice {
  background: rgba(63, 184, 178, 0.2);
  color: #dff7f5;
}

.flash-alert {
  background: var(--danger-soft);
  color: #ffb1aa;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.admin-search {
  width: 100%;
}

.search-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-link {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: var(--panel);
  font-weight: 600;
  transition: all var(--transition);
}

.pagination-link:hover {
  border-color: rgba(63, 184, 178, 0.6);
  color: var(--primary);
}

.pagination-link.current {
  background: rgba(63, 184, 178, 0.2);
  border-color: rgba(63, 184, 178, 0.4);
  color: #dff7f5;
}

.pagination-link.disabled {
  color: var(--muted);
  background: var(--panel);
  cursor: default;
}

.detail-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

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

.mono {
  font-family: "SFMono-Regular", "Menlo", monospace;
  background: var(--bg-elev);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--stroke);
  overflow-x: auto;
}

/* Skill map */
.skill-map-card {
  width: 100%;
}

.skill-map-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.skill-map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.skill-map-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  position: relative;
  flex-wrap: wrap;
  transition: border-color var(--transition), opacity var(--transition);
}

.skill-map-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.skill-map-title {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
}

.skill-map-item--mastered {
  border-color: rgba(56, 179, 114, 0.4);
  background: rgba(56, 179, 114, 0.08);
}

.skill-map-item--mastered .skill-map-dot {
  background: #38b372;
}

.skill-map-item--in_progress {
  border-color: rgba(63, 184, 178, 0.4);
  background: rgba(63, 184, 178, 0.08);
}

.skill-map-item--in_progress .skill-map-dot {
  background: var(--primary);
}

.skill-map-item--needs_focus {
  border-color: rgba(230, 126, 95, 0.4);
  background: rgba(230, 126, 95, 0.08);
}

.skill-map-item--needs_focus .skill-map-dot {
  background: var(--accent);
}

.skill-map-item--locked {
  opacity: 0.5;
}

.skill-map-item--locked .skill-map-dot {
  background: rgba(245, 243, 240, 0.3);
}

.skill-map-item--goal {
  box-shadow: 0 0 0 2px rgba(63, 184, 178, 0.5);
  border-color: var(--primary);
}

.skill-map-goal-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(63, 184, 178, 0.15);
  padding: 2px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

.skill-map-next-goal {
  margin-top: 16px;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-badge--completed {
  background: var(--success-soft);
  color: #7de8ab;
}

.status-badge--completed::before {
  background: var(--success);
}

.status-badge--in_progress,
.status-badge--active {
  background: var(--primary-soft);
  color: #9fe8e4;
}

.status-badge--in_progress::before,
.status-badge--active::before {
  background: var(--primary);
}

.status-badge--scheduled,
.status-badge--pending {
  background: var(--pop-soft);
  color: var(--pop);
}

.status-badge--scheduled::before,
.status-badge--pending::before {
  background: var(--pop);
}

.status-badge--missed,
.status-badge--failed,
.status-badge--no_answer {
  background: var(--danger-soft);
  color: #ffb1aa;
}

.status-badge--missed::before,
.status-badge--failed::before,
.status-badge--no_answer::before {
  background: var(--danger);
}

/* Empty states */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
}

.empty-state-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.empty-state-icon .icon {
  width: 24px;
  height: 24px;
}

.empty-state h3 {
  color: var(--ink);
  margin: 0 0 8px;
}

.empty-state p {
  margin: 0 0 20px;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

/* Notes sections */
.notes-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.notes-section-block {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
}

.notes-section-block h4 {
  font-family: var(--font-display);
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.notes-section-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notes-section-block li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.5;
}

.notes-section-block li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.notes-section-block--wins {
  border-color: rgba(56, 179, 114, 0.2);
  background: rgba(56, 179, 114, 0.04);
}

.notes-section-block--wins h4 {
  color: var(--success);
}

.notes-section-block--wins li::before {
  background: var(--success);
}

.notes-section-block--review {
  border-color: rgba(230, 126, 95, 0.2);
  background: rgba(230, 126, 95, 0.04);
}

.notes-section-block--review h4 {
  color: var(--accent);
}

.notes-section-block--review li::before {
  background: var(--accent);
}

.notes-section-block--vocab {
  border-color: rgba(63, 184, 178, 0.2);
  background: rgba(63, 184, 178, 0.04);
}

.notes-section-block--vocab h4 {
  color: var(--primary);
}

/* Stat card icon accent */
.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  border-radius: 0 3px 3px 0;
  background: var(--primary);
}

.stat-card--accent::before {
  background: var(--accent);
}

.stat-card--pop::before {
  background: var(--pop);
}

.stat-card--success::before {
  background: var(--success);
}

/* Form centering for auth pages */
.auth-container {
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

/* Inline detail list for call metadata */
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-list dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 2px;
}

.detail-list dd {
  margin: 0;
  font-weight: 500;
}

/* Utility components for future UI additions */
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--stroke);
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.toggle.is-on {
  background: rgba(63, 184, 178, 0.45);
}

.toggle.is-on::after {
  transform: translateX(20px);
}

.slider {
  width: 100%;
  height: 6px;
  border-radius: var(--radius-md);
  background: var(--stroke);
  position: relative;
  overflow: hidden;
}

.slider::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--primary);
  border-radius: inherit;
  transition: width var(--transition);
}

.tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: help;
}

.tooltip .tooltip-content {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elev);
  color: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.tooltip:hover .tooltip-content,
.tooltip:focus-within .tooltip-content {
  opacity: 1;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: var(--shadow-md);
}

.toast.success {
  border-color: rgba(63, 184, 178, 0.35);
}

.toast.error {
  border-color: rgba(248, 113, 113, 0.4);
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--stroke);
  border-radius: var(--radius-sm);
  min-height: 14px;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.6s infinite;
}

.status-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
}

.status-check::before {
  content: "OK";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.6rem;
  letter-spacing: 0.02em;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(12px) translateX(-10px);
  }
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

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

@media (max-width: 720px) {
  .top-nav {
    padding: 16px 0;
  }

  .nav-inner {
    width: min(100% - 32px, var(--max-width));
    gap: 12px;
  }

  .main-content {
    width: min(100% - 32px, var(--max-width));
    padding: 96px 0 48px;
  }

  .progress-bars {
    min-height: 140px;
  }

  .skill-map-grid {
    grid-template-columns: 1fr;
  }

  .nav-center {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .button {
    padding: 8px 14px;
    font-size: 0.9rem;
  }

  .section-inner {
    width: min(100% - 32px, 100%);
  }

  .marketing-hero {
    padding: 140px 0 80px;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 7vw, 3.2rem);
  }

  .call-visual {
    min-height: 420px;
  }

  .chat-bubble {
    display: none;
  }

  .journey-line {
    display: none;
  }

  .streak-chart {
    padding: 24px;
  }

  .streak-bars {
    height: 180px;
  }

  .quote-card {
    padding: 32px;
  }

  .cta-words {
    font-size: clamp(2.2rem, 12vw, 5rem);
  }
}
