/* =========================================================
   COLORS – picked straight from the Figma file.
   Change a color here once and it updates everywhere.
   ========================================================= */
:root {
  --navy: #14294c;       /* main dark text */
  --blue: #2363ee;       /* brand blue */
  --hero-bg: #f4f9ff;    /* light blue behind the hero */
  --box-bg: #eef3fe;     /* sign-up box background */
  --quote-bg: #edf2fd;   /* quote box background */
  --footer-bg: #182841;  /* dark footer */
}

/* ---------- Basic reset: remove browser default spacing ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--navy);
  background: #fff;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.blue { color: var(--blue); }

/* ---------- Buttons (used in many places) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  min-width: 219px;
  padding: 0 32px;
  border-radius: 26px;
  font: 700 20px "Inter", sans-serif;
  cursor: pointer;
  border: 2px solid var(--blue);
}
.btn-solid   { background: var(--blue); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); }
.btn-small   { height: 49px; min-width: 152px; padding: 0 20px; font-size: 14px; }
.btn:hover   { opacity: 0.9; }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #9bb8f7; outline-offset: 2px; }

/* ---------- Shared section heading ---------- */
.section-title {
  font-size: 50px;
  font-weight: 700;
  text-align: center;
}
.section-title.left { text-align: left; }

/* =========================================================
   1. TOP BAR
   ========================================================= */
.topbar {
  max-width: 1378px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-size: 40px; font-weight: 700; }
.menu { display: flex; align-items: center; gap: 36px; }
.menu a { font-size: 14px; font-weight: 700; }

/* =========================================================
   2. HERO
   ========================================================= */
.hero {
  background: var(--hero-bg);
  margin-top: 38px;
  padding: 57px 44px 78px 90px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}
.hero-text  { max-width: 497px; display: flex; flex-direction: column; gap: 22px; }
.hero-logo  { font-size: 80px; font-weight: 700; }
.hero-title { font-size: 50px; font-weight: 700; line-height: 1.2; }
.hero-sub   { font-size: 20px; font-weight: 500; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-image { width: 722px; max-width: 50%; }

/* =========================================================
   3. FEATURES (5 columns)
   ========================================================= */
.features { padding: 38px 20px; }
.feature-row {
  max-width: 1302px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);  /* 5 equal columns */
  gap: 40px;
}
.feature { text-align: center; }
.feature h3 { font-size: 20px; font-weight: 700; margin: 18px 0 18px; }
.feature p  { font-size: 18px; line-height: 26px; max-width: 240px; margin: 0 auto; }

/* The round colored circle behind each icon */
.icon-circle {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.icon-circle svg {
  width: 50px; height: 50px;
  fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.purple  { background: #cfc6fa; } .purple  svg { stroke: #6d4fe0; }
.green   { background: #a3dfc7; } .green   svg { stroke: #237a5a; }
.yellow  { background: #fee0a1; } .yellow  svg { stroke: #e08a00; }
.pink    { background: #f9d6e0; } .pink    svg { stroke: #d63a5c; }
.blue-bg { background: #d0dffe; } .blue-bg svg { stroke: var(--blue); }

/* =========================================================
   4. STOP PREPARING / START PRACTICING
   ========================================================= */
.practice {
  max-width: 1512px;
  margin: 0 auto;
  padding: 40px 44px 40px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.practice-text { max-width: 600px; }
.practice-text .section-title { margin-bottom: 30px; padding-left: 40px; }
.practice-text > p { font-size: 20px; font-weight: 500; margin-bottom: 22px; }
.practice-image { width: 725px; max-width: 50%; }

/* Quote box */
.quote {
  position: relative;
  background: var(--quote-bg);
  border-radius: 8px;
  padding: 26px 70px;
  margin-top: 30px;
}
.quote p { font-size: 20px; font-weight: 500; font-style: italic; line-height: 34px; }
.quote-mark {
  position: absolute;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 100px;
  line-height: 1;
  color: var(--blue);
}
.quote-mark.open  { left: 22px;  top: 10px; }
.quote-mark.close { right: 22px; bottom: -30px; }

/* =========================================================
   5. EMAIL SIGN-UP BOX
   ========================================================= */
.signup {
  max-width: 1373px;
  margin: 40px auto;
  background: var(--box-bg);
  border-radius: 25px;
  padding: 29px 20px 35px;
  text-align: center;
}
.signup-tag { font-size: 20px; font-weight: 700; color: var(--blue); }
.signup .section-title { margin: 8px 0; }
.signup-sub { font-size: 20px; font-weight: 700; margin-bottom: 26px; }

.signup-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.email-box {
  display: flex; align-items: center; gap: 10px;
  width: 397px; height: 56px;
  padding: 0 30px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 25px;
}
.email-box svg {
  width: 24px; height: 24px; flex-shrink: 0;
  fill: none; stroke: #182841; stroke-width: 2; opacity: 0.6;
}
.email-box input {
  border: none; outline: none; background: transparent;
  width: 100%;
  font: 16px "Inter", sans-serif;
  color: #182841;
}
.signup-form .btn { height: 56px; min-width: 274px; font-size: 16px; border-radius: 25px; }

/* =========================================================
   6. FOOTER
   ========================================================= */
.footer { background: var(--footer-bg); color: #fff; padding: 46px 70px 60px; }
.footer-inner {
  max-width: 1373px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.footer-logo { font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.footer-line { font-size: 15px; }
.footer-line b { font-size: 20px; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.socials { display: flex; gap: 20px; }
.socials svg {
  width: 30px; height: 30px;
  fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* =========================================================
   MOBILE / SMALL SCREENS
   Below 1000px wide, side-by-side sections stack on top of each other.
   ========================================================= */
@media (max-width: 1000px) {
  .hero, .practice { flex-direction: column; padding: 40px 24px; }
  .hero-image, .practice-image { max-width: 100%; width: 100%; }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .hero-logo { font-size: 56px; }
  .hero-title, .section-title { font-size: 36px; }
  .practice-text .section-title { padding-left: 0; }
  .signup { margin: 40px 16px; }
  .footer { padding: 40px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { align-items: flex-start; }
}

@media (max-width: 600px) {
  .menu a:not(.btn) { display: none; }   /* hide Features/About links on phones */
  .logo { font-size: 28px; }
  .feature-row { grid-template-columns: 1fr; }
  .email-box, .signup-form .btn { width: 100%; min-width: 0; }
  .quote { padding: 26px 50px; }
}
