/* tns-main.css — Tonstarter.org
   Brand prefix: tns
   Dark-mode default, institutional crypto-fintech aesthetic
   Space Grotesk headings / Inter body / JetBrains Mono data
   Palette: navy #0A0F1E base, blue-violet accent, cool teal highlight
*/

/* ═══════════════════════════════════════════════
   CUSTOM PROPERTIES
═══════════════════════════════════════════════ */
:root {
  /* Palette */
  --tns-bg:          #0A0F1E;
  --tns-bg-alt:      #131929;
  --tns-bg-light:    #F4F6FB;
  --tns-bg-white:    #FFFFFF;
  --tns-border-dark: #1E2A42;
  --tns-border-light:#D1D9EE;

  /* Accent */
  --tns-accent:         #4F6BFF;   /* decorative only */
  --tns-accent-on-dark: #7B93FF;   /* AA on #0A0F1E ~5.8 */
  --tns-accent-on-light:#2440C7;   /* AA on #F4F6FB ~7.1 */
  --tns-teal:           #0FD4B0;   /* decorative on dark */
  --tns-teal-muted:     #0A9E84;   /* AA on light ~5.3 */

  /* Foreground */
  --tns-fg-dark-primary:   #F0F4FF;  /* AAA on dark */
  --tns-fg-dark-secondary: #94A3C8;  /* AA on dark */
  --tns-fg-light-primary:  #0A0F1E;  /* AAA on light */
  --tns-fg-light-secondary:#374151;  /* AA on light */

  /* Typography */
  --tns-font-heading: 'Space Grotesk', system-ui, sans-serif;
  --tns-font-body:    'Inter', system-ui, sans-serif;
  --tns-font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Sizing */
  --tns-radius-card: 12px;
  --tns-radius-btn:  8px;
  --tns-radius-input:6px;
  --tns-section-pad-dt: 96px;
  --tns-section-pad-mb: 64px;
  --tns-container: 1200px;
}

/* ═══════════════════════════════════════════════
   RESET / BASE
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--tns-font-body);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--tns-bg);
  color: var(--tns-fg-dark-primary);
  -webkit-font-smoothing: antialiased;
}

/* Light-top pages override body bg so nav solid bg reads correctly */
body.tns-page--light-top {
  background: var(--tns-bg-white);
  color: var(--tns-fg-light-primary);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
address { font-style: normal; }

/* ═══════════════════════════════════════════════
   TYPOGRAPHY SCALE
═══════════════════════════════════════════════ */
h1, h2, h3, h4, h5 { font-family: var(--tns-font-heading); font-weight: 700; line-height: 1.2; }

h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }

.tns-mono { font-family: var(--tns-font-mono); font-size: 0.875rem; }
.tns-eyebrow {
  font-family: var(--tns-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Eyebrow context-scoped colors */
.tns-section--dark .tns-eyebrow,
.tns-section--dark-alt .tns-eyebrow,
.tns-hero .tns-eyebrow { color: var(--tns-teal); }
.tns-section--light .tns-eyebrow,
.tns-section--white .tns-eyebrow { color: var(--tns-teal-muted); }

/* ═══════════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════════ */
.tns-container {
  max-width: var(--tns-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════ */
.tns-section--dark {
  background: var(--tns-bg);
  color: var(--tns-fg-dark-primary);
  padding: var(--tns-section-pad-dt) 0;
}
.tns-section--dark-alt {
  background: var(--tns-bg-alt);
  color: var(--tns-fg-dark-primary);
  padding: var(--tns-section-pad-dt) 0;
}
.tns-section--light {
  background: var(--tns-bg-light);
  color: var(--tns-fg-light-primary);
  padding: var(--tns-section-pad-dt) 0;
}
.tns-section--white {
  background: var(--tns-bg-white);
  color: var(--tns-fg-light-primary);
  padding: var(--tns-section-pad-dt) 0;
}

/* Section heading + subhead */
.tns-section--dark .tns-section__heading,
.tns-section--dark-alt .tns-section__heading { color: var(--tns-fg-dark-primary); }
.tns-section--light .tns-section__heading,
.tns-section--white .tns-section__heading { color: var(--tns-fg-light-primary); }

.tns-section--dark .tns-section__subhead,
.tns-section--dark-alt .tns-section__subhead { color: var(--tns-fg-dark-secondary); }
.tns-section--light .tns-section__subhead,
.tns-section--white .tns-section__subhead { color: var(--tns-fg-light-secondary); }

.tns-section__header { margin-bottom: 48px; }
.tns-section__header--center { text-align: center; }
.tns-section__header--center .tns-section__subhead { max-width: 640px; margin: 12px auto 0; }
.tns-section__subhead { font-size: 1.125rem; margin-top: 12px; max-width: 640px; }

/* ═══════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════ */
.tns-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s ease, border-bottom 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

/* Default: transparent overlay on dark hero */
.tns-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--tns-container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
}

/* Dark-top pages: nav transparent → scrolled solid dark */
.tns-nav--dark-top { background: transparent; }
.tns-nav--dark-top.tns-nav--scrolled {
  background: rgba(10, 15, 30, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--tns-border-dark);
}

/* Light-top pages: forced solid dark nav from scroll=0 */
.tns-nav--light-top {
  background: var(--tns-bg);
  border-bottom: 1px solid var(--tns-border-dark);
}

/* Nav logo */
.tns-nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.tns-nav__logo img {
  height: 32px;
  width: auto;
  max-width: 180px;
}

/* Nav links */
.tns-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.tns-nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

/* Nav link colors — always on dark nav bg */
.tns-nav__link { color: var(--tns-fg-dark-secondary); }
.tns-nav__link:hover { color: var(--tns-fg-dark-primary); background: rgba(255,255,255,0.06); }

/* Nav actions */
.tns-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Hamburger */
.tns-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
}
.tns-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tns-fg-dark-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.tns-nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tns-nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.tns-nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.tns-nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--tns-bg-alt);
  border-top: 1px solid var(--tns-border-dark);
  padding: 16px 24px;
  gap: 4px;
}
.tns-nav__mobile.is-open { display: flex; }
.tns-nav__mobile-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--tns-fg-dark-secondary);
  padding: 10px 12px;
  border-radius: 6px;
  display: block;
  transition: color 0.2s, background 0.2s;
}
.tns-nav__mobile-link:hover { color: var(--tns-fg-dark-primary); background: rgba(255,255,255,0.06); }
.tns-nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--tns-border-dark);
}

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.tns-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--tns-radius-btn);
  font-family: var(--tns-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}

/* Primary — works on any bg */
.tns-btn--primary {
  background: var(--tns-accent);
  color: #FFFFFF;
  border-color: var(--tns-accent);
}
.tns-btn--primary:hover {
  background: #3A55E8;
  border-color: #3A55E8;
}

/* Outline on dark */
.tns-btn--outline-dark {
  background: transparent;
  color: var(--tns-fg-dark-primary);
  border-color: rgba(255,255,255,0.3);
}
.tns-btn--outline-dark:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

/* Ghost on dark */
.tns-btn--ghost-dark {
  background: transparent;
  color: var(--tns-fg-dark-secondary);
  border-color: transparent;
}
.tns-btn--ghost-dark:hover {
  color: var(--tns-fg-dark-primary);
  background: rgba(255,255,255,0.06);
}

/* Outline on light */
.tns-btn--outline-light {
  background: transparent;
  color: var(--tns-fg-light-primary);
  border-color: var(--tns-border-light);
}
.tns-btn--outline-light:hover {
  background: var(--tns-bg-light);
  border-color: var(--tns-accent-on-light);
}

/* Teal accent — on dark */
.tns-btn--teal {
  background: var(--tns-teal-muted);
  color: #0A0F1E;
  border-color: var(--tns-teal-muted);
}
.tns-btn--teal:hover { background: var(--tns-teal); border-color: var(--tns-teal); }

/* Sign In — small nav variant */
.tns-btn--nav-signin {
  background: transparent;
  color: var(--tns-fg-dark-secondary);
  border-color: var(--tns-border-dark);
  padding: 7px 14px;
  font-size: 0.85rem;
}
.tns-btn--nav-signin:hover {
  color: var(--tns-fg-dark-primary);
  border-color: rgba(255,255,255,0.3);
}

