:root {
  --paper: #f8f5ee;
  --paper-deep: #efe9db;
  --ink: #0a3632;
  --ink-2: #114640;
  --accent: #0f8581;
  --gold: #c0943a;
  --text: #1f211c;
  --muted: #6b6559;
  --line: #d9cfb6;
  --radius: 6px;
  --font: "Kalpurush", "Nirmala UI", sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-h: 0px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body.home-body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
::selection { background: var(--gold); color: var(--paper); }

body.home-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(11, 61, 56, 0.055) 1px, transparent 0);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}

.app-greeting { display: none; }
.section-see-all { display: none; }

.nav-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 80;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0; pointer-events: none;
  transition: width .2s ease, opacity .2s ease;
}
.nav-progress.is-active { opacity: 1; }
.nav-progress.is-done { width: 100% !important; opacity: 1; }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 1rem; position: relative; z-index: 1;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 14px; font-weight: 700;
  position: relative; flex-shrink: 0;
}
.brand-mark::after {
  content: ""; position: absolute; inset: -5px;
  border: 1px dashed rgba(14, 124, 120, 0.4); border-radius: 50%;
}
.brand-mark.light { border-color: #c9e8e5; color: #c9e8e5; }
.brand-mark.light::after { border-color: rgba(201, 232, 229, 0.35); }
.brand-name { display: block; font-size: 22px; color: var(--ink); line-height: 1.1; font-weight: 700; }
.brand-name.light { color: var(--paper); }
.brand-tag {
  display: block; font-size: 11px; color: var(--muted);
  letter-spacing: 0.1em; margin-top: -1px;
}
.nav-right { display: flex; align-items: center; gap: 22px; }
.desk-nav { display: flex; gap: 24px; }
.desk-nav a, .nav-link {
  font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.desk-nav a:hover, .nav-link:hover { color: var(--accent); }
.nav-cta {
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: var(--radius);
  font-weight: 700; font-size: 14px; border: 1px solid var(--ink);
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); }

/* Hero */
.hero {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 520px;
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--line);
  opacity: 1;
  visibility: visible;
  background:
    radial-gradient(560px 280px at 88% 28%, rgba(15, 133, 129, 0.1), transparent 70%),
    radial-gradient(420px 240px at 8% 90%, rgba(192, 148, 58, 0.08), transparent 65%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy {
  max-width: 34rem;
  opacity: 1;
  visibility: visible;
  color: var(--ink);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.06em; color: var(--accent); font-weight: 700;
  border: 1px solid rgba(14, 124, 120, 0.3); padding: 7px 14px; border-radius: 999px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.7);
}
.eyebrow::before { content: "◆"; font-size: 8px; }
.hero-title {
  font-size: clamp(34px, 4.8vw, 52px);
  color: var(--ink); line-height: 1.3; margin-bottom: 16px; font-weight: 700;
}
.hero-accent {
  color: var(--accent);
  background: linear-gradient(180deg, transparent 62%, rgba(192, 148, 58, 0.34) 62%);
  padding: 0 .1em;
}
.hero-sub {
  font-size: 16.5px; color: var(--muted); max-width: 520px; margin-bottom: 28px;
}
.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; font-weight: 700; font-size: 15px;
  border-radius: 8px; border: 1.5px solid transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn-primary {
  background: var(--accent); color: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-primary:hover { background: #0c6f6b; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost.light { border-color: rgba(247, 244, 236, 0.45); color: var(--paper); background: transparent; }
.btn-ghost.light:hover { background: var(--paper); color: var(--ink); }
.btn-paper {
  background: var(--paper); color: var(--accent);
  box-shadow: 3px 3px 0 var(--ink);
}

.admit-strip {
  display: flex; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 28px rgba(10, 54, 50, 0.05);
}
.admit-cell { flex: 1; padding: 14px 16px; border-right: 1px dashed var(--line); }
.admit-cell:last-child { border-right: none; }
.admit-num { font-size: 24px; color: var(--ink); font-weight: 700; line-height: 1.2; }
.admit-label { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.seal-wrap {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 340px;
}
.seal {
  width: min(310px, 84%); height: auto;
  transform: rotate(-6deg);
  filter: drop-shadow(0 18px 28px rgba(10, 54, 50, 0.12));
}
.seal-caption {
  position: absolute; bottom: 18px; right: 8px; z-index: 2;
  font-size: 13px; color: var(--muted); background: #fff;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 8px 18px rgba(10, 54, 50, 0.06);
}

/* Sections */
.section { padding: 70px 0; position: relative; z-index: 1; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-eyebrow {
  font-size: 13px; letter-spacing: 0.12em; color: var(--gold);
  font-weight: 700; margin-bottom: 10px;
}
.section-title {
  font-size: clamp(24px, 3vw, 34px); color: var(--ink);
  margin-bottom: 10px; font-weight: 700; line-height: 1.3;
}
.section-sub { color: var(--muted); font-size: 15.5px; }
.divider { width: 56px; height: 3px; background: var(--accent); margin-top: 16px; }

.courses-bg { background: var(--ink); color: var(--paper); scroll-margin-top: 80px; }
.courses-bg .section-title { color: var(--paper); }
.courses-bg .section-sub { color: #c9c2ae; }
.courses-bg .divider { background: var(--gold); }

.course-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.course-card {
  background: var(--paper); color: var(--text);
  border-radius: 10px; padding: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(247, 244, 236, 0.12);
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}
.course-card.featured { outline: 2px solid rgba(15, 133, 129, 0.5); }
.course-thumb {
  aspect-ratio: 16 / 9;
  background: #0b3d38;
  overflow: hidden;
}
.course-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.course-body {
  padding: 16px 16px 18px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.badge-pop {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--accent); color: var(--paper);
  font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 20px;
}
.course-cat { font-size: 12px; letter-spacing: 0.06em; color: var(--gold); font-weight: 700; }
.course-name { font-size: 18px; color: var(--ink); font-weight: 700; line-height: 1.3; }
.course-desc { font-size: 14px; color: var(--muted); flex-grow: 1; }
.price-row {
  display: flex; align-items: baseline; gap: 8px;
  border-top: 1px dashed var(--line); padding-top: 12px;
}
.price-now { font-size: 22px; color: var(--accent); font-weight: 700; }
.course-btn {
  text-align: center; background: var(--ink); color: var(--paper);
  padding: 10px; border-radius: var(--radius); font-weight: 700; font-size: 14px;
}
.course-card:hover .course-btn { background: var(--accent); }
.center-more { text-align: center; margin-top: 28px; }
.empty-note {
  grid-column: 1 / -1; padding: 28px; text-align: center;
  border: 1px dashed rgba(247, 244, 236, 0.3); color: #c9c2ae; border-radius: var(--radius);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: transparent;
  border: 0;
}
.feature {
  background: #fff;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(10, 54, 50, 0.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(10, 54, 50, 0.08);
  border-color: rgba(15, 133, 129, 0.35);
}
.feature-icon {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 17px; font-weight: 700; margin-bottom: 14px;
  background: rgba(15, 133, 129, 0.06);
  flex-shrink: 0;
}
.feature h3 { font-size: 18px; color: var(--ink); margin-bottom: 6px; font-weight: 700; }
.feature p { font-size: 14.5px; color: var(--muted); }

.process-bg {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.process-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px 26px;
  box-shadow: 0 10px 26px rgba(10, 54, 50, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.process-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
}
.process-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(10, 54, 50, 0.08);
  border-color: rgba(15, 133, 129, 0.35);
}
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(15, 133, 129, 0.08);
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}
.process-title {
  font-size: 19px;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
}
.process-desc {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.65;
}

.offer {
  background: var(--accent); color: var(--paper);
  padding: 42px 0; text-align: center; position: relative; z-index: 1;
}
.offer h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; font-weight: 700; }
.offer p { opacity: 0.92; margin-bottom: 20px; }

.site-foot {
  background:
    radial-gradient(600px 220px at 10% 0%, rgba(15, 133, 129, 0.22), transparent 60%),
    linear-gradient(180deg, #0c403b 0%, #072824 100%);
  color: #d8d2be;
  padding: 52px 0 22px;
  position: relative;
  z-index: 1;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.foot-brand .brand { margin-bottom: 12px; }
.brand-tag.light {
  display: block;
  color: rgba(232, 242, 240, 0.55);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-top: 1px;
}
.foot-tagline {
  font-size: 14.5px;
  max-width: 340px;
  margin: 0 0 16px;
  color: #b7af98;
  line-height: 1.65;
}
.eco-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  overflow: hidden;
  max-width: 420px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.eco-card-glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(192, 148, 58, 0.28), transparent 70%);
  pointer-events: none;
}
.eco-card:hover {
  border-color: rgba(192, 148, 58, 0.55);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 100%);
  transform: translateY(-2px);
}
.eco-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.eco-logo {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: #0a3632;
  background: linear-gradient(145deg, #e8c878, #c0943a);
  box-shadow: 0 6px 16px rgba(192, 148, 58, 0.35);
}
.eco-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e8c878;
  background: rgba(192, 148, 58, 0.14);
  border: 1px solid rgba(192, 148, 58, 0.35);
  padding: 5px 10px;
  border-radius: 999px;
}
.eco-card-body {
  display: grid;
  gap: 4px;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.eco-title {
  color: #f3f0e6;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.eco-desc {
  color: #b7af98;
  font-size: 13.5px;
  line-height: 1.5;
}
.eco-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}
.eco-url {
  color: #c0943a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.eco-arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(192, 148, 58, 0.18);
  color: #e8c878;
  transition: background .15s ease, transform .15s ease;
}
.eco-arrow svg { width: 16px; height: 16px; }
.eco-card:hover .eco-arrow {
  background: #c0943a;
  color: #0a3632;
  transform: translateX(2px);
}
.foot-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.site-foot h4 {
  color: #f3f0e6;
  font-size: 15px;
  margin: 0 0 14px;
  font-weight: 700;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 10px; font-size: 14px; }
.site-foot a { color: #c9c2ae; }
.site-foot a:hover { color: #c0943a; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #9c947e;
}
.foot-main-link {
  color: #d8d2be !important;
  font-weight: 600;
}
.foot-main-link:hover { color: #c0943a !important; }

@media (max-width: 1000px) {
  .course-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   NATIVE APP SHELL — phone view
   ========================================================= */
@media (max-width: 900px) {
  :root {
    --tabbar-h: calc(58px + var(--safe-bottom));
    --radius: 14px;
  }

  html {
    scroll-padding-top: calc(64px + var(--safe-top));
    scroll-padding-bottom: var(--tabbar-h);
  }

  body.home-body {
    padding-bottom: var(--tabbar-h);
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
  }

  body.home-body::before {
    background-size: 18px 18px;
    opacity: 0.7;
  }

  .wrap { padding: 0 18px; }

  /* Compact app top bar */
  .site-nav {
    padding-top: var(--safe-top);
    background: rgba(248, 245, 238, 0.94);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(217, 207, 182, 0.7);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  }
  .navbar {
    padding: 10px 0;
    min-height: 52px;
  }
  .brand-mark {
    width: 34px; height: 34px; font-size: 12px;
  }
  .brand-mark::after { inset: -4px; }
  .brand-name { font-size: 18px; }
  .brand-tag { display: none; }
  .desk-nav { display: none; }
  .nav-link { display: none; }
  .nav-cta {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 999px;
    min-height: 36px;
  }

  /* Hero → app home header */
  .hero {
    min-height: 0;
    padding: 20px 0 28px;
    border-bottom: none;
    background:
      radial-gradient(320px 180px at 100% 0%, rgba(15, 133, 129, 0.14), transparent 70%),
      radial-gradient(260px 160px at 0% 100%, rgba(192, 148, 58, 0.1), transparent 65%);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .seal-wrap { display: none; }

  .app-greeting {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 14px;
    animation: appFadeUp .45s ease both;
  }
  .app-greeting-hi {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  .app-greeting-name {
    font-size: 28px;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .eyebrow {
    display: none;
  }
  .hero-title {
    font-size: 26px;
    line-height: 1.35;
    margin-bottom: 10px;
    animation: appFadeUp .5s ease .05s both;
  }
  .hero-sub {
    font-size: 14.5px;
    margin-bottom: 18px;
    max-width: none;
    animation: appFadeUp .5s ease .1s both;
  }
  .hero-ctas {
    gap: 10px;
    margin-bottom: 20px;
    animation: appFadeUp .5s ease .15s both;
  }
  .hero-ctas .btn {
    flex: 1;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 15px;
  }
  .btn-primary {
    box-shadow: 0 8px 20px rgba(15, 133, 129, 0.28);
  }
  .btn-ghost {
    box-shadow: none;
  }

  .admit-strip {
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(10, 54, 50, 0.06);
    animation: appFadeUp .5s ease .2s both;
  }
  .admit-cell {
    padding: 12px 10px;
    text-align: center;
  }
  .admit-num { font-size: 20px; }
  .admit-label { font-size: 11px; }

  /* Sections */
  .section {
    padding: 28px 0;
  }
  .section-head {
    max-width: none;
    margin-bottom: 18px;
  }
  .section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
  }
  .section-head-row > div { flex: 1; min-width: 0; }
  .section-see-all {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    padding: 8px 0 8px 8px;
    margin-bottom: 4px;
  }
  .courses-bg .section-see-all { color: #e8c878; }
  .section-eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
    margin-bottom: 6px;
  }
  .section-title {
    font-size: 20px;
    margin-bottom: 4px;
  }
  .section-sub {
    font-size: 13.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .divider { display: none; }

  /* Courses → horizontal snap carousel (app shelf) */
  .courses-bg {
    scroll-margin-top: calc(64px + var(--safe-top));
    padding: 24px 0 28px;
    border-radius: 24px 24px 0 0;
    margin-top: 4px;
  }
  .courses-bg > .wrap {
    padding-right: 0;
  }
  .courses-bg .section-head {
    padding-right: 18px;
  }
  .course-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 4px 18px 8px 0;
    scrollbar-width: none;
    grid-template-columns: none;
  }
  .course-grid::-webkit-scrollbar { display: none; }
  .course-card {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    outline: none;
    transition: transform .2s ease;
  }
  .course-card.featured {
    outline: none;
    box-shadow:
      0 0 0 2px rgba(15, 133, 129, 0.55),
      0 10px 28px rgba(0, 0, 0, 0.22);
  }
  .course-card:hover { transform: none; }
  .course-card:active { transform: scale(0.975); }
  .course-thumb { border-radius: 16px 16px 0 0; }
  .course-body {
    padding: 14px;
    gap: 8px;
  }
  .course-name {
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .course-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
  }
  .price-now { font-size: 18px; }
  .course-btn {
    border-radius: 10px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .center-more { display: none; }
  .empty-note {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }

  /* Features → native list rows */
  #why { scroll-margin-top: calc(64px + var(--safe-top)); }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(10, 54, 50, 0.04);
  }
  .feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 16px;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    background: transparent;
  }
  .feature:last-child { border-bottom: none; }
  .feature:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
  }
  .feature:active { background: rgba(15, 133, 129, 0.04); }
  .feature-icon {
    width: 36px; height: 36px;
    font-size: 14px;
    margin-bottom: 0;
    border-radius: 10px;
  }
  .feature-copy { min-width: 0; flex: 1; }
  .feature h3 { font-size: 15.5px; margin-bottom: 2px; }
  .feature p {
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Process → vertical timeline */
  #start { scroll-margin-top: calc(64px + var(--safe-top)); }
  .process-bg {
    border-radius: 24px;
    border: none;
    margin: 8px 0;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    padding-left: 8px;
  }
  .process-grid::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--gold));
    opacity: 0.35;
  }
  .process-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 4px;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 14px 4px 18px;
    overflow: visible;
  }
  .process-card::before { display: none; }
  .process-card:hover {
    transform: none;
    box-shadow: none;
  }
  .process-num {
    grid-row: 1 / span 2;
    align-self: start;
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin-bottom: 0;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent);
    box-shadow: 0 4px 12px rgba(15, 133, 129, 0.12);
    position: relative;
    z-index: 1;
  }
  .process-title { font-size: 16px; margin: 4px 0 0; }
  .process-desc { font-size: 13.5px; }

  /* Offer CTA — sticky-feel banner */
  .offer {
    margin: 12px 18px 20px;
    padding: 28px 20px;
    border-radius: 20px;
    text-align: left;
  }
  .offer .wrap {
    padding: 0;
    max-width: none;
  }
  .offer h2 { font-size: 20px; }
  .offer p { font-size: 14px; margin-bottom: 16px; }
  .offer .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(10, 54, 50, 0.18);
  }

  /* App foot: no website footer — just main-site card + copyright */
  .site-foot {
    padding: 20px 0 calc(12px + 4px);
    background:
      radial-gradient(420px 160px at 50% 0%, rgba(15, 133, 129, 0.28), transparent 65%),
      linear-gradient(180deg, #0c403b 0%, #072824 100%);
  }
  .foot-top {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 14px;
    padding-bottom: 0;
    border-bottom: none;
  }
  .foot-brand-desk { display: none; }
  .foot-tagline { display: none; }
  .foot-cols { display: none; }
  .eco-card {
    max-width: none;
    width: 100%;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    border-color: rgba(192, 148, 58, 0.28);
    background:
      linear-gradient(160deg, rgba(192, 148, 58, 0.12) 0%, rgba(255, 255, 255, 0.05) 42%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  }
  .eco-card:active {
    transform: scale(0.985);
  }
  .eco-card:hover { transform: none; }
  .eco-logo {
    width: 42px; height: 42px;
    border-radius: 13px;
    font-size: 13px;
  }
  .eco-title { font-size: 15.5px; }
  .eco-desc { font-size: 12.5px; }
  .eco-card-cta { padding-top: 12px; }
  .eco-url { font-size: 14px; }
  .foot-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    font-size: 11.5px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .foot-main-link { display: none; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .courses-bg > .wrap { padding-right: 0; }
  .courses-bg .section-head { padding-right: 16px; }
  .course-card { flex-basis: min(82vw, 260px); }
  .admit-strip { flex-wrap: nowrap; }
  .admit-cell {
    flex: 1 1 auto;
    border-bottom: none;
  }
  .offer { margin-left: 16px; margin-right: 16px; }
}

@keyframes appFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
