:root {
  --navy: #111b3b;
  --navy-light: #1d2a55;
  --pink: #e83989;
  --pink-dark: #c92970;
  --gold: #d6a83d;
  --white: #ffffff;
  --off-white: #f7f8fc;
  --gray-100: #eef0f6;
  --gray-300: #cbd0dc;
  --gray-500: #687086;
  --gray-700: #34394a;
  --success: #18794e;
  --error: #b42318;
  --shadow: 0 24px 60px rgba(17, 27, 59, 0.16);
  --radius-large: 24px;
  --radius-medium: 12px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family:
    Inter, Arial, Helvetica, sans-serif;
  color: var(--gray-700);
  background: var(--off-white);
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.auth-page {
  min-height: 100vh;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  min-height: 100vh;
}

.auth-brand-panel {
  position: relative;
  display: flex;
  align-items: center;
  padding: 64px clamp(32px, 6vw, 88px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at top right,
      rgba(232, 57, 137, 0.34),
      transparent 34%
    ),
    linear-gradient(145deg, var(--navy), var(--navy-light));
}

.auth-brand-panel::after {
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 300px;
  height: 300px;
  content: "";
  border: 45px solid rgba(214, 168, 61, 0.1);
  border-radius: 50%;
}

.brand-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 570px;
  margin: 0 auto;
}

.brand-link {
  display: inline-block;
  margin-bottom: 28px;
}

.brand-logo {
  display: block;
  width: 148px;
  max-width: 100%;
  border: 4px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

.brand-eyebrow,
.auth-kicker {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-eyebrow {
  color: #f8bad7;
}

.brand-content h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.02;
  color: var(--white);
}

.brand-message {
  max-width: 570px;
  margin: 24px 0 30px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #e7eaf5;
}

.free-sprint-card {
  padding: 24px;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-medium);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.free-sprint-label {
  display: inline-block;
  padding: 7px 12px;
  margin-bottom: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--gold);
  border-radius: 999px;
}

.free-sprint-card h2 {
  margin: 0 0 10px;
  color: var(--white);
}

.free-sprint-card p {
  margin: 0;
  line-height: 1.65;
  color: #e8ebf5;
}

.benefit-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 25px;
  margin: 10px 0;
  color: #f0f2fa;
}

.benefit-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  font-weight: 900;
  color: var(--gold);
}

.welcome-message {
  padding-left: 18px;
  margin: 30px 0 20px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--white);
  border-left: 4px solid var(--pink);
}

.brand-tagline {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #f4cadd;
}

.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px clamp(20px, 5vw, 70px);
  background:
    radial-gradient(
      circle at bottom left,
      rgba(232, 57, 137, 0.08),
      transparent 30%
    ),
    var(--off-white);
}

.auth-card {
  width: min(100%, 620px);
  padding: clamp(28px, 5vw, 52px);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.auth-card-header {
  margin-bottom: 32px;
}

.auth-kicker {
  color: var(--pink-dark);
}

.auth-card-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--navy);
}

.auth-card-header p {
  margin: 0;
  line-height: 1.65;
  color: var(--gray-500);
}

.auth-form {
  display: grid;
  gap: 20px;
}

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

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 0.94rem;
  font-weight: 750;
  color: var(--navy);
}

.form-group input {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  color: var(--gray-700);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-group input::placeholder {
  color: #959bad;
}

.form-group input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(232, 57, 137, 0.12);
}

.form-group input.input-error {
  border-color: var(--error);
}

.password-field {
  position: relative;
}

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

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  padding: 7px 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--pink-dark);
  cursor: pointer;
  background: transparent;
  border: 0;
  transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  text-decoration: underline;
}

.field-help,
.field-error {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.field-help {
  color: var(--gray-500);
}

.field-error {
  min-height: 0;
  font-weight: 700;
  color: var(--error);
}

.password-strength {
  margin-top: 2px;
}

.strength-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 7px;
}