/* Size variants */
.tns-btn--lg { padding: 14px 28px; font-size: 1rem; border-radius: 10px; }
.tns-btn--sm { padding: 7px 14px; font-size: 0.8rem; }
.tns-btn--full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.tns-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0A0F1E 60%, #0D1A35 100%);
  overflow: hidden;
  padding: 120px 0 96px;
}
.tns-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.tns-hero__inner {
  max-width: var(--tns-container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.tns-hero__content { max-width: 560px; }
.tns-hero__eyebrow {
  color: var(--tns-teal);
  font-family: var(--tns-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tns-hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--tns-teal);
}
.tns-hero__heading {
  color: var(--tns-fg-dark-primary);
  margin-bottom: 20px;
}
.tns-hero__subhead {
  color: var(--tns-fg-dark-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 36px;
}
.tns-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.tns-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sub-page hero (lighter weight) */
.tns-subhero {
  padding: 120px 0 72px;
  background: var(--tns-bg);
  position: relative;
  overflow: hidden;
}
.tns-subhero--light {
  background: var(--tns-bg-light);
  padding: 120px 0 72px;
}
.tns-subhero__inner {
  max-width: var(--tns-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.tns-subhero__content { max-width: 540px; }
.tns-subhero__heading { color: var(--tns-fg-dark-primary); margin-bottom: 16px; }
.tns-subhero--light .tns-subhero__heading { color: var(--tns-fg-light-primary); }
.tns-subhero__subhead { color: var(--tns-fg-dark-secondary); font-size: 1.1rem; line-height: 1.7; }
.tns-subhero--light .tns-subhero__subhead { color: var(--tns-fg-light-secondary); }
.tns-subhero__eyebrow { color: var(--tns-teal); }
.tns-subhero--light .tns-subhero__eyebrow { color: var(--tns-teal-muted); }
.tns-subhero__stat-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--tns-border-dark);
  border-radius: var(--tns-radius-card);
}
.tns-subhero--light .tns-subhero__stat-block {
  background: var(--tns-bg-white);
  border-color: var(--tns-border-light);
  box-shadow: 0 2px 16px rgba(10,15,30,0.08);
}
.tns-subhero__stat {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tns-subhero__stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(79,107,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--tns-accent-on-dark);
  font-size: 1rem;
}
.tns-subhero--light .tns-subhero__stat-icon { color: var(--tns-accent-on-light); }
.tns-subhero__stat-label { font-size: 0.9rem; font-weight: 600; color: var(--tns-fg-dark-primary); }
.tns-subhero--light .tns-subhero__stat-label { color: var(--tns-fg-light-primary); }
.tns-subhero__stat-desc { font-size: 0.8rem; color: var(--tns-fg-dark-secondary); margin-top: 2px; }
.tns-subhero--light .tns-subhero__stat-desc { color: var(--tns-fg-light-secondary); }

/* ═══════════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════════ */
.tns-trust-bar {
  background: var(--tns-bg-alt);
  padding: 24px 0;
  border-top: 1px solid var(--tns-border-dark);
  border-bottom: 1px solid var(--tns-border-dark);
}
.tns-trust-bar__inner {
  max-width: var(--tns-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.tns-trust-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tns-fg-dark-secondary);
  letter-spacing: 0.01em;
}
.tns-trust-bar__item i {
  color: var(--tns-teal);
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════
   PROBLEM-RESOLUTION PAIRS
═══════════════════════════════════════════════ */
.tns-prs { /* problem resolution section */ }
.tns-prs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--tns-border-dark);
  border-radius: var(--tns-radius-card);
  overflow: hidden;
}
.tns-prs__col {
  padding: 40px 36px;
}
.tns-prs__col--problem {
  background: rgba(255,255,255,0.02);
  border-right: 1px solid var(--tns-border-dark);
}
.tns-prs__col--solution { background: transparent; }
.tns-prs__col-label {
  font-family: var(--tns-font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tns-prs__col--problem .tns-prs__col-label { color: var(--tns-fg-dark-secondary); }
.tns-prs__col--solution .tns-prs__col-label { color: var(--tns-teal); }
.tns-prs__items { display: flex; flex-direction: column; gap: 24px; }
.tns-prs__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.tns-prs__item-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 2px;
}
.tns-prs__col--problem .tns-prs__item-icon {
  background: rgba(255,80,80,0.1);
  color: #FF7070;
}
.tns-prs__col--solution .tns-prs__item-icon {
  background: rgba(15,212,176,0.12);
  color: var(--tns-teal);
}
.tns-prs__item-heading {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tns-fg-dark-primary);
  margin-bottom: 4px;
}
.tns-prs__item-desc {
  font-size: 0.85rem;
  color: var(--tns-fg-dark-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   FEATURE CARDS
═══════════════════════════════════════════════ */
.tns-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tns-feature-card {
  padding: 28px;
  border: 1px solid var(--tns-border-dark);
  border-radius: var(--tns-radius-card);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s, background 0.2s;
}
.tns-section--dark-alt .tns-feature-card { background: rgba(255,255,255,0.04); }
.tns-feature-card:hover {
  border-color: rgba(79,107,255,0.4);
  background: rgba(79,107,255,0.05);
}
.tns-feature-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(79,107,255,0.14);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--tns-accent-on-dark);
  margin-bottom: 18px;
}
.tns-feature-card__heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tns-fg-dark-primary);
  margin-bottom: 8px;
}
.tns-feature-card__desc {
  font-size: 0.875rem;
  color: var(--tns-fg-dark-secondary);
  line-height: 1.6;
}

/* Features section two-col layout */
.tns-features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.tns-features-layout__aside { position: relative; }
.tns-features-layout__aside img {
  width: 100%;
  border-radius: var(--tns-radius-card);
  border: 1px solid var(--tns-border-dark);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

/* ═══════════════════════════════════════════════
   3-STEP PROCESS
═══════════════════════════════════════════════ */
.tns-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.tns-step {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
.tns-step::after {
  content: '';
  position: absolute;
  top: 44px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: var(--tns-border-light);
}
.tns-step:last-child::after { display: none; }
.tns-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tns-accent-on-light);
  color: #FFFFFF;
  font-family: var(--tns-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.tns-section--light .tns-step__num,
.tns-section--white .tns-step__num { background: var(--tns-accent-on-light); color: #fff; }
.tns-section--dark .tns-step__num,
.tns-section--dark-alt .tns-step__num { background: var(--tns-accent); color: #fff; }
.tns-step__heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.tns-section--light .tns-step__heading,
.tns-section--white .tns-step__heading { color: var(--tns-fg-light-primary); }
.tns-section--dark .tns-step__heading,
.tns-section--dark-alt .tns-step__heading { color: var(--tns-fg-dark-primary); }
.tns-step__desc { font-size: 0.875rem; line-height: 1.6; }
.tns-section--light .tns-step__desc,
.tns-section--white .tns-step__desc { color: var(--tns-fg-light-secondary); }
.tns-section--dark .tns-step__desc,
.tns-section--dark-alt .tns-step__desc { color: var(--tns-fg-dark-secondary); }

/* ═══════════════════════════════════════════════
   PROJECT CARDS
═══════════════════════════════════════════════ */
.tns-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tns-project-card {
  padding: 24px;
  border: 1px solid var(--tns-border-dark);
  border-radius: var(--tns-radius-card);
  background: rgba(255,255,255,0.03);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.tns-project-card:hover {
  border-color: rgba(79,107,255,0.4);
  transform: translateY(-2px);
}
.tns-project-card__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tns-project-card__type {
  font-family: var(--tns-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--tns-fg-dark-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tns-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--tns-font-mono);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.tns-badge--kyc-open {
  background: rgba(15,212,176,0.12);
  color: var(--tns-teal);
  border: 1px solid rgba(15,212,176,0.25);
}
.tns-badge--kyc-open::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--tns-teal);
  border-radius: 50%;
  display: block;
}
.tns-badge--sale-live {
  background: rgba(79,107,255,0.14);
  color: var(--tns-accent-on-dark);
  border: 1px solid rgba(79,107,255,0.3);
}
.tns-badge--sale-live::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--tns-accent-on-dark);
  border-radius: 50%;
  display: block;
  animation: pulse-badge 1.5s ease-in-out infinite;
}
.tns-badge--completed {
  background: rgba(148,163,200,0.12);
  color: var(--tns-fg-dark-secondary);
  border: 1px solid rgba(148,163,200,0.2);
}
@keyframes pulse-badge { 0%,100%{opacity:1} 50%{opacity:0.4} }
.tns-project-card__heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tns-fg-dark-primary);
  line-height: 1.4;
}
.tns-project-card__allocation-bar { }
.tns-allocation-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--tns-fg-dark-secondary);
  margin-bottom: 6px;
}
.tns-allocation-track {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.tns-allocation-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--tns-accent) 0%, var(--tns-accent-on-dark) 100%);
  transition: width 0.4s ease;
}
.tns-project-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--tns-border-dark);
}
.tns-project-card__cap {
  font-family: var(--tns-font-mono);
  font-size: 0.8rem;
  color: var(--tns-fg-dark-secondary);
}

