/* Faithfully Flourishing - platform demo
   Palette: cream, blush, sage, soft purple. Fraunces + Mulish. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Mulish:wght@400;500;600;700&display=swap');

:root {
  --cream: #fbf7f1;
  --cream-deep: #f5ede2;
  --blush: #e8b9bd;
  --blush-soft: #f3d9db;
  --blush-deep: #c98e93;
  --sage: #a9bd9f;
  --sage-deep: #6f8466;
  --sage-text: #54624d;
  --purple: #b9a9ce;
  --purple-soft: #ddd3e8;
  --ink: #4a4441;
  --ink-soft: #6e6661;
  --gold: #c5a572;
  --white: #ffffff;

  --serif: 'Fraunces', Georgia, serif;
  --body: 'Mulish', system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 14px 40px rgba(120, 95, 95, 0.10);
  --shadow-card: 0 8px 28px rgba(120, 95, 95, 0.08);
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.3rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }

p { text-wrap: pretty; margin: 0 0 1rem; }
a { color: var(--blush-deep); text-decoration: none; }
a:hover { color: var(--sage-deep); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--sage-deep);
  margin: 0 0 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-align: center;
  line-height: 1.2;
}
.btn-primary {
  background: var(--blush-deep);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(201, 142, 147, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); color: var(--white); box-shadow: 0 12px 28px rgba(201, 142, 147, 0.45); }
.btn-sage {
  background: var(--sage-deep);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(111, 132, 102, 0.30);
}
.btn-sage:hover { transform: translateY(-2px); color: var(--white); box-shadow: 0 12px 28px rgba(111, 132, 102, 0.40); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--blush);
}
.btn-ghost:hover { background: var(--blush-soft); color: var(--ink); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { font-size: 1.08rem; padding: 1.1rem 2.4rem; }
.btn-sm { font-size: 0.9rem; padding: 0.6rem 1.2rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 241, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(169, 189, 159, 0.30);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-lockup img { height: 52px; width: auto; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--blush-deep);
  line-height: 1.05;
  display: none;
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); font-weight: 600; font-size: 0.98rem; }
.nav a:hover { color: var(--blush-deep); }
.nav-cta { display: flex; align-items: center; gap: 0.8rem; }

.demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: var(--sage);
  color: #2f3a2a;
  padding: 4px 10px;
  border-radius: 999px;
  opacity: 0.92;
}

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, var(--purple-soft), transparent 60%),
              radial-gradient(900px 500px at 0% 0%, var(--blush-soft), transparent 55%),
              var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}
.hero-copy h1 { margin-bottom: 0.4em; }
.hero-copy .lede {
  font-size: 1.25rem;
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-art {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 3rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.bg-cream-deep { background: var(--cream-deep); }
.bg-sage-tint { background: linear-gradient(180deg, var(--cream), #eef1ea); }

/* journey steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.1rem 1.8rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(169, 189, 159, 0.20);
}
.step .num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--blush);
  margin-bottom: 0.4rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

/* feature split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split .media {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
}
.split .media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.split ul { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.split li { position: relative; padding-left: 1.8rem; margin-bottom: 0.8rem; color: var(--ink-soft); }
.split li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--sage);
}

/* two CTA cards */
.path-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.path-card {
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(169, 189, 159, 0.25);
}
.path-card.member { background: linear-gradient(160deg, var(--blush-soft), var(--white)); }
.path-card.leader { background: linear-gradient(160deg, var(--purple-soft), var(--white)); }
.path-card h3 { margin-bottom: 0.5rem; }
.path-card p { color: var(--ink-soft); }

/* footer */
.site-footer {
  background: #efe7da;
  padding: 3rem 0 2.4rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(169, 189, 159, 0.30);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.site-footer .brand-lockup img { height: 46px; }
.site-footer small { color: var(--ink-soft); }

/* ---------- Auth / login ---------- */
.auth-shell {
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
  background: radial-gradient(900px 500px at 50% -10%, var(--purple-soft), transparent 55%), var(--cream);
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: 2.8rem 2.4rem;
  text-align: center;
  border: 1px solid rgba(169, 189, 159, 0.25);
}
.auth-card img.mark { height: 76px; width: auto; margin: 0 auto 1.2rem; }
.auth-card h1 { font-size: 1.9rem; margin-bottom: 0.3rem; }
.auth-card p.sub { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1.8rem; }
.field { text-align: left; margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.4rem; }
.field input {
  width: 100%;
  font-family: var(--body);
  font-size: 1.05rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--blush-soft);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--blush); box-shadow: 0 0 0 4px rgba(232, 185, 189, 0.25); }
