:root {
  /* BRAND COLORS */
  --primary: #FBC23B;
  /* Warm Yellow */
  --primary-hover: #EAB225;
  --text-main: #1A1A1A;
  /* Ink Black */
  --text-muted: #555555;
  --bg-cream: #FFFCF9;
  --bg-white: #FFFFFF;

  /* UI ELEMENTS */
  --border-radius: 20px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);

  /* TYPE */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-width: 1100px;
  --header-height: 80px;
}

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

body {
  background-color: var(--bg-cream);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.text-center {
  text-align: center;
}

/* UTILS */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

section {
  padding: 100px 0;
}

.section-light {
  background: var(--bg-white);
}

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

/* HEADER */
.main-header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 252, 249, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  height: 40px;
  width: auto;
}

.logo-text {
  height: 15px;
  width: auto;
  margin-top: 2px;
  /* Optical adjustment */
}

nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--primary-hover);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-main);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.03);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* HERO */
.hero {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-sub {
  font-size: 1.25rem;
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Abstract Gate Graphic */
.abstract-gate {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  background: var(--bg-white);
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sun-circle {
  width: 60%;
  height: 60%;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: 15%;
  z-index: 1;
}

.gate-shape {
  width: 40%;
  height: 50%;
  border: 40px solid var(--text-main);
  border-bottom: none;
  position: absolute;
  bottom: 15%;
  z-index: 2;
  border-radius: 8px 8px 0 0;
}

/* CARDS & GRID */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  /* margin-top: 40px; */
  /* Added spacing below */
}

.info-card {
  background: var(--bg-cream);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.icon {
  margin-bottom: 20px;
}

.icon--circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon--circle svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--text-main);
}

/* SEGMENT CARDS */
.segment-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.segment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.segment-header {
  padding: 30px;
  padding-bottom: 20px;
}

.school-bg h3 {
  color: #2C3E50;
}

/* Subtle differentiate */
.biz-bg h3 {
  color: #2C3E50;
}

.segment-body {
  padding: 0 30px 40px 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.highlight {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-hover);
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  margin: 20px 0 30px;
}

.feature-list li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.feature-list li::before {
  content: '•';
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

.link-arrow {
  margin-top: auto;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}

.link-arrow:hover {
  gap: 12px;
}

/* STEPS */
.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  text-align: center;
  margin-top: 60px;
  position: relative;
}

.step-item {
  flex: 1;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-sm);
}

.step-connector {
  flex-grow: 1;
  height: 2px;
  background: #eee;
  margin-top: 30px;
  /* Align with circle center roughly */
  z-index: 1;
}

/* FOUNDERS */
.founders-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
}

.founder-simple {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 60px;
  height: 60px;
  background: #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.role {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA */
.section-cta {
  background: var(--primary);
  padding: 120px 0;
}

.section-cta h2 {
  color: var(--text-main);
}

.section-cta p {
  color: rgba(0, 0, 0, 0.7);
  font-size: 1.2rem;
}

.section-cta .btn {
  background: var(--text-main);
  color: white;
  margin-top: 32px;
}

.section-cta .btn:hover {
  background: #000;
  transform: scale(1.05);
}

.cta-email {
  margin-top: 16px;
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 0;
}

.cta-email a {
  color: var(--text-main);
  text-decoration: underline;
}

.cta-email a:hover {
  opacity: 0.8;
}

/* FOOTER */
footer {
  padding: 40px 0;
  background: var(--bg-white);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-col {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-col p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

/* LEGAL PAGES (Privacy, Terms) */
.legal-hero {
  padding-top: calc(var(--header-height) + 60px);
}

.legal-hero .section-header p {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-content .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  font-style: italic;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--text-main);
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content .toc {
  margin-bottom: 24px;
}

.legal-content a {
  color: var(--primary-hover);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--text-main);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.legal-content th,
.legal-content td {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: rgba(0, 0, 0, 0.04);
  font-weight: 600;
  color: var(--text-main);
}

.legal-content tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.02);
}

/* ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 800px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero-layout,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .steps-row {
    flex-direction: column;
    gap: 40px;
  }

  .step-connector {
    display: none;
  }

  .nav-container {
    flex-direction: column;
    padding: 20px 0;
    height: auto;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .main-header {
    position: relative;
    height: auto;
  }

  .hero {
    padding-top: 40px;
  }
}