.strength-bars span {
  height: 5px;
  background: var(--gray-100);
  border-radius: 999px;
  transition: background 0.2s ease;
}

.password-strength[data-strength="weak"] span:nth-child(1) {
  background: var(--error);
}

.password-strength[data-strength="fair"] span:nth-child(-n + 2) {
  background: #d97706;
}

.password-strength[data-strength="good"] span:nth-child(-n + 3) {
  background: #b08a20;
}

.password-strength[data-strength="strong"] span {
  background: var(--success);
}

.password-strength p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--pink);
}

.checkbox-group label {
  font-size: 0.9rem;
  line-height: 1.5;
}

.text-link {
  font-weight: 750;
  color: var(--pink-dark);
}

.primary-button,
.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 13px 20px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 11px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.primary-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  border: 0;
  box-shadow: 0 12px 24px rgba(232, 57, 137, 0.22);
}

.primary-button:hover,
.primary-button:focus-visible {
  box-shadow: 0 16px 30px rgba(232, 57, 137, 0.3);
  transform: translateY(-2px);
}

.secondary-button {
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--navy);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  color: var(--white);
  background: var(--navy);
  transform: translateY(-1px);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 27px 0 18px;
  color: var(--gray-500);
}

.auth-divider::before,
.auth-divider::after {
  flex: 1;
  height: 1px;
  content: "";
  background: var(--gray-100);
}

.auth-divider span {
  font-size: 0.84rem;
  white-space: nowrap;
}

.auth-disclaimer {
  margin: 22px 0 0;
  font-size: 0.81rem;
  line-height: 1.6;
  text-align: center;
  color: var(--gray-500);
}

.form-message {
  display: none;
  padding: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 10px;
}

.form-message.success {
  display: block;
  color: var(--success);
  background: #ecfdf3;
  border: 1px solid #abefc6;
}

.form-message.error {
  display: block;
  color: var(--error);
  background: #fef3f2;
  border: 1px solid #fecdca;
}

@media (max-width: 900px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    /* 'min-height: auto' has compatibility issues in older Firefox; use 0 to allow shrinking */
    min-height: 0;
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .brand-content h1 {
    font-size: clamp(2.2rem, 9vw, 3.7rem);
  }
}

@media (max-width: 580px) {
  .auth-form-panel {
    padding: 22px 14px;
  }

  .auth-card {
    padding: 26px 20px;
    border-radius: 18px;
  }

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

  .auth-brand-panel {
    padding: 38px 22px;
  }

  .brand-logo {
    width: 125px;
  }
} 
:root {
  --navy: #061634;
  --navy2: #0c285b;
  --pink: #c83c6d;
  --pink2: #e66892;
  --gold: #d5aa4a;
  --white: #ffffff;
  --paper: #f6f8fc;
  --line: #dfe5f0;
  --text: #16213d;
  --muted: #647087;
  --green: #12845b;
  --shadow: 0 14px 34px rgba(3, 19, 48, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.68;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.site-header {
  background:
    linear-gradient(
      120deg,
      #03102a,
      #081c43 65%,
      #0c2758
    );
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand-row {
  max-width: 1500px;
  margin: auto;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 26px;
}

.brand-text {
  text-decoration: none;
  line-height: 1;
}

.brand-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -1px;
}

.brand-cara {
  color: #d5537d;
}

.brand-qa {
  color: var(--gold);
}

.brand-way {
  color: #fff;
}

.brand-sub {
  display: block;
  margin-top: 8px;
  color: #f3dce5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.learning-title {
  text-align: center;
}

.learning-title h1 {
  margin: 0;
  font: 700 30px/1.1 Georgia, serif;
  letter-spacing: 0.03em;
}

.learning-title p {
  margin: 5px 0 0;
  color: #ef79a3;
  font-style: italic;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pink);
  font-weight: 800;
  border: 2px solid #fff;
}

.student-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}

