﻿:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #666b73;
  --line: #e7e2dc;
  --paper: #fffaf4;
  --white: #ffffff;
  --red: #c83b3b;
  --red-dark: #9f2f32;
  --green: #3d6e61;
  --gold: #b6843f;
  --charcoal: #161719;
  --shadow: 0 18px 50px rgba(43, 34, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 52px);
  color: var(--white);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(255, 250, 244, 0.92);
  box-shadow: 0 10px 30px rgba(26, 21, 16, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.72;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 15px;
}

.ghost-button,
.secondary-button,
.primary-button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.ghost-button {
  padding: 0 18px;
  color: currentColor;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.site-header.scrolled .ghost-button {
  border-color: var(--line);
  background: var(--white);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-weight: 700;
}

.primary-button {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 26px rgba(200, 59, 59, 0.25);
}

.secondary-button {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  background: var(--charcoal);
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 13, 14, 0.86) 0%, rgba(12, 13, 14, 0.58) 42%, rgba(12, 13, 14, 0.08) 100%),
    linear-gradient(0deg, rgba(12, 13, 14, 0.42), rgba(12, 13, 14, 0.04));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 86px);
  padding-top: 66px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ffd6c8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}

.hero-stats div {
  width: 132px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-stats dt {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.signal-strip span {
  display: grid;
  min-height: 78px;
  place-items: center;
  background: var(--white);
  color: var(--charcoal);
  font-weight: 700;
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.35;
}

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

.value-grid article,
.mentor-panel,
.price-card,
.lesson-card,
.module-detail,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(43, 34, 24, 0.06);
}

.value-grid article {
  min-height: 250px;
  padding: 28px;
}

.icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 8px;
  background: #f4e8de;
  color: var(--red-dark);
  font-weight: 800;
}

.value-grid p,
.module-detail p,
.mentor-copy p,
.mentor-panel p,
.pricing-copy p,
.lesson-card p,
.faq-list p {
  color: var(--muted);
}

.outline-section {
  background: #f3efe8;
}

.outline-layout {
  display: grid;
  grid-template-columns: minmax(220px, 330px) 1fr;
  gap: 18px;
}

.module-list {
  display: grid;
  gap: 10px;
}

.module-tab,
.course-filter {
  width: 100%;
  min-height: 62px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.module-tab span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
}

.module-tab.active,
.course-filter.active {
  color: var(--white);
  border-color: var(--charcoal);
  background: var(--charcoal);
}

.module-tab.active span {
  color: rgba(255, 255, 255, 0.68);
}

.module-detail {
  min-height: 350px;
  padding: clamp(26px, 4vw, 46px);
}

.panel-kicker {
  color: var(--red-dark);
  font-weight: 800;
}

.module-detail ul,
.price-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.module-detail li,
.price-card li {
  position: relative;
  padding-left: 22px;
}

.module-detail li::before,
.price-card li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.mentor-section {
  display: grid;
  grid-template-columns: 1.1fr minmax(280px, 440px);
  gap: clamp(22px, 6vw, 80px);
  align-items: center;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.proof-list span,
.badge {
  border-radius: 999px;
  background: #edf3e7;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.proof-list span {
  padding: 8px 12px;
}

.mentor-panel {
  padding: 30px;
}

.portrait {
  display: grid;
  width: 120px;
  height: 120px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 35%, #fff4e7 0 24%, transparent 25%),
    linear-gradient(135deg, #d24d43, #304b44);
  color: var(--white);
  font-weight: 800;
}

.library-section {
  background: var(--charcoal);
  color: var(--white);
}

.library-section .section-heading p,
.library-section .lesson-card p {
  color: rgba(255, 255, 255, 0.64);
}

.course-browser {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
}

.course-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
}

.course-filter {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.course-filter.active {
  background: var(--red);
  border-color: var(--red);
}

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

.lesson-card {
  min-height: 190px;
  padding: 24px;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
  background: #24262a;
}

.lesson-card.locked {
  background: #1d1f22;
}

.lesson-card.hidden {
  display: none;
}

.lesson-type {
  display: inline-flex;
  min-width: 48px;
  justify-content: center;
  margin-bottom: 22px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffd7c9;
  font-size: 12px;
  font-weight: 800;
}

.progress {
  height: 7px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
}

.pricing-section {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  gap: clamp(24px, 7vw, 90px);
  align-items: center;
}

.price-card {
  position: relative;
  padding: 32px;
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 12px;
}

.price {
  margin-bottom: 18px;
  color: var(--red-dark);
  font-size: 42px;
  font-weight: 800;
}

.price small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.price-card ul {
  margin-bottom: 28px;
}

.faq-section {
  padding-top: 20px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 24px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 14px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--charcoal);
}

.site-footer p {
  margin: 0;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.login-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.app-page {
  min-height: 100vh;
  background: #f6f1ea;
}

.dashboard-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.94);
  backdrop-filter: blur(14px);
}

