/* =====================================================
   NUDGE DESIGN SYSTEM (CLEAN VERSION)
   ===================================================== */

/* ===============================
   BRAND COLORS
   =============================== */

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --slate: #0F172A;
  --slate-light: #475569;
  --background: #e0e6ec;
  --white: #ffffff;
}

/* ===============================
   TYPOGRAPHY (SWISS 721)
   =============================== */

@font-face {
  font-family: 'Swiss721';
  src: url('../fonts/Swiss721BT-Regular.otf') format('opentype');
  font-weight: 400;
}

@font-face {
  font-family: 'Swiss721';
  src: url('../fonts/Swiss721BT-Medium.otf') format('opentype');
  font-weight: 500;
}

@font-face {
  font-family: 'Swiss721';
  src: url('../fonts/Swiss721BT-Bold.otf') format('opentype');
  font-weight: 700;
}

@font-face {
  font-family: 'Swiss721';
  src: url('../fonts/Swiss721BT-Heavy.otf') format('opentype');
  font-weight: 800;
}

/* Base */
body {
  font-family: 'Swiss721', sans-serif !important;
  background-color: var(--background);
  color: var(--slate);
}

/* Headings */
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }
h4, h5 { font-weight: 500; }

h1, h2, h3, h4, h5, h6 {
  color: var(--slate);
}

/* Body text */
p, span, a {
  font-weight: 400;
  color: var(--slate-light);
}

/* Links */
a {
  color: var(--slate);
}
a:hover {
  color: var(--primary);
}

/* Navbar font fix */
.font-base {
  font-family: 'Swiss721', sans-serif !important;
}

/* ===============================
   NAVBAR
   =============================== */

.navbar {
  z-index: 999;
}