/* ═══════════════════════════════════════════════
   COMPLIANCE CALLOUT
═══════════════════════════════════════════════ */
.tns-compliance-callout {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.tns-compliance-callout__heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-family: var(--tns-font-heading);
  font-weight: 700;
  color: var(--tns-fg-dark-primary);
  margin-bottom: 20px;
}
.tns-compliance-callout__body {
  color: var(--tns-fg-dark-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
}
.tns-boundary-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0 28px;
  text-align: left;
}
.tns-boundary-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--tns-fg-dark-secondary);
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--tns-border-dark);
  border-radius: 8px;
  line-height: 1.5;
}
.tns-boundary-item i { color: var(--tns-teal); margin-top: 2px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════ */
.tns-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.tns-testimonial-card {
  padding: 28px;
  background: var(--tns-bg-white);
  border: 1px solid var(--tns-border-light);
  border-radius: var(--tns-radius-card);
  box-shadow: 0 2px 12px rgba(10,15,30,0.06);
}
.tns-testimonial-card__quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tns-fg-light-primary);
  margin-bottom: 20px;
  font-style: italic;
}
.tns-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tns-avatar-letter {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tns-font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
}
.tns-avatar-letter--a { background: var(--tns-accent); }
.tns-avatar-letter--b { background: var(--tns-teal-muted); }
.tns-testimonial-card__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--tns-fg-light-primary);
}
.tns-testimonial-card__role {
  font-size: 0.8rem;
  color: var(--tns-fg-light-secondary);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════ */
.tns-cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: var(--tns-section-pad-dt) 0;
  background: var(--tns-bg);
}
.tns-cta-band__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.tns-cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}
.tns-cta-band__heading {
  font-family: var(--tns-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--tns-fg-dark-primary);
  margin-bottom: 16px;
}
.tns-cta-band__subhead {
  color: var(--tns-fg-dark-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.tns-cta-band__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════
   NUMBERED STEPS (How It Works page)
═══════════════════════════════════════════════ */
.tns-process-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  counter-reset: process;
}
.tns-process-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: flex-start;
}
.tns-process-item__num {
  width: 64px;
  height: 64px;
  background: var(--tns-accent-on-light);
  color: #FFFFFF;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tns-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}
.tns-section--dark .tns-process-item__num,
.tns-section--dark-alt .tns-process-item__num {
  background: rgba(79,107,255,0.2);
  color: var(--tns-accent-on-dark);
  border: 1px solid rgba(79,107,255,0.3);
}
.tns-process-item__content { }
.tns-process-item__heading {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.tns-section--light .tns-process-item__heading,
.tns-section--white .tns-process-item__heading { color: var(--tns-fg-light-primary); }
.tns-section--dark .tns-process-item__heading,
.tns-section--dark-alt .tns-process-item__heading { color: var(--tns-fg-dark-primary); }
.tns-process-item__desc { font-size: 0.9rem; line-height: 1.7; }
.tns-section--light .tns-process-item__desc,
.tns-section--white .tns-process-item__desc { color: var(--tns-fg-light-secondary); }
.tns-section--dark .tns-process-item__desc,
.tns-section--dark-alt .tns-process-item__desc { color: var(--tns-fg-dark-secondary); }

/* ═══════════════════════════════════════════════
   TIMELINE
═══════════════════════════════════════════════ */
.tns-timeline {
  position: relative;
  padding-left: 32px;
}
.tns-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--tns-border-light);
}
.tns-timeline-item {
  position: relative;
  padding: 0 0 32px 32px;
}
.tns-timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tns-accent-on-light);
  border: 2px solid var(--tns-bg-light);
}
.tns-section--dark .tns-timeline::before,
.tns-section--dark-alt .tns-timeline::before { background: var(--tns-border-dark); }
.tns-section--dark .tns-timeline-item::before,
.tns-section--dark-alt .tns-timeline-item::before {
  background: var(--tns-accent-on-dark);
  border-color: var(--tns-bg-alt);
}
.tns-timeline-item__label {
  font-family: var(--tns-font-mono);
  font-size: 0.75rem;
  color: var(--tns-teal-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.tns-section--dark .tns-timeline-item__label,
.tns-section--dark-alt .tns-timeline-item__label { color: var(--tns-teal); }
.tns-timeline-item__heading {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.tns-section--light .tns-timeline-item__heading,
.tns-section--white .tns-timeline-item__heading { color: var(--tns-fg-light-primary); }
.tns-section--dark .tns-timeline-item__heading,
.tns-section--dark-alt .tns-timeline-item__heading { color: var(--tns-fg-dark-primary); }
.tns-timeline-item__desc { font-size: 0.875rem; }
.tns-section--light .tns-timeline-item__desc,
.tns-section--white .tns-timeline-item__desc { color: var(--tns-fg-light-secondary); }
.tns-section--dark .tns-timeline-item__desc,
.tns-section--dark-alt .tns-timeline-item__desc { color: var(--tns-fg-dark-secondary); }

/* ═══════════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════════ */
.tns-faq { display: flex; flex-direction: column; gap: 4px; }
.tns-faq__item {
  border: 1px solid var(--tns-border-light);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.tns-section--dark .tns-faq__item,
.tns-section--dark-alt .tns-faq__item { border-color: var(--tns-border-dark); }
.tns-faq__item.is-open {
  border-color: rgba(36,64,199,0.4);
}
.tns-section--dark .tns-faq__item.is-open,
.tns-section--dark-alt .tns-faq__item.is-open { border-color: rgba(79,107,255,0.4); }
.tns-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  font-family: var(--tns-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}
.tns-section--light .tns-faq__question,
.tns-section--white .tns-faq__question { color: var(--tns-fg-light-primary); }
.tns-section--dark .tns-faq__question,
.tns-section--dark-alt .tns-faq__question { color: var(--tns-fg-dark-primary); }
.tns-faq__question:hover { background: rgba(0,0,0,0.03); }
.tns-section--dark .tns-faq__question:hover,
.tns-section--dark-alt .tns-faq__question:hover { background: rgba(255,255,255,0.04); }
.tns-faq__chevron {
  font-size: 0.875rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--tns-fg-light-secondary);
}
.tns-section--dark .tns-faq__chevron,
.tns-section--dark-alt .tns-faq__chevron { color: var(--tns-fg-dark-secondary); }
.tns-faq__item.is-open .tns-faq__chevron { transform: rotate(180deg); }
.tns-faq__answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.9rem;
  line-height: 1.7;
}
.tns-section--light .tns-faq__answer,
.tns-section--white .tns-faq__answer { color: var(--tns-fg-light-secondary); }
.tns-section--dark .tns-faq__answer,
.tns-section--dark-alt .tns-faq__answer { color: var(--tns-fg-dark-secondary); }
.tns-faq__item.is-open .tns-faq__answer { display: block; }

/* ═══════════════════════════════════════════════
   TABLES
═══════════════════════════════════════════════ */
.tns-table-wrap { overflow-x: auto; border-radius: var(--tns-radius-card); border: 1px solid var(--tns-border-light); }
.tns-section--dark .tns-table-wrap,
.tns-section--dark-alt .tns-table-wrap { border-color: var(--tns-border-dark); }
.tns-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.tns-table thead tr {
  background: var(--tns-bg-light);
  border-bottom: 1px solid var(--tns-border-light);
}
.tns-section--dark .tns-table thead tr,
.tns-section--dark-alt .tns-table thead tr {
  background: rgba(255,255,255,0.06);
  border-bottom-color: var(--tns-border-dark);
}
.tns-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tns-fg-light-secondary);
}
.tns-section--dark .tns-table th,
.tns-section--dark-alt .tns-table th { color: var(--tns-fg-dark-secondary); }
.tns-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--tns-border-light);
  color: var(--tns-fg-light-primary);
  vertical-align: top;
}
.tns-section--dark .tns-table td,
.tns-section--dark-alt .tns-table td {
  border-bottom-color: var(--tns-border-dark);
  color: var(--tns-fg-dark-secondary);
}
.tns-table tr:last-child td { border-bottom: none; }
.tns-table .tns-mono { color: var(--tns-accent-on-light); }
.tns-section--dark .tns-table .tns-mono { color: var(--tns-accent-on-dark); }

