/* ============================================================
   ArthaRoshni — marketing site shell (CFI-style redesign)
   Navy + amber design system · Inter / Plus Jakarta Sans
   Loaded after styles.css — also overrides inner-page chrome.
   ============================================================ */

:root {
  --navy-50: #f1f5fb;
  --navy-100: #e0e8f4;
  --navy-200: #b9cae6;
  --navy-300: #8ba9d3;
  --navy-400: #5d86bd;
  --navy-500: #3a65a4;
  --navy-600: #2c4f84;
  --navy-700: #1f3a63;
  --navy-800: #12254a;
  --navy-900: #0a1b3b;
  --navy-950: #060f24;

  --amber-400: #f5b301;
  --amber-500: #e9a300;
  --amber-600: #c78800;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;

  --brand: var(--navy-700);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw-site: 1400px;
}

body { font-family: var(--font-sans); }

h1, h2, h3, h4, .font-display, .brand, .topbar__title {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.container { max-width: var(--maxw-site); margin: 0 auto; padding: 0 16px; }

/* ---------------------------------------------- text helpers */
.text-gradient, .mkt-hero h1 em, .cta-band h2 em {
  background: linear-gradient(90deg, #f5b301 0%, #ffdf6b 60%, #f5b301 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.lift { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(10, 27, 59, .25); }

/* ---------------------------------------------- announcement bar */
.announce {
  background: var(--navy-950); color: #fff; font-size: 13px;
  position: relative; overflow: hidden;
}
/* Slow amber sheen travelling across the bar to draw the eye to the Blueprint link. */
.announce::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 20%, rgba(251, 191, 36, .13) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: announce-sheen 9s ease-in-out infinite;
}
.announce__in {
  max-width: var(--maxw-site); margin: 0 auto; padding: 8px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: relative; z-index: 1;
}
.announce__msg { display: flex; align-items: center; gap: 8px; min-width: 0; }
.announce__msg > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* The duplicated copy inside the track exists only for the seamless mobile loop. */
.announce__track > span + span { display: none; }
.announce__new {
  background: var(--amber-400); color: var(--navy-950);
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 2px 8px; border-radius: 4px; flex-shrink: 0;
  animation: announce-pulse 2.6s ease-in-out infinite;
}
.announce__cta {
  color: var(--amber-400); font-weight: 600; white-space: nowrap; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 5px;
}
.announce__cta:hover { color: #ffdf6b; }
.announce__cta svg, .announce__cta .announce__arrow {
  display: inline-block; animation: announce-nudge 1.8s ease-in-out infinite;
}

@keyframes announce-sheen {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
@keyframes announce-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, .55); }
  70%      { box-shadow: 0 0 0 6px rgba(251, 191, 36, 0); }
}
@keyframes announce-nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(3px); }
}
@keyframes announce-scroll {
  0%       { transform: translateX(0); }
  100%     { transform: translateX(-50%); }
}

/* Mobile: the CTA stays visible (it used to be display:none, which hid the
   Blueprint link entirely). The message becomes a self-scrolling marquee.
   The clip + fade mask live on the WRAPPER SPAN (not .announce__msg), so the
   scrolling text is cut off before it can slide over the "New" badge. */
