.goal-page {
  background: #fff;
  color: #082342;
}

.goal-page main {
  overflow: hidden;
  background: linear-gradient(180deg, #f5fbff 0, #fff 380px);
}

.goal-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 14%, rgba(255,255,255,.58), transparent 30%),
    linear-gradient(135deg, #eefaff 0%, #bfefff 46%, #1fb5f3 100%);
}

.goal-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -86px;
  height: 150px;
  border-radius: 50% 50% 0 0;
  background: rgba(255,255,255,.58);
}

.goal-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .88fr);
  gap: 46px;
  align-items: center;
  padding: 56px 0 78px;
}

.goal-kicker {
  width: max-content;
  max-width: 100%;
  margin: 0 0 18px;
  border-radius: 999px;
  padding: 9px 15px;
  background: rgba(255,255,255,.7);
  color: #0872d7;
  font-size: 14px;
  font-weight: 900;
}

.goal-hero h1 {
  max-width: 620px;
  margin: 0;
  color: #071f3d;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

.goal-hero__copy > p:not(.goal-kicker) {
  max-width: 600px;
  margin: 20px 0 0;
  color: #123b62;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.58;
}

.goal-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.goal-hero__actions .btn {
  min-height: 52px;
}

.goal-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin-top: 32px;
}

.goal-proof article {
  min-height: 72px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 12px;
  padding: 13px 14px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 14px 30px rgba(14,88,150,.09);
}

.goal-proof strong,
.goal-proof span {
  display: block;
}

.goal-proof strong {
  color: #073164;
  font-size: 21px;
  font-weight: 900;
}

.goal-proof span {
  margin-top: 4px;
  color: #376080;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.goal-visual {
  position: relative;
  min-height: 370px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 168px 168px;
  gap: 16px;
}

.goal-visual-card,
.goal-mini-card,
.goal-path-card,
.goal-list-card {
  border: 1px solid #dbe9f6;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 42px rgba(16,47,82,.1);
}

.goal-visual-card {
  grid-row: 1 / -1;
  overflow: hidden;
  position: relative;
}

.goal-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.goal-visual-card div {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border-radius: 14px;
  padding: 14px;
  background: rgba(5,25,50,.78);
  color: #fff;
}

.goal-visual-card strong,
.goal-mini-card strong,
.goal-path-card strong,
.goal-list-card strong {
  display: block;
  font-weight: 900;
}

.goal-visual-card span,
.goal-mini-card span,
.goal-path-card span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 700;
}

.goal-mini-card,
.goal-path-card,
.goal-list-card {
  padding: 18px;
}

.goal-mini-card b {
  display: block;
  margin-top: 13px;
  color: #1587e5;
  font-size: 42px;
  line-height: 1;
}

.goal-mini-card span,
.goal-path-card span {
  color: #5f748d;
}

.goal-list-card ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.goal-list-card li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  color: #42617d;
  font-size: 13px;
  font-weight: 800;
}

.goal-list-card li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e8fbf7;
  box-shadow: inset 0 0 0 5px #25c3a8;
}

.goal-section {
  padding: 58px 0 0;
}

.goal-section__intro {
  max-width: 760px;
  margin: -8px auto 26px;
  color: #5f7088;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.goal-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.goal-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.goal-info-card,
.goal-format-card,
.goal-help-card,
.goal-tutor-card,
.goal-course-card {
  border: 1px solid #dbe9f6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(16,47,82,.07);
}

.goal-info-card,
.goal-format-card,
.goal-help-card {
  min-height: 150px;
  padding: 20px;
}

.goal-info-card span,
.goal-format-card span,
.goal-help-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 13px;
  background: #e9f6ff;
  color: #1587e5;
  font-weight: 900;
}

.goal-info-card h3,
.goal-format-card h3,
.goal-help-card h3,
.goal-tutor-card h3,
.goal-course-card h3 {
  margin: 0;
  color: #082342;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.18;
}

.goal-info-card p,
.goal-format-card p,
.goal-help-card p {
  margin: 10px 0 0;
  color: #60758e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.goal-pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.goal-pill-list span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfe7fb;
  border-radius: 999px;
  padding: 0 15px;
  background: #f8fcff;
  color: #183154;
  font-size: 14px;
  font-weight: 800;
}

.goal-tutor-grid,
.goal-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.goal-tutor-card,
.goal-course-card {
  overflow: hidden;
}

.goal-tutor-card > img,
.goal-course-card > img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
}

.goal-tutor-card__body,
.goal-course-card__body {
  padding: 18px;
}

.goal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.goal-tags span {
  border-radius: 999px;
  padding: 6px 9px;
  background: #e9f6ff;
  color: #0872d7;
  font-size: 11px;
  font-weight: 900;
}

.goal-tutor-card p,
.goal-course-card p {
  margin: 8px 0 0;
  color: #60758e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.goal-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
  color: #183154;
  font-size: 13px;
  font-weight: 900;
}

.goal-card-link {
  display: inline-flex;
  align-items: center;
  color: #0b75de;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.goal-formats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.goal-format-card {
  min-height: 172px;
  text-decoration: none;
}

.goal-format-card:hover,
.goal-card-link:hover {
  color: #ff6b2b;
}

.goal-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 64px;
  border-radius: 22px;
  padding: 32px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255,255,255,.28), transparent 28%),
    linear-gradient(135deg, #0f9ee8, #28c0d9);
  color: #fff;
}

.goal-cta h2,
.goal-cta p {
  color: #fff !important;
  text-align: left !important;
}

.goal-cta p {
  max-width: 520px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.goal-cta form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.goal-cta textarea {
  grid-column: 1 / -1;
  min-height: 96px;
  padding-top: 13px;
  resize: vertical;
}

.goal-cta input,
.goal-cta textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: #102b52;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  outline: 0;
}

.goal-cta input {
  min-height: 48px;
}

.goal-cta button {
  width: 180px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #ff6b2b;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.goal-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.goal-faq details {
  border: 1px solid #dbe9f6;
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16,47,82,.06);
}

.goal-faq summary {
  cursor: pointer;
  color: #082342;
  font-weight: 900;
}

.goal-faq p {
  margin: 12px 0 0;
  color: #60758e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 1120px) {
  .goal-hero__inner {
    grid-template-columns: 1fr;
  }

  .goal-visual {
    max-width: 780px;
  }

  .goal-card-grid,
  .goal-card-grid--three,
  .goal-formats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .goal-hero h1 {
    font-size: 40px;
  }

  .goal-proof,
  .goal-tutor-grid,
  .goal-course-grid,
  .goal-cta,
  .goal-faq {
    grid-template-columns: 1fr;
  }

  .goal-cta form {
    grid-template-columns: 1fr;
  }

  .goal-cta button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .goal-hero__inner {
    min-height: 0;
    padding: 36px 0 54px;
  }

  .goal-hero h1 {
    font-size: 34px;
  }

  .goal-hero__copy > p:not(.goal-kicker) {
    font-size: 16px;
  }

  .goal-hero__actions .btn {
    width: 100%;
  }

  .goal-visual {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .goal-visual-card {
    min-height: 280px;
  }

  .goal-card-grid,
  .goal-card-grid--three,
  .goal-formats {
    grid-template-columns: 1fr;
  }

  .goal-section {
    padding-top: 42px;
  }

  .goal-cta {
    margin-top: 44px;
    padding: 24px;
  }
}