.dashboard-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-weight: 700;
}

.dashboard-nav button,
.header-user button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--red-dark);
  cursor: pointer;
  font-weight: 800;
}


.header-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(43, 34, 24, 0.08);
}

.header-user[hidden] {
  display: none;
}

.header-user span {
  color: var(--muted);
  font-size: 13px;
}

.header-user strong {
  color: var(--charcoal);
  font-size: 14px;
}

.header-user button {
  min-height: 30px;
  border-radius: 999px;
}

.dashboard-shell,
.learning-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.admin-login-shell {
  display: grid;
  min-height: calc(100vh - 74px);
  place-items: center;
  padding: 34px 18px;
}

.admin-login-card {
  width: min(480px, 100%);
  padding: clamp(28px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  margin-bottom: 14px;
  color: var(--charcoal);
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.1;
}

.admin-login-card p {
  color: var(--muted);
}

.admin-login-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.admin-login-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

.admin-login-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.login-error {
  margin: 0;
  color: var(--red-dark);
  font-weight: 800;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}

.dashboard-hero h1,
.learning-login h1 {
  max-width: 820px;
  margin-bottom: 14px;
  color: var(--charcoal);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.dashboard-hero p,
.learning-login p {
  color: var(--muted);
}

.admin-note,
.manager-panel,
.learning-login,
.outline-learning-page {
  min-height: 340px;
  padding: clamp(18px, 3vw, 28px);
}

.admin-note {
  padding: 24px;
}

.cloud-status {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff2ef;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 800;
}

.cloud-status.is-cloud {
  background: #edf3e7;
  color: var(--green);
}

.admin-note strong {
  display: block;
  margin-bottom: 10px;
  color: var(--red-dark);
}

.project-panel {
  margin-bottom: 18px;
}

.student-access-panel {
  margin-top: 18px;
}

.compact-user-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.project-panel .panel-title {
  align-items: flex-end;
}

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

.phase-editor-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf7f0;
}

.phase-editor-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.phase-editor-head span {
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.phase-editor-head strong {
  color: var(--charcoal);
  font-size: 20px;
}

.outline-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.outline-editor-list {
  display: grid;
  gap: 10px;
}

.outline-editor-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.outline-main-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px auto;
  gap: 8px;
}

.outline-content-fields {
  display: grid;
  grid-template-columns: minmax(140px, 0.4fr) minmax(220px, 1fr);
  gap: 8px;
}

.outline-content-fields textarea {
  grid-column: 1 / -1;
  min-height: 110px;
}

.manager-panel {
  padding: 24px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.panel-title h2 {
  margin: 0;
  font-size: 24px;
}

.manager-panel label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.manager-panel input,
.manager-panel select,
.manager-panel textarea,
.inline-login input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.manager-panel textarea {
  min-height: 130px;
  padding: 12px;
  resize: vertical;
}

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

.checkbox-label {
  align-content: end;
  grid-template-columns: auto 1fr;
  min-height: 69px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf7f0;
}

.checkbox-label input {
  width: 18px;
  min-height: auto;
}

.secondary-dark-button,
.row-actions button,
.outline-editor-head button,
.outline-editor-item button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  font-weight: 700;
}

.student-list {
  display: grid;
  gap: 12px;
}

.admin-course-card p small,
.student-card p,
.student-card span,
.empty-state,
.hint {
  color: var(--muted);
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.student-card {
  align-items: flex-start;
  display: grid;
}

.student-card strong,
.student-card span {
  display: block;
}

.learning-login {
  max-width: 780px;
  margin: 44px auto;
  padding: clamp(26px, 5vw, 46px);
}

.inline-login {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 24px 0 10px;
}

.learning-app {
  display: block;
}

.learning-main {
  display: grid;
  gap: 18px;
  max-width: 980px;
}


.camp-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f5f1;
  box-shadow: 0 12px 30px rgba(43, 34, 24, 0.05);
}

.camp-logo {
  width: clamp(92px, 12vw, 132px);
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(203, 39, 44, 0.14);
}

.camp-copy {
  min-width: 0;
}

.camp-copy h1 {
  margin: 0 0 10px;
  color: var(--charcoal);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: 0;
}

.camp-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
}

