/* ============================================================
   NISLA marketing site — www.nisla.in
   Static, dependency-free. Palette: deep navy + warm brass.
   ============================================================ */

:root {
  --navy-900: #11294a;
  --navy-800: #1a3a66;
  --navy-700: #234a80;
  --navy-100: #dbe3ee;
  --ink: #1a2740;
  --muted: #5a6578;
  --gold: #c2a05a;
  --gold-dark: #a9883f;
  --paper: #f7f5f0;
  --line: #e4e0d6;
  --white: #ffffff;
  --radius: 10px;
  --container: 1120px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
}

a {
  color: inherit;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}
.btn-lg {
  padding: 14px 30px;
  font-size: 16px;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-900);
}
.btn-gold:hover {
  background: var(--gold-dark);
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.btn-navy {
  background: var(--navy-800);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-700);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-900);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.brand-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 36px;
  background: #fff;
  border-radius: 8px;
  flex: none;
}
.brand-chip img {
  width: 38px;
  height: auto;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.brand-sub {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-100);
  opacity: 0.85;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}
.nav-menu a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-100);
}
.nav-menu a:hover {
  color: var(--white);
}
.nav-cta a {
  color: var(--navy-900);
}
.nav-cta a:hover {
  color: var(--navy-900);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(
    160deg,
    var(--navy-900) 0%,
    var(--navy-800) 60%,
    var(--navy-700) 100%
  );
  color: var(--white);
  overflow: hidden;
}
.hero-decor {
  position: absolute;
  right: -180px;
  top: -120px;
  width: 720px;
  height: 720px;
  color: rgba(194, 160, 90, 0.16);
  pointer-events: none;
}
.hero-decor svg {
  width: 100%;
  height: 100%;
}
.hero-inner {
  position: relative;
  padding: 104px 24px 112px;
  max-width: 820px;
  margin-left: 0;
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-lede {
  font-size: 18px;
  color: var(--navy-100);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Stats ---------- */
.stats {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px 24px;
}
.stat {
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--navy-800);
}
.stat-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}
.section-tinted {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.kicker {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 12px;
}
.kicker-light {
  color: var(--gold);
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--navy-800);
}
.section-head-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}
.section-body p + p {
  margin-top: 18px;
}
.section-body {
  color: var(--ink);
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.card h3 {
  font-size: 20px;
  color: var(--navy-800);
  margin-bottom: 10px;
}
.card p {
  font-size: 15.5px;
  color: var(--muted);
}
.card-accent {
  background: var(--navy-800);
  border-color: var(--navy-800);
}
.card-accent h3 {
  color: var(--white);
}
.card-accent p {
  color: var(--navy-100);
}
.card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
.card-link:hover {
  text-decoration: underline;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  list-style: none;
  counter-reset: step;
}
.step {
  border-top: 3px solid var(--gold);
  background: var(--white);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 24px 22px 26px;
}
.step-no {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.step h3 {
  font-size: 18px;
  color: var(--navy-800);
  margin: 10px 0 8px;
}
.step p {
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- People ---------- */
.person {
  text-align: center;
}
.person-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}
.person-role {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 10px;
}
.person-cred {
  font-size: 13.5px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 6px;
}
.cards-4 {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 22px;
}
.cards-4 .card p:last-child {
  font-size: 14.5px;
}

/* ---------- Chips ---------- */
.chips {
  list-style: none;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.chips li {
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Compliance ---------- */
.compliance {
  background: var(--navy-900);
  color: var(--white);
  padding: 88px 0;
}
.compliance .section-head h2 {
  color: var(--white);
}
.compliance-inner {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 56px;
  align-items: start;
}
.compliance-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}
.compliance-list h3 {
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 8px;
}
.compliance-list p {
  font-size: 15px;
  color: var(--navy-100);
}

/* ---------- Contact ---------- */
.contact-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}
.contact-block h3 {
  font-size: 17px;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.contact-block h3 + p {
  margin-bottom: 18px;
}
.contact-block p {
  color: var(--muted);
  font-size: 15.5px;
}
.contact-block a {
  color: var(--navy-800);
  font-weight: 600;
}
.contact-portal {
  grid-column: 1 / -1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-portal .btn {
  margin-top: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--navy-100);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 48px 24px 32px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 560px;
}
.footer-brand .brand-chip {
  width: 44px;
  height: 32px;
  margin-top: 2px;
}
.footer-brand .brand-chip img {
  width: 34px;
}
.footer-name {
  font-weight: 600;
  color: var(--white);
  font-size: 15px;
}
.footer-licence {
  font-size: 13.5px;
  margin-top: 4px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 14px;
  text-decoration: none;
  color: var(--navy-100);
}
.footer-nav a:hover {
  color: var(--white);
}
.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 24px;
}
.footer-base p {
  font-size: 13px;
  opacity: 0.75;
}

/* ---------- Responsive ---------- */
@media (max-width: 1150px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 0 16px;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu li {
    padding: 10px 24px;
  }
  .nav-cta {
    padding-top: 14px;
  }
  .nav-cta a {
    display: block;
    text-align: center;
  }
}

@media (max-width: 980px) {
  .cards,
  .cards-3,
  .cards-4 {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .section-grid,
  .compliance-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .hero-inner {
    padding: 72px 24px 80px;
  }
  .cards,
  .cards-3,
  .cards-4,
  .steps,
  .compliance-list,
  .contact-body {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 64px 0;
  }
  .br-wide {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand-sub {
    display: none;
  }
}

/* ============================================================
   v3 — topbar clock, hero analysis visual, icons, track claim
   ============================================================ */

/* ---------- Topbar ---------- */
.topbar {
  background: #0c1f3a;
  color: var(--navy-100);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 34px;
}
.topbar-clock {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--gold);
  font-weight: 500;
}
.topbar-contact a {
  color: var(--navy-100);
  text-decoration: none;
}
.topbar-contact a:hover {
  color: var(--white);
}
.topbar-sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* ---------- Buttons ---------- */
.btn-ghost {
  color: var(--navy-100);
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.nav-cta-track a {
  color: var(--navy-100);
}
.nav-cta-track a:hover {
  color: var(--white);
}

/* ---------- Hero grid + analysis card ---------- */
.hero-inner.hero-grid {
  max-width: var(--container);
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: center;
  padding: 88px 24px 96px;
}
.hero-grid .hero-lede {
  max-width: none;
}
.hero-visual {
  display: flex;
  justify-content: flex-end;
}
.analysis-card {
  width: 100%;
  max-width: 420px;
  background: rgba(17, 41, 74, 0.55);
  border: 1px solid rgba(194, 160, 90, 0.35);
  border-radius: 14px;
  padding: 22px 22px 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}
.analysis-title {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--white);
}
.analysis-sub {
  font-size: 13px;
  color: var(--navy-100);
  margin: 2px 0 12px;
}
.analysis-svg {
  width: 100%;
  height: auto;
  display: block;
}
.analysis-note {
  font-size: 11px;
  color: var(--navy-100);
  opacity: 0.6;
  text-align: right;
  margin-top: 6px;
}

/* ---------- Card + feature icons ---------- */
.card-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--gold-dark);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 14px;
}
.card-icon-light {
  stroke: var(--gold);
}
.features {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 14px;
}
.features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}
.features strong {
  color: var(--navy-800);
  font-size: 15px;
}
.f-icon {
  flex: none;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--gold-dark);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}