@media (max-width: 640px) {
  .announce__in { padding: 7px 12px; gap: 10px; }
  .announce__msg { flex: 1; min-width: 0; }
  .announce__msg > span:last-child {
    flex: 1; overflow: hidden; text-overflow: clip;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  }
  .announce__track { display: inline-flex; width: max-content; animation: announce-scroll 22s linear infinite; }
  .announce__track > span { padding-right: 40px; white-space: nowrap; }
  .announce__track > span + span { display: inline; }
  .announce__cta { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .announce::after,
  .announce__new,
  .announce__cta svg,
  .announce__cta .announce__arrow,
  .announce__track { animation: none; }
  .announce__track { width: auto; }
  .announce__track > span:nth-child(2) { display: none; }
  @media (max-width: 640px) {
    .announce__track > span { overflow: hidden; text-overflow: ellipsis; padding-right: 0; }
  }
}

/* ---------------------------------------------- ad strip + panels */
.ad-strip { background: var(--slate-50); border-bottom: 1px solid var(--slate-200); }
.ad-strip__in {
  max-width: var(--maxw-site); margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 16px;
}
.ad-strip__label {
  font-size: 10px; text-transform: uppercase; letter-spacing: .15em;
  color: var(--slate-500); font-weight: 600; white-space: nowrap;
}
.ad-panel {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  border: 1px dashed #c9d3e0; border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--slate-500); font-size: 14px; text-align: center; padding: 10px;
}
.ad-panel small { font-size: 10px; color: var(--slate-400); margin-top: 4px; }
.ad-panel .ad-kicker {
  font-size: 10px; text-transform: uppercase; letter-spacing: .2em;
  font-weight: 600; color: var(--slate-400); margin-bottom: 6px;
}
.ad-panel--leader { flex: 1; height: 68px; }
.ad-panel--rect { height: 256px; }
@media (max-width: 640px) { .ad-strip { display: none; } }

/* ---------------------------------------------- sticky header */
.site-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow .2s ease;
}
.site-nav.scrolled { box-shadow: 0 4px 16px rgba(10, 27, 59, .08); }
.site-nav__in {
  max-width: var(--maxw-site); margin: 0 auto; padding: 0 16px;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff; font-weight: 800; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(10, 27, 59, .3);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.brand__text b { color: var(--navy-900); font-weight: 800; font-size: 17px; font-family: var(--font-display); }
.brand__text small { color: var(--slate-500); font-size: 10px; font-weight: 500; letter-spacing: .02em; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 8px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--navy-800);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-link:hover { background: var(--navy-50); color: var(--navy-600); }
.nav-link.active { color: var(--navy-900); font-weight: 700; background: var(--navy-50); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-icon {
  width: 38px; height: 38px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--slate-600); font-size: 17px;
}
.nav-icon:hover { background: var(--slate-100); }
.nav-toggle { display: none; font-size: 22px; color: var(--navy-800); padding: 6px 10px; }

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 520px) {
  .nav-right .c-btn { display: none; }
  .brand__text small { display: none; }
}

/* mobile menu */
.mobile-menu {
  display: none; flex-direction: column; gap: 2px;
  background: #fff; border-top: 1px solid var(--slate-200); padding: 12px 16px 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 11px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--navy-800);
}
.mobile-menu a:hover { background: var(--navy-50); }
.mobile-menu .c-btn { margin-top: 8px; justify-content: center; }

/* ---------------------------------------------- buttons */
.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 700; line-height: 1.3;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.c-btn--primary { background: var(--amber-400); color: var(--navy-950) !important; box-shadow: 0 2px 8px rgba(245, 179, 1, .35); }
.c-btn--primary:hover { background: var(--amber-500); }
.c-btn--navy { background: var(--navy-900); color: #fff; }
.c-btn--navy:hover { background: var(--navy-800); }
.c-btn--outline { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: #fff; backdrop-filter: blur(4px); }
.c-btn--outline:hover { background: rgba(255, 255, 255, .16); }
.c-btn--ghost { color: var(--navy-700); }
.c-btn--ghost:hover { color: var(--navy-900); background: var(--navy-50); }
.c-btn--white { background: #fff; color: var(--navy-900); }
.c-btn--white:hover { background: var(--navy-50); }
.c-btn--lg { padding: 14px 28px; font-size: 15px; }

/* ---------------------------------------------- hero (dark navy) */
.mkt-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-950) 100%);
}
.mkt-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.mkt-hero__in {
  position: relative; max-width: var(--maxw-site); margin: 0 auto; padding: 72px 16px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.mkt-hero .hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 179, 1, .1) !important; border: 1px solid rgba(245, 179, 1, .3);
  color: var(--amber-400) !important; font-size: 12px; font-weight: 700; letter-spacing: .02em;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 24px;
}
.mkt-hero h1 {
  color: #fff; font-size: clamp(34px, 5vw, 58px); font-weight: 800; line-height: 1.1;
  margin-bottom: 22px;
}
.mkt-hero .sub { color: var(--slate-300); font-size: 19px; line-height: 1.65; max-width: 56ch; margin-bottom: 30px; }
.mkt-hero .sub b { color: #fff; }
.mkt-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.mkt-hero__trust { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--slate-400); }
.mkt-hero__trust div { display: flex; align-items: center; gap: 8px; }
.mkt-hero__trust b { color: #fff; }
.mkt-hero__trust .tick { color: var(--amber-400); font-weight: 800; }

/* hero visual card */
.mkt-hero__art { position: relative; }
.mkt-hero__card, .hero-card {
  background: #fff; border-radius: 14px; padding: 26px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
  color: var(--slate-700);
  transform: rotate(1deg); transition: transform .3s ease;
}
.mkt-hero__card:hover, .hero-card:hover { transform: rotate(0deg); }
.hero-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.hero-card__id { display: flex; align-items: center; gap: 10px; }
.hero-card__logo {
  width: 40px; height: 40px; border-radius: 10px; background: var(--navy-900); color: #fff;
  font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-card__id b { display: block; color: var(--navy-900); font-size: 14px; font-family: var(--font-display); }
.hero-card__id small { color: var(--slate-500); font-size: 12px; }
.hero-card__lesson {
  font-size: 11px; font-weight: 800; color: var(--amber-600);
  background: #fdf3d8; padding: 4px 8px; border-radius: 6px; white-space: nowrap;
}
.hero-card__formula { background: var(--slate-50); border-radius: 10px; padding: 18px; margin-bottom: 16px; }
.hero-card__formula .lbl { font-size: 12px; font-weight: 600; color: var(--slate-600); margin-bottom: 8px; }
.hero-card__formula code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px; color: var(--navy-900); line-height: 1.7; display: block; white-space: pre-line;
}
.hero-card__formula code .dim { color: var(--slate-500); }
.hero-card__meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--slate-600); }
.hero-card__meta .rate b { color: var(--navy-900); }
.hero-card__meta .star { color: var(--amber-500); }
.hero-card__btn {
  display: block; width: 100%; margin-top: 18px; text-align: center;
  background: var(--navy-900); color: #fff; font-weight: 600; font-size: 14px;
  padding: 12px; border-radius: 8px; transition: background .15s;
}
.hero-card__btn:hover { background: var(--navy-800); }
.hero-float {
  position: absolute; top: -14px; right: -10px;
  background: var(--amber-400); color: var(--navy-950);
  font-weight: 800; font-size: 12px; padding: 8px 16px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3); transform: rotate(6deg);
}

