/* ==========================================================
   CodeStory: new home nav + hero (index-new.html only)
   Every class is prefixed nh- so nothing collides with styles.css.
   Brand tokens come from styles.css :root; only --nh-muted is new
   (the old --ink-3 fails WCAG AA for small text).
   ========================================================== */
:root {
  --nh-muted: #697089;
  --nh-glass: rgba(251, 252, 254, .86);
  --nh-radius: 22px;
  --nh-gutter: clamp(18px, 4vw, 48px);
}

/* ---------- utilities ---------- */
.nh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nh-or { color: var(--accent); }
.nh-skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.nh-skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.nh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border: 1.5px solid transparent; border-radius: 12px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease-out), background-color .2s, border-color .2s, box-shadow .2s var(--ease-out);
}
.nh-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* navbar buttons: large, per owner request */
.nh-btn--nav { padding: 13px 24px; font-size: 17px; border-radius: 12px; }
.nh-btn--or { background: var(--accent); color: #fff; box-shadow: 0 12px 24px -12px rgba(207, 64, 32, .75); }
.nh-btn--or:hover { background: var(--accent-h); transform: translateY(-1px); box-shadow: 0 16px 28px -12px rgba(207, 64, 32, .85); }
.nh-btn--or:active { transform: translateY(0); box-shadow: 0 6px 14px -8px rgba(207, 64, 32, .8); }
.nh-btn--line { background: #fff; border-color: var(--line-2); color: var(--ink); }
.nh-btn--line:hover { border-color: var(--ink); }

/* ---------- top bar ---------- */
.nh-bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--nh-glass);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nh-bar.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(20, 26, 46, .35); }
.nh-bar-in {
  max-width: 1320px; margin: 0 auto; padding: 16px var(--nh-gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nh-brand { display: block; flex: none; border-radius: 8px; }
.nh-brand img { height: 46px; width: auto; }
.nh-brand:focus-visible, .nh-links a:focus-visible, .nh-menu a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.nh-links ul { display: flex; gap: 38px; list-style: none; }
.nh-links a {
  position: relative; padding: 6px 0; border-radius: 4px;
  /* dark ink + the display face: crisp, not washed-out grey */
  font-family: var(--f-display); font-size: 18.5px; font-weight: 500; letter-spacing: -.01em;
  color: var(--ink); transition: color .2s;
}
.nh-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.nh-links a:hover { color: var(--accent); }
.nh-links a:hover::after { transform: scaleX(1); }
.nh-actions { display: flex; align-items: center; gap: 12px; }

.nh-burger { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; border-radius: 10px; color: var(--ink); }
.nh-burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nh-burger span:nth-child(1) { top: 15px; }
.nh-burger span:nth-child(2) { top: 21px; }
.nh-burger span:nth-child(3) { top: 27px; }
.nh-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nh-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nh-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nh-burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.nh-menu {
  position: fixed; left: 0; right: 0; top: 68px; bottom: 0; z-index: 49;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 12px var(--nh-gutter) 28px; overflow-y: auto;
  background: var(--bg-dark); color: #fff;
}
.nh-menu[hidden] { display: none; }
.nh-menu ul { list-style: none; }
.nh-menu li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nh-menu li a { display: block; padding: 18px 0; font-family: var(--f-display); font-weight: 600; font-size: 22px; }
.nh-menu small { display: block; margin-top: 2px; font-family: var(--f-sans); font-weight: 400; font-size: 13.5px; color: var(--on-dark-2); }
.nh-menu .nh-btn { width: 100%; padding: 16px; }

/* ---------- hero ---------- */
.nh-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
}
.nh-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 90% at 22% 40%, var(--bg) 45%, rgba(251, 252, 254, .55) 75%, transparent);
}
.nh-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 620px; height: 620px; right: -160px; top: -120px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(207, 64, 32, .10), transparent);
}
.nh-grid {
  max-width: 1320px; margin: 0 auto; padding: clamp(28px, 4vw, 52px) var(--nh-gutter) clamp(36px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-areas: "copy pick";
  column-gap: clamp(32px, 6vw, 96px); align-items: center;
}
.nh-copy { grid-area: copy; align-self: start; padding-top: 8px; }
.nh-pick { grid-area: pick; }

.nh-title {
  margin: 0 0 22px; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(48px, 6.6vw, 96px); line-height: .98; letter-spacing: -.045em; color: var(--ink);
}
.nh-sub { max-width: 40ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-2); }

/* big "Talk to a mentor" CTA: black, so it doesn't compete with the orange picker CTA */
.nh-cta { margin-top: 34px; }
.nh-btn--ink { background: var(--ink); color: #fff; box-shadow: 0 18px 32px -16px rgba(20, 26, 46, .65); }
.nh-btn--ink:hover { background: #0B0F1C; transform: translateY(-2px); box-shadow: 0 24px 36px -16px rgba(20, 26, 46, .7); }
.nh-btn--ink:active { transform: translateY(0); }
.nh-btn--xl { gap: 18px; padding: 14px 30px 14px 14px; border-radius: 18px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; }
.nh-btn-ico {
  flex: none; width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(207, 64, 32, .55); animation: nh-ping 2.4s infinite;
}
.nh-btn-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nh-btn--xl:hover .nh-btn-ico svg { animation: nh-ring .5s var(--ease-out); }
.nh-btn-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.nh-btn-txt small { margin-top: 6px; font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-tint2); }
.nh-btn-arr { margin-left: 6px; font-size: 22px; transition: transform .25s var(--ease-out); }
.nh-btn--xl:hover .nh-btn-arr { transform: translateX(5px); }

/* ---------- path picker ---------- */
/* The picker is its own stacking context (the entrance animation makes it one
   anyway), so the white face and the tilted back card are both pseudo-layers
   inside it: back card at -2, white face at -1, content on top. */
.nh-pick { position: relative; isolation: isolate; padding: 26px; }
.nh-pick::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #fff; border: 1px solid var(--line); border-radius: var(--nh-radius);
  box-shadow: var(--sh-3);
}
.nh-pick::before {
  content: ""; position: absolute; inset: 22px -16px -16px 22px; z-index: -2;
  background: var(--accent-tint); border: 1px solid var(--accent-tint2); border-radius: var(--nh-radius);
  transform: rotate(2.2deg);
}
.nh-pick fieldset { border: 0; min-width: 0; }
.nh-pick input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.nh-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 16px; background: var(--bg-alt); border-radius: 12px; }
.nh-seg label { position: relative; cursor: pointer; }
.nh-seg span {
  display: block; padding: 10px; border-radius: 9px; text-align: center;
  font-weight: 600; font-size: 14px; color: var(--ink-2);
  transition: background-color .25s var(--ease-out), color .25s, box-shadow .25s;
}
.nh-seg label:hover span { color: var(--ink); }
.nh-seg input:checked + span { background: var(--ink); color: #fff; box-shadow: var(--sh-2); }
.nh-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.nh-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nh-mode {
  position: relative; display: flex; flex-direction: column; cursor: pointer;
  padding: 16px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff;
  transition: border-color .25s, background-color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.nh-mode:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--sh-2); }
.nh-mode:has(input:checked) { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-tint), #fff 72%); }
.nh-mode:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.nh-mode::after {
  content: "✓"; position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff;
  display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--ease-back);
}
.nh-mode:has(input:checked)::after { opacity: 1; transform: scale(1); }
.nh-mode-k { display: flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.nh-live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(207, 64, 32, .5); animation: nh-ping 2s infinite; }
.nh-mode-h { margin: 6px 0 8px; font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.2; color: var(--ink); }
.nh-mode-d { min-height: 2.9em; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); transition: opacity .2s; }
.nh-mode-d.is-swapping { opacity: 0; }
.nh-mode-p { margin-top: 12px; font-size: 13px; color: var(--nh-muted); }
.nh-mode-p b { font-family: var(--f-display); font-size: 21px; color: var(--ink); }
/* "included in both": one custom icon per promise, in orange tiles */
.nh-incl {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 14px;
  list-style: none; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2);
}
.nh-incl li { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.nh-incl-ico {
  flex: none; width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-tint); border: 1px solid var(--accent-tint2); color: var(--ink);
  transition: background-color .25s var(--ease-out), border-color .25s, color .25s, transform .3s var(--ease-back);
}
.nh-incl-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nh-incl-ico .nh-accent { stroke: var(--accent); stroke-width: 2; }
.nh-incl-ico circle.nh-accent { fill: var(--accent-tint); }
.nh-incl li:hover .nh-incl-ico { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px) rotate(-4deg); }
.nh-incl li:hover .nh-incl-ico circle.nh-accent { fill: var(--ink); }

.nh-go { width: 100%; margin-top: 16px; padding: 16px 22px; font-size: 16px; }
.nh-go span[aria-hidden] { transition: transform .25s var(--ease-out); }
.nh-go:hover span[aria-hidden] { transform: translateX(4px); }
/* ---------- company strip ---------- */
.nh-strip {
  max-width: none; display: flex; align-items: center; gap: 12px 30px;
  padding: 18px var(--nh-gutter); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .78);
}
.nh-strip-k { flex: none; font-family: var(--f-mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--nh-muted); }
.nh-strip-list { display: flex; gap: 30px; list-style: none; overflow-x: auto; scrollbar-width: none; font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.nh-strip-list::-webkit-scrollbar { display: none; }
.nh-strip-n { flex: none; margin-left: auto; font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--accent); }
.nh-strip-n:hover { color: var(--accent-h); }
.nh-strip-n:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- entrance motion ---------- */
.nh-in { animation: nh-up .8s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 70ms + 60ms); }
@keyframes nh-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes nh-ring { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 50% { transform: rotate(12deg); } 75% { transform: rotate(-6deg); } }
@keyframes nh-ping { 0% { box-shadow: 0 0 0 0 rgba(207, 64, 32, .5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(207, 64, 32, 0); } }

/* ---------- responsive ---------- */
/* step the bar down on laptop widths so it never wraps */
@media (max-width: 1320px) {
  .nh-links ul { gap: 28px; }
  .nh-links a { font-size: 17px; }
  .nh-brand img { height: 42px; }
  .nh-btn--nav { padding: 12px 20px; font-size: 16px; }
}
@media (max-width: 1140px) {
  .nh-links ul { gap: 20px; }
  .nh-links a { font-size: 15.5px; }
  .nh-brand img { height: 38px; }
  .nh-btn--nav { padding: 10px 16px; font-size: 15px; }
}
/* below 1080px the large links no longer fit on one line: switch to the burger */
@media (max-width: 1080px) {
  .nh-links, .nh-hide-sm { display: none; }
  .nh-burger { display: block; }
  .nh-menu { top: 70px; }
}
@media (max-width: 960px) {
  .nh-bar-in { padding-top: 12px; padding-bottom: 12px; }
  .nh-brand img { height: 32px; }
  .nh-menu { top: 60px; }
  .nh-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "pick"; }
  .nh-pick { margin-top: 28px; max-width: 560px; }
  .nh-pick::before { inset: 16px -8px -10px 14px; }
}
@media (max-width: 560px) {
  .nh-pick { padding: 18px; }
  .nh-modes { gap: 10px; }
  .nh-mode { padding: 14px 12px; }
  .nh-mode-h { font-size: 16px; }
  .nh-incl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .nh-incl li { flex-direction: column; gap: 7px; text-align: center; font-size: 12.5px; line-height: 1.3; }
  .nh-btn--xl { width: 100%; justify-content: flex-start; }
  .nh-btn-arr { margin-left: auto; }
  .nh-strip { flex-wrap: wrap; row-gap: 8px; }
  .nh-strip-list { order: 3; flex-basis: 100%; gap: 22px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .nh-in, .nh-live, .nh-btn-ico, .nh-btn--xl:hover .nh-btn-ico svg { animation: none; }
  .nh-btn, .nh-mode, .nh-mode::after, .nh-incl-ico, .nh-burger span, .nh-links a::after { transition: none; }
}

/* ==========================================================
   Home sections below the hero: one type and spacing scale,
   from the Scaler / Coding Ninjas / 100x benchmark (2026-09-18).
   styles.css sets these with !important, so the overrides must too.
   Scoped to main.home-page; this file is only loaded by index-new.html.
   ========================================================== */
:root {
  --nh-h2: clamp(32px, 3.4vw, 48px);     /* one section-heading size */
  --nh-lede: clamp(16px, 1.3vw, 18px);   /* intro text under a heading */
  --nh-text: 16px;                       /* card and body text floor */
  --nh-section: clamp(64px, 7vw, 96px);  /* space above and below each section */
}
main.home-page .sec h2.d1,
main.home-page .sec h2.d2,
main.home-page .sec h2.d-mega,
main.home-page .twx .twx-title {
  font-size: var(--nh-h2) !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  letter-spacing: -.03em !important;
}
main.home-page .sec { padding: var(--nh-section) 0 !important; }
main.home-page .twx { padding: var(--nh-section) 0 !important; }
main.home-page .sec p.lead,
main.home-page .sec p.sub,
main.home-page #demo p { font-size: var(--nh-lede) !important; line-height: 1.6 !important; }
main.home-page .what-t,
main.home-page .scope-sub,
main.home-page .gap-tested,
main.home-page #trust p.desc,
main.home-page .tp-honest,
main.home-page #process p,
main.home-page .pp-foot,
main.home-page .tp-proof-copy { font-size: var(--nh-text) !important; line-height: 1.6; }
main.home-page .tw-text { font-size: 15px; }
main.home-page .rev-note { font-size: 14px; }

/* old section labels are removed in the build; drop the gap their headings kept */
main.home-page .sec h2 { margin-top: 0 !important; }

/* ==========================================================
   Section 2 "Five gaps": bento, benchmarked on Scaler / Coding
   Ninjas / 100x / Wondershare; spotlight + border glow and glass
   icons rebuilt from React Bits ideas in plain CSS/JS.
   ========================================================== */
.nh-why { background: var(--bg-alt); padding: var(--nh-section) 0; }
.nh-why-in { max-width: 1320px; margin: 0 auto; padding: 0 var(--nh-gutter); } /* same edges as nav and hero */
.nh-why-head { max-width: 820px; margin: 0 auto; text-align: center; }
.nh-why-title {
  font-family: var(--f-display); font-weight: 700; font-size: var(--nh-h2);
  line-height: 1.1; letter-spacing: -.03em; color: var(--ink); text-wrap: balance;
}
.nh-why-sub { margin: 16px auto 0; max-width: 60ch; font-size: var(--nh-lede); line-height: 1.6; color: var(--ink-2); }

.nh-bento { margin-top: 44px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.nh-tile {
  --mx: 50%; --my: 50%; --glow: 0;
  grid-column: span 4; position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px; padding: 32px;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.nh-span-3 { grid-column: span 3; } .nh-span-4 { grid-column: span 4; } .nh-span-5 { grid-column: span 5; } .nh-span-6 { grid-column: span 6; } .nh-span-7 { grid-column: span 7; }
.nh-tile--dark { background: var(--bg-dark); border-color: var(--bg-dark); color: var(--on-dark); }
.nh-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(20, 26, 46, .45); }
/* spotlight that follows the cursor */
.nh-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(207, 64, 32, .10), transparent 62%);
  opacity: var(--glow); transition: opacity .3s;
}
.nh-tile--dark::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(232, 100, 60, .22), transparent 62%); }
/* border glow: a ring masked to the 1.5px edge */
.nh-tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(207, 64, 32, .9), transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: var(--glow); transition: opacity .3s;
}

