:root {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --soft-bg: #f6fbfa;
  --card-bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #d9e7e4;
  --success-bg: #ecfdf5;
  --success-text: #047857;
  --warning-bg: #fffbeb;
  --warning-text: #92400e;
  --shadow: 0 12px 30px rgba(15, 118, 110, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--soft-bg);
  color: var(--text);
  line-height: 1.6;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px;
}

.navbar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}

.brand {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--primary-dark);
}

.hero {
  background: linear-gradient(135deg, #e6fffb, #ffffff);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 42px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--primary-dark);
}

.hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

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

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

.scenario-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  transition: 0.2s ease;
}

.scenario-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  font-weight: 650;
  cursor: pointer;
}

.button:hover {
  background: var(--primary-dark);
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  background: white;
}

textarea {
  min-height: 140px;
}

.result-box {
  border-left: 5px solid var(--primary);
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
}

.success-message {
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid #a7f3d0;
  padding: 12px 14px;
  border-radius: 12px;
  margin-top: 12px;
  font-weight: 600;
}

details {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  margin-top: 16px;
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary-dark);
}

.footer {
  text-align: center;
  color: var(--muted);
  padding: 30px 0 10px;
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .hero {
    padding: 28px;
  }

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

  .page {
    padding: 20px 14px;
  }
}
.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: #0f766e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.site-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f3f3a;
  line-height: 1;
}

.site-tagline {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 4px;
}

.site-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a {
  color: #374151;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: #0f766e;
}

.landing-hero {
  max-width: 1180px;
  margin: 10px auto 26px;
  padding: 48px 22px 36px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 12px;
}

.hero-copy h1{
  font-size:44px;
  line-height:1.15;
  margin-bottom:14px;
  max-width:700px;
}

.hero-text{
  font-size:17px;
  line-height:1.7;
  color:#4b5563;
  max-width:640px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button-light {
  background: white;
  color: #0f766e;
  border: 1px solid #b9d8d3;
}

.button-light:hover {
  background: #ecfdf5;
  color: #0f3f3a;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.window-frame {
  width: min(100%, 470px);
  height: 360px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff, #e7f6f3);
  border: 1px solid #d9e7e4;
  box-shadow: 0 24px 60px rgba(15, 63, 58, 0.12);
  position: relative;
  overflow: hidden;
}

.window-frame::before,
.window-frame::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.8);
}

.window-frame::before {
  width: 6px;
  height: 100%;
  left: 50%;
  top: 0;
}

.window-frame::after {
  height: 6px;
  width: 100%;
  left: 0;
  top: 47%;
}

.window-bar {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 76px;
  height: 12px;
  border-radius: 999px;
  background: #d3e9e5;
}

.desk-card {
  position: absolute;
  left: 74px;
  right: 74px;
  bottom: 40px;
  height: 92px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 14px 34px rgba(15, 63, 58, 0.12);
}

.book-stack {
  position: absolute;
  left: 38px;
  bottom: 24px;
  width: 120px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(#0f766e 0 32%, #e7f6f3 32% 48%, #334155 48% 78%, #f5f7f6 78%);
}

.plant-pot {
  position: absolute;
  right: 48px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  border-radius: 8px 8px 14px 14px;
  background: #d8a48f;
}

.plant-leaf {
  position: absolute;
  right: 56px;
  bottom: 48px;
  width: 28px;
  height: 42px;
  border-radius: 26px 26px 4px 26px;
  background: #2f7d57;
}

.leaf-one {
  transform: rotate(-28deg);
}

.leaf-two {
  right: 40px;
  transform: rotate(26deg);
  background: #3f8f68;
}

.plant-flower {
  position: absolute;
  right: 50px;
  bottom: 82px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #b83280;
  box-shadow: 10px 2px 0 #b83280;
}

.intro-strip {
  max-width: 1000px;
  margin: 0 auto 26px;
  padding: 0 22px;
  text-align: center;
  color: #4b5563;
}

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

.section-heading h2 {
  margin: 0 0 8px;
  color: #0f3f3a;
  font-size: 2rem;
}

.site-footer {
  max-width: 1180px;
  margin: 30px auto 0;
  padding: 30px 22px;
  border-top: 1px solid #d9e7e4;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .window-frame {
    height: 280px;
  }

  .site-nav {
    gap: 12px;
  }
}
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 750;
  margin: 4px 6px 4px 0;
}

.badge-reviewed {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-pending {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-override {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.feature-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
  margin-top:25px;
}

.feature-card {
  background:white;
  border-radius:18px;
  padding:24px;
  box-shadow:0 4px 12px rgba(0,0,0,0.06);
  border:1px solid #e5e7eb;
}

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

.feature-card p {
  color:#4b5563;
  line-height:1.65;
}
/* ===== HOW EDUNURSE WORKS ===== */

.section-subtext{
  color:#6b7280;
  max-width:760px;
  line-height:1.7;
  margin-top:10px;
  font-size:16px;
}

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

.feature-card{
  background:white;
  border-radius:20px;
  padding:28px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  border:1px solid #e5e7eb;
  transition:all 0.25s ease;
}

.feature-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 35px rgba(0,0,0,0.12);
}

.feature-icon{
  width:58px;
  height:58px;
  border-radius:16px;
  background:#ecfdf5;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  margin-bottom:18px;
}

.feature-card h3{
  margin-top:0;
  margin-bottom:12px;
  color:#065f46;
  font-size:22px;
}

.feature-card p{
  color:#4b5563;
  line-height:1.7;
  margin-bottom:18px;
}

.feature-card ul{
  padding-left:18px;
  margin:0;
}

.feature-card li{
  margin-bottom:10px;
  color:#374151;
  line-height:1.5;
}

/* Hide full chapter content until a chapter card is clicked */

/* Chapter content: hidden until selected */
details[id^="chapter-"]{
  display:none !important;
}

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

.page-card-header .top-link {
  margin: 0;
}

.page-card-header .eyebrow {
  margin: 0;
  text-align: right;
}

body .container {
  margin-top: 18px;
}

.page-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

/* =========================
   ABOUT PAGE HEADER POLISH
   ========================= */

.page-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 18px;
}

.page-card-header .eyebrow {
  margin-left: auto;
  text-align: right;
}

/* Match other site back buttons */
.page-card-header .top-link,
.page-card-header .top-link:visited,
.page-card-header .top-link:hover,
.page-card-header .top-link:active {
  color: #15803d;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.page-card-header .top-link:hover {
  opacity: 0.85;
}




.review-links {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.review-link-card {
  border: 1px solid #d9eadf;
  background: #f7fbf8;
  border-radius: 14px;
  padding: 14px 16px;
}

.review-link-card a {
  color: #166534;
  text-decoration: none;
}

.review-link-card a:hover {
  text-decoration: underline;
}

.review-link-card p {
  margin: 6px 0 0 0;
}