/* ═══════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════ */
.tns-form { display: flex; flex-direction: column; gap: 20px; }
.tns-form-group { display: flex; flex-direction: column; gap: 6px; }
.tns-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tns-label {
  font-size: 0.875rem;
  font-weight: 600;
}
.tns-section--light .tns-label,
.tns-section--white .tns-label { color: var(--tns-fg-light-primary); }
.tns-section--dark .tns-label,
.tns-section--dark-alt .tns-label { color: var(--tns-fg-dark-secondary); }
.tns-input,
.tns-textarea,
.tns-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--tns-radius-input);
  font-family: var(--tns-font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  border: 1.5px solid var(--tns-border-light);
  background: var(--tns-bg-white);
  color: var(--tns-fg-light-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.tns-section--dark .tns-input,
.tns-section--dark .tns-textarea,
.tns-section--dark .tns-select,
.tns-section--dark-alt .tns-input,
.tns-section--dark-alt .tns-textarea,
.tns-section--dark-alt .tns-select {
  background: rgba(255,255,255,0.05);
  border-color: var(--tns-border-dark);
  color: var(--tns-fg-dark-primary);
}
.tns-section--dark .tns-input::placeholder,
.tns-section--dark-alt .tns-input::placeholder { color: var(--tns-fg-dark-secondary); }
.tns-input:focus,
.tns-textarea:focus,
.tns-select:focus {
  border-color: var(--tns-accent-on-light);
  box-shadow: 0 0 0 3px rgba(36,64,199,0.1);
}
.tns-section--dark .tns-input:focus,
.tns-section--dark-alt .tns-input:focus {
  border-color: var(--tns-accent-on-dark);
  box-shadow: 0 0 0 3px rgba(79,107,255,0.15);
}
.tns-textarea { min-height: 120px; resize: vertical; }
.tns-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23374151' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.tns-section--dark .tns-select,
.tns-section--dark-alt .tns-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3C8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.tns-section--dark .tns-select option,
.tns-section--dark-alt .tns-select option {
  background: var(--tns-bg-alt);
  color: var(--tns-fg-dark-primary);
}
.tns-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
}
.tns-checkbox-row input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--tns-accent); }
.tns-section--light .tns-checkbox-row,
.tns-section--white .tns-checkbox-row { color: var(--tns-fg-light-secondary); }
.tns-section--dark .tns-checkbox-row,
.tns-section--dark-alt .tns-checkbox-row { color: var(--tns-fg-dark-secondary); }

/* ═══════════════════════════════════════════════
   BLOG CARDS
═══════════════════════════════════════════════ */
.tns-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tns-blog-card {
  background: var(--tns-bg-white);
  border: 1px solid var(--tns-border-light);
  border-radius: var(--tns-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.tns-blog-card:hover {
  box-shadow: 0 8px 32px rgba(10,15,30,0.1);
  border-color: rgba(36,64,199,0.3);
}
.tns-blog-card__thumb { aspect-ratio: 1200/630; overflow: hidden; background: var(--tns-bg); }
.tns-blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tns-blog-card:hover .tns-blog-card__thumb img { transform: scale(1.04); }
.tns-blog-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.tns-blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.tns-tag {
  display: inline-block;
  padding: 3px 8px;
  background: var(--tns-bg-light);
  color: var(--tns-accent-on-light);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--tns-font-mono);
  letter-spacing: 0.04em;
  border: 1px solid var(--tns-border-light);
}
.tns-blog-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tns-fg-light-primary);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tns-blog-card__summary {
  font-size: 0.8rem;
  color: var(--tns-fg-light-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tns-blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--tns-fg-light-secondary);
  padding-top: 12px;
  border-top: 1px solid var(--tns-border-light);
  margin-top: auto;
}
.tns-blog-card__date { font-family: var(--tns-font-mono); }
.tns-blog-card__readtime { display: flex; align-items: center; gap: 4px; }

/* Article body */
.tns-article-body { max-width: 720px; margin: 0 auto; }
body.tns-page--light-top .tns-article-body h1,
body.tns-page--light-top .tns-article-body h2,
body.tns-page--light-top .tns-article-body h3 { color: var(--tns-fg-light-primary); margin: 32px 0 12px; }
body.tns-page--light-top .tns-article-body h1 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
body.tns-page--light-top .tns-article-body h2 { font-size: 1.25rem; }
body.tns-page--light-top .tns-article-body h3 { font-size: 1.05rem; }
body.tns-page--light-top .tns-article-body p { color: var(--tns-fg-light-secondary); line-height: 1.75; margin-bottom: 20px; }
body.tns-page--light-top .tns-article-body ul,
body.tns-page--light-top .tns-article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--tns-fg-light-secondary);
}
body.tns-page--light-top .tns-article-body li { margin-bottom: 8px; line-height: 1.7; }
body.tns-page--light-top .tns-article-body ul { list-style: disc; }
body.tns-page--light-top .tns-article-body ol { list-style: decimal; }
body.tns-page--light-top .tns-article-body a { color: var(--tns-accent-on-light); text-decoration: underline; text-underline-offset: 3px; }
body.tns-page--light-top .tns-article-body code {
  font-family: var(--tns-font-mono);
  font-size: 0.85em;
  background: var(--tns-bg-light);
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--tns-accent-on-light);
}
body.tns-page--light-top .tns-article-body blockquote {
  border-left: 3px solid var(--tns-accent-on-light);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--tns-bg-light);
  border-radius: 0 8px 8px 0;
  color: var(--tns-fg-light-primary);
  font-style: italic;
}
body.tns-page--light-top .tns-article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 24px 0;
}
body.tns-page--light-top .tns-article-body th {
  background: var(--tns-bg-light);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tns-fg-light-secondary);
  border-bottom: 2px solid var(--tns-border-light);
}
body.tns-page--light-top .tns-article-body td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--tns-border-light);
  color: var(--tns-fg-light-secondary);
}
body.tns-page--light-top .tns-article-body tr:last-child td { border-bottom: none; }

/* Article header */
.tns-article-header {
  padding: 120px 0 48px;
  background: var(--tns-bg-light);
}
.tns-article-header__inner { max-width: var(--tns-container); margin: 0 auto; padding: 0 24px; }
.tns-article-header__cover {
  width: 100%;
  max-width: 900px;
  border-radius: var(--tns-radius-card);
  margin: 0 auto 40px;
}
.tns-article-header__cover img { width: 100%; height: auto; display: block; }
.tns-article-header__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--tns-fg-light-secondary);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.tns-article-header__author { font-weight: 600; color: var(--tns-fg-light-primary); }
.tns-article-header__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--tns-font-heading);
  font-weight: 700;
  color: var(--tns-fg-light-primary);
  margin-bottom: 16px;
  line-height: 1.25;
}
.tns-article-header__tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Related articles */
.tns-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ═══════════════════════════════════════════════
   TEAM GRID
═══════════════════════════════════════════════ */
.tns-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tns-team-card {
  text-align: center;
  padding: 28px 24px;
  background: var(--tns-bg-white);
  border: 1px solid var(--tns-border-light);
  border-radius: var(--tns-radius-card);
  box-shadow: 0 2px 12px rgba(10,15,30,0.06);
}
.tns-team-card__portrait {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--tns-border-light);
}
.tns-team-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tns-team-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tns-fg-light-primary);
  margin-bottom: 4px;
}
.tns-team-card__title {
  font-size: 0.8rem;
  color: var(--tns-accent-on-light);
  font-weight: 600;
  font-family: var(--tns-font-mono);
  margin-bottom: 12px;
}
.tns-team-card__bio {
  font-size: 0.85rem;
  color: var(--tns-fg-light-secondary);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   ABOUT HERO
═══════════════════════════════════════════════ */
.tns-about-hero {
  position: relative;
  padding: 120px 0 96px;
  background: var(--tns-bg);
  overflow: hidden;
}
.tns-about-hero__bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tns-about-hero__bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.tns-about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--tns-container);
  margin: 0 auto;
  padding: 0 24px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.tns-about-hero__heading { color: var(--tns-fg-dark-primary); margin-bottom: 16px; }