.navbar .nav-link,
.navbar .dropdown-toggle {
  color: var(--slate) !important;
  font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .dropdown-toggle:hover {
  color: var(--primary) !important;
}

/* Design Guide Navbar */
.design-nav {
  background: transparent;
  transition: all 0.3s ease;
}

.navbar.navbar-scrolled {
  background: var(--white) !important;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Back Link */
.back-link {
  font-family: 'Swiss721', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #64748B;
  text-decoration: none;
  transition: 0.2s;
}

.back-link:hover {
  color: var(--primary);
  transform: translateX(-3px);
}

/* ===============================
   HERO SECTION
   =============================== */

/* ===============================
   HERO BANNER IMAGE
   =============================== */

.hero-banner {
  padding-top: 0 !important;
  margin: 0;
  line-height: 0;
  background: none !important;
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

/* make sure normal sections still keep spacing */
section:not(.hero-banner) {
  padding-top: 90px;
}

/* ===============================
   VDG HERO (DARK SLATE)
   =============================== */

.vdg-hero {
  background-color: #0F172A; /* your slate color */
  color: white;
  padding-top: 140px; /* space below navbar */
  padding-bottom: 80px;
}

/* make text readable on dark */
.vdg-hero .text-secondary {
  color: white !important; /* lighter slate */
}

/* button still pops */
.vdg-hero .btn-primary {
  background-color: #2563EB;
  border: none;
}

.vdg-hero h1 {
  font-size: 2.5rem;
}

.vdg-hero p {
  max-width: 600px;
  margin: 0 auto;
}

/* ===============================
   BUTTONS
   =============================== */

.btn-primary {
  background-color: var(--primary);
  border: none;
  border-radius: 12px;
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

/* ===============================
   CARDS + COMPONENTS
   =============================== */

.card {
  background-color: var(--white);
  color: var(--slate);
}

/* Icon Box */
.icon-box {
  background: var(--slate);
  border-radius: 25px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  margin: 20px;
}

.icon-box img {
  width: 300px;
}

/* Detail Icons */
#details .detail-icon-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

#details .detail-icon {
  width: 42px;
  filter: brightness(0) invert(1);
}

/* ===============================
   DESIGN GUIDE COMPONENTS
   =============================== */

/* Cards */
.vdg-card {
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.vdg-card.small {
  padding: 15px;
}

/* Color Blocks */
.vdg-color {
  height: 140px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.vdg-color.small {
  height: 80px;
}

/* Typography Cards */
.vdg-font-card {
  height: 160px;
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vdg-font-bottom {
  background: #f8fafc;
  border-radius: 0 0 20px 20px;
  padding: 15px;
}

/* Logos */
.logo-top {
  height: 180px;
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
}

.logo-top.secondary {
  background: #F1F5F9;
}

.logo-fill {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

/* ===============================
   TEAM SECTION
   =============================== */

#team .card-img-top {
  height: 400px;
  object-fit: cover;
  object-position: top center;
}

/* ===============================
   FOOTER
   =============================== */

footer {
  background-color: var(--slate);
  color: var(--white);
}

footer a {
  color: var(--primary);
}

/* ===============================
   SPACING
   =============================== */

section:not(.hero-banner) {
  padding-top: 90px;
}

/* TEAM LINK STYLE */
.team-link {
  text-decoration: none;
  color: var(--slate);
  transition: 0.2s;
}

.team-link:hover {
  color: var(--primary);
}

* {
  font-family: 'Swiss721', sans-serif !important;
}

body,
h1, h2, h3, h4, h5, h6,
p, span, a,
.navbar, .nav-link, .dropdown-menu {
  font-family: 'Swiss721', sans-serif !important;
}

/* ===============================
   TYPOGRAPHY FONTS
   =============================== */

@font-face {
  font-family: 'Swiss721';
  src: url('../fonts/Swiss721BT-Regular.otf') format('opentype');
  font-weight: 400;
}

@font-face {
  font-family: 'Swiss721';
  src: url('../fonts/Swiss721BT-Medium.otf') format('opentype');
  font-weight: 500;
}

@font-face {
  font-family: 'Swiss721';
  src: url('../fonts/Swiss721BT-Bold.otf') format('opentype');
  font-weight: 700;
}

@font-face {
  font-family: 'Swiss721';
  src: url('../fonts/Swiss721BT-Heavy.otf') format('opentype');
  font-weight: 800;
}

@font-face {
  font-family: 'Swiss721Extended';
  src: url('../fonts/Swiss721BT-BoldExtended.otf') format('opentype');
  font-weight: 700;
}

/* ===============================
   TYPOGRAPHY GUIDE TABLE
   =============================== */

.typography-guide {
  max-width: 1200px;
}

.type-table-section {
  background: transparent;
}

.type-table-title {
  font-size: 64px;
  font-weight: 800;
  color: var(--congo-slate);
  margin-bottom: 60px;
  line-height: 1.05;
}

.type-table-header,
.type-table-row {
  display: grid;
  grid-template-columns: 1.8fr 0.35fr 0.45fr 0.35fr;
  column-gap: 32px;
  align-items: start;
}

.type-table-header {
  margin-bottom: 18px;
  color: var(--congo-slate);
  font-weight: 700;
  font-size: 18px;
}

.type-table-row {
  padding: 18px 0;
}

.type-table-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.type-label {
  color: #64748B;
  font-size: 18px;
  font-weight: 700;
}

.type-name {
  color: var(--congo-slate);
  line-height: 1.2;
}

.type-h1 {
  font-family: 'Swiss721Extended', sans-serif;
  font-size: 32px;
  line-height: 38px;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.type-h2 {
  font-family: 'Swiss721', sans-serif;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.type-h3 {
  font-family: 'Swiss721', sans-serif;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.type-h4 {
  font-family: 'Swiss721', sans-serif;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.type-body-large {
  font-family: 'Swiss721', sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
}

.type-body {
  font-family: 'Swiss721', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.type-caption {
  font-family: 'Swiss721', sans-serif;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}

.type-table-metric {
  font-size: 16px;
  color: var(--congo-slate);
  line-height: 1.5;
  padding-top: 34px;
}

.type-table-featured .type-table-metric {
  padding-top: 44px;
}

/* ===============================
   WEIGHTS TABLE
   =============================== */

.weight-table {
  border-top: 1px solid rgba(15, 23, 42, 0.35);
}

.weight-row {
  display: grid;
  grid-template-columns: 0.55fr 1.2fr;
  column-gap: 48px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.35);
}

.weight-row:last-child {
  border-bottom: none;
}

.weight-label {
  font-size: 20px;
  color: var(--congo-slate);
  line-height: 1.3;
}

.weight-sample {
  font-size: 22px;
  line-height: 1.15;
  color: #000000;
  word-break: break-word;
}

.weight-regular {
  font-family: 'Swiss721', sans-serif;
  font-weight: 400;
}

.weight-medium {
  font-family: 'Swiss721', sans-serif;
  font-weight: 500;
}

.weight-bold {
  font-family: 'Swiss721', sans-serif;
  font-weight: 700;
}

.weight-bold-extended {
  font-family: 'Swiss721Extended', sans-serif;
  font-weight: 700;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 991px) {
  .type-table-title {
    font-size: 46px;
    margin-bottom: 40px;
  }

  .type-table-header,
  .type-table-row {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .type-table-header {
    display: none;
  }

  .type-table-metric,
  .type-table-featured .type-table-metric {
    padding-top: 0;
  }

  .weight-row {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .weight-sample {
    font-size: 18px;
  }
}

@media (max-width: 575px) {
  .type-table-title {
    font-size: 36px;
  }

  .type-h1 {
    font-size: 28px;
    line-height: 34px;
  }

  .type-h2 {
    font-size: 22px;
    line-height: 28px;
  }
}