/* legacy hero-card inner stats (students page) */
.mkt-hero__card h4 { color: var(--navy-900); margin-bottom: 14px; font-size: 16px; }
.mkt-hero__stat { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-size: 13px; color: var(--slate-600); }
.mkt-hero__stat b { color: var(--navy-900); }
.mkt-hero__stat .n {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px;
  color: var(--navy-800);
}

@media (max-width: 980px) {
  .mkt-hero__in { grid-template-columns: 1fr; padding: 48px 16px; gap: 36px; }
  .hero-float { right: 4px; }
}

/* ---------------------------------------------- stats band */
.stats-band { background: var(--slate-50); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.stats-band__in { max-width: var(--maxw-site); margin: 0 auto; padding: 32px 16px; }
.stats-band__label {
  text-align: center; font-size: 13px; font-weight: 600; color: var(--slate-600);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 24px;
}
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-band__grid > div { text-align: center; }
.stats-band__grid b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 3.4vw, 38px); color: var(--navy-900); margin-bottom: 2px;
}
.stats-band__grid span { font-size: 14px; color: var(--slate-600); font-weight: 500; }
@media (max-width: 640px) { .stats-band__grid { grid-template-columns: repeat(2, 1fr); } }

/* legacy dark band (kept for compatibility) */
.band { background: var(--navy-950); color: #fff; }
.band__in {
  max-width: var(--maxw-site); margin: 0 auto; padding: 40px 16px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.band__stat b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--amber-400); }