.camp-social-proof {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 18px;
}

.camp-social-proof span {
  display: grid;
  width: 28px;
  height: 28px;
  margin-right: -8px;
  place-items: center;
  border: 2px solid #f7f5f1;
  border-radius: 999px;
  background: linear-gradient(135deg, #d83b3f, #2f7769);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.camp-social-proof span:nth-child(2) {
  background: linear-gradient(135deg, #2f7769, #f2b15f);
}

.camp-social-proof span:nth-child(3) {
  background: linear-gradient(135deg, #1f2937, #d83b3f);
}

.camp-social-proof span:nth-child(4) {
  background: linear-gradient(135deg, #f2b15f, #2f7769);
}

.camp-social-proof strong {
  margin-left: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.camp-count {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 180px;
  padding-left: clamp(10px, 2vw, 24px);
  border-left: 1px solid var(--line);
}

.camp-count span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.camp-count strong {
  color: var(--red-dark);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  font-weight: 950;
}

.learning-tabs,
.outline-learning-page {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(43, 34, 24, 0.06);
}

.tab-switcher {
  display: flex;
  gap: clamp(18px, 4vw, 42px);
  padding: 18px clamp(18px, 3vw, 28px) 10px;
  border-bottom: 1px solid var(--line);
}

.tab-switcher button {
  position: relative;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 850;
}

.tab-switcher button::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: #2ba691;
  content: "";
  transition: width 180ms ease;
}

.tab-switcher button.active::after {
  width: 28px;
}

.tab-panel,
.outline-learning-page {
  padding: clamp(18px, 3vw, 28px);
}

.tab-panel[hidden] {
  display: none;
}

.intro-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  padding: 11px 14px;
  border: 1px solid #f1ddcc;
  border-radius: 8px;
  background: linear-gradient(90deg, #fff3e8, #fffaf4);
}

.intro-banner span {
  color: #ff7447;
  font-size: 18px;
  font-weight: 900;
}

.intro-banner strong {
  color: var(--muted);
  font-size: 13px;
}

.auto-intro {
  display: grid;
  gap: 14px;
  max-width: 820px;
}

.auto-intro h2,
.auto-intro h3 {
  width: fit-content;
  margin: 0;
  color: var(--charcoal);
  line-height: 1.24;
  background: linear-gradient(180deg, transparent 62%, rgba(43, 166, 145, 0.22) 62%);
}

.auto-intro h2 {
  font-size: clamp(24px, 2.6vw, 30px);
}

.auto-intro h3 {
  margin-top: 6px;
  font-size: clamp(19px, 2vw, 23px);
}

.auto-intro p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(15.5px, 1.45vw, 18px);
  line-height: 1.78;
}

.auto-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf7f0;
  list-style: none;
}

.auto-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.72;
}

.auto-list li::before {
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.auto-emphasis {
  color: var(--red-dark);
  font-weight: 900;
}

.roadmap-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.roadmap-title h2 {
  margin: 4px 0 0;
  color: var(--charcoal);
  font-size: clamp(22px, 2.4vw, 28px);
}

.roadmap-title span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.roadmap-list {
  display: grid;
  gap: 16px;
}

.roadmap-stage {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf7f0;
}

.roadmap-stage header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  align-items: center;
  padding: 14px 16px;
  background: #e7f3ef;
}

.roadmap-stage header span {
  grid-row: span 2;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
}

.roadmap-stage h3 {
  margin: 0;
  color: var(--charcoal);
  font-size: 18px;
}

.roadmap-stage header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.roadmap-outline-list {
  display: grid;
  padding: 0 18px 18px;
}

.roadmap-outline {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.roadmap-outline:last-child {
  border-bottom: 0;
}

.roadmap-outline span {
  color: var(--green);
  font-size: 16px;
  font-weight: 900;
}

.roadmap-outline strong {
  font-size: clamp(15.5px, 1.5vw, 17px);
  line-height: 1.5;
}

.roadmap-outline em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.roadmap-outline:hover strong {
  color: var(--red-dark);
}

.outline-learning-page {
  min-height: 340px;
}

.back-link {
  min-height: 38px;
  margin-bottom: 18px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  cursor: pointer;
  font-weight: 900;
}

.lesson-heading h1 {
  margin: 12px 0 8px;
  color: var(--charcoal);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.18;
}

.lesson-heading p {
  color: var(--muted);
  font-size: 15px;
}

.outline-learning-page video,
.video-placeholder {
  width: 100%;
  margin: 20px 0;
  border-radius: 8px;
  background: var(--charcoal);
}

.outline-learning-page video {
  display: block;
  aspect-ratio: 16 / 9;
}

.video-placeholder {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.video-error {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid #e7a49f;
  border-radius: 8px;
  background: #fff2ef;
  color: var(--red-dark);
}

.video-error[hidden] {
  display: none;
}

.video-error strong {
  display: block;
  margin-bottom: 6px;
}

.video-error p {
  margin: 0;
  color: var(--muted);
}

.article-content {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf7f0;
  white-space: normal;
}

.locked-panel {
  display: grid;
  min-height: 420px;
  align-content: center;
  justify-items: start;
}

.locked-panel p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 150px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 13, 14, 0.82), rgba(12, 13, 14, 0.35)),
      linear-gradient(0deg, rgba(12, 13, 14, 0.54), rgba(12, 13, 14, 0.08));
  }

  .signal-strip,
  .value-grid,
  .outline-layout,
  .mentor-section,
  .course-browser,
  .pricing-section,
  .dashboard-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: auto;
  }

  .brand small,
  .ghost-button {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    padding-top: 130px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-stats div {
    flex: 1 1 120px;
  }

  .signal-strip,
  .lesson-grid,
  .inline-login,
  .form-row,
  .outline-editor-item,
  .roadmap-title,
  .roadmap-course,
  .roadmap-stage header,
  .roadmap-outline,
  .camp-hero {
    grid-template-columns: 1fr;
  }

  .roadmap-stage header,
  .roadmap-outline {
    grid-template-columns: 1fr;
  }

  .tab-switcher {
    gap: 22px;
    padding: 16px 16px 8px;
  }

  .tab-panel,
  .outline-learning-page {
    padding: 16px;
  }

  .auto-intro p,
  .auto-list li {
    font-size: 15px;
  }

  .roadmap-stage header span {
    width: fit-content;
  }
  .camp-count {
    justify-items: start;
    min-width: 0;
    padding-left: 0;
    border-left: 0;
  }


  .roadmap-outline em {
    justify-self: start;
  }

  .site-footer {
    display: grid;
  }
}
