:root {
  --bg: #f7f7fb;
  --bg-alt: #ffffff;
  --bg-deep: #0f172a;
  --text-main: #0f172a;
  --text-soft: #4b5563;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --border-subtle: #e5e7eb;
  --radius-card: 14px;
  --radius-pill: 999px;
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.06);
  --spacing-section: 80px;
  --max-width: 1100px;
  --transition: 0.2s ease;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout helpers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.narrow {
  max-width: 720px;
  margin: 0 auto;
}

.section {
  padding: var(--spacing-section) 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.section-lead {
  color: var(--text-soft);
  margin-bottom: 2rem;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 251, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}


/* New brand block */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-image {
  height: 34px;           /* adjust up/down if you want it bigger/smaller */
  width: auto;
  display: block;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text-main);
}

/* Optional: on small screens, hide the text and just show the icon */
@media (max-width: 480px) {
  .logo-text {
    display: none;
  }
}

.nav {
  display: flex;
  gap: 1.1rem;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-soft);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  transition: background-color var(--transition), color var(--transition);
}

.nav a:hover {
  background-color: var(--accent-soft);
  color: var(--accent);
}

/* Hero */
.hero {
  padding-top: 110px;
  padding-bottom: 90px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  max-width: 720px;
  text-align: left;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--text-soft);
  font-size: 1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
}

.hero-tagline {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), box-shadow var(--transition),
    transform var(--transition);
}

.primary-btn {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.primary-btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

.secondary-btn {
  background-color: #ffffff;
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.secondary-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Cards */
.cards {
  display: grid;
  gap: 1.25rem;
}

.three-col {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.four-col {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* Program section */

.program-list {
  display: grid;
  gap: 1rem;
}

.program-item {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 1.3rem 1.2rem;
}

.program-item-featured {
  border-color: var(--accent);
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.12);
}

.program-item-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}

.program-item h3 {
  font-size: 1.1rem;
}

.program-item-sub {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.program-meta {
  list-style: none;
  padding-left: 0;
  margin: 0.4rem 0 0.5rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.program-meta li + li {
  margin-top: 0.2rem;
}

.section-footnote {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--accent);
  margin-top: 0.2rem;
}

.program-link:hover {
  text-decoration: underline;
}

.program {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.program-intro {
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.program h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.program ul {
  list-style: disc;
  margin-left: 1.1rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.program li + li {
  margin-top: 0.2rem;
}

/* Steps (How It Works) */
.steps {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 1.1rem;
}

.steps li {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  padding: 1rem 1rem;
  border: 1px solid var(--border-subtle);
}

.steps h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.steps p {
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* FAQ */
.faq-item + .faq-item {
  margin-top: 1.1rem;
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* Contact */
.contact-section {
  text-align: center;
}

.contact-section p {
  color: var(--text-soft);
}

.contact-section .btn {
  margin-top: 1rem;
}

.contact-alt {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-alt);
  padding: 1rem 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsive tweaks */
@media (max-width: 720px) {
  .nav {
    display: none; /* keep it bare-bones, no burger menu for now */
  }

  .hero {
    padding-top: 90px;
  }

  .hero-text {
    text-align: left;
  }
}