.band__stat span { font-size: 13px; color: var(--slate-400); }
@media (max-width: 640px) { .band__in { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------- sections */
.mkt-sec { max-width: var(--maxw-site); margin: 0 auto; padding: 68px 16px; }
.mkt-sec--tight { padding-top: 0; }
.mkt-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.mkt-sec__head > div { min-width: 0; }
.mkt-sec__head h2 { font-size: clamp(22px, 3.4vw, 38px); font-weight: 800; color: var(--navy-900); margin-bottom: 10px; line-height: 1.15; overflow-wrap: break-word; }
.mkt-sec__head p { color: var(--slate-600); font-size: 17px; line-height: 1.6; max-width: 62ch; }
.mkt-sec__head--center { flex-direction: column; align-items: center; text-align: center; }
.mkt-sec__head--center p { margin: 0 auto; }
/* Below 860px the trailing link cannot sit beside the heading — it was forcing
   the document to 388px on a 375px viewport (horizontal scroll + a squeezed,
   one-word-per-line heading). Stack it instead. */
@media (max-width: 860px) {
  .mkt-sec__head { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 28px; }
  .mkt-sec__head .c-btn { align-self: flex-start; }
  .mkt-sec__head--center { align-items: center; }
  .mkt-sec__head--center .c-btn { align-self: center; }
  .mkt-sec__head p { font-size: 15.5px; }
}

/* tabs */
.tab-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 38px; }
.tab {
  padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600;
  background: var(--slate-100); color: var(--slate-700);
  border: 1px solid transparent; transition: background .15s, color .15s;
}
.tab:hover { background: var(--slate-200); }
.tab.active { background: var(--navy-900); color: #fff; }
.tab--card { background: #fff; border-color: var(--slate-200); }

/* pills (topic quick links) */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: var(--navy-50); color: var(--navy-800); border: 1px solid var(--navy-100);
  transition: background .15s;
}
.pill:hover { background: var(--navy-100); }

/* ---------------------------------------------- course cards */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .course-grid { grid-template-columns: 1fr; } }

.course-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--slate-200); border-radius: 12px; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(10, 27, 59, .25); border-color: var(--navy-300); }
.course-card__top {
  height: 150px; display: flex; align-items: center; justify-content: center;
  position: relative; color: #fff; font-size: 44px;
}
.course-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 255, 255, .2); backdrop-filter: blur(4px);
  color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 6px;
}
.course-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.course-card__body .kick {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--slate-500); margin-bottom: 8px;
}
.course-card__body h3 { font-size: 17.5px; font-weight: 700; color: var(--navy-900); line-height: 1.35; margin-bottom: 8px; }
.course-card__body p { font-size: 14px; color: var(--slate-600); line-height: 1.6; flex: 1; }
.course-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 2px; }
.course-card__tags span {
  font-size: 11.5px; font-weight: 600; color: var(--navy-700);
  background: var(--navy-50); padding: 4px 10px; border-radius: 6px;
}
.course-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--slate-100);
  font-size: 13px; color: var(--slate-600);
}
.course-card__meta .star { color: var(--amber-500); font-weight: 700; }
.course-card__foot .free {
  color: var(--amber-600); background: #fdf3d8;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 6px;
}

/* ---------------------------------------------- certification cards */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cert-grid { grid-template-columns: 1fr; } }

.cert-card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(10, 27, 59, .25); border-color: var(--navy-300); }
.cert-card__banner {
  height: 172px; position: relative; color: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.cert-card__banner .k { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.65); letter-spacing: .1em; margin-bottom: 6px; }
.cert-card__banner .code { font-family: var(--font-display); font-size: 26px; font-weight: 800; }
.cert-card__verified {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
  font-size: 9.5px; font-weight: 800; letter-spacing: .08em; padding: 4px 8px; border-radius: 5px;
}
.cert-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cert-card__body h3 { font-size: 16px; font-weight: 700; color: var(--navy-900); line-height: 1.35; }
.cert-card__body p { font-size: 13.5px; color: var(--slate-600); line-height: 1.6; flex: 1; }
.cert-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cert-card__tags span { font-size: 11.5px; font-weight: 600; color: var(--slate-700); background: var(--slate-100); padding: 4px 9px; border-radius: 5px; }

