:root {
  --bg: #f7faff;
  --surface: #ffffff;
  --surface-soft: #f1f6ff;
  --surface-blue: #eef5ff;
  --text: #18233f;
  --muted: #6d7b99;
  --muted-soft: #9aa7c1;
  --line: #dfe8f5;
  --line-strong: #bdd2ff;
  --blue: #4676ee;
  --blue-strong: #2f62e7;
  --blue-soft: #edf4ff;
  --shadow: 0 12px 30px rgba(51, 84, 158, 0.08), 0 2px 8px rgba(24, 35, 63, 0.05);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
  background: rgba(255, 255, 255, 0.9);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-strong);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 26px;
  height: 26px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links > a,
.nav-user {
  color: #3b4761;
  font-size: 16px;
  font-weight: 600;
}

.nav-links > a.active {
  color: var(--blue-strong);
}

.nav-supplement {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-avatar {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-saved {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-saved-icon {
  width: 20px;
  height: 20px;
}

.nav-saved.is-disabled {
  opacity: 0.55;
}

.nav-signout {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #4b79f0 0%, var(--blue-strong) 100%);
  color: white;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(70, 118, 238, 0.22);
}

.button-ghost {
  background: white;
  color: var(--blue-strong);
  border-color: var(--line);
  font-weight: 700;
}

.button-light {
  background: var(--surface-soft);
  color: var(--text);
  border-color: var(--line);
}

.button-small {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
}

.progress-shell {
  border-bottom: 1px solid var(--line);
  background: #f0f6ff;
}

.progress-shell.is-complete {
  background: #fff2f2;
  border-bottom-color: #f2c7c7;
}

.progress-inner {
  padding: 14px 0 10px;
}

.progress-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--blue-strong);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.progress-shell.is-complete .progress-label-row {
  color: #d44a4a;
}

.progress-track {
  margin-top: 6px;
  height: 8px;
  border-radius: 999px;
  background: #dfeafb;
  overflow: hidden;
}

.progress-shell.is-complete .progress-track {
  background: #f6cfcf;
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #4d80f2 0%, #366ae8 100%);
}

.progress-shell.is-complete .progress-fill {
  background: linear-gradient(90deg, #ef6a6a 0%, #d94141 100%);
}

.hero {
  padding: 96px 0 42px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-size: 15px;
  font-weight: 800;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.hero-title,
.page-title {
  margin-top: 22px;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.page-title {
  font-size: clamp(36px, 5vw, 52px);
}

.hero-title-accent {
  color: var(--blue-strong);
}

.hero-copy,
.page-copy {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.search-shell {
  max-width: 640px;
  margin: 34px auto 0;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}

.search-bar input {
  flex: 1 1 auto;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 18px;
  color: var(--text);
}

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

.search-icon {
  color: var(--muted-soft);
  font-size: 22px;
}

.tag-row {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: 42px 0 84px;
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

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

.why-section {
  padding-top: 48px;
  padding-bottom: 78px;
  background: #f7fbff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  align-items: stretch;
  margin-top: 36px;
}

.why-card {
  min-height: 378px;
  padding: 44px 46px 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}

.why-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue-strong);
}

.why-icon svg {
  width: 30px;
  height: 30px;
}

.why-card h3 {
  margin-top: 34px;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.why-card p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.why-section .section-heading {
  margin-bottom: 0;
}

.why-section .page-title {
  font-size: clamp(38px, 5vw, 56px);
  margin-top: 0;
}

.why-section .page-copy {
  max-width: 640px;
  margin-top: 14px;
  font-size: 18px;
}

.subject-card,
.feature-card,
.path-card,
.saved-card,
.auth-card,
.player-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow);
}

.subject-card {
  display: block;
  min-height: 198px;
  padding: 24px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subject-card:hover,
.path-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(51, 84, 158, 0.12);
}

.subject-card::after,
.path-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  font-size: 32px;
  color: currentColor;
  opacity: 0.65;
}

.subject-card::after {
  content: "›";
}

.subject-icon {
  font-size: 34px;
  margin-bottom: 18px;
}

.subject-card h3 {
  font-size: 21px;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.subject-card p {
  margin-top: 12px;
  max-width: 320px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.subject-meta {
  margin-top: 16px;
  color: rgba(24, 35, 63, 0.45);
  font-size: 15px;
  font-weight: 700;
}

.subject-yellow {
  background: #fff8e2;
  border-color: #f0d36c;
}

.subject-blue {
  background: #e6efff;
  border-color: #bfd4ff;
}

.subject-purple {
  background: #f6efff;
  border-color: #dfd0ff;
}

.subject-lilac {
  background: #f5efff;
  border-color: #d8caf8;
}

.subject-cyan {
  background: #e7f8ff;
  border-color: #bae9fb;
}

.subject-green {
  background: #ecfff2;
  border-color: #c4efcf;
}

.page-hero {
  padding: 46px 0 22px;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9ba8c1;
  font-weight: 600;
}

.subject-header-icon {
  font-size: 40px;
  margin-top: 18px;
}

.subject-header {
  margin-top: 10px;
}

.subject-header h1 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.subject-header p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 18px;
}

.list-section-title {
  margin-top: 38px;
  margin-bottom: 14px;
  color: var(--muted-soft);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.path-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
  padding: 20px 56px 20px 20px;
}

.path-card strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.path-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted-soft);
  font-size: 16px;
  font-weight: 600;
}

.path-arrow {
  position: static;
  margin-left: auto;
}

.footer {
  margin-top: 84px;
  border-top: 1px solid var(--line);
  background: #f8fbff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr;
  gap: 34px;
  padding: 48px 0 34px;
}

.footer-copy {
  max-width: 420px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.footer h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: #4f5b73;
}

.footer-bottom {
  padding: 0 0 28px;
  color: var(--muted-soft);
  text-align: center;
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.auth-layout {
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  padding: 42px 0 72px;
}

.auth-card {
  width: min(100%, 560px);
  padding: 34px;
}

.auth-card h1 {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-align: center;
}

.auth-card p {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.auth-error {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #f2c3cc;
  border-radius: 14px;
  background: #fff5f7;
  color: #b33a55;
  font-size: 14px;
  font-weight: 600;
}

.auth-success {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #cce0ff;
  border-radius: 14px;
  background: #f4f8ff;
  color: var(--blue-strong);
  font-size: 14px;
  font-weight: 600;
}

.auth-success a,
.auth-error a {
  color: inherit;
  text-decoration: underline;
}

.field {
  display: grid;
  gap: 10px;
}

.field label {
  font-size: 16px;
  font-weight: 700;
}

.field input {
  min-height: 58px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  outline: none;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 84px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--blue-strong);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 10px;
  cursor: pointer;
}

.password-toggle:hover {
  background: rgba(61, 101, 234, 0.08);
}

.auth-help {
  margin: -4px 0 4px;
  text-align: right;
  color: var(--muted);
  font-size: 14px;
}

.auth-help a {
  color: var(--blue-strong);
  font-weight: 700;
}

.auth-switch {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
}

.auth-switch a {
  color: var(--blue-strong);
  font-weight: 800;
}

.saved-empty {
  padding: 26px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  background: var(--surface-blue);
  color: var(--muted);
  margin-top: 18px;
}

.saved-empty a {
  color: var(--blue-strong);
  font-weight: 700;
}

.pricing-notice {
  max-width: 760px;
  margin: 22px auto 0;
  text-align: left;
}

.saved-list {
  display: grid;
  gap: 18px;
}

.saved-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.saved-kicker {
  color: var(--blue-strong);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.saved-title {
  margin-top: 10px;
  font-size: clamp(46px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.saved-count {
  margin-top: 10px;
  color: #4e5b75;
  font-size: 18px;
  font-weight: 600;
}

.saved-study-all {
  min-width: 260px;
}

.saved-search-wrap {
  margin-bottom: 28px;
}

.saved-search {
  max-width: 760px;
}

.saved-empty-card {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #f7fbff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 20px;
  box-shadow: var(--shadow);
}

.saved-empty-card h2 {
  margin-top: 18px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.saved-empty-card p {
  max-width: 520px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.saved-empty-card .button {
  margin-top: 26px;
}

.saved-empty-icon {
  font-size: 54px;
  color: #9fadca;
}

.saved-group {
  display: grid;
  gap: 14px;
}

.saved-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.saved-group-title {
  color: var(--muted-soft);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.saved-group-chevron {
  color: var(--muted-soft);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.saved-group-chevron.is-collapsed {
  transform: rotate(180deg);
}

.profile-shell {
  padding: 42px 0 84px;
}

.profile-card {
  display: grid;
  gap: 26px;
  max-width: 760px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 20px;
}

.profile-avatar {
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.profile-name {
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.profile-subcopy {
  margin-top: 8px;
  color: var(--muted);
  font-size: 17px;
}

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

.profile-grid-single {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.profile-stat {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f8fbff;
}

.profile-stat-label {
  color: var(--muted-soft);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-stat-value {
  margin-top: 10px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.profile-stat-value-email {
  font-size: 22px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.profile-stat-email {
  grid-column: 1 / -1;
}

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

.saved-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}

.saved-card-copy h3 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.saved-card-copy p {
  margin-top: 10px;
  color: #4e5b75;
  font-size: 18px;
  line-height: 1.45;
}

.saved-card-topic {
  margin-top: 14px;
  color: var(--muted-soft);
  font-size: 16px;
  font-weight: 600;
}

.saved-card-side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.saved-delete {
  border: 0;
  background: transparent;
  color: #94a2bd;
  font-size: 28px;
  cursor: pointer;
}

.saved-card {
  padding: 24px;
}

.saved-meta {
  color: var(--blue-strong);
  font-weight: 700;
  font-size: 14px;
}

.saved-card h3 {
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.saved-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.saved-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.player-layout {
  padding: 34px 0 56px;
}

.player-top {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 36px;
}

.player-breadcrumb {
  justify-self: start;
  color: var(--muted-soft);
  font-weight: 600;
}

.player-topic {
  color: var(--muted-soft);
  font-size: 16px;
  font-weight: 700;
}

.player-count {
  color: var(--muted-soft);
  font-size: 15px;
  font-weight: 600;
}

.player-card {
  width: min(100%, 700px);
  margin: 16px auto 0;
  min-height: 360px;
  padding: 36px;
  display: grid;
  place-items: center;
  text-align: center;
  cursor: pointer;
  background: white;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.player-card.is-answer {
  background: #eef5ff;
  border-color: #b7d0ff;
}

.player-card-inner {
  max-width: 560px;
}

.card-label {
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.card-body {
  margin-top: 20px;
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.42;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.card-hint {
  display: block;
  margin-top: 24px;
  color: var(--muted-soft);
  font-size: 15px;
  font-weight: 600;
}

.topic-progress {
  width: min(100%, 700px);
  height: 6px;
  margin: 22px auto 0;
  background: #edf2fb;
  border-radius: 999px;
  overflow: hidden;
}

.topic-progress-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #5a84f5 0%, #3a6feb 100%);
  border-radius: inherit;
}

.player-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.icon-button {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: white;
  color: #596681;
  box-shadow: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.icon-button.is-saved {
  border-color: #aecdff;
  background: #f3f8ff;
  color: var(--blue-strong);
}

.icon-button.is-disabled {
  opacity: 0.5;
}

.icon-button svg {
  width: 32px;
  height: 32px;
}

.pricing-section {
  padding-top: 54px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 28px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(51, 84, 158, 0.06);
  text-align: left;
}

.pricing-card-featured {
  border-color: #7ea2ff;
  box-shadow: 0 14px 30px rgba(70, 118, 238, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4b79f0 0%, var(--blue-strong) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.pricing-card h3 {
  font-size: 21px;
  font-weight: 800;
}

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

.pricing-price strong {
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.pricing-price span {
  color: var(--muted-soft);
  font-size: 16px;
  font-weight: 700;
}

.pricing-copyline {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.pricing-features li {
  position: relative;
  padding-left: 26px;
  color: #4f5b73;
  font-size: 16px;
  line-height: 1.4;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
}

.pricing-green li::before {
  color: #71c981;
}

.pricing-blue li::before {
  color: #5d80f3;
}

.pricing-button {
  width: 100%;
  margin-top: auto;
}

@media (max-width: 980px) {
  .cards-grid,
  .footer-grid,
  .pricing-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
  }

  .search-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .player-card {
    min-height: 300px;
    padding: 26px 20px;
  }

  .icon-button {
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }

  .icon-button svg {
    width: 26px;
    height: 26px;
  }

  .saved-header,
  .saved-card-row,
  .profile-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .saved-study-all {
    min-width: 0;
    width: 100%;
  }

  .saved-card-side {
    width: 100%;
    justify-content: space-between;
  }

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