/* ---------- Track claim ---------- */
.track {
  background:
    radial-gradient(ellipse at 80% -20%, rgba(194, 160, 90, 0.18), transparent 55%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 80px 0;
}
.track-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 28px;
  align-items: stretch;
}
.track-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 34px 34px 30px;
}
.track-card h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--white);
  margin-bottom: 12px;
}
.track-card-portal {
  border-color: rgba(194, 160, 90, 0.4);
}
.track-lede {
  color: var(--navy-100);
  font-size: 15.5px;
  margin-bottom: 22px;
}
.track-label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.track-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.track-input {
  flex: 1 1 240px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: var(--white);
  font-size: 15px;
  padding: 11px 14px;
  font-family: var(--font-body);
}
.track-input::placeholder {
  color: rgba(219, 227, 238, 0.55);
}
.track-input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.track-hint {
  font-size: 13px;
  color: var(--navy-100);
  opacity: 0.85;
  margin-top: 12px;
}
.track-hint a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive (v3) ---------- */
@media (max-width: 980px) {
  .hero-inner.hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    justify-content: flex-start;
  }
  .track-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .topbar-contact {
    display: none;
  }
  .hero-inner.hero-grid {
    padding: 64px 24px 72px;
  }
  .nav-cta-track {
    padding-bottom: 0;
  }
}

/* ============================================================
   v4 — lighter navy, member emails, vision + careers
   ============================================================ */

.person-mail {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  margin-bottom: 10px;
  word-break: break-all;
}
.person-mail:hover {
  text-decoration: underline;
}

/* ---------- Vision ---------- */
.vision {
  background: var(--white);
  padding: 84px 0;
  border-top: 1px solid var(--line);
}
.vision-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}
.vision-statement {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy-800);
  margin: 8px 0 18px;
}
.vision-statement em {
  font-style: italic;
  color: var(--gold-dark);
}
.vision-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}
.vision-rule {
  width: 64px;
  height: 3px;
  background: var(--gold);
  border: 0;
  margin: 26px auto 0;
}

/* ---------- Careers ---------- */
.careers-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 48px;
  align-items: start;
}
.careers-copy p + p {
  margin-top: 16px;
}
.careers-copy {
  color: var(--ink);
}
.careers-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
}
.careers-card h3 {
  font-size: 19px;
  color: var(--navy-800);
  margin-bottom: 14px;
}
.role-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}
.role-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 15px;
  color: var(--muted);
}
.role-list li::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-1px);
}
.careers-hint {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 12px;
}

@media (max-width: 980px) {
  .careers-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.careers-copy h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--navy-800);
  margin-bottom: 18px;
}

/* ---------- Licence badge (v6) ---------- */
.person-lic {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 12px;
}
