/********** NST Template CSS **********
   Palette (from NST logo):
     --secondary  #F6F6F6   (cream/off-white background)
     --primary    #2E5233   (dark green — logo ring, text, accents)
   Everything else = rgba() of the two above.
   ============================================ */

:root {
  --secondary: #F6F6F6;
  --primary:   #2E5233;

  --primary-soft:  rgba(46, 82, 51, .08);
  --primary-line:  rgba(46, 82, 51, .22);
  --primary-muted: rgba(46, 82, 51, .65);

  --radius:    10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(46, 82, 51, .06);
  --shadow-md: 0 6px 20px rgba(46, 82, 51, .10);
  --shadow-lg: 0 18px 40px rgba(46, 82, 51, .14);

  --container: 1180px;
  --gutter: 20px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Barlow', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--primary);
  background: var(--secondary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
h4, h5, h6 { font-weight: 600; }
h1 { font-size: clamp(28px, 6vw, 50px); }
h2 { font-size: clamp(24px, 4.5vw, 38px); }
h3 { font-size: clamp(18px, 2.6vw, 22px); }
h4 { font-size: 17px; }
h5 { font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }

/* ============ CONTAINER ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container.narrow { max-width: 780px; }
.center { text-align: center; }

/* ============ UTILITIES ============ */
.pt-6 { padding-top: 90px; }
.pb-6 { padding-bottom: 90px; }
.py-6 { padding-top: 90px; padding-bottom: 90px; }
.font-weight-bold { font-weight: 700 !important; }
.font-weight-semi-bold { font-weight: 600 !important; }
.font-weight-medium { font-weight: 500 !important; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .15s;
  white-space: nowrap;
  text-align: center;
  user-select: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}
.btn-primary:hover { background: rgba(46, 82, 51, .88); border-color: rgba(46, 82, 51, .88); }
.btn-primary:active { transform: translateY(1px); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary-line);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}

.btn-light {
  background: var(--secondary);
  color: var(--primary);
  border-color: transparent;
}
.btn-light:hover { background: rgba(246, 246, 246, .85); }

.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-square    { width: 36px; height: 36px; padding: 0; text-align: center; }
.btn-sm-square { width: 28px; height: 28px; padding: 0; text-align: center; }
.btn-lg-square { width: 46px; height: 46px; padding: 0; text-align: center; }

/* ============ TOP BAR ============ */
.topbar {
  background: var(--primary);
  color: var(--secondary);
  font-size: 13px;
  padding: 9px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(246, 246, 246, .80);
}
.topbar-item:hover { color: var(--secondary); }
.topbar-link {
  color: var(--secondary);
  font-weight: 600;
  margin-left: auto;
}
.topbar-link:hover { text-decoration: underline; }

/* ============ NAVBAR ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--secondary);
  border-bottom: 1px solid var(--primary-line);
  transition: box-shadow .25s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }

/* circular logo mark */
.brand-mark {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  background: var(--secondary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--primary);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-mark span {
  font-weight: 800;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: .5px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong {
  font-size: 14.5px;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-text span {
  font-size: 11.5px;
  color: var(--primary-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { color: var(--primary); }
.nav-links a:hover { color: var(--primary-muted); }
.nav-links .btn { padding: 11px 18px; font-size: 14px; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--primary-line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links.open {
  display: flex;
  position: absolute;
  top: 100%; left: 0; right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: var(--secondary);
  border-bottom: 1px solid var(--primary-line);
  padding: 10px 20px 20px;
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.nav-links.open a {
  padding: 14px 0;
  border-bottom: 1px solid var(--primary-line);
  font-size: 16px;
}
.nav-links.open a:last-child { border-bottom: none; }
.nav-links.open .btn {
  margin-top: 12px;
  padding: 14px 18px;
  font-size: 15px;
}

/* ============ HERO ============ */
.hero {
  padding: 50px 0 60px;
  background: var(--secondary);
  border-bottom: 1px solid var(--primary-line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { color: var(--primary); margin-bottom: 18px; }
.hero h1 .accent {
  color: var(--primary);
  border-bottom: 4px solid var(--primary);
  padding-bottom: 2px;
}
.lead {
  font-size: 16.5px;
  color: var(--primary-muted);
  margin-bottom: 26px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-actions .btn { width: 100%; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--primary-line);
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-size: 26px;
  color: var(--primary);
  font-weight: 800;
  line-height: 1.1;
}
.hero-stats span {
  font-size: 12px;
  color: var(--primary-muted);
  margin-top: 2px;
}

/* hero card */
.hero-card {
  background: var(--secondary);
  border: 1px solid var(--primary-line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--primary);
}
.flyer-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--secondary);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.hero-card h3 { color: var(--primary); margin-bottom: 4px; }
.flyer-sub { color: var(--primary-muted); font-size: 14px; margin-bottom: 18px; }
.flyer-list { margin-bottom: 22px; }
.flyer-list li {
  padding: 10px 0 10px 26px;
  font-size: 14.5px;
  color: var(--primary);
  border-bottom: 1px solid var(--primary-line);
  position: relative;
}
.flyer-list li:last-child { border-bottom: none; }
.flyer-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--primary-soft);
  border: 1.5px solid var(--primary);
}
.flyer-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 50%;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--primary);
  border-bottom: 1.5px solid var(--primary);
  transform: translateY(-80%) rotate(-45deg);
}
.flyer-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--primary-muted);
  margin-top: 12px;
}

/* ============ SECTIONS ============ */
.section { padding: 56px 0; background: var(--secondary); }
.section-alt { background: var(--primary-soft); }
.section-head { text-align: center; margin-bottom: 36px; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-muted);
  margin-bottom: 10px;
}
.section h2 { color: var(--primary); margin-bottom: 12px; }
.section-lead,
.section-head p {
  color: var(--primary-muted);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto;
}

/* ============ TRACKS ============ */
.tracks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.track-card {
  background: var(--secondary);
  border: 1px solid var(--primary-line);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.track-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.track-code {
  align-self: flex-start;
  background: var(--primary);
  color: var(--secondary);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 5px 11px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.track-card h3 { color: var(--primary); margin-bottom: 10px; }
.track-card p { font-size: 14.5px; color: var(--primary-muted); margin-bottom: 16px; }
.track-card ul { margin-bottom: 20px; flex-grow: 1; }
.track-card ul li {
  font-size: 13.5px;
  color: var(--primary);
  padding: 5px 0 5px 22px;
  position: relative;
}
.track-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  width: 8px; height: 4px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
}
.track-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.track-link:hover { color: var(--primary-muted); }

/* ============ STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.step {
  background: var(--secondary);
  border: 1px solid var(--primary-line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}
.step-num {
  width: 46px; height: 46px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--primary);
}
.step h4 { color: var(--primary); margin-bottom: 8px; }
.step p { color: var(--primary-muted); font-size: 14.5px; }

/* ============ FEATURES ============ */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.feature {
  background: var(--secondary);
  border: 1px solid var(--primary-line);
  border-radius: var(--radius);
  padding: 26px 20px;
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1.5px solid var(--primary);
}
.feature h4 { color: var(--primary); margin-bottom: 8px; }
.feature p { color: var(--primary-muted); font-size: 14.5px; }

/* ============ FAQ ============ */
.faq details {
  background: var(--secondary);
  border: 1px solid var(--primary-line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq details[open] { border-color: var(--primary); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  font-size: 15.5px;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--primary);
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 12px; color: var(--primary-muted); font-size: 14.5px; }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--primary);
  color: var(--secondary);
  padding: 56px 0;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.cta-banner h2 {
  color: var(--secondary);
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 8px;
}
.cta-banner p { color: rgba(246, 246, 246, .85); font-size: 16px; }

/* ============ FOOTER ============ */
.footer {
  background: var(--primary);
  color: rgba(246, 246, 246, .85);
  padding: 56px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(246, 246, 246, .18);
}
.brand-footer .brand-mark {
  background: var(--secondary);
  border-color: var(--secondary);
}
.brand-footer .brand-mark span { color: var(--primary); }
.brand-footer .brand-text strong { color: var(--secondary); }
.brand-footer .brand-text span { color: rgba(246, 246, 246, .70); }
.footer-desc { margin-top: 16px; color: rgba(246, 246, 246, .70); max-width: 320px; }
.footer h5 { color: var(--secondary); margin-bottom: 16px; }
.footer-grid a {
  display: block;
  padding: 5px 0;
  color: rgba(246, 246, 246, .85);
  font-size: 14px;
}
.footer-grid a:hover { color: var(--secondary); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 22px;
  font-size: 13px;
  color: rgba(246, 246, 246, .70);
}
.footer-bottom a { color: rgba(246, 246, 246, .70); }
.footer-bottom a:hover { color: var(--secondary); }

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  display: none;
  right: 20px; bottom: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--secondary);
  border: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  z-index: 99;
  box-shadow: var(--shadow-md);
  transition: background .2s;
}
.back-to-top.show { display: grid; place-items: center; }
.back-to-top:hover { background: rgba(46, 82, 51, .88); }

/* ============ RESPONSIVE ============ */
@media (min-width: 480px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
}
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 44px; }
  .tracks, .steps, .features { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .topbar-inner { justify-content: space-between; }
  .topbar-link { margin-left: 0; }
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-banner { padding: 64px 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .back-to-top { right: 32px; bottom: 32px; }
}
@media (min-width: 768px) {
  :root { --gutter: 28px; }
  .hero { padding: 70px 0 80px; }
  .section { padding: 80px 0; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (min-width: 992px) {
  :root { --gutter: 32px; }
  .nav-toggle { display: none; }
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 26px;
    padding: 0;
    box-shadow: none;
    border: none;
    max-height: none;
    overflow: visible;
    background: transparent;
  }
  .nav-links a { padding: 0; border-bottom: none; font-size: 15px; }
  .nav-links .btn { margin-top: 0; padding: 11px 18px; font-size: 14px; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .tracks { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { gap: 48px; }
}
@media (min-width: 1200px) {
  .section { padding: 90px 0; }
  .hero { padding: 80px 0 100px; }
  .hero-inner { gap: 72px; }
}

/* ============ ACCESSIBILITY ============ */
@media (hover: none) {
  .track-card:hover { transform: none; }
  .btn-primary:hover { background: var(--primary); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}