.auth-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 1.4rem; }
.inbox-confirm { display: none; }
.inbox-confirm .check {
  width: 64px; height: 64px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--sage);
  display: grid; place-items: center;
}
.inbox-confirm .check svg { width: 30px; height: 30px; stroke: #2f3a2a; }

/* ---------- App shell (member + leader + owner) ---------- */
.app-header {
  background: var(--white);
  border-bottom: 1px solid rgba(169, 189, 159, 0.30);
  position: sticky; top: 0; z-index: 40;
}
.app-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 12px 28px; }
.app-nav { display: flex; align-items: center; gap: 1.4rem; }
.app-nav a { color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.app-nav a.active, .app-nav a:hover { color: var(--blush-deep); }
.user-chip {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; color: var(--ink-soft);
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blush); color: var(--white);
  display: grid; place-items: center; font-weight: 700; font-family: var(--serif);
}

.course-hero {
  background: linear-gradient(160deg, var(--cream-deep), var(--cream));
  padding: 2.6rem 0 2rem;
  border-bottom: 1px solid rgba(169, 189, 159, 0.20);
}
.course-hero .wrap { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-end; }
.course-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 0.3rem; }
.course-hero p { color: var(--ink-soft); margin: 0; max-width: 52ch; }

.progress-wrap { min-width: 240px; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; }
.progress-bar { height: 12px; border-radius: 999px; background: var(--blush-soft); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sage), var(--sage-deep)); transition: width 0.6s ease; }

.modules { display: grid; gap: 1.1rem; padding: 2.6rem 0 4rem; }
.module {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(169, 189, 159, 0.22);
  box-shadow: var(--shadow-card);
  padding: 1.5rem 1.8rem;
  display: flex; align-items: center; gap: 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.module:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.module .badge {
  flex: 0 0 auto;
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.3rem;
  background: var(--cream-deep); color: var(--sage-deep);
}
.module.is-locked { opacity: 0.78; }
.module.is-done .badge { background: var(--sage); color: #2f3a2a; }
.module .m-body { flex: 1; min-width: 0; }
.module .m-body h3 { font-size: 1.2rem; margin: 0 0 0.15rem; }
.module .m-body p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.module .m-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.tag-free { background: var(--sage); color: #2f3a2a; }
.tag-locked { background: var(--blush-soft); color: var(--blush-deep); }
.tag-done { background: var(--purple-soft); color: #5b4d70; }
.module .m-action { flex: 0 0 auto; display: flex; align-items: center; gap: 0.8rem; }
.lock-ico { width: 18px; height: 18px; stroke: var(--blush-deep); }

.enroll-banner {
  background: linear-gradient(150deg, var(--purple-soft), var(--blush-soft));
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem;
  margin: 0 0 2rem;
  box-shadow: var(--shadow-card);
}
.enroll-banner.is-hidden { display: none; }
.enroll-banner h3 { margin: 0 0 0.2rem; }
.enroll-banner p { margin: 0; color: var(--ink-soft); }

/* ---------- Lesson page ---------- */
.lesson-layout { display: grid; grid-template-columns: 280px 1fr; gap: 0; min-height: calc(100vh - 62px); }
.lesson-side {
  background: var(--cream-deep);
  border-right: 1px solid rgba(169, 189, 159, 0.25);
  padding: 1.8rem 1.4rem;
}
.lesson-side h4 { font-family: var(--body); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.74rem; color: var(--sage-deep); margin-bottom: 1rem; }
.lesson-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.lesson-list a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.8rem; border-radius: 10px;
  color: var(--ink-soft); font-size: 0.95rem; font-weight: 600;
}
.lesson-list a:hover { background: var(--white); }
.lesson-list a.active { background: var(--white); color: var(--blush-deep); box-shadow: var(--shadow-card); }
.lesson-list a.locked { opacity: 0.6; }
.lesson-list .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blush-soft); flex: 0 0 auto; }
.lesson-list a.done .dot { background: var(--sage-deep); }

.lesson-main { padding: 2.4rem clamp(1.4rem, 4vw, 3.4rem); max-width: 860px; }
.lesson-crumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.6rem; font-weight: 600; }
.lesson-main h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 1.4rem; }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(150deg, #3a3540, #5b4d5a);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.8rem;
  display: grid; place-items: center;
}
.video-frame .poster {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.32;
}
.video-frame .play {
  position: relative;
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
  cursor: pointer; border: none;
}
.video-frame .play:hover { transform: scale(1.06); }
.video-frame .play svg { width: 30px; height: 30px; fill: var(--blush-deep); margin-left: 4px; }
.video-frame .vlabel {
  position: absolute; bottom: 14px; left: 16px;
  color: rgba(255,255,255,0.85); font-size: 0.82rem; font-weight: 600;
  background: rgba(0,0,0,0.3); padding: 4px 12px; border-radius: 999px;
}