.tns-about-hero__subhead { color: var(--tns-fg-dark-secondary); font-size: 1.1rem; line-height: 1.75; }

/* Values grid */
.tns-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tns-value-card {
  padding: 28px;
  background: var(--tns-bg-white);
  border: 1px solid var(--tns-border-light);
  border-radius: var(--tns-radius-card);
}
.tns-value-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(36,64,199,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--tns-accent-on-light);
  margin-bottom: 16px;
}
.tns-value-card__heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tns-fg-light-primary);
  margin-bottom: 8px;
}
.tns-value-card__desc { font-size: 0.875rem; color: var(--tns-fg-light-secondary); line-height: 1.65; }

/* ═══════════════════════════════════════════════
   LOGIN CARD
═══════════════════════════════════════════════ */
.tns-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tns-bg);
  padding: 48px 24px;
}
.tns-login-card {
  width: 100%;
  max-width: 420px;
  background: var(--tns-bg-alt);
  border: 1px solid var(--tns-border-dark);
  border-radius: 16px;
  padding: 40px 36px;
}
.tns-login-card__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.tns-login-card__logo img { height: 32px; width: auto; }
.tns-login-card__heading {
  font-size: 1.5rem;
  font-family: var(--tns-font-heading);
  font-weight: 700;
  color: var(--tns-fg-dark-primary);
  text-align: center;
  margin-bottom: 8px;
}
.tns-login-card__subhead {
  font-size: 0.875rem;
  color: var(--tns-fg-dark-secondary);
  text-align: center;
  margin-bottom: 28px;
}
.tns-login-card__links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  font-size: 0.8rem;
}
.tns-login-card__links a { color: var(--tns-accent-on-dark); }
.tns-login-card__links a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════ */
.tns-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.tns-contact-info { }
.tns-contact-info__heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tns-fg-light-primary);
  margin-bottom: 20px;
}
.tns-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.tns-contact-info__item i {
  color: var(--tns-accent-on-light);
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}
.tns-contact-info__item a { color: var(--tns-accent-on-light); }
.tns-contact-info__item a:hover { text-decoration: underline; }
.tns-contact-info__label { color: var(--tns-fg-light-secondary); }

/* ═══════════════════════════════════════════════
   LEGAL PAGES
═══════════════════════════════════════════════ */
.tns-legal-page {
  padding: 120px 0 96px;
  background: var(--tns-bg-light);
}
.tns-legal-page__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.tns-legal-article {
  background: var(--tns-bg-white);
  border: 1px solid var(--tns-border-light);
  border-radius: var(--tns-radius-card);
  padding: 48px 52px;
}
.tns-legal-article h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--tns-fg-light-primary);
  margin-bottom: 8px;
}
.tns-legal-article h2 {
  font-size: 1.125rem;
  color: var(--tns-fg-light-primary);
  margin: 36px 0 12px;
}
.tns-legal-article p {
  font-size: 0.9rem;
  color: var(--tns-fg-light-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}
.tns-legal-article ul {
  padding-left: 24px;
  list-style: disc;
  margin-bottom: 14px;
}
.tns-legal-article li {
  font-size: 0.9rem;
  color: var(--tns-fg-light-secondary);
  margin-bottom: 6px;
  line-height: 1.65;
}
.tns-legal-article a { color: var(--tns-accent-on-light); text-decoration: underline; text-underline-offset: 2px; }
.tns-legal-article address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--tns-fg-light-secondary);
  line-height: 1.8;
  margin-top: 8px;
}
.tns-legal-meta {
  font-size: 0.8rem;
  color: var(--tns-fg-light-secondary);
  margin-bottom: 4px;
}
.tns-legal-article .legal-header { margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--tns-border-light); }
.tns-legal-article section { margin-bottom: 8px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; margin: 16px 0; }
.legal-table th {
  background: var(--tns-bg-light);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tns-fg-light-secondary);
  border-bottom: 2px solid var(--tns-border-light);
}
.legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--tns-border-light);
  color: var(--tns-fg-light-secondary);
}
.legal-table tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════════════════════
   STATUS / KYC FLOW ICONS