/* gradient banner palettes */
.grad-amber { background: linear-gradient(135deg, #f5b301, #c78800); }
.grad-navy-mid { background: linear-gradient(135deg, var(--navy-500), var(--navy-700)); }
.grad-navy-deep { background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); }
.grad-rose { background: linear-gradient(135deg, #f43f5e, #be123c); }
.grad-teal { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.grad-violet { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

/* ---------------------------------------------- class features (split) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }
.split h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--navy-900); margin-bottom: 12px; }
.split .tagline { color: var(--slate-600); font-size: 17px; line-height: 1.6; margin-bottom: 24px; }

.check-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.check-item { display: flex; gap: 12px; }
.check-item .ck {
  width: 32px; height: 32px; border-radius: 999px; flex-shrink: 0;
  background: rgba(245, 179, 1, .18); color: var(--amber-600);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.check-item b { display: block; color: var(--navy-900); font-family: var(--font-display); font-size: 15.5px; margin-bottom: 3px; }
.check-item span { font-size: 14px; color: var(--slate-600); line-height: 1.55; }

.chapters-panel { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 24px; }
.chapters-panel h4 { font-size: 17px; font-weight: 700; color: var(--navy-900); margin-bottom: 14px; }
.chapters-panel a.chp {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px;
  transition: background .15s;
}
.chapters-panel a.chp:hover { background: var(--slate-50); }
.chapters-panel .chp .n {
  width: 28px; height: 28px; border-radius: 999px; flex-shrink: 0;
  background: var(--navy-100); color: var(--navy-700);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}
.chapters-panel .chp span { font-size: 14px; color: var(--navy-900); font-weight: 500; }

/* ---------------------------------------------- testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 12px;
  padding: 26px; display: flex; flex-direction: column;
}
.testi-card .stars { color: var(--amber-400); font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }
.testi-card blockquote { color: var(--slate-700); line-height: 1.7; font-size: 15px; flex: 1; margin: 0 0 22px; }
.testi-card .who { display: flex; align-items: center; gap: 12px; }
.testi-card .who .av {
  width: 46px; height: 46px; border-radius: 999px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy-400), var(--navy-600));
  color: #fff; font-weight: 800; font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center;
}
.testi-card .who b { display: block; font-family: var(--font-display); color: var(--navy-900); font-size: 14px; }
.testi-card .who small { display: block; color: var(--slate-600); font-size: 12px; }
.testi-card .who .score { color: var(--amber-600); font-size: 12px; font-weight: 700; margin-top: 2px; }

/* ---------------------------------------------- dark platform section */
.dark-sec { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; }
.dark-sec::before {
  content: ""; position: absolute; inset: 0; opacity: .2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.dark-sec__in { position: relative; max-width: var(--maxw-site); margin: 0 auto; padding: 72px 16px; }
.dark-sec h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 12px; line-height: 1.2; color: #fff; }
.dark-sec .sub { color: var(--slate-300); font-size: 17px; max-width: 62ch; margin-bottom: 44px; }
.dark-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .dark-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .dark-grid { grid-template-columns: 1fr; } }
.dark-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 24px; backdrop-filter: blur(4px);
  transition: background .2s;
}
.dark-card:hover { background: rgba(255,255,255,.1); }
.dark-card .ic {
  width: 48px; height: 48px; border-radius: 10px; font-size: 22px;
  background: rgba(245, 179, 1, .12);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.dark-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.dark-card p { font-size: 14px; color: var(--slate-300); line-height: 1.65; }

/* ---------------------------------------------- teachers / avatars */
.teachers-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
@media (max-width: 1100px) { .teachers-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .teachers-grid { grid-template-columns: repeat(2, 1fr); } }
.teacher { text-align: center; }
.teacher .av {
  width: 104px; height: 104px; margin: 0 auto 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--navy-200), var(--navy-400));
  display: flex; align-items: center; justify-content: center; font-size: 44px;
}
.teacher b { display: block; font-family: var(--font-display); color: var(--navy-900); font-size: 14px; }
.teacher small { color: var(--slate-600); font-size: 12px; margin-top: 3px; display: block; }

/* ---------------------------------------------- feature / careers grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 24px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(10, 27, 59, .25); border-color: var(--navy-300); }
.feature .ic {
  width: 48px; height: 48px; border-radius: 10px; font-size: 22px;
  background: var(--navy-100); color: var(--navy-700);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature h3 { font-size: 17px; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--slate-600); line-height: 1.65; }

/* ---------------------------------------------- partner / blog teaser cards */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .partner-grid { grid-template-columns: 1fr; } }
.partner-card {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  border: 1px dashed #c9d3e0; border-radius: 12px; padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.partner-card--solid { background: #fff; border: 1px solid var(--slate-200); }
.partner-card .top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.partner-card .kick { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--amber-600); }
.partner-card .badge { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--slate-400); }
.partner-card h4 { font-size: 16.5px; font-weight: 700; color: var(--navy-900); line-height: 1.4; margin-bottom: 8px; }
.partner-card p { font-size: 14px; color: var(--slate-600); line-height: 1.6; }
.partner-card .foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--slate-200);
  font-size: 12.5px;
}
.partner-card .foot .brand-name { font-weight: 700; color: var(--slate-700); }
.partner-card .foot .more { color: var(--amber-600); font-weight: 700; }
.partner-card:hover .foot .more { text-decoration: underline; }

/* ---------------------------------------------- sources strip */
.media-strip { background: var(--slate-50); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.media-strip__in { max-width: var(--maxw-site); margin: 0 auto; padding: 44px 16px; }
.media-strip__label {
  text-align: center; font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .2em; color: var(--slate-500); margin-bottom: 30px;
}
.media-strip__grid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 20px; align-items: center;
}
@media (max-width: 980px) { .media-strip__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .media-strip__grid { grid-template-columns: repeat(2, 1fr); } }
.media-strip__grid div {
  text-align: center; color: var(--slate-500);
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
}

/* ---------------------------------------------- steps (students page) */
.steps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .steps-3 { grid-template-columns: 1fr; } }
.step-c { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 26px; }
.step-c .num {
  width: 44px; height: 44px; border-radius: 999px; margin-bottom: 16px;
  background: var(--navy-900); color: var(--amber-400);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
}
.step-c h3 { font-size: 17px; color: var(--navy-900); margin-bottom: 8px; }
.step-c p { font-size: 14px; color: var(--slate-600); line-height: 1.65; }