.student-name {
  font-weight: 850;
  font-size: 13px;
}

.student-email {
  font-size: 11px;
  color: #cad5e8;
}

.home-link {
  display: inline-block;
  margin-top: 5px;
  color: #fff;
  font-size: 12px;
}

.logout-btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 800;
}

.topnav {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.topnav-inner {
  max-width: 1500px;
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 0 24px;
}

.topnav a {
  text-decoration: none;
  color: #fff;
  padding: 15px 4px;
  border-bottom: 4px solid transparent;
  font-size: 14px;
}

.topnav a.active {
  color: #ef79a3;
  border-color: #ef79a3;
}

.layout {
  max-width: 1500px;
  margin: auto;
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr) 270px;
  gap: 18px;
  padding: 18px;
}

.sidebar,
.right {
  position: sticky;
  top: 12px;
  align-self: start;
}

.sidebar {
  background:
    linear-gradient(
      180deg,
      #0b285d,
      #061634
    );
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sprint-head {
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ef79a3;
}

.sprint-head h2 {
  margin: 4px 0 16px;
  font: 700 24px/1.2 Georgia, serif;
}

.ring {
  width: 92px;
  height: 92px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      #0b285d 57%,
      transparent 58%
    ),
    conic-gradient(
      var(--pink) 0 0%,
      rgba(255, 255, 255, 0.16) 0%
    );
  font-size: 25px;
  font-weight: 800;
}

.progress-caption {
  text-align: center;
  font-size: 13px;
  margin-top: 10px;
}

.side-label {
  padding: 16px 18px 7px;
  color: #ef79a3;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lesson-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  background: none;
  color: #fff;
  text-align: left;
  padding: 12px 15px;
  border-left: 4px solid transparent;
}

.lesson-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.lesson-btn.active {
  background:
    linear-gradient(
      90deg,
      var(--pink),
      var(--pink2)
    );
  border-left-color: var(--gold);
}

.num {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  font-weight: 800;
}

.lesson-btn.active .num {
  background: #fff;
  color: var(--pink);
}

.lesson-btn.done .num {
  background: #e9f8f1;
  color: #116743;
  border-color: #c1e7d3;
}

.lesson-btn.done:not(.active) {
  background: rgba(18, 132, 91, 0.1);
}

.lesson-status {
  margin-left: auto;
  font-size: 11px;
  color: #aebbd0;
}

.lesson-btn.done .lesson-status {
  color: #9be0bd;
}

.support {
  margin: 14px;
  padding: 16px;
  border: 1px solid var(--pink);
  border-radius: 13px;
  font-size: 13px;
}

.support h3 {
  margin: 0;
  color: #ef79a3;
}

.main {
  min-width: 0;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin: 5px 0 3px;
}

.resume-note {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 12px;
}

.lesson {
  display: none;
}

.lesson.active {
  display: block;
}

.content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  padding: 30px;
  background:
    linear-gradient(
      135deg,
      #fff 62%,
      #fff0f6
    );
  border-bottom: 1px solid var(--line);
}

.badge {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero h2 {
  margin: 10px 0 8px;
  color: var(--navy);
  font: 700 40px/1.12 Georgia, serif;
}

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

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 17px;
}

.pill {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
}

.article {
  padding: 30px;
}

.objectives {
  border: 1px solid #f1c8dc;
  background: #fff9fc;
  border-radius: 15px;
  padding: 20px;
}

.objectives h3 {
  margin: 0 0 8px;
  color: var(--pink);
}

.objective-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 18px;
}

.objective-grid span::before {
  content: "✓";
  color: var(--pink);
  font-weight: 900;
  margin-right: 8px;
}

.section {
  padding: 28px 0 8px;
  border-bottom: 1px solid #edf0f5;
}

.section:last-child {
  border-bottom: 0;
}

.section-label {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--pink);
}