═══════════════════════════════════════════════ */
.tns-kyc-steps { display: flex; flex-direction: column; gap: 20px; }
.tns-kyc-step { display: flex; align-items: flex-start; gap: 20px; }
.tns-kyc-step__num {
  width: 40px;
  height: 40px;
  background: var(--tns-accent-on-light);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tns-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.tns-kyc-step__heading { font-size: 0.95rem; font-weight: 700; color: var(--tns-fg-light-primary); margin-bottom: 4px; }
.tns-kyc-step__desc { font-size: 0.85rem; color: var(--tns-fg-light-secondary); line-height: 1.6; }

/* Filter tabs */
.tns-filter-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  width: fit-content;
  margin: 0 auto 48px;
}
.tns-filter-tab {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  border: none;
  color: var(--tns-fg-dark-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.tns-filter-tab.is-active,
.tns-filter-tab:hover { background: var(--tns-accent); color: #fff; }

/* Allocation tiers */
.tns-tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tns-tier-card {
  padding: 20px;
  border: 1px solid var(--tns-border-light);
  border-radius: var(--tns-radius-card);
  text-align: center;
  background: var(--tns-bg-white);
}
.tns-tier-card--bronze { border-top: 3px solid #CD7F32; }
.tns-tier-card--silver { border-top: 3px solid #9EA3AC; }
.tns-tier-card--gold { border-top: 3px solid #D4AF37; }
.tns-tier-card--platinum { border-top: 3px solid var(--tns-accent); }
.tns-tier-card__name { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; color: var(--tns-fg-light-secondary); font-family: var(--tns-font-mono); }
.tns-tier-card--bronze .tns-tier-card__name { color: #CD7F32; }
.tns-tier-card--silver .tns-tier-card__name { color: #9EA3AC; }
.tns-tier-card--gold .tns-tier-card__name { color: #B8961E; }
.tns-tier-card--platinum .tns-tier-card__name { color: var(--tns-accent-on-light); }
.tns-tier-card__amount {
  font-family: var(--tns-font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--tns-fg-light-primary);
  margin-bottom: 4px;
}
.tns-tier-card__score { font-size: 0.8rem; color: var(--tns-fg-light-secondary); }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.tns-footer {
  background: var(--tns-bg-alt);
  border-top: 1px solid var(--tns-border-dark);
  padding: 64px 0 32px;
}
.tns-footer__inner {
  max-width: var(--tns-container);
  margin: 0 auto;
  padding: 0 24px;
}
.tns-footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--tns-border-dark);
}
.tns-footer__brand { }
.tns-footer__logo { margin-bottom: 16px; }
.tns-footer__logo img { height: 28px; width: auto; }
.tns-footer__tagline {
  font-size: 0.875rem;
  color: var(--tns-fg-dark-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 240px;
}
.tns-footer__col-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tns-fg-dark-primary);
  margin-bottom: 16px;
  font-family: var(--tns-font-mono);
}
.tns-footer__links { display: flex; flex-direction: column; gap: 10px; }
.tns-footer__link {
  font-size: 0.875rem;
  color: var(--tns-fg-dark-secondary);
  transition: color 0.2s;
  line-height: 1.4;
}
.tns-footer__link:hover { color: var(--tns-fg-dark-primary); }
.tns-footer__bottom {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tns-footer__copyright {
  font-size: 0.8rem;
  color: var(--tns-fg-dark-secondary);
}
.tns-footer__disclaimer {
  font-size: 0.75rem;
  color: rgba(148,163,200,0.6);
  line-height: 1.7;
  max-width: 840px;
}
.tns-footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.tns-footer__cookie-link {
  font-size: 0.8rem;
  color: var(--tns-fg-dark-secondary);
  transition: color 0.2s;
}
.tns-footer__cookie-link:hover { color: var(--tns-fg-dark-primary); }

/* ═══════════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--tns-bg-alt);
  border-top: 1px solid var(--tns-border-dark);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}
.cookie-banner__inner {
  max-width: var(--tns-container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  font-size: 0.875rem;
  color: var(--tns-fg-dark-secondary);
  flex: 1;
  min-width: 240px;
  line-height: 1.6;
}
.cookie-banner__text a { color: var(--tns-accent-on-dark); text-decoration: underline; }
.cookie-banner__actions { flex-shrink: 0; }
.cookie-banner__btn {
  padding: 8px 18px;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--tns-font-body);
  cursor: pointer;
  border: 1.5px solid transparent;
}
.cookie-banner__btn--primary {
  background: var(--tns-accent);
  color: #FFFFFF;
  border-color: var(--tns-accent);
}
.cookie-banner__btn--primary:hover { background: #3A55E8; }

/* ═══════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════ */
.tns-text-teal { color: var(--tns-teal); }
.tns-section--light .tns-text-teal,
.tns-section--white .tns-text-teal { color: var(--tns-teal-muted); }
.tns-text-accent { color: var(--tns-accent-on-dark); }
.tns-section--light .tns-text-accent,
.tns-section--white .tns-text-accent { color: var(--tns-accent-on-light); }
.tns-mt-8 { margin-top: 8px; }
.tns-mt-12 { margin-top: 12px; }
.tns-mt-20 { margin-top: 20px; }
.tns-mt-32 { margin-top: 32px; }
.tns-mt-48 { margin-top: 48px; }
.tns-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.tns-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Failsafe: always reveal after 1.2s */
.tns-fade-in { animation: tns-failsafe-reveal 0s 1.2s forwards; }
@keyframes tns-failsafe-reveal { to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --tns-section-pad-dt: 72px; }
  .tns-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .tns-subhero__inner { grid-template-columns: 1fr; }
  .tns-features-layout { grid-template-columns: 1fr; }
  .tns-footer__top { grid-template-columns: 1fr 1fr; }
  .tns-team-grid { grid-template-columns: repeat(2, 1fr); }
  .tns-tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .tns-contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root {
    --tns-section-pad-dt: var(--tns-section-pad-mb);
    --tns-container: 100%;
  }
  .tns-nav__links { display: none; }
  .tns-nav__actions .tns-btn--nav-signin { display: none; }
  .tns-nav__hamburger { display: flex; }
  .tns-hero { min-height: 85vh; padding: 100px 0 64px; }
  .tns-hero__inner { grid-template-columns: 1fr; }
  .tns-hero__visual { display: none; }
  .tns-prs__grid { grid-template-columns: 1fr; }
  .tns-prs__col--problem { border-right: none; border-bottom: 1px solid var(--tns-border-dark); }
  .tns-features-grid { grid-template-columns: 1fr; }
  .tns-project-grid { grid-template-columns: 1fr; }
  .tns-steps { grid-template-columns: 1fr; }
  .tns-step::after { display: none; }
  .tns-testimonials-grid { grid-template-columns: 1fr; }
  .tns-blog-grid { grid-template-columns: 1fr; }
  .tns-team-grid { grid-template-columns: 1fr; }
  .tns-values-grid { grid-template-columns: 1fr; }
  .tns-tiers-grid { grid-template-columns: 1fr 1fr; }
  .tns-footer__top { grid-template-columns: 1fr 1fr; }
  .tns-form-row { grid-template-columns: 1fr; }
  .tns-login-card { padding: 28px 20px; }
  .tns-legal-article { padding: 28px 20px; }
  .tns-related-grid { grid-template-columns: 1fr; }
  .tns-filter-tabs { flex-wrap: wrap; }
  .tns-process-item { grid-template-columns: 56px 1fr; gap: 16px; }
}
@media (max-width: 480px) {
  .tns-tiers-grid { grid-template-columns: 1fr; }
  .tns-footer__top { grid-template-columns: 1fr; }
  .tns-footer__meta { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════
   EYEBROW VARIANTS (BEM modifiers)
═══════════════════════════════════════════════ */
.tns-eyebrow--on-dark { color: var(--tns-teal); display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.tns-eyebrow--on-light { color: var(--tns-teal-muted); display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.tns-eyebrow__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tns-teal);
  flex-shrink: 0;
}
.tns-eyebrow__line--light { background: var(--tns-teal-muted); }

/* section heading/subhead on light (alias for scoped use) */
.tns-section__heading--light { color: var(--tns-fg-light-primary); }
.tns-section__subhead--light { color: var(--tns-fg-light-secondary); }

/* ═══════════════════════════════════════════════
   ABOUT HERO
═══════════════════════════════════════════════ */
.tns-about-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 68px; /* nav height */
}
.tns-about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tns-about-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.tns-about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,30,0.7) 0%, rgba(10,15,30,0.92) 100%);
  z-index: 1;
}
.tns-about-hero__inner {
  max-width: var(--tns-container);
  margin: 0 auto;
  padding: 80px 24px 80px;
  position: relative;
  z-index: 2;
  width: 100%;
}
.tns-about-hero__content { max-width: 680px; }
.tns-about-hero__heading {
  color: var(--tns-fg-dark-primary);
  font-family: var(--tns-font-heading);
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.tns-about-hero__subhead {
  color: var(--tns-fg-dark-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 560px;
}

/* ═══════════════════════════════════════════════
   ABOUT MISSION
═══════════════════════════════════════════════ */
.tns-about-mission {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}
.tns-about-mission__quote {
  font-family: var(--tns-font-heading);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  color: var(--tns-fg-dark-primary);
  border-left: 3px solid var(--tns-teal);
  padding-left: 24px;
  margin-bottom: 28px;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .tns-about-mission { grid-template-columns: 1fr; gap: 24px; }
}

/* ═══════════════════════════════════════════════
   TEAM GRID + CARDS
═══════════════════════════════════════════════ */
.tns-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.tns-team-card {
  background: var(--tns-bg-white);
  border: 1px solid var(--tns-border-light);
  border-radius: var(--tns-radius-card);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.tns-team-card:hover { box-shadow: 0 8px 32px rgba(10,15,30,0.1); }
.tns-team-card__portrait { aspect-ratio: 1/1; overflow: hidden; }
.tns-team-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tns-team-card__body { padding: 24px; }
.tns-team-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tns-fg-light-primary);
  margin-bottom: 4px;
}
.tns-team-card__title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tns-teal-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--tns-font-mono);
  margin-bottom: 12px;
}
.tns-team-card__bio {
  font-size: 0.875rem;
  color: var(--tns-fg-light-secondary);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   VALUES GRID
═══════════════════════════════════════════════ */
.tns-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.tns-value-card {
  padding: 32px 28px;
  border: 1px solid var(--tns-border-light);
  border-radius: var(--tns-radius-card);
  background: var(--tns-bg-light);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tns-value-card:hover {
  border-color: var(--tns-teal-muted);
  box-shadow: 0 4px 20px rgba(10,15,30,0.06);
}
.tns-value-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(10,158,132,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--tns-teal-muted);
  margin-bottom: 20px;
}
.tns-value-card__heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tns-fg-light-primary);
  margin-bottom: 10px;
}
.tns-value-card__body {
  font-size: 0.875rem;
  color: var(--tns-fg-light-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   ABOUT CONTACT CALLOUT
═══════════════════════════════════════════════ */
.tns-about-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.tns-about-contact__heading {
  color: var(--tns-fg-dark-primary);
  font-family: var(--tns-font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.tns-about-contact__address {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--tns-border-dark);
  border-radius: var(--tns-radius-card);
}
.tns-about-contact__address-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.tns-about-contact__address-item i {
  color: var(--tns-teal);
  width: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}
.tns-about-contact__address-item strong { color: var(--tns-fg-dark-primary); display: block; margin-bottom: 2px; font-weight: 600; font-size: 0.875rem; }
.tns-about-contact__address-item div { color: var(--tns-fg-dark-secondary); font-size: 0.875rem; line-height: 1.65; }
.tns-about-contact__link { color: var(--tns-accent-on-dark); transition: color 0.2s; }
.tns-about-contact__link:hover { color: var(--tns-fg-dark-primary); text-decoration: underline; }
@media (max-width: 768px) { .tns-about-contact { grid-template-columns: 1fr; gap: 32px; } }

/* ═══════════════════════════════════════════════
   CONTACT PAGE ENHANCED
═══════════════════════════════════════════════ */
.tns-subhero__info-block { }
.tns-subhero__content--wide { max-width: 600px; }
.tns-contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  background: var(--tns-bg-white);
  border: 1px solid var(--tns-border-light);
  border-radius: var(--tns-radius-card);
  box-shadow: 0 2px 16px rgba(10,15,30,0.06);
}
.tns-contact-info-card__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.tns-contact-info-card__item i {
  color: var(--tns-accent-on-light);
  width: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}
.tns-contact-info-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tns-fg-light-secondary);
  margin-bottom: 3px;
  font-family: var(--tns-font-mono);
}
.tns-contact-info-card__value {
  font-size: 0.9rem;
  color: var(--tns-fg-light-primary);
  line-height: 1.6;
}
.tns-contact-info-card__link { color: var(--tns-accent-on-light); transition: color 0.2s; }
.tns-contact-info-card__link:hover { text-decoration: underline; }

.tns-contact-layout__form-col { }
.tns-contact-layout__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tns-contact-aside-card {
  padding: 24px;
  background: var(--tns-bg-light);
  border: 1px solid var(--tns-border-light);
  border-radius: var(--tns-radius-card);
}
.tns-contact-aside-card--teal {
  background: rgba(10,158,132,0.05);
  border-color: rgba(10,158,132,0.2);
}
.tns-contact-aside-card__heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tns-fg-light-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tns-contact-aside-card__heading i { color: var(--tns-accent-on-light); font-size: 0.95rem; }
.tns-contact-aside-card--teal .tns-contact-aside-card__heading i { color: var(--tns-teal-muted); }
.tns-contact-aside-card__body {
  font-size: 0.875rem;
  color: var(--tns-fg-light-secondary);
  line-height: 1.7;
  margin-bottom: 10px;
}

/* ═══════════════════════════════════════════════
   BLOG INDEX + ARTICLE
═══════════════════════════════════════════════ */
.tns-subhero__inner--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  grid-template-columns: unset;
}
.tns-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.tns-blog-grid--3col { grid-template-columns: repeat(3, 1fr); }
.tns-blog-card {
  background: var(--tns-bg-white);
  border: 1px solid var(--tns-border-light);
  border-radius: var(--tns-radius-card);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.tns-blog-card:hover {
  box-shadow: 0 8px 32px rgba(10,15,30,0.1);
  border-color: var(--tns-accent-on-light);
}
.tns-blog-card--compact .tns-blog-card__cover { aspect-ratio: 16/8; }
.tns-blog-card__cover-link { display: block; overflow: hidden; }
.tns-blog-card__cover {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.tns-blog-card:hover .tns-blog-card__cover { transform: scale(1.02); }
.tns-blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tns-blog-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.tns-tag {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--tns-font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(36,64,199,0.08);
  color: var(--tns-accent-on-light);
  border-radius: 4px;
  white-space: nowrap;
}
.tns-blog-card__heading {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  flex: 1;
}
.tns-blog-card__heading a { color: var(--tns-fg-light-primary); transition: color 0.2s; }
.tns-blog-card__heading a:hover { color: var(--tns-accent-on-light); }
.tns-blog-card--compact .tns-blog-card__heading { font-size: 0.9rem; }
.tns-blog-card__summary {
  font-size: 0.875rem;
  color: var(--tns-fg-light-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}
.tns-blog-card__meta {
  font-size: 0.8rem;
  color: var(--tns-fg-light-secondary);
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}
.tns-blog-card__sep { color: var(--tns-border-light); }

/* Article layout */
.tns-container--article {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.tns-article-header { padding-top: 100px; padding-bottom: 0; }
.tns-article-header__inner {
  max-width: var(--tns-container);
  margin: 0 auto;
  padding: 0 24px 48px;
}
.tns-article-header__title {
  font-family: var(--tns-font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--tns-fg-light-primary);
  line-height: 1.25;
  margin-bottom: 20px;
}
.tns-article-header__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--tns-fg-light-secondary);
}
.tns-article-header__author { font-weight: 600; color: var(--tns-fg-light-primary); }
.tns-article-header__sep { color: var(--tns-border-light); }
/* Article body (light-top scoped) */
.tns-container tns-container--article .tns-article-body,
body.tns-page--light-top .tns-article-body {
  padding: 48px 0 64px;
}
body.tns-page--light-top .tns-article-body h1,
body.tns-page--light-top .tns-article-body h2,
body.tns-page--light-top .tns-article-body h3 { color: var(--tns-fg-light-primary); }
body.tns-page--light-top .tns-article-body p,
body.tns-page--light-top .tns-article-body li { color: var(--tns-fg-light-secondary); }
body.tns-page--light-top .tns-article-body a { color: var(--tns-accent-on-light); text-decoration: underline; }
body.tns-page--light-top .tns-article-body h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 16px; }
body.tns-page--light-top .tns-article-body h3 { font-size: 1.2rem; margin-top: 28px; margin-bottom: 12px; }
body.tns-page--light-top .tns-article-body p { margin-bottom: 18px; font-size: 1rem; line-height: 1.75; }
body.tns-page--light-top .tns-article-body ul,
body.tns-page--light-top .tns-article-body ol { padding-left: 24px; margin-bottom: 18px; }
body.tns-page--light-top .tns-article-body ul { list-style: disc; }
body.tns-page--light-top .tns-article-body ol { list-style: decimal; }
body.tns-page--light-top .tns-article-body li { margin-bottom: 8px; line-height: 1.65; font-size: 1rem; }
body.tns-page--light-top .tns-article-body code {
  font-family: var(--tns-font-mono);
  font-size: 0.875rem;
  background: var(--tns-bg-light);
  color: var(--tns-accent-on-light);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Breadcrumb */
.tns-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--tns-fg-light-secondary);
  margin-bottom: 20px;
}
.tns-breadcrumb__link { color: var(--tns-accent-on-light); transition: color 0.2s; }
.tns-breadcrumb__link:hover { text-decoration: underline; }
.tns-breadcrumb__sep { color: var(--tns-border-light); }
.tns-breadcrumb__current { color: var(--tns-fg-light-secondary); }

/* ═══════════════════════════════════════════════
   LOGIN / AUTH PAGES
═══════════════════════════════════════════════ */
.tns-login-page {
  min-height: 100vh;
  background: var(--tns-bg);
  display: flex;
  flex-direction: column;
}
.tns-auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 64px;
}
.tns-auth-card {
  background: var(--tns-bg-alt);
  border: 1px solid var(--tns-border-dark);
  border-radius: 16px;
  padding: 40px 40px 36px;
  width: 100%;
  max-width: 440px;
}
.tns-auth-card--wider { max-width: 560px; }
.tns-auth-card__header { text-align: center; margin-bottom: 32px; }
.tns-auth-card__logo { margin-bottom: 24px; display: flex; justify-content: center; }
.tns-auth-card__logo img { height: 28px; width: auto; }
.tns-auth-card__title {
  font-family: var(--tns-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tns-fg-dark-primary);
  margin-bottom: 8px;
}
.tns-auth-card__subtitle {
  font-size: 0.875rem;
  color: var(--tns-fg-dark-secondary);
}
.tns-auth-form { display: flex; flex-direction: column; gap: 18px; }
.tns-auth-form__forgot {
  font-size: 0.8rem;
  color: var(--tns-accent-on-dark);
  transition: color 0.2s;
}
.tns-auth-form__forgot:hover { color: var(--tns-fg-dark-primary); text-decoration: underline; }
.tns-auth-form__notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(123,147,255,0.08);
  border: 1px solid rgba(123,147,255,0.2);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--tns-fg-dark-secondary);
  line-height: 1.5;
}
.tns-auth-form__notice i { color: var(--tns-accent-on-dark); flex-shrink: 0; margin-top: 1px; }
.tns-auth-card__footer {
  margin-top: 24px;
  text-align: center;
  border-top: 1px solid var(--tns-border-dark);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tns-auth-card__footer-text {
  font-size: 0.85rem;
  color: var(--tns-fg-dark-secondary);
}
.tns-auth-card__footer-link { color: var(--tns-accent-on-dark); transition: color 0.2s; }
.tns-auth-card__footer-link:hover { color: var(--tns-fg-dark-primary); text-decoration: underline; }
.tns-auth-card__footer-note {
  font-size: 0.75rem;
  color: rgba(148,163,200,0.6);
  line-height: 1.6;
}

/* Dark form inputs */
.tns-form__label--dark {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tns-fg-dark-secondary);
  margin-bottom: 6px;
}
.tns-form__input--dark {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--tns-border-dark);
  border-radius: var(--tns-radius-input);
  font-family: var(--tns-font-body);
  font-size: 0.9rem;
  color: var(--tns-fg-dark-primary);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.tns-form__input--dark::placeholder { color: rgba(148,163,200,0.4); }
