/* Page-level resets and scrolling */
html, body {
  margin: 0;
  padding: 0;
  height: auto;
  min-height: 100%;
  overflow-y: auto;      /* allow vertical scrolling */
  overflow-x: hidden;    /* avoid accidental horizontal scroll */
  box-sizing: border-box;
}

*, *::before, *::after { box-sizing: inherit; }

/* Your background */
body {
  background-color: #2e2e2e;
  margin: 0;
}

/* Main layout (was inline on <main>) */
.choose-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* enables natural scroll */
  gap: 2.5rem;
  padding: 3vw 1vw 4rem; /* comfortable bottom padding */
}

/* Typography/Color polish scoped to this page */
.hero-title { color: #f1f5fb; letter-spacing: 0.2px; text-shadow: 0 1px 0 #00000026; }
.hero-subtext { color: #e3ebf7; max-width: 560px; }
/* Increase sizes by 2px for the specified paragraphs */
.hero-card .hero-subtext { font-size: calc(1.18rem + 2px); }
.founder-card .hero-subtext { font-size: calc(1.12rem + 2px); }

/* Card chrome */
.hero-card   { border: 1px solid #FFFFFF0F; box-shadow: 0 8px 24px #0000002e; }
.founder-card{ border: 1px solid #FFFFFF0F; box-shadow: 0 8px 24px #0000002e; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* Hero section (was inline) */
.hero.hero-card {
  background: linear-gradient(135deg, #5a5a5a 20%, #2e2e2e 100%);
  padding: 3rem 0 2rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  overflow: hidden;
  max-width: 1200px;
  width: 100%;
}

.hero-image {
  max-width: 320px;
  width: 90vw;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px #0000002e;
  background: #f8f8f8;
  margin-bottom: 2rem;
}

.hero .hero-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.hero .hero-subtext {
  font-size: 1.18rem;           /* matches previous inline */
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
}

.cta-btn {
  background: #d72638;
  color: #fff;
  font-size: 1.1rem;
  padding: 0.8em 2.2em;
  border: none;
  border-radius: 2em;
  box-shadow: 0 4px 12px #00000017;
  cursor: pointer;
  font-weight: 600;
  display: inline-block;       /* ensure anchor sizes like a button */
  text-decoration: none;       /* remove underline for anchor */
  transition: transform 180ms ease, box-shadow 220ms ease, background-color 200ms ease;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #D7263859; }
.cta-btn:active { transform: translateY(0); box-shadow: 0 6px 16px #D7263847; }
.cta-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px #D7263859, 0 6px 18px #00000038; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 420ms ease, transform 420ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Extra card container and text (was inline) */
.extra-card {
  padding: 2rem;
  max-width: 700px;
  width: 100%;
  background: linear-gradient(135deg, #5a5a5a 20%, #2e2e2e 100%);
  border-radius: 1rem;
  box-shadow: 0 6px 20px #FFFFFF;
  text-align: center;
}
.extra-card h2 {
  font-size: calc(1.6rem + 2px);
  margin: 0 0 .75rem;
  color: #ffffff;
}
.extra-card p  {
  font-size: calc(1rem + 2px);
  line-height: 1.7;
  margin: 0;
  color: #ffffff;
}

/* Founder card (was inline) */
.founder-card {
  background: linear-gradient(135deg, #5a5a5a 20%, #2e2e2e 100%);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.09);
  text-align: center;
  max-width: 650px;
  width: 100%;
  margin: 0 auto;
}
.founder-card .hero-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.founder-card .hero-subtext {
  font-size: 1.12rem; /* keep explicit size to match design */
  color: #ffffff;
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; transform: none; }
  .cta-btn { transition: none; }
}
