/* Always reserve space for the scrollbar to keep content centered */
html {
  overflow-y: scroll;
  scrollbar-gutter: stable both-edges;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #37474F;           /* gunmetal text */
  background-color: #FCF5E5; /* off-white page bg */
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography */
h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem;   margin-bottom: 1rem; }
h3 { 
  font-size: 1.25rem; 
  margin-bottom: 1rem;    /* uniform gap below plan name */
}
p  { margin-bottom: 1rem; }
ul { list-style: none; }

/* Header & Nav */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.site-nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; }

.btn-primary {
  background-color: #FF8A65; /* coral */
  color: #fff;
}
.btn-cta {
  background-color: #4FC3F7; /* turquoise */
  color: #fff;
}
.btn-outline {
  border: 2px solid #FF8A65;
  color: #FF8A65;
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 4rem 0;
}
.hero-content {
  flex: 1 1 300px;
}
.hero-visual {
  flex: 1 1 300px;
  text-align: center;
}
.hero-visual img {
  max-width: 100%;
  border-radius: 0.5rem;
}

/* Features Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Learning List */
.learning-list {
  margin: 2rem 0;
}
.learning-list li {
  margin-bottom: 1rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.plan {
  background: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;

  /* keep button pinned */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px; /* adjust as needed */
}

/* Uniform gap below price */
.plan .price {
  font-size: 1.5rem;
  margin: 1rem 0;    /* uniform gap above and below price */
}

/* Features list: fixed gap from price, auto gap to button */
.pricing-grid .plan .features-list {
  margin: 1rem 0 auto;   /* 1rem gap above list, auto pushes bottom to button */
  text-align: center;
  max-width: 220px;
}
.pricing-grid .plan .features-list p {
  margin: 0.5rem 0;
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 4rem 0;
}
.cta h2 {
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: #37474F; /* gunmetal */
  color: #fff;
  padding: 2rem 0;
}
.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.footer-brand img {
  margin-right: 0.5rem;
}
.footer-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.site-footer p {
  font-size: 0.875rem;
}