.tns-form__input--dark:focus {
  border-color: var(--tns-accent-on-dark);
  background: rgba(255,255,255,0.08);
}

/* Checkbox */
.tns-form__group--checkbox { }
.tns-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.tns-form__checkbox {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--tns-accent);
  cursor: pointer;
}
.tns-form__checkbox-text {
  font-size: 0.8rem;
  color: var(--tns-fg-dark-secondary);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════
   LEGAL PAGES
═══════════════════════════════════════════════ */
.tns-legal-hero {
  padding: 100px 0 32px;
}
.tns-container--legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* legal-article: template content styles */
.legal-article {
  padding: 48px 0 80px;
}
.legal-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--tns-border-light);
}
.legal-header h1 {
  font-family: var(--tns-font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--tns-fg-light-primary);
  margin-bottom: 8px;
}
.legal-meta {
  font-size: 0.8rem;
  color: var(--tns-fg-light-secondary);
  margin-bottom: 4px;
}
.legal-article section {
  margin-bottom: 8px;
}
.legal-article h2 {
  font-family: var(--tns-font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--tns-fg-light-primary);
  margin: 36px 0 12px;
}
.legal-article p {
  font-size: 0.9rem;
  color: var(--tns-fg-light-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-article ul {
  padding-left: 24px;
  list-style: disc;
  margin-bottom: 14px;
}
.legal-article li {
  font-size: 0.9rem;
  color: var(--tns-fg-light-secondary);
  margin-bottom: 6px;
  line-height: 1.65;
}
.legal-article a { color: var(--tns-accent-on-light); text-decoration: underline; text-underline-offset: 2px; }
.legal-article address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--tns-fg-light-secondary);
  line-height: 1.8;
  margin-top: 8px;
  border-top: 1px solid var(--tns-border-light);
  padding-top: 12px;
}