.lesson-body { font-size: 1.12rem; line-height: 1.8; }
.lesson-body h3 { margin-top: 2rem; }
.verse {
  border-left: 4px solid var(--sage);
  background: var(--cream-deep);
  padding: 1.2rem 1.6rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--sage-text);
  margin: 1.8rem 0;
}
.reflect {
  background: var(--blush-soft);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.6rem;
  margin: 1.8rem 0;
}
.reflect strong { display: block; margin-bottom: 0.4rem; color: var(--blush-deep); }
.resource-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0; }
.resource-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--blush-soft);
  border-radius: 999px; padding: 0.6rem 1.2rem; font-weight: 600; font-size: 0.92rem;
  color: var(--ink);
}
.resource-pill svg { width: 16px; height: 16px; stroke: var(--blush-deep); }

.lesson-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid rgba(169, 189, 159, 0.30); flex-wrap: wrap; }

/* lesson gate (locked) */
.gate {
  text-align: center;
  background: linear-gradient(160deg, var(--purple-soft), var(--blush-soft));
  border-radius: 22px;
  padding: 3.4rem 2.4rem;
  box-shadow: var(--shadow-soft);
  margin: 1rem 0;
}
.gate .lock-circle {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.2rem;
  background: var(--white); display: grid; place-items: center;
  box-shadow: var(--shadow-card);
}
.gate .lock-circle svg { width: 30px; height: 30px; stroke: var(--blush-deep); }
.gate h2 { margin-bottom: 0.5rem; }
.gate p { color: var(--ink-soft); max-width: 44ch; margin: 0 auto 1.6rem; }
.gate .demo-hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 1.2rem; }

/* ---------- Leaders page ---------- */
.leader-hero {
  background: radial-gradient(1000px 500px at 70% -10%, var(--purple-soft), transparent 60%),
              linear-gradient(160deg, var(--cream-deep), var(--cream));
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.leader-hero .wrap { max-width: 820px; text-align: center; }
.leader-hero .lede { font-size: 1.25rem; color: var(--ink-soft); max-width: 52ch; margin: 0 auto 2rem; }

.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; }
.apply-form {
  background: var(--white); border-radius: var(--radius);
  padding: 2.2rem; box-shadow: var(--shadow-card); border: 1px solid rgba(169,189,159,0.22);
}
.apply-form .field input, .apply-form .field textarea, .apply-form .field select {
  width: 100%; font-family: var(--body); font-size: 1rem;
  padding: 0.8rem 1rem; border: 1.5px solid var(--blush-soft);
  border-radius: var(--radius-sm); background: var(--cream); color: var(--ink);
}
.apply-form textarea { min-height: 96px; resize: vertical; }
.license-box {
  background: linear-gradient(160deg, var(--purple-soft), var(--white));
  border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-card);
  border: 1px solid rgba(185,169,206,0.4);
}
.license-box .price { font-family: var(--serif); font-size: 2.6rem; color: var(--blush-deep); margin: 0.4rem 0; }
.license-box .price span { font-size: 1rem; color: var(--ink-soft); font-family: var(--body); }
.license-box ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.license-box li { position: relative; padding-left: 1.8rem; margin-bottom: 0.7rem; color: var(--ink-soft); }
.license-box li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 50%; background: var(--purple); }

.leader-resources { position: relative; }
.leader-resources.is-locked .res-grid { filter: blur(5px); pointer-events: none; user-select: none; }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.res-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-card); border: 1px solid rgba(169,189,159,0.22);
}
.res-card .res-ico {
  width: 48px; height: 48px; border-radius: 12px; background: var(--purple-soft);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.res-card .res-ico svg { width: 24px; height: 24px; stroke: #5b4d70; }
.res-card h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.res-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

.res-lock-overlay {
  position: absolute; inset: 0; display: none;
  place-items: center; text-align: center; z-index: 5;
}
.leader-resources.is-locked .res-lock-overlay { display: grid; }
.res-lock-overlay .inner {
  background: rgba(255,255,255,0.96); border-radius: 20px; padding: 2.4rem 2.6rem;
  box-shadow: var(--shadow-soft); max-width: 420px;
}

/* chapters directory */
.chapter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.chapter-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.6rem 1.8rem; box-shadow: var(--shadow-card); border: 1px solid rgba(169,189,159,0.22);
}
.chapter-card .city { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); margin-bottom: 0.1rem; }
.chapter-card .leader-name { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0.8rem; }
.chapter-card .status { font-size: 0.74rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--sage-deep); }

/* ---------- Owner view ---------- */
.owner-shell { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.owner-shell .wrap { max-width: 980px; }
.owner-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 2rem; }
.owner-tile {
  border-radius: var(--radius); padding: 2.4rem 2rem; text-align: center;
  box-shadow: var(--shadow-card); border: 1px solid rgba(169,189,159,0.25);
}
.owner-tile.content { background: linear-gradient(160deg, var(--blush-soft), var(--white)); }
.owner-tile.people { background: linear-gradient(160deg, #e3ecdd, var(--white)); }
.owner-tile.money { background: linear-gradient(160deg, var(--purple-soft), var(--white)); }
.owner-tile .t-ico { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 16px; background: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-card); }
.owner-tile .t-ico svg { width: 28px; height: 28px; stroke: var(--blush-deep); }
.owner-tile .big { font-family: var(--serif); font-size: 2.4rem; color: var(--ink); margin: 0.4rem 0 0.1rem; }
.owner-tile p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* ---------- Demo controls ---------- */
.demo-bar {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 90;
  background: rgba(74, 68, 65, 0.94);
  color: var(--white);
  border-radius: 999px;
  padding: 8px 10px 8px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.28);
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
  max-width: calc(100vw - 24px);
  flex-wrap: wrap;
  justify-content: center;
}
.demo-bar .label { font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 0.68rem; color: var(--blush-soft); }
.demo-bar .state { font-weight: 700; }
.demo-bar button {
  font-family: var(--body); font-weight: 700; font-size: 0.8rem;
  border: none; border-radius: 999px; padding: 6px 14px; cursor: pointer;
  background: rgba(255,255,255,0.16); color: var(--white);
  transition: background 0.2s ease;
}
.demo-bar button:hover { background: rgba(255,255,255,0.30); }
.demo-bar button.reset { background: var(--blush-deep); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { aspect-ratio: 16 / 12; max-height: 420px; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .media { aspect-ratio: 16 / 11; max-height: 380px; order: -1; }
  .path-cards { grid-template-columns: 1fr; }
  .apply-grid { grid-template-columns: 1fr; }
  .res-grid { grid-template-columns: 1fr 1fr; }
  .chapter-grid { grid-template-columns: 1fr 1fr; }
  .owner-tiles { grid-template-columns: 1fr; }
  .lesson-layout { grid-template-columns: 1fr; }
  .lesson-side { border-right: none; border-bottom: 1px solid rgba(169,189,159,0.25); }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .res-grid, .chapter-grid { grid-template-columns: 1fr; }
  .nav-cta .btn { padding: 0.7rem 1.2rem; font-size: 0.9rem; }
  .course-hero .wrap { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .module, .video-frame .play { transition: none !important; }
  .progress-fill { transition: none !important; }
}