.section h3 {
  margin: 4px 0 12px;
  font: 700 31px/1.18 Georgia, serif;
  color: var(--navy);
}

.section p,
.section li {
  font-size: 17px;
}

.section ul {
  padding-left: 22px;
}

.example {
  margin: 18px 0;
  padding: 20px;
  border: 1px solid #f0d08c;
  border-radius: 15px;
  background: #fff8e9;
}

.example h4 {
  margin: 0 0 8px;
  color: #a76300;
  font-size: 19px;
}

.definition {
  margin: 18px 0;
  padding: 18px;
  border-left: 5px solid var(--pink);
  background: #fff2f7;
  border-radius: 0 12px 12px 0;
}

.definition strong {
  color: var(--pink);
}

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

.concept {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fafbfe;
}

.concept h4 {
  margin: 0 0 7px;
  color: var(--navy);
}

.tip {
  margin: 18px 0;
  padding: 17px;
  border: 1px solid #edce83;
  background: #fff8e7;
  border-radius: 13px;
}

.tip strong {
  color: #a36300;
}

.check {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #efbdd4;
  background: #fffafd;
  border-radius: 14px;
}

.check h4 {
  margin: 0;
  color: var(--pink);
}

.choice {
  display: flex;
  gap: 10px;
  margin: 9px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.choice.correct {
  background: #eaf8f1;
  border-color: #8dd0b0;
}

.check-btn,
.next-btn {
  border: 0;
  border-radius: 9px;
  background: var(--pink);
  color: #fff;
  padding: 10px 16px;
  font-weight: 800;
}

.feedback {
  margin-top: 10px;
  font-weight: 700;
}

.save-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.mission {
  margin-top: 18px;
  padding: 21px;
  border: 1px solid #efbdd4;
  border-radius: 16px;
  background: #fff6fa;
}

.mission h3 {
  margin: 0;
  color: var(--pink);
}

.mission textarea {
  width: 100%;
  min-height: 130px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  resize: vertical;
}

.mission textarea:focus {
  outline: 3px solid rgba(200, 60, 109, 0.14);
  border-color: var(--pink);
}

.nav-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
}

.prev-btn {
  border: 1px solid var(--pink);
  background: #fff;
  color: var(--pink);
  border-radius: 9px;
  padding: 10px 16px;
  font-weight: 800;
}

.right .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.right h3 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
}

.bar {
  height: 9px;
  background: #e9edf4;
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar {
  margin: 10px 0;
}

.right-caption {
  font-size: 13px;
}

.bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--pink);
}

.outline-list {
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.outline-list span::before {
  content: "○";
  margin-right: 8px;
}

.outline-list span.done::before {
  content: "✓";
  color: var(--pink);
  font-weight: 800;
}

.quote {
  font-family: Georgia, serif;
  font-size: 18px;
}

.footer {
  margin-top: 18px;
  background: var(--navy);
  color: #fff;
  padding: 26px;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .right {
    display: none;
  }

  .brand-row {
    grid-template-columns: 220px 1fr auto;
  }
}

@media (max-width: 760px) {
  .brand-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand-text {
    text-align: center;
  }

  .student-info {
    justify-content: center;
  }

  .student-meta {
    align-items: center;
  }

  .student-email {
    display: none;
  }

  .topnav-inner {
    gap: 18px;
    overflow: auto;
    justify-content: flex-start;
  }

  .layout {
    display: block;
    padding: 10px;
  }

  .sidebar {
    position: static;
    margin-bottom: 12px;
  }

  .sidebar .lesson-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .lesson-btn {
    font-size: 12px;
  }

  .hero h2 {
    font-size: 32px;
  }

  .article,
  .hero {
    padding: 20px;
  }

  .objective-grid,
  .concept-grid {
    grid-template-columns: 1fr;
  }

  .section p,
  .section li {
    font-size: 16px;
  }

  .nav-row {
    flex-direction: column;
  }

  .nav-row button {
    width: 100%;
  }
}