/* ═══════════════════════════════════════════════
   FOOTER MINIMAL (login pages)
═══════════════════════════════════════════════ */
.tns-footer--minimal {
  padding: 16px 0;
  background: var(--tns-bg-alt);
  border-top: 1px solid var(--tns-border-dark);
}
.tns-footer--minimal .tns-footer__bottom {
  padding-top: 0;
}

/* ═══════════════════════════════════════════════
   ADDITIONAL RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .tns-about-contact { grid-template-columns: 1fr; gap: 32px; }
  .tns-blog-grid--3col { grid-template-columns: repeat(2, 1fr); }
  .tns-values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tns-about-hero { min-height: 380px; }
  .tns-blog-grid { grid-template-columns: 1fr; }
  .tns-blog-grid--3col { grid-template-columns: 1fr; }
  .tns-values-grid { grid-template-columns: 1fr; }
  .tns-team-grid { grid-template-columns: 1fr; }
  .tns-auth-card { padding: 28px 20px 24px; }
  .tns-auth-card--wider { max-width: 100%; }
  .tns-legal-hero { padding-top: 84px; }
  .tns-article-header__cover img { height: auto; }
  .tns-about-mission { grid-template-columns: 1fr; }
  .tns-form__row--2col { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════
   ABOUT MISSION — LABEL + BODY COLUMNS
═══════════════════════════════════════════════ */
.tns-about-mission__label {
  padding-top: 4px;
}
.tns-about-mission__body {
  /* body text column: no extra style needed, inherits grid cell */
}

/* ═══════════════════════════════════════════════
   ABOUT CONTACT — COLUMN LAYOUT
═══════════════════════════════════════════════ */
.tns-about-contact__col {
  /* individual columns in the about-contact grid */
}

/* ═══════════════════════════════════════════════
   NAV ACTIVE LINK STATE
═══════════════════════════════════════════════ */
.tns-nav__link--active {
  color: var(--tns-accent-on-dark);
  font-weight: 600;
}
.tns-nav--light-top .tns-nav__link--active,
.tns-page--light-top .tns-nav__link--active {
  color: var(--tns-accent-on-light);
}

/* ═══════════════════════════════════════════════
   BLOG CARD READ TIME
═══════════════════════════════════════════════ */
.tns-blog-card__read {
  font-size: 0.75rem;
  color: var(--tns-fg-light-secondary);
  font-family: var(--tns-font-mono);
  opacity: 0.75;
}

/* ═══════════════════════════════════════════════
   ARTICLE HEADER META (date + read time)
═══════════════════════════════════════════════ */
.tns-article-header__date {
  font-size: 0.8rem;
  color: var(--tns-fg-light-secondary);
  font-family: var(--tns-font-mono);
}
.tns-article-header__read {
  font-size: 0.8rem;
  color: var(--tns-fg-light-secondary);
  font-family: var(--tns-font-mono);
  opacity: 0.8;
}

/* ═══════════════════════════════════════════════
   FAQ CHEVRON ICON
═══════════════════════════════════════════════ */
.tns-faq__chavron {
  transition: transform 0.25s;
  color: var(--tns-accent-on-dark);
  font-size: 0.8rem;
  flex-shrink: 0;
}
.tns-faq__item.is-open .tns-faq__chavron {
  transform: rotate(180deg);
}

/* ═══════════════════════════════════════════════
   LIGHT-THEME CONTACT FORM
═══════════════════════════════════════════════ */
.tns-form--light {
  /* light form container — child elements use light-themed classes below */
}
.tns-form__group {
  margin-bottom: 20px;
}
.tns-form__row {
  display: grid;
  gap: 20px;
}
.tns-form__row--2col {
  grid-template-columns: 1fr 1fr;
}
.tns-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tns-fg-light-primary);
  margin-bottom: 6px;
}
.tns-form__required {
  color: #e55;
  margin-left: 2px;
}
.tns-form__input {
  width: 100%;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid var(--tns-border-light);
  border-radius: var(--tns-radius-input);
  font-family: var(--tns-font-body);
  font-size: 0.9rem;
  color: var(--tns-fg-light-primary);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tns-form__input::placeholder { color: rgba(71,85,105,0.4); }
.tns-form__input:focus {
  border-color: var(--tns-accent-on-light);
  box-shadow: 0 0 0 3px rgba(36,64,199,0.1);
}
.tns-form__select-wrap {
  position: relative;
}
.tns-form__select {
  width: 100%;
  padding: 11px 38px 11px 14px;
  background: #fff;
  border: 1px solid var(--tns-border-light);
  border-radius: var(--tns-radius-input);
  font-family: var(--tns-font-body);
  font-size: 0.9rem;
  color: var(--tns-fg-light-primary);
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.tns-form__select--light {
  /* same as base .tns-form__select — light variant alias */
  background: #fff;
  color: var(--tns-fg-light-primary);
}
.tns-form__select--light option {
  background: #fff;
  color: var(--tns-fg-light-primary);
}
.tns-form__select:focus { border-color: var(--tns-accent-on-light); }
.tns-form__select-icon {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--tns-fg-light-secondary);
  font-size: 0.75rem;
}
.tns-form__textarea {
  width: 100%;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid var(--tns-border-light);
  border-radius: var(--tns-radius-input);
  font-family: var(--tns-font-body);
  font-size: 0.9rem;
  color: var(--tns-fg-light-primary);
  outline: none;
  resize: vertical;
  line-height: 1.6;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tns-form__textarea--light {
  /* light variant alias */
  background: #fff;
  color: var(--tns-fg-light-primary);
}
.tns-form__textarea::placeholder { color: rgba(71,85,105,0.4); }
.tns-form__textarea:focus {
  border-color: var(--tns-accent-on-light);
  box-shadow: 0 0 0 3px rgba(36,64,199,0.1);
}