/* glass icon: tilted orange tile behind a frosted front tile */
.nh-gicon { position: relative; width: 60px; height: 60px; flex: none; margin-bottom: 6px; }
.nh-gicon-back {
  position: absolute; inset: 0; border-radius: 17px;
  background: linear-gradient(135deg, #EE7A50 0%, var(--accent) 55%, #9E2C16 100%);
  box-shadow: 0 10px 22px -10px rgba(207, 64, 32, .7);
  transform: rotate(14deg) translate(7px, -3px);
  transition: transform .45s var(--ease-back);
}
.nh-gicon-front {
  position: absolute; inset: 0; border-radius: 17px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 8px 18px -8px rgba(20, 26, 46, .28);
  color: var(--ink); transition: transform .45s var(--ease-back);
}
.nh-gicon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nh-gicon .a { stroke: var(--accent); stroke-width: 2.1; }
.nh-tile:hover .nh-gicon-back { transform: rotate(24deg) translate(10px, -5px); }
.nh-tile:hover .nh-gicon-front { transform: translate(-2px, 2px); }
.nh-tile--dark .nh-gicon-front { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); color: #fff; }
.nh-tile--dark .nh-gicon .a { stroke: #F6A283; }

/* the old way: readable, not faded */
.nh-was {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; border-radius: 14px; background: var(--bg-alt);
  font-size: 15px; line-height: 1.3; color: var(--ink-2);
}
.nh-was s { text-decoration-color: rgba(207, 64, 32, .6); text-decoration-thickness: 1.5px; }
.nh-was-x {
  width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line-2); color: var(--accent); font-size: 10px; font-weight: 700;
}
.nh-tile--dark .nh-was { background: rgba(255, 255, 255, .08); color: #D3D8E6; }
.nh-tile--dark .nh-was s { text-decoration-color: rgba(246, 162, 131, .75); }
.nh-tile--dark .nh-was-x { background: transparent; border-color: rgba(255, 255, 255, .3); color: #F6A283; }

.nh-tile h3 { font-family: var(--f-display); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.nh-tile-text { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.nh-tile--dark h3 { color: #fff; }
.nh-tile--dark .nh-tile-text { color: var(--on-dark-2); }
.nh-viz { margin-top: auto; padding-top: 12px; }

/* mini visuals */
.nh-story { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: var(--bg-alt); border-radius: 16px; padding: 18px 20px; }
.nh-plates { display: flex; flex-direction: column-reverse; gap: 5px; }
.nh-plates i { width: 76px; height: 13px; border-radius: 7px; background: #fff; border: 1.5px solid var(--line-2); transition: transform .45s var(--ease-back); }
.nh-plates i:last-child { background: var(--accent); border-color: var(--accent); }
.nh-tile:hover .nh-plates i:last-child { transform: translateY(-9px) rotate(-4deg); }
.nh-story-k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.nh-story p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.nh-story code { display: block; margin-top: 6px; font-family: var(--f-mono); font-size: 13px; color: var(--accent); }

.nh-chat { display: grid; gap: 10px; }
.nh-bub { max-width: 92%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.nh-bub--m { background: var(--bg-dark2); border: 1px solid #2A3150; color: var(--on-dark); border-bottom-left-radius: 6px; }
.nh-bub--m small { display: block; margin-bottom: 3px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #F6A283; }
.nh-bub--u { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }

.nh-term { display: grid; gap: 3px; background: var(--bg-dark); border-radius: 14px; padding: 16px 18px; font-family: var(--f-mono); font-size: 13px; line-height: 1.6; color: var(--on-dark); }
.nh-term b { color: #F6A283; font-weight: 500; }
.nh-term .c { color: var(--on-dark-2); }
.nh-term .ok { color: #7BD88F; }

.nh-big { font-family: var(--f-display); font-weight: 800; font-size: 52px; line-height: 1; letter-spacing: -.035em; color: var(--accent); font-variant-numeric: tabular-nums; }
.nh-big small { font-family: var(--f-sans); font-weight: 500; font-size: 16px; letter-spacing: 0; color: var(--ink-2); }
.nh-cos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.nh-cos li { padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line); font-family: var(--f-display); font-weight: 600; font-size: 13.5px; color: var(--ink); background: #fff; }
.nh-cos li:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }

.nh-cert { position: relative; border: 1px solid #EADFCB; background: #FFFCF7; border-radius: 14px; padding: 16px 18px; }
.nh-cert small { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--nh-muted); }
.nh-cert b { display: block; margin: 4px 0; font-family: var(--f-display); font-size: 17px; color: var(--ink); }
.nh-cert span { font-size: 13px; color: var(--ink-2); }
.nh-cert i { position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; text-align: center; font-style: normal; font-family: var(--f-mono); font-size: 8.5px; line-height: 1.1; color: var(--accent); }

/* live mock interview transcript */
.nh-transcript { background: #FFFCF7; border: 1px solid #EADFCB; border-radius: 16px; padding: 14px 16px; font-family: var(--f-mono); font-size: 13px; line-height: 1.55; }
.nh-tr-h { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--nh-muted); }
.nh-rec { color: var(--accent); animation: nh-blink 1.6s steps(2, start) infinite; }
.nh-tr-r { display: grid; grid-template-columns: 86px 1fr; gap: 10px; padding: 6px 0; color: var(--ink); }
.nh-tr-r em { font-style: normal; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--nh-muted); padding-top: 1px; }
.nh-tr-hl { background: var(--accent-tint); border-left: 3px solid var(--accent); margin-left: -16px; padding-left: 13px; border-radius: 0 8px 8px 0; }
.nh-tr-s { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; padding-top: 10px; border-top: 1px dashed #EADFCB; font-size: 12.5px; color: var(--ink-2); }
.nh-tr-s b { color: var(--ink); }
.nh-tr-next { color: var(--accent); }
@keyframes nh-blink { to { opacity: .25; } }

/* practice / assignment / project editor */
.nh-ide { background: var(--bg-dark); border-radius: 16px; overflow: hidden; font-family: var(--f-mono); font-size: 13px; color: var(--on-dark); }
.nh-ide-tabs { display: flex; gap: 4px; padding: 8px 10px 0; background: var(--bg-dark2); }
.nh-ide-tabs span { padding: 7px 12px; border-radius: 8px 8px 0 0; font-size: 12px; color: var(--on-dark-2); }
.nh-ide-tabs .on { background: var(--bg-dark); color: #fff; box-shadow: inset 0 2px 0 var(--accent); }
.nh-ide-code { display: grid; gap: 2px; padding: 14px 16px; line-height: 1.6; overflow-x: auto; white-space: nowrap; }
.nh-ide-code i { display: inline-block; width: 22px; font-style: normal; color: #4C5577; }
.nh-ide-code b { color: #F6A283; font-weight: 500; }
.nh-ide-run { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid #2A3150; font-size: 12.5px; color: var(--on-dark-2); }
.nh-ide-run .ok { color: #7BD88F; }

/* scroll reveal: only when JS is on, so content never hides without it */
.nh-js .nh-rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--rd, 0s); }
.nh-js .nh-rv.is-in { opacity: 1; transform: none; }

@media (max-width: 560px) {
  .nh-bento { gap: 14px; margin-top: 32px; }
  .nh-tile { padding: 24px; border-radius: 20px; }
  .nh-tile h3 { font-size: 21px; }
  .nh-gicon { width: 54px; height: 54px; }
  .nh-story { grid-template-columns: 1fr; gap: 14px; }
  .nh-big { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .nh-js .nh-rv { opacity: 1; transform: none; transition: none; }
  .nh-tile, .nh-gicon-back, .nh-gicon-front, .nh-plates i { transition: none; }
  .nh-rec { animation: none; }
  .nh-tile:hover { transform: none; }
}

/* ----- section 2, compact (owner: read it in two scrolls, not three) -----
   2 rows of 3 tiles (5/4/3, 4/5/3); icon and title share a line; smaller visuals. */
.nh-tile { padding: 24px; gap: 10px; }
.nh-tile-top { display: flex; align-items: center; gap: 14px; }
.nh-gicon { width: 48px; height: 48px; margin-bottom: 0; }
.nh-gicon-back, .nh-gicon-front { border-radius: 14px; }
.nh-gicon svg { width: 24px; height: 24px; }
.nh-tile h3 { font-size: 20px; line-height: 1.2; }
.nh-was { font-size: 15px; }
.nh-tile-text { font-size: 16px; line-height: 1.5; }
.nh-viz { padding-top: 6px; }
.nh-story { gap: 16px; padding: 14px 16px; border-radius: 14px; }
.nh-plates i { width: 58px; height: 11px; }
.nh-story p { font-size: 14.5px; }
.nh-story code { font-size: 12.5px; }
.nh-chat { gap: 8px; }
.nh-bub { padding: 9px 12px; font-size: 14px; }
.nh-big { font-size: 44px; }
.nh-cowise .nh-tile-text { margin-top: 4px; }
.nh-cos { margin-top: 10px; gap: 6px; }
.nh-cos li { padding: 6px 10px; font-size: 13px; }
.nh-transcript { padding: 12px 14px; font-size: 12.5px; }
.nh-tr-r { grid-template-columns: 80px 1fr; }
.nh-tr-hl { margin-left: -14px; padding-left: 11px; }
.nh-ide-code { padding: 10px 14px; }
.nh-ide-run { padding: 8px 14px; }
.nh-cert { padding: 12px 14px; }
.nh-cert b { font-size: 15px; }
.nh-cert { padding-right: 60px; }
.nh-cert i { width: 38px; height: 38px; right: 12px; top: 12px; translate: none; font-size: 7.5px; }
/* 3 across only when a tile is wide enough to keep every title and line on one line */
@media (max-width: 1279px) {
  .nh-bento .nh-tile { grid-column: span 6; }
}
/* phones and tablets: swipe the six tiles sideways (Coding Ninjas pattern), next tile peeks in */
@media (max-width: 900px) {
  .nh-bento {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--nh-gutter);
    margin: 32px calc(-1 * var(--nh-gutter)) 0; padding: 4px var(--nh-gutter) 10px;
    scrollbar-width: none;
  }
  .nh-bento::-webkit-scrollbar { display: none; }
  .nh-bento .nh-tile { flex: 0 0 min(86%, 420px); scroll-snap-align: start; }
  .nh-ide-code span { overflow: hidden; text-overflow: ellipsis; }
}

/* section 2: "click more" links (owner request) */
.nh-cos li.nh-cos-more { padding: 0; border: 0; background: none; }
.nh-cos-more a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px;
  border: 1.5px solid var(--accent); color: var(--accent); background: #fff;
  font-family: var(--f-display); font-weight: 600; font-size: 13px; transition: background-color .2s, color .2s;
}
.nh-cos-more a:hover, .nh-cos-more a:focus-visible { background: var(--accent); color: #fff; outline: none; }
.nh-tile-cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--accent);
  text-decoration: underline; text-decoration-color: var(--accent-tint2); text-underline-offset: 4px;
  transition: color .2s, text-decoration-color .2s;
}
.nh-tile-cta:hover, .nh-tile-cta:focus-visible { color: var(--accent-h); text-decoration-color: currentColor; outline: none; }
.nh-tile-cta span, .nh-cos-more a span { transition: transform .25s var(--ease-out); }
.nh-tile-cta:hover span, .nh-cos-more a:hover span { transform: translateX(3px); }

/* ==========================================================
   Section 3: "Four moves. One app." (owner picked option D, Coding Ninjas
   dark app pattern, without the window dots). One product window shows the
   four moves inside the same app; the week plays 01 → 04 once when seen.
   ========================================================== */
@property --nh-p { syntax: "<number>"; inherits: true; initial-value: 0; }
.nh-sys {
  --sys-bg: #0B0E1A; --sys-win: #131829; --sys-bar: #0F1322; --sys-row: #181E33; --sys-line: #262D45;
  --sys-soft: #99A0BA; --sys-text: #EEF0F7; --sys-ok: #7BD88F; --sys-or: #F6A283;
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--sys-bg); color: #fff; padding: var(--nh-section) 0;
}
.nh-sys::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 40%; width: 900px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(207, 64, 32, .32), transparent);
}
.nh-sys-in { max-width: 1320px; margin: 0 auto; padding: 0 var(--nh-gutter); }
.nh-sys-head { max-width: 860px; margin: 0 auto; text-align: center; }
.nh-sys-title {
  font-family: var(--f-display); font-weight: 700; font-size: var(--nh-h2);
  line-height: 1.1; letter-spacing: -.03em; color: #fff; text-wrap: balance;
}
.nh-sys-title .nh-or { white-space: nowrap; }
.nh-sys-sub { margin: 16px auto 0; max-width: 60ch; font-size: var(--nh-lede); line-height: 1.6; color: var(--sys-soft); }

/* the product window */
.nh-app {
  max-width: 1000px; margin: 44px auto 0; border-radius: 20px; overflow: hidden;
  background: var(--sys-win); border: 1px solid var(--sys-line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.nh-app-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px; background: var(--sys-bar); border-bottom: 1px solid var(--sys-line);
}
.nh-app-url { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12.5px; color: var(--sys-soft); }
.nh-app-url svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nh-app-tag {
  font-size: 12px; font-weight: 500; color: var(--sys-soft);
  padding: 3px 10px; border-radius: 99px; border: 1px dashed #3A4263;
}
.nh-app-body { display: grid; grid-template-columns: 200px minmax(0, 1fr) 240px; min-height: 290px; }

.nh-app-nav { display: grid; gap: 6px; align-content: start; padding: 16px; border-right: 1px solid var(--sys-line); }
.nh-app-move {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border-radius: 10px;
  font-family: var(--f-sans); font-size: 15px; font-weight: 500; color: var(--sys-soft); text-align: left;
  transition: background-color .25s, color .25s;
}
.nh-app-move b { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; color: #56608A; transition: color .25s; }
.nh-app-move:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.nh-app-move:focus-visible { outline: 2px solid var(--sys-or); outline-offset: 2px; }
.nh-app-move.is-on { background: rgba(207, 64, 32, .2); color: #fff; }
.nh-app-move.is-on b { color: var(--sys-or); }

.nh-app-main { padding: 20px 22px; }
.nh-app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.nh-app-top h3 { font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.3; color: #fff; }
.nh-app-week { flex: none; font-size: 12px; font-weight: 500; color: var(--sys-or); padding: 3px 10px; border-radius: 99px; background: rgba(207, 64, 32, .16); }
.nh-app-rows { list-style: none; display: grid; gap: 8px; }
.nh-app-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px 14px; border-radius: 10px; background: var(--sys-row); border: 1px solid transparent;
  font-size: 14.5px; color: var(--sys-text); transition: border-color .3s, background-color .3s, opacity .3s;
}
.nh-app-row em { flex: none; font-style: normal; font-size: 12.5px; font-weight: 500; color: #7C84A3; }
.nh-app-row.is-done em { color: var(--sys-ok); }
.nh-app-row:not(.is-done) { opacity: .7; }
.nh-app-row.is-now { border-color: rgba(207, 64, 32, .6); background: #1E2540; }

.nh-app-side { display: grid; gap: 14px; align-content: center; justify-items: center; padding: 20px; border-left: 1px solid var(--sys-line); text-align: center; }
.nh-ring {
  width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--accent) calc(var(--nh-p) * 1%), var(--sys-line) 0);
  transition: --nh-p .9s var(--ease-out);
}
.nh-ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--sys-win); }
.nh-ring div { position: relative; text-align: center; }
.nh-ring strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 34px; line-height: 1; color: #fff; }
.nh-ring span { font-size: 12px; color: var(--sys-soft); }
.nh-app-hint { font-size: 14px; line-height: 1.45; color: var(--sys-soft); }
.nh-app-hint b { font-weight: 600; color: var(--sys-or); }

/* two supporting points */
.nh-sys-feats { max-width: 1000px; margin: 20px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nh-sys-feat {
  display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; border-radius: 20px;
  background: var(--sys-win); border: 1px solid var(--sys-line);
}
.nh-sys-feat .nh-gicon { width: 48px; height: 48px; margin: 0; }
.nh-sys-feat .nh-gicon-back, .nh-sys-feat .nh-gicon-front { border-radius: 14px; }
.nh-sys-feat .nh-gicon svg { width: 24px; height: 24px; }
.nh-sys-feat:hover .nh-gicon-back { transform: rotate(24deg) translate(10px, -5px); }
.nh-sys-feat h3 { font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.25; color: #fff; }
.nh-sys-feat p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--sys-soft); }

@media (max-width: 900px) {
  .nh-app-body { grid-template-columns: 1fr; min-height: 0; }
  .nh-app-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 10px; border-right: 0; border-bottom: 1px solid var(--sys-line); }
  .nh-app-move { flex-direction: column; gap: 2px; padding: 8px 4px; font-size: 13.5px; text-align: center; }
  .nh-app-side { grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: left; border-left: 0; border-top: 1px solid var(--sys-line); padding: 16px 20px; }
  .nh-ring { width: 84px; height: 84px; }
  .nh-ring::before { inset: 8px; }
  .nh-ring strong { font-size: 24px; }
  .nh-ring span { font-size: 10.5px; }
}
@media (max-width: 720px) {
  .nh-sys-feats { grid-template-columns: 1fr; gap: 12px; }
  .nh-app { margin-top: 32px; border-radius: 16px; }
  .nh-app-main { padding: 16px; }
  .nh-app-top h3 { font-size: 16.5px; }
  .nh-app-row { padding: 10px 12px; font-size: 13.5px; gap: 10px; }
  .nh-app-row em { font-size: 12px; }
  .nh-sys-feat { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .nh-ring, .nh-app-row, .nh-app-move { transition: none; }
}

/* ==========================================================
   Section 4: "Never coded? No problem. Already code? Even better."
   Owner picked version B (from 100x "Know how to code?" + the Coding Ninjas
   audience switch). One switch swaps one panel; the route below shows both
   doors lead to the same path. Without JS both panels show, stacked.
   ========================================================== */
.nh-start { background: var(--bg); padding: var(--nh-section) 0; }
.nh-start-in { max-width: 1320px; margin: 0 auto; padding: 0 var(--nh-gutter); }
.nh-start-title {
  max-width: 900px; margin: 0 auto; text-align: center;
  font-family: var(--f-display); font-weight: 700; font-size: var(--nh-h2);
  line-height: 1.1; letter-spacing: -.03em; color: var(--ink); text-wrap: balance;
}
.nh-start-title .nh-or { display: block; }

/* the switch */
.nh-sw { display: none; }
.nh-js .nh-sw {
  display: flex; width: max-content; margin: 30px auto 0; padding: 6px; gap: 4px;
  border-radius: 16px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 26px -18px rgba(20, 26, 46, .4);
}
.nh-sw-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px;
  font-family: var(--f-display); font-weight: 600; font-size: 16px; color: var(--ink-2);
  transition: background-color .25s, color .25s;
}
.nh-sw-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nh-sw-btn .nh-sprout { width: 26px; height: 26px; stroke-width: 2; }
.nh-sw-btn .nh-sprout .lf { stroke: #F6A283; fill: var(--accent); }
.nh-sw-btn .nh-sprout .lf2 { stroke: #F6A283; fill: rgba(246, 162, 131, .35); }
.nh-sw-btn:hover { color: var(--ink); background: var(--bg-alt); }
.nh-sw-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nh-sw-btn.is-on { background: var(--ink); color: #fff; }
.nh-sw-btn.is-on svg { color: #F6A283; }
.nh-sw-btn.is-on .nh-sprout { color: #fff; }

/* the panel */
.nh-start-panel {
  display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; border-radius: 26px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -36px rgba(20, 26, 46, .45);
}
.nh-js .nh-start[data-mode="new"] [data-panel="code"],
.nh-js .nh-start[data-mode="code"] [data-panel="new"] { display: none; }
.nh-js .nh-start-panel { animation: nh-panel-in .4s var(--ease-out); }
@keyframes nh-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.nh-start-main { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.nh-start-main h3 { font-family: var(--f-display); font-weight: 700; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.nh-for { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.nh-for b { font-weight: 600; color: var(--ink); margin-right: 2px; }
.nh-for span { padding: 5px 10px; border-radius: 99px; background: var(--bg-alt); color: var(--ink); font-weight: 500; }
.nh-steps { list-style: none; display: grid; }
.nh-steps li { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding-bottom: 14px; }
.nh-steps li::after { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.nh-steps li:last-child { padding-bottom: 0; }
.nh-steps li:last-child::after { display: none; }
.nh-steps i {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-family: var(--f-display); font-weight: 600; font-size: 13.5px; background: var(--accent); color: #fff;
}
.nh-steps b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 16.5px; color: var(--ink); }
.nh-steps span { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.nh-start-go { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.nh-start-link {
  font-family: var(--f-display); font-weight: 600; font-size: 15.5px; color: var(--accent);
  text-decoration: underline; text-decoration-color: var(--accent-tint2); text-underline-offset: 4px;
}
.nh-start-link:hover, .nh-start-link:focus-visible { text-decoration-color: currentColor; outline: none; }

.nh-start-side { padding: 32px; display: flex; flex-direction: column; gap: 14px; background: var(--bg-alt); }
.nh-peek { border-radius: 16px; padding: 16px; display: grid; gap: 8px; }
.nh-peek--story { background: #fff; border: 1px solid var(--line); }
.nh-peek--code { background: var(--ink); color: #fff; }
.nh-peek-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 13.5px; }
.nh-peek-h em { font-style: normal; font-family: var(--f-sans); font-weight: 500; font-size: 12.5px; color: var(--nh-muted); }
.nh-peek--code .nh-peek-h em { color: #8D94AE; }
.nh-peek p { font-size: 15px; line-height: 1.55; color: var(--ink); }
.nh-peek p b { color: var(--accent); font-weight: 600; }
.nh-peek--code .nh-peek-h { color: #fff; }
.nh-peek pre {
  font-family: var(--f-mono); font-variant-ligatures: none; font-size: 13px; line-height: 1.7;
  color: #D7DBE8; white-space: pre; overflow-x: auto;
}
.nh-peek pre span { color: #7BD88F; }
.nh-quote { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.nh-quote blockquote { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.nh-quote figcaption { margin-top: 4px; font-size: 13px; color: var(--nh-muted); }
.nh-av {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, #EE7A50, var(--accent));
}
.nh-av--ink { background: linear-gradient(135deg, #3B4A7A, #1E2540); }

/* the route: both doors lead to one path */
.nh-route {
  position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 14px; padding: 52px 26px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line);
}
.nh-route::before, .nh-route::after {
  content: ""; position: absolute; top: 65px; height: 3px; border-radius: 3px;
}
/* stops sit at the middle of each quarter of the inner width */
.nh-route::before { left: calc(26px + (100% - 52px) * .125); right: calc(26px + (100% - 52px) * .125); background: var(--ink); }
.nh-route::after {
  left: calc(26px + (100% - 52px) * .125); width: calc((100% - 52px) * .25); background: var(--accent);
  transition: transform .5s var(--ease-out);
}
.nh-js .nh-start[data-mode="code"] .nh-route::after { transform: translateX(100%); }
.nh-route li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.nh-route i {
  position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-family: var(--f-display); font-weight: 600; font-size: 12.5px;
  background: #fff; border: 3px solid var(--ink); color: var(--ink); transition: border-color .3s, color .3s;
}
.nh-route b { font-family: var(--f-display); font-weight: 600; font-size: 16px; color: var(--ink); }
.nh-route li > span:not(.nh-here) { font-size: 13.5px; color: var(--nh-muted); }
.nh-here {
  display: none; position: absolute; top: -30px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 3px 10px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600;
}
.nh-js .nh-start[data-mode="new"] [data-stop="new"] .nh-here,
.nh-js .nh-start[data-mode="code"] [data-stop="code"] .nh-here { display: block; }
.nh-js .nh-start[data-mode="new"] [data-stop="new"] i,
.nh-js .nh-start[data-mode="code"] [data-stop="code"] i { border-color: var(--accent); color: var(--accent); }

@media (max-width: 900px) {
  .nh-start-panel { grid-template-columns: 1fr; }
  .nh-start-main, .nh-start-side { padding: 24px; }
}
@media (max-width: 720px) {
  .nh-js .nh-sw { width: 100%; margin-top: 24px; }
  .nh-sw-btn { flex: 1; justify-content: center; gap: 8px; padding: 12px 8px; font-size: 14.5px; }
  .nh-sw-btn .nh-sprout { width: 22px; height: 22px; }
  .nh-start-panel { border-radius: 20px; }
  .nh-start-main h3 { font-size: 24px; }
  .nh-peek pre { font-size: 12px; }
  .nh-start-main, .nh-start-side { padding: 20px; gap: 14px; }
  .nh-steps li { padding-bottom: 10px; }
  .nh-steps span { font-size: 14.5px; }
  .nh-peek { padding: 13px 14px; gap: 6px; }
  .nh-quote blockquote { font-size: 14px; }
  /* route turns vertical on phones */
  .nh-route { grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 20px; }
  .nh-route::before, .nh-route::after { display: none; }
  .nh-route li { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; text-align: left; }
  .nh-route li > span:not(.nh-here) { display: none; }
  .nh-route b { font-size: 14.5px; }
  .nh-here { position: static; transform: none; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .nh-js .nh-start-panel { animation: none; }
  .nh-route::after, .nh-sw-btn, .nh-route i { transition: none; }
}

/* ==========================================================
   Section 5: "The new AI jobs. Wear the badge." (owner picked B1)
   A new AI program, shown as "launching soon" with an early list (the list
   measures demand before a tutor is hired). Three role ID badges hang from a
   rail on CodeStory lanyards (React Bits Lanyard + Profile Card foil feel).
   Light and warm on purpose: section 3 is the dark one.
   ========================================================== */
.nh-ai {
  position: relative; overflow: hidden; padding: var(--nh-section) 0;
  background: radial-gradient(60% 45% at 50% 0%, rgba(255, 106, 61, .10), transparent 70%),
              linear-gradient(180deg, #FFF8F4 0%, #F6F7FB 60%, var(--bg-alt) 100%);
}
.nh-ai::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(20, 26, 46, .07) 1px, transparent 1.2px); background-size: 20px 20px;
  -webkit-mask: linear-gradient(#000, transparent 70%); mask: linear-gradient(#000, transparent 70%);
}
.nh-ai-in { position: relative; max-width: 1320px; margin: 0 auto; padding: 0 var(--nh-gutter); }
.nh-ai-head { max-width: 900px; margin: 0 auto; text-align: center; }
.nh-ai-title {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 3.9vw, 54px);
  line-height: 1.05; letter-spacing: -.035em; color: var(--ink); text-wrap: balance;
}
.nh-ai-grad { background: linear-gradient(95deg, var(--accent) 10%, #FF6A3D 55%, #E8894F 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nh-ai-sub { margin: 16px auto 0; max-width: 62ch; font-size: var(--nh-lede); line-height: 1.6; color: var(--ink-2); }
.nh-ai-status { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.nh-ai-status i { width: 8px; height: 8px; border-radius: 50%; background: #2FB36B; box-shadow: 0 0 0 4px rgba(47, 179, 107, .18); }
.nh-ai-status b { color: var(--ink); font-weight: 600; }

/* rail, straps, clips, badges */
.nh-ai-stage { max-width: 1000px; margin: 34px auto 0; }
.nh-ai-rail {
  height: 14px; border-radius: 8px; background: linear-gradient(180deg, #D9DDE8, #B9C0D1);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08), 0 6px 14px -8px rgba(20, 26, 46, .4);
}
.nh-ai-badges { margin-top: -4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nh-ai-hang {
  --r: 0deg; display: flex; flex-direction: column; align-items: center;
  transform-origin: 50% 0; transform: rotate(var(--r)); animation: nh-swing 6s ease-in-out infinite alternate;
}
.nh-ai-hang:nth-child(1) { --r: -3deg; animation-delay: -1s; }
.nh-ai-hang:nth-child(2) { --r: 1deg; }
.nh-ai-hang:nth-child(3) { --r: 3.5deg; animation-delay: -2.5s; }
@keyframes nh-swing { from { transform: rotate(var(--r)); } to { transform: rotate(calc(var(--r) * -.6)); } }
.nh-ai-strap {
  position: relative; width: 22px; height: 74px; border-radius: 0 0 4px 4px;
  background: repeating-linear-gradient(0deg, #1E2540 0 14px, #0E1224 14px 15px);
  box-shadow: inset 3px 0 0 rgba(255, 255, 255, .18), inset -3px 0 0 rgba(0, 0, 0, .12);
}
.nh-ai-hang--or .nh-ai-strap { background: repeating-linear-gradient(0deg, var(--accent) 0 14px, #B8361A 14px 15px); }
.nh-ai-strap::after {
  content: "CODESTORY"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg);
  font-family: var(--f-display); font-weight: 700; font-size: 9px; letter-spacing: .18em; color: rgba(255, 255, 255, .85);
}
.nh-ai-clip {
  position: relative; z-index: 2; width: 34px; height: 22px; margin-top: -2px; border-radius: 6px;
  background: linear-gradient(180deg, #E9ECF3, #A9B0C2); box-shadow: 0 3px 6px -2px rgba(0, 0, 0, .35), inset 0 1px 0 #fff;
}
.nh-ai-clip::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 10px; height: 12px; transform: translateX(-50%);
  border: 3px solid #A9B0C2; border-top: 0; border-radius: 0 0 6px 6px;
}
.nh-ai-badge {
  position: relative; width: 100%; max-width: 300px; margin-top: 4px; overflow: hidden;
  border-radius: 22px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -28px rgba(20, 26, 46, .45), 0 2px 0 rgba(20, 26, 46, .04);
}
.nh-ai-badge::before {
  content: ""; position: absolute; z-index: 2; left: 50%; top: 12px; width: 54px; height: 10px; transform: translateX(-50%);
  border-radius: 6px; background: var(--bg-alt); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18);
}
.nh-ai-btop { position: relative; padding: 34px 20px 54px; background: var(--ink); color: #fff; }
.nh-ai-hang--or .nh-ai-btop { background: linear-gradient(135deg, #FF7A4D, var(--accent) 60%, #9E2C16); }
.nh-ai-org { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: rgba(255, 255, 255, .78); }
.nh-ai-org b { color: #fff; font-weight: 500; }
.nh-ai-photo {
  position: absolute; left: 20px; bottom: -34px; width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center;
  background: #F3F5FA; border: 4px solid #fff; box-shadow: 0 10px 20px -10px rgba(20, 26, 46, .5);
}
.nh-ai-photo svg { width: 34px; height: 34px; fill: none; stroke: #8D94AE; stroke-width: 1.7; }
.nh-ai-photo em {
  position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); font-style: normal;
  font-family: var(--f-display); font-weight: 700; font-size: 10px; padding: 1px 7px; border-radius: 99px; background: var(--ink); color: #fff;
}
.nh-ai-bbody { display: grid; gap: 12px; padding: 46px 20px 18px; }
.nh-ai-bbody h3 { font-family: var(--f-display); font-weight: 800; font-size: 23px; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.nh-ai-does { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.nh-ai-sk { display: flex; flex-wrap: wrap; gap: 6px; }
.nh-ai-sk span { font-family: var(--f-mono); font-size: 11.5px; padding: 4px 8px; border-radius: 7px; background: var(--bg-alt); color: var(--ink); }
.nh-ai-ship { padding: 10px 12px; border-radius: 12px; background: var(--accent-tint); font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.nh-ai-ship small { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; color: var(--accent); }
.nh-ai-bfoot { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px 16px; border-top: 1px dashed var(--line-2); }
.nh-ai-bfoot > span:last-child { font-family: var(--f-mono); font-size: 11px; line-height: 1.4; color: var(--nh-muted); text-align: right; }
.nh-ai-bars {
  width: 110px; height: 26px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px);
}
/* holographic foil + sticker on the FDE badge */
.nh-ai-hang--or .nh-ai-badge { box-shadow: 0 40px 70px -28px rgba(207, 64, 32, .55); }
.nh-ai-hang--or .nh-ai-badge::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .55) 32%, rgba(255, 214, 170, .35) 38%, rgba(170, 220, 255, .3) 44%, transparent 56%);
  background-size: 250% 100%; animation: nh-holo 5s linear infinite;
}
@keyframes nh-holo { from { background-position: 130% 0; } to { background-position: -120% 0; } }
.nh-ai-sticker {
  position: absolute; z-index: 3; right: 14px; top: 30px; transform: rotate(6deg);
  font-family: var(--f-display); font-weight: 700; font-size: 11.5px; padding: 5px 10px; border-radius: 99px;
  background: #FFC46B; color: #1A1204; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .4);
}

/* shared core + early list */
.nh-ai-core { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; font-size: 14.5px; color: var(--ink-2); }
.nh-ai-core b { font-family: var(--f-display); font-weight: 600; color: var(--ink); }
.nh-ai-core span { display: inline-flex; align-items: center; gap: 8px; }
.nh-ai-core span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.nh-ai-join {
  max-width: 1144px; margin: 22px auto 0; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  padding: 14px 14px 14px 24px; border-radius: 18px; background: var(--ink); color: #fff;
}
.nh-ai-join-t b { font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.nh-ai-join-t p { margin-top: 2px; font-size: 14px; color: #A3AAC2; }
.nh-ai-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.nh-ai-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nh-ai-pill { display: flex; margin: 0; padding: 4px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.nh-ai-pill label { position: relative; cursor: pointer; }
.nh-ai-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.nh-ai-pill span { display: block; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: #C9CEDD; transition: background-color .2s, color .2s; }
.nh-ai-pill input:checked + span { background: #fff; color: var(--accent); }
.nh-ai-pill input:focus-visible + span { outline: 2px solid #F6A283; outline-offset: 2px; }
.nh-ai-field {
  width: 170px; height: 48px; padding: 0 13px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04); color: #fff; font: inherit; font-size: 15px;
}
.nh-ai-field::placeholder { color: #8D94AE; }
.nh-ai-field:focus { outline: none; border-color: #F6A283; background: rgba(255, 255, 255, .08); }
.nh-ai-form .nh-btn { height: 50px; }
/* main.js writes its messages with inline colours meant for light forms */
.nh-ai-join .form-msg { flex-basis: 100%; margin-top: 2px !important; color: #FFB4A0 !important; }
.nh-ai-join form p { color: #D7DBE8 !important; }

@media (max-width: 1100px) {
  .nh-ai-join { grid-template-columns: 1fr; padding: 20px; }
}
/* phones and tablets: swipe the badges, next one peeks in */
@media (max-width: 900px) {
  .nh-ai-rail { margin: 0 calc(-1 * var(--nh-gutter)); border-radius: 0; }
  .nh-ai-badges {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: -4px calc(-1 * var(--nh-gutter)) 0; padding: 0 var(--nh-gutter) 24px; scroll-padding-inline: var(--nh-gutter);
    scrollbar-width: none;
  }
  .nh-ai-badges::-webkit-scrollbar { display: none; }
  .nh-ai-hang { flex: 0 0 min(80%, 300px); scroll-snap-align: start; }
}
@media (max-width: 720px) {
  .nh-ai-form { display: grid; grid-template-columns: 1fr 1fr; }
  .nh-ai-pill { grid-column: 1 / -1; justify-self: start; }
  .nh-ai-field { width: 100%; }
  .nh-ai-form .nh-btn { grid-column: 1 / -1; }
  .nh-ai-core { gap: 8px 14px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .nh-ai-hang, .nh-ai-hang--or .nh-ai-badge::after { animation: none; }
}
/* JS physics takes over the swing (see initBadges); desktop badges can be grabbed */
.nh-ai-badges { position: relative; }
.nh-ai-live .nh-ai-hang { animation: none; will-change: transform; }
.nh-ai-strap { transform-origin: 50% 0; }
@media (min-width: 901px) {
  .nh-ai-live .nh-ai-badge { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
  .nh-ai-live .nh-ai-hang.is-drag .nh-ai-badge { cursor: grabbing; }
  .nh-ai-live .nh-ai-hang.is-drag { z-index: 2; }
}

/* ==========================================================
   Sticky navbar: html/body had overflow-x: hidden, which turns body into a
   scroll container and breaks position: sticky. clip keeps the no-sideways-
   scroll guard without that side effect. After the hero, the bar gets a
   stronger surface (initStickyBar watches the hero).
   ========================================================== */
html, body { overflow-x: clip; }
.nh-bar { transition: box-shadow .3s var(--ease-out), background-color .3s, border-color .3s; }
.nh-bar.is-past { background: rgba(255, 255, 255, .92); border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(20, 26, 46, .45); }

/* ==========================================================
   Section 6: mentors, four simple cards (owner: "make simple 4 cards").
   Real facts: instructor ranks; both founders teach every weekend session.
   ========================================================== */
.nh-men { padding: var(--nh-section) 0; background: var(--bg); }
.nh-men-in { max-width: 1320px; margin: 0 auto; padding: 0 var(--nh-gutter); }
.nh-men-head { max-width: 860px; margin: 0 auto; text-align: center; }
.nh-men-title { font-family: var(--f-display); font-weight: 700; font-size: var(--nh-h2); line-height: 1.1; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.nh-men-sub { margin: 16px auto 0; max-width: 60ch; font-size: var(--nh-lede); line-height: 1.6; color: var(--ink-2); }
.nh-men-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nh-men-c {
  display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -32px rgba(20, 26, 46, .5);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.nh-men-c:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -30px rgba(20, 26, 46, .5); }
.nh-men-c .nh-gicon { width: 52px; height: 52px; margin-bottom: 4px; }
.nh-men-c .nh-gicon-back, .nh-men-c .nh-gicon-front { border-radius: 15px; }
.nh-men-c .nh-gicon svg { width: 25px; height: 25px; }
.nh-men-c h3 { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.nh-men-c p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.nh-men-tag {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 99px; background: var(--accent-tint); color: var(--ink) !important; font-size: 13.5px !important; font-weight: 500;
}
.nh-men-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.nh-men-c--ink { background: linear-gradient(160deg, #1E2540, var(--ink) 60%); border-color: transparent; }
.nh-men-c--ink h3 { color: #fff; }
.nh-men-c--ink p { color: #C9CEDD; }
.nh-men-c--ink .nh-gicon-front { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .28); color: #fff; }
.nh-men-c--ink .nh-gicon .a { stroke: #F6A283; }
.nh-men-stats { list-style: none; margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nh-men-stats li { padding: 9px 11px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.nh-men-stats b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 17px; color: #fff; }
.nh-men-stats span { font-size: 12px; color: #A3AAC2; }

/* ==========================================================
   Testimonials: the old wall, brought in line with the new page.
   Same main.js carousel; centred heading, bigger cards, no empty band.
   ========================================================== */
main.home-page .twx { background: radial-gradient(60% 55% at 50% 0%, rgba(207, 64, 32, .16), transparent 70%), #0E1224; }
main.home-page > section.twx > .wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--nh-gutter) !important; text-align: center; }
main.home-page .twx .twx-title { max-width: 820px; margin: 0 auto; color: #fff; text-wrap: balance; }
main.home-page .twx .twx-sub { margin: 14px auto 36px; font-size: var(--nh-lede); color: #A3AAC2; }
main.home-page .twx .tw { --tw-tile-w: 340px; --tw-tile-h: 188px; --tw-gap: 18px; height: auto !important; padding: 6px 0 2px; }
main.home-page .twx .tw-row:last-child { margin-bottom: 0; }
main.home-page .twx .tw-card { padding: 18px 20px; border-color: transparent; gap: 10px; }
/* the old rule main.home-page [class*=-card]:not():not() sets radius 0 !important at (0,4,1); this is (0,5,1) */
main.home-page .twx .tw .tw-tile .tw-card { border-radius: 18px !important; }
main.home-page .twx .tw-name { font-family: var(--f-display); font-size: 15.5px; }
main.home-page .twx .tw-who { font-size: 13px; }
main.home-page .twx .tw-text { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
main.home-page .twx .tw-brand { font-size: 16px; }
main.home-page .twx .tw-role { font-size: 12.5px; }
@media (max-width: 720px) {
  main.home-page .twx .tw { --tw-tile-w: min(82vw, 316px); --tw-tile-h: 176px; }
}

/* ==========================================================
   FAQ (new): details/summary, works without JS.
   ========================================================== */
.nh-faq { padding: var(--nh-section) 0; background: var(--bg); }
.nh-faq-in { max-width: 1320px; margin: 0 auto; padding: 0 var(--nh-gutter); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.nh-faq-head { position: sticky; top: 110px; }
.nh-faq-title { font-family: var(--f-display); font-weight: 700; font-size: var(--nh-h2); line-height: 1.1; letter-spacing: -.03em; color: var(--ink); }
.nh-faq-sub { margin: 16px 0 26px; font-size: var(--nh-lede); line-height: 1.6; color: var(--ink-2); }
.nh-faq-head .nh-btn { height: 54px; }
.nh-faq-list { display: grid; gap: 10px; }
.nh-q { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.nh-q[open] { border-color: var(--accent-tint2); box-shadow: 0 18px 40px -30px rgba(207, 64, 32, .45); }
.nh-q summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-family: var(--f-display); font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--ink);
}
.nh-q summary::-webkit-details-marker { display: none; }
.nh-q summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141A2E' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .3s var(--ease-out), background-color .25s;
}
.nh-q[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;
}
.nh-q summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 18px; }
.nh-q p { padding: 0 22px 20px; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); max-width: 64ch; }

/* ==========================================================
   Request a callback (new): replaces the colleges demo box. The form
   goes through main.js (FormSubmit), with named fields.
   ========================================================== */
.nh-req { position: relative; overflow: hidden; padding: var(--nh-section) 0; background: #0B0E1A; color: #fff; isolation: isolate; }
.nh-req::before { content: ""; position: absolute; z-index: -1; left: 28%; top: 50%; width: 900px; height: 700px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(207, 64, 32, .3), transparent); }
.nh-req-in { max-width: 1320px; margin: 0 auto; padding: 0 var(--nh-gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; align-items: center; }
.nh-req-title { font-family: var(--f-display); font-weight: 700; font-size: var(--nh-h2); line-height: 1.1; letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.nh-req-or { color: #FF6A3D; }
.nh-req-sub { margin-top: 16px; font-size: var(--nh-lede); line-height: 1.6; color: #A3AAC2; }
.nh-req-steps { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.nh-req-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; line-height: 1.5; color: #D7DBE8; }
.nh-req-steps i {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font-family: var(--f-display); font-weight: 600; font-size: 14px; background: rgba(207, 64, 32, .2); color: #F6A283; border: 1px solid rgba(207, 64, 32, .45);
}
.nh-req-steps b { color: #fff; font-weight: 600; }
.nh-req-form { display: grid; gap: 16px; padding: 30px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.nh-req-form h3 { font-family: var(--f-display); font-weight: 700; font-size: 22px; }
.nh-req-set { margin: 0; padding: 0; border: 0; min-width: 0; }
.nh-req-set legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.nh-req-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.nh-req-pills label { position: relative; cursor: pointer; }
.nh-req-pills input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.nh-req-pills span { display: block; padding: 9px 13px; border-radius: 10px; border: 1.5px solid var(--line-2); font-size: 14px; font-weight: 500; color: var(--ink); transition: background-color .2s, border-color .2s, color .2s; }
.nh-req-pills input:checked + span { background: var(--accent-tint); border-color: var(--accent); color: var(--accent); }
.nh-req-pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.nh-req-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nh-req-field span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.nh-req-field input {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2);
  font: inherit; font-size: 15.5px; color: var(--ink); background: #fff;
}
.nh-req-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.nh-req-go { width: 100%; height: 56px; font-size: 16.5px; }
.nh-req-note { font-size: 13px; color: var(--nh-muted); text-align: center; }

/* ==========================================================
   Footer (new)
   ========================================================== */
/* the footer ends on a giant CodeStory wordmark: tinted letters that rise in, a slow orange
   shine that sweeps them, and a light that follows the pointer (initFootMark) */
.nh-foot { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 55%, #FFF3EC 100%); border-top: 1px solid var(--line); }
.nh-foot-in { max-width: 1320px; margin: 0 auto; padding: 60px var(--nh-gutter) 8px; }
.nh-foot-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 48px; }
.nh-foot-logo img { width: auto; height: 40px; }
.nh-foot-brand p { margin-top: 14px; max-width: 42ch; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.nh-foot-term {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 12px;
  background: var(--ink); border: 1px solid #262D45; color: #EEF0F7; font-family: var(--f-mono); font-size: 14.5px;
  transition: transform .25s var(--ease-out), border-color .25s;
}
.nh-foot-term:hover, .nh-foot-term:focus-visible { transform: translateY(-2px); border-color: var(--accent); }
.nh-foot-term:focus-visible { outline: 2px solid var(--nh-green-ring); outline-offset: 3px; }
/* no spans in the footer parts below: styles.css forces Inter on every "footer span" */
.nh-foot-term code { font-family: var(--f-mono); font-size: inherit; }   /* the link itself is forced to Inter by styles.css */
.nh-foot-term b { font-weight: 500; color: #F6A283; }
.nh-foot-term .nh-foot-p { color: #7BD88F; }
.nh-foot-term i { width: 8px; height: 17px; background: #F6A283; animation: nh-foot-caret 1s steps(2) infinite; }
@keyframes nh-foot-caret { 50% { opacity: 0; } }
.nh-foot-cta { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.nh-foot-cta .nh-btn { height: 50px; }
.nh-foot-signin { font-family: var(--f-display); font-weight: 600; font-size: 15.5px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.nh-foot-signin:hover { color: var(--accent); text-decoration-color: currentColor; }
.nh-foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nh-foot-cols h4 { font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.nh-foot-cols ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.nh-foot-cols a {
  font-size: 15px; color: var(--ink-2); transition: color .2s, background-size .3s var(--ease-out);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px;
}
.nh-foot-cols a:hover, .nh-foot-cols a:focus-visible { color: var(--accent); background-size: 100% 1.5px; }
.nh-foot-cols em { font-style: normal; margin-left: 6px; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 99px; background: var(--accent-tint); color: var(--accent); }

.nh-foot-mark {
  position: relative; max-width: 1320px; margin: 36px auto 0; padding: 0 var(--nh-gutter);
  font-family: "Poppins", var(--f-display); font-weight: 700; font-size: min(16vw, 220px); line-height: .9; letter-spacing: -.03em;
  padding-bottom: .2em;
  text-align: center; white-space: nowrap; user-select: none; cursor: default;
}
.nh-foot-word { display: block; color: #F5DFD4; }   /* solid tint: outlines of overlapping glyphs looked broken */
.nh-foot-word i { display: inline-block; font-style: normal; transition: transform .9s var(--ease-out), opacity .9s; transition-delay: calc(var(--i) * 55ms); }
.nh-js .nh-foot-mark:not(.is-in) .nh-foot-word i { transform: translateY(45%); opacity: 0; }
.nh-foot-fill {
  position: absolute; inset: 0 var(--nh-gutter); color: transparent; pointer-events: none;
  background: linear-gradient(100deg, transparent 38%, rgba(207, 64, 32, .85) 50%, transparent 62%) 100% 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  animation: nh-foot-shine 7s ease-in-out 1.4s infinite;
}
@keyframes nh-foot-shine { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }
.nh-foot-mark.is-hot .nh-foot-fill {
  animation: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--accent) 0, #F08A5D 9%, rgba(246, 162, 131, .35) 17%, transparent 26%) 0 0 / 100% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
}
.nh-foot-mark.is-off .nh-foot-fill { animation-play-state: paused; }

.nh-foot-end { padding-top: 0; padding-bottom: 26px; }
.nh-foot-bottom { margin-top: 18px; padding-top: 18px; border-top: 1px solid #F1DDD2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--nh-muted); }
.nh-foot-legal { display: flex; align-items: center; }
.nh-foot-bottom a { margin-left: 18px; color: var(--nh-muted); }
.nh-foot-bottom a:hover { color: var(--ink); }
.nh-foot-bottom .nh-foot-up {
  width: 40px; height: 40px; margin-left: 22px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line-2); color: var(--ink); transition: transform .25s var(--ease-out), background-color .2s, color .2s, border-color .2s;
}
.nh-foot-bottom .nh-foot-up:hover { transform: translateY(-3px); background: var(--ink); border-color: var(--ink); color: #fff; }
.nh-foot-up svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1100px) {
  .nh-men-grid { grid-template-columns: repeat(2, 1fr); }
  .nh-req-in { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .nh-faq-in { grid-template-columns: 1fr; gap: 28px; }
  .nh-faq-head { position: static; }
  .nh-foot-top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .nh-men-grid { grid-template-columns: 1fr; gap: 12px; }
  .nh-men-c { padding: 22px; }
  .nh-req-form { padding: 22px; }
  .nh-req-two { grid-template-columns: 1fr; }
  .nh-foot-cols { grid-template-columns: 1fr 1fr; }
  .nh-q summary { padding: 16px 18px; font-size: 16px; }
  .nh-q p { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .nh-men-c, .nh-q summary::after, .nh-bar { transition: none; }
  .nh-foot-word i { transition: none; }
  .nh-foot-fill, .nh-foot-term i { animation: none; }
}

/* ==========================================================
   Owner changes, 2026-09-19:
   1. hero H1 thinner   2. primary CTAs in a mid green (white text passes AA: 4.5:1)
   3. no left bar on the interviewer line, no top bar on the active IDE tab
   4. section 2 cards: no shadow, a thin green ring instead
   ========================================================== */
:root { --nh-green: #198754; --nh-green-h: #157347; --nh-green-ring: #3CB371; }

.nh-title { font-weight: 600; letter-spacing: -.035em; }
/* owner: the first line thin (Poppins 500 is the lightest weight the site ships) and on one line */
.nh-title .nh-thin { font-weight: 500; white-space: nowrap; }
@media (max-width: 360px) { .nh-title { font-size: 42px; } }   /* the smallest phones: the one line still fits */

.nh-btn--or { background: var(--nh-green); color: #fff; box-shadow: 0 12px 24px -12px rgba(25, 135, 84, .6); }
.nh-btn--or:hover { background: var(--nh-green-h); box-shadow: 0 16px 28px -12px rgba(25, 135, 84, .7); }
.nh-btn--or:active { box-shadow: 0 6px 14px -8px rgba(25, 135, 84, .65); }
.nh-btn--or:focus-visible { outline-color: var(--nh-green); }

.nh-tr-hl { border-left: 0; margin-left: -14px; padding-left: 14px; }
.nh-ide-tabs .on { box-shadow: none; }

.nh-tile, .nh-tile:hover { border-color: transparent; box-shadow: 0 0 0 1.5px var(--nh-green-ring); }
.nh-tile--dark, .nh-tile--dark:hover { border-color: transparent; }
/* owner: section 3 readiness ring in green too */
.nh-ring { background: conic-gradient(var(--nh-green-ring) calc(var(--nh-p) * 1%), var(--sys-line) 0); }
.nh-app-hint b { color: #7FD8A4; }

/* ==========================================================
   Owner, 2026-09-19: no drop shadows anywhere on the page, and no
   bigger shadow on hover. Kept: inset highlights, focus rings, the thin
   green ring on section 2 cards, and the pulse on live dots.
   ========================================================== */
.nh-btn, .nh-btn:hover, .nh-btn:active,
.nh-btn--or, .nh-btn--or:hover, .nh-btn--or:active,
.nh-btn--ink, .nh-btn--ink:hover, .nh-btn--ink:active { box-shadow: none; }
.nh-btn--or:hover, .nh-btn--ink:hover { transform: none; }
.nh-seg input:checked + span, .nh-mode:hover,
.nh-pick::after, .nh-pick::before,
.nh-bar.is-stuck, .nh-bar.is-past,
.nh-app, .nh-sw, .nh-start-panel,
.nh-men-c, .nh-men-c:hover, .nh-q[open],
.nh-req-form, .nh-ai-badge, .nh-ai-hang--or .nh-ai-badge,
.nh-ai-photo, .nh-ai-sticker, .nh-ai-rail, .nh-ai-clip,
.nh-gicon-back { box-shadow: none; }
.nh-ai-rail { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08); }
.nh-ai-clip { box-shadow: inset 0 1px 0 #fff; }
.nh-gicon-front { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95); }
.nh-men-c--ink .nh-gicon-front, .nh-sys-feat .nh-gicon-front { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
main.home-page .twx .tw .tw-tile .tw-card { box-shadow: none; }
.nh-js .nh-sw { box-shadow: none; }