/* ---------------------------------------------- CTA band */
.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-950) 100%);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-band__in { position: relative; max-width: 860px; margin: 0 auto; padding: 84px 16px; }
.cta-band h2 { font-size: clamp(28px, 4.4vw, 48px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; color: #fff; }
.cta-band p { color: var(--slate-300); font-size: 18px; line-height: 1.65; margin-bottom: 36px; }

/* ---------------------------------------------- page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-950) 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero__in { position: relative; max-width: var(--maxw-site); margin: 0 auto; padding: 56px 16px; }
.page-hero .hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 179, 1, .1) !important; border: 1px solid rgba(245, 179, 1, .3);
  color: var(--amber-400) !important; font-size: 12px; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.page-hero .sub { color: var(--slate-300); font-size: 17.5px; line-height: 1.65; max-width: 68ch; }
.page-hero .sub b { color: #fff; }
.page-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---------------------------------------------- blog */
.blog-featured {
  display: grid; grid-template-columns: 1.1fr .9fr;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 14px; overflow: hidden;
  margin-bottom: 36px;
  transition: box-shadow .22s ease, border-color .22s ease;
}
.blog-featured:hover { box-shadow: 0 18px 40px -18px rgba(10, 27, 59, .25); border-color: var(--navy-300); }
@media (max-width: 860px) { .blog-featured { grid-template-columns: 1fr; } }
.blog-featured__art {
  min-height: 240px; display: flex; align-items: center; justify-content: center;
  font-size: 72px; color: #fff;
}
.blog-featured__body { padding: 32px; display: flex; flex-direction: column; }
.blog-featured__body .kick { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--amber-600); margin-bottom: 12px; }
.blog-featured__body h2 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; color: var(--navy-900); line-height: 1.3; margin-bottom: 12px; }
.blog-featured__body p { font-size: 15px; color: var(--slate-600); line-height: 1.65; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--slate-500); margin-top: 18px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(10, 27, 59, .25); border-color: var(--navy-300); }
.blog-card__art { height: 130px; display: flex; align-items: center; justify-content: center; font-size: 46px; color: #fff; }
.blog-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.blog-card__body .kick { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--amber-600); margin-bottom: 10px; }
.blog-card__body h3 { font-size: 16.5px; font-weight: 700; color: var(--navy-900); line-height: 1.4; margin-bottom: 8px; }
.blog-card__body p { font-size: 13.5px; color: var(--slate-600); line-height: 1.6; flex: 1; }

/* blog post (article) */
.post { max-width: 760px; margin: 0 auto; padding: 48px 16px 24px; }
.post .kick { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--amber-600); margin-bottom: 14px; }
.post h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--navy-900); line-height: 1.2; margin-bottom: 14px; }
.post .post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--slate-500); padding-bottom: 22px; margin-bottom: 28px; border-bottom: 1px solid var(--slate-200); }
.post h2 { font-size: 22px; font-weight: 800; color: var(--navy-900); margin: 34px 0 12px; line-height: 1.3; }
.post p { font-size: 16px; color: var(--slate-700); line-height: 1.75; margin-bottom: 16px; }
.post ul { margin: 0 0 18px 22px; }
.post li { font-size: 15.5px; color: var(--slate-700); line-height: 1.7; margin-bottom: 8px; }
.post .post-tip {
  background: var(--navy-50); border-left: 4px solid var(--amber-400);
  border-radius: 0 10px 10px 0; padding: 16px 18px; margin: 22px 0;
  font-size: 15px; color: var(--navy-800); line-height: 1.65;
}
.post .post-tip b { color: var(--navy-900); }

/* ---------------------------------------------- footer */
.site-footer { background: var(--navy-950); color: var(--slate-300); }

.nl-band { border-bottom: 1px solid rgba(255,255,255,.1); }
.nl-band__in {
  max-width: var(--maxw-site); margin: 0 auto; padding: 48px 16px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center;
}
@media (max-width: 860px) { .nl-band__in { grid-template-columns: 1fr; } }
.nl-band h3 { color: #fff; font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.nl-band p { color: var(--slate-400); font-size: 14.5px; line-height: 1.6; max-width: 52ch; }
.nl-band__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .nl-band__actions { justify-content: flex-start; } }

.site-footer__in {
  max-width: var(--maxw-site); margin: 0 auto; padding: 48px 16px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px;
}
@media (max-width: 980px) { .site-footer__in { grid-template-columns: 1fr 1fr; } }
.site-footer__brand .brand__mark { background: linear-gradient(135deg, var(--amber-400), var(--amber-600)); color: var(--navy-950); }
.site-footer__brand .brand b { color: #fff; font-size: 18px; font-family: var(--font-display); }
.site-footer__brand p { font-size: 13.5px; color: var(--slate-400); line-height: 1.7; margin-top: 14px; }
.site-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer__social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.06); color: var(--slate-300);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.site-footer__social a:hover { background: var(--amber-400); color: var(--navy-950); }
.site-footer__in h5 {
  color: #fff; font-family: var(--font-display); font-size: 13.5px; font-weight: 600;
  margin-bottom: 16px;
}
.site-footer__in a { display: block; font-size: 13.5px; color: var(--slate-400); padding: 4.5px 0; transition: color .15s; }
.site-footer__in a:hover { color: var(--amber-400); }
.site-footer__in .brand { display: inline-flex; }

.site-footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bar-in {
  max-width: var(--maxw-site); margin: 0 auto; padding: 22px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: var(--slate-500);
}
.site-footer__bar-in .links { display: flex; gap: 18px; }
.site-footer__bar-in .links a:hover { color: var(--slate-300); }

/* ============================================================
   Overrides for inner app pages (styles.css chrome)
   ============================================================ */

/* page-title bar sits under the sticky site nav */
.topbar {
  position: sticky; top: 64px; z-index: 40;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: none;
}
.topbar__title { color: var(--navy-900); font-weight: 800; }
.topbar__title small { color: var(--slate-500); }

/* inner-page heroes (labs hub, about) → navy gradient like the design */
.page .hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-950) 100%) !important;
  position: relative; overflow: hidden;
}
.page .hero::after {
  content: ""; position: absolute; inset: 0; opacity: .25; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ============================================================
   Navbar v2 — icon nav links, per-item dropdown menus,
   inline search bar, Log In + Start Free (CFI-style).
   ============================================================ */

.svgi { display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }

.nav-item { position: relative; }
.nav-item > .nav-link { display: inline-flex; align-items: center; gap: 7px; }
.nav-link .svgi { color: var(--navy-500); transition: color .15s; }
.nav-link:hover .svgi, .nav-link.active .svgi { color: var(--amber-600); }
.nav-link__chev { color: var(--slate-400) !important; transition: transform .2s ease; margin-left: -2px; }
.nav-item:hover .nav-link__chev, .nav-item:focus-within .nav-link__chev { transform: rotate(180deg); }

/* dropdown panel */
.nav-drop {
  position: absolute; top: calc(100% + 2px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 308px; padding: 10px;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 14px;
  box-shadow: 0 24px 54px -18px rgba(10, 27, 59, .3), 0 4px 14px rgba(10, 27, 59, .08);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 70;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-drop::before { /* hover bridge so the panel doesn't flicker */
  content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 12px;
}
.nav-drop__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px; transition: background .14s;
}
.nav-drop__item:hover { background: var(--navy-50); }
.nav-drop__ic {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-100); color: var(--navy-700);
  transition: background .14s, color .14s;
}
.nav-drop__item:hover .nav-drop__ic { background: var(--navy-900); color: var(--amber-400); }
.nav-drop__item.hot .nav-drop__ic { background: var(--amber-400); color: var(--navy-950); }
.nav-drop__tx { display: flex; flex-direction: column; min-width: 0; }
.nav-drop__tx b { font-size: 13.5px; font-weight: 700; color: var(--navy-900); font-family: var(--font-display); white-space: nowrap; }
.nav-drop__tx small { font-size: 11.5px; color: var(--slate-500); margin-top: 1px; white-space: nowrap; }
.nav-drop__go { margin-left: auto; color: var(--slate-300); transition: color .14s, transform .14s; }
.nav-drop__item:hover .nav-drop__go { color: var(--amber-600); transform: translateX(2px); }

/* inline search bar (CFI style) */
.nav-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--slate-100); border: 1px solid var(--slate-200);
  border-radius: 10px; padding: 8px 12px; width: 170px;
  color: var(--slate-500);
  transition: width .25s ease, background .15s, border-color .15s, box-shadow .15s;
}
.nav-search:focus-within {
  width: 230px; background: #fff; border-color: var(--navy-300);
  box-shadow: 0 0 0 3px var(--navy-50);
}
.nav-search input {
  border: 0; outline: 0; background: transparent; width: 100%;
  font-size: 13.5px; color: var(--navy-900); font-family: var(--font-sans);
}
.nav-search input::placeholder { color: var(--slate-400); }
.js-searchicon { display: none; }

/* Log In + Start Free */
.nav-login {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--navy-800);
  padding: 8px 10px; border-radius: 8px; white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-login:hover { background: var(--navy-50); color: var(--navy-900); }
.c-btn--startfree {
  background: #fff; border: 1.5px solid var(--navy-800); color: var(--navy-900) !important;
  padding: 8px 18px;
}
.c-btn--startfree:hover { background: var(--navy-900); color: #fff !important; }

@media (max-width: 1260px) { .nav-search { width: 120px; } .nav-search:focus-within { width: 180px; } }
@media (max-width: 1150px) {
  .nav-search { display: none; }
  .js-searchicon { display: inline-flex; }
}
@media (max-width: 1023px) {
  .nav-login { display: none; }
  .js-searchicon { display: none; }
}
@media (max-width: 520px) { .nav-right .c-btn--startfree { display: none; } }

/* mobile menu v2 — accordion groups */
.mobile-menu { max-height: calc(100dvh - 64px); overflow-y: auto; }
.nav-search--mobile { display: flex !important; width: 100%; margin-bottom: 10px; }
.mm-group { border-bottom: 1px solid var(--slate-100); }
.mm-group__head {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 13px 12px; font-size: 14.5px; font-weight: 600; color: var(--navy-900);
  background: none; text-align: left;
}
.mm-group__head .svgi:first-child { color: var(--amber-600); }
.mm-chev { margin-left: auto; color: var(--slate-400); transition: transform .2s; }
.mm-group.open .mm-chev { transform: rotate(180deg); }
.mm-group__body { display: none; padding: 2px 6px 10px; }
.mm-group.open .mm-group__body { display: flex; flex-direction: column; gap: 1px; }
.mm-group__body a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; font-size: 13.5px; color: var(--slate-600); border-radius: 8px;
}
.mm-group__body a .svgi { color: var(--navy-500); }
.mm-group__body a:hover { background: var(--navy-50); color: var(--navy-900); }
.mm-group__body .mm-main { font-weight: 700; color: var(--navy-800); }
.mm-flat {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 12px; font-size: 14.5px; font-weight: 600; color: var(--navy-900);
}
.mm-flat .svgi { color: var(--amber-600); }
.mm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mm-actions .c-btn { justify-content: center; }

/* ============================================================
   Home — India's Economic Blueprint showcase band
   ============================================================ */
.home-bp {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(90% 130% at 85% 20%, rgba(103, 232, 249, .12), transparent 55%),
    linear-gradient(135deg, #060f24 0%, var(--navy-900) 60%, #060f24 100%);
}
.home-bp::before {
  content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background-image:
    linear-gradient(rgba(103, 232, 249, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, .14) 1px, transparent 1px);
  background-size: 44px 44px;
}
.home-bp__in {
  position: relative; max-width: var(--maxw-site); margin: 0 auto; padding: 64px 16px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center;
}
.home-bp .hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(103, 232, 249, .1) !important; border: 1px solid rgba(103, 232, 249, .35);
  color: #67e8f9 !important; font-size: 11.5px; font-weight: 800; letter-spacing: .08em;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.home-bp h2 { color: #fff; font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; line-height: 1.12; margin-bottom: 16px; }
.home-bp p { color: var(--slate-300); font-size: 16.5px; line-height: 1.7; max-width: 58ch; margin-bottom: 22px; }
.home-bp__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.home-bp__chips .chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(103,232,249,.25);
  color: #e6f1ff; font-size: 12.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; transition: background .15s, border-color .15s;
}
.home-bp__chips .chip:hover { background: rgba(103,232,249,.14); border-color: #67e8f9; }
.home-bp__chips .chip--more { color: #67e8f9; }
.home-bp__map { display: flex; justify-content: center; }
.home-bp__map svg { width: min(100%, 360px); transition: transform .3s ease; border-radius: 16px; border: 1px solid rgba(103, 232, 249, .25); box-shadow: 0 0 40px rgba(103, 232, 249, .15); }
.home-bp__map:hover svg { transform: scale(1.03); }
.home-bp__map path {
  fill: rgba(103,232,249,.06); stroke: #67e8f9; stroke-width: 2; stroke-linejoin: round;
  filter: drop-shadow(0 0 22px rgba(103, 232, 249, .35));
}
.home-bp__map .nd { fill: var(--node, #f5b301); opacity: .9; }
@media (max-width: 900px) {
  .home-bp__in { grid-template-columns: 1fr; padding: 48px 16px; }
  .home-bp__map { order: -1; }
  .home-bp__map svg { width: min(64%, 250px); }
}
