.pricing-page {
  background: #ffffff;
}

.pricing-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 6vw, 72px) 0 56px;
  background:
    radial-gradient(circle at 15% 18%, rgba(47, 49, 146, 0.075), transparent 24%),
    radial-gradient(circle at 86% 10%, rgba(47, 49, 146, 0.09), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f8f9ff 58%, #ffffff 100%);
}

.pricing-hero-shell {
  position: relative;
}

.pricing-hero-shell > .pricing-pill,
.pricing-hero-shell > h1,
.pricing-hero-shell > .pricing-lede {
  text-align: center;
}

.pricing-pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(47, 49, 146, 0.12);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pricing-pill.small {
  margin-bottom: 20px;
}

.pricing-hero h1 {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--navy);
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.pricing-lede {
  max-width: 590px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.62;
}

.pricing-art {
  position: absolute;
  left: 40px;
  top: 72px;
  width: 96px;
  height: 96px;
  opacity: 0.62;
}

.pricing-art svg {
  width: 100%;
  height: 100%;
}

.pricing-art circle {
  fill: rgba(47, 49, 146, 0.06);
}

.pricing-art path {
  fill: rgba(47, 49, 146, 0.72);
}

.pricing-art circle:last-child {
  fill: #ffffff;
}

.pricing-stars {
  position: absolute;
  top: 100px;
  right: 82px;
  width: 82px;
  height: 72px;
}

.pricing-stars span {
  position: absolute;
  display: block;
  background: rgba(47, 49, 146, 0.44);
  clip-path: polygon(50% 0%, 62% 35%, 100% 50%, 62% 65%, 50% 100%, 38% 65%, 0% 50%, 38% 35%);
}

.pricing-stars span:nth-child(1) {
  width: 34px;
  height: 34px;
  left: 14px;
  top: 22px;
}

.pricing-stars span:nth-child(2) {
  width: 13px;
  height: 13px;
  right: 12px;
  top: 4px;
}

.pricing-stars span:nth-child(3) {
  width: 11px;
  height: 11px;
  right: 0;
  bottom: 14px;
}

/* Main pricing card */

.pricing-card {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  max-width: 920px;
  margin: 42px auto 0;
  overflow: hidden;
  border: 1px solid rgba(47, 49, 146, 0.13);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.10);
  text-align: left;
}

.pricing-price,
.pricing-included {
  padding: clamp(26px, 3.6vw, 42px);
}

.pricing-price {
  border-right: 1px solid rgba(47, 49, 146, 0.12);
  background:
    radial-gradient(circle at 0% 0%, rgba(47, 49, 146, 0.08), transparent 36%),
    #ffffff;
}

.pricing-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-line {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-top: 24px;
  color: var(--navy);
}

.price-line span {
  padding-bottom: 9px;
  font-size: 28px;
  font-weight: 850;
}

.price-line strong {
  font-size: clamp(68px, 8vw, 96px);
  line-height: 0.78;
  letter-spacing: -0.08em;
  font-weight: 900;
}

.price-line em {
  padding-bottom: 8px;
  color: var(--accent);
  font-size: 16px;
  font-style: normal;
  font-weight: 850;
}

.yearly {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.yearly strong {
  color: var(--accent);
}

.price-copy {
  max-width: 300px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.pricing-button {
  display: inline-flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(47, 49, 146, 0.24);
}

.secure-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.secure-note::before {
  content: "▧";
  margin-right: 8px;
  color: var(--accent);
}

.pricing-included ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-included li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.pricing-included li > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.pricing-included strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.2;
}

.pricing-included p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

/* Add-on */

.review-band {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  max-width: 920px;
  margin: 24px auto 0;
  padding: 24px 28px;
  border: 1px solid rgba(47, 49, 146, 0.10);
  border-radius: 26px;
  background:
    radial-gradient(circle at 0% 0%, rgba(47, 49, 146, 0.10), transparent 36%),
    #f4f6ff;
  text-align: left;
}

.review-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
}

.review-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.review-band h2 {
  margin-top: 7px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.review-band p:not(.pricing-kicker) {
  margin-top: 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.review-band a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid rgba(47, 49, 146, 0.24);
  border-radius: 999px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 850;
  background: #ffffff;
}

/* Who it is for */

.who-row {
  max-width: 920px;
  margin: 44px auto 0;
  text-align: center;
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
}

.who-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.who-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--accent-soft);
  font-size: 22px;
}

.who-grid h3 {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.15;
}

.who-grid p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Closing banner */

.simple-banner {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(230px, 0.82fr);
  gap: 24px;
  align-items: center;
  max-width: 920px;
  margin: 28px auto 0;
  padding: 30px 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 50%, rgba(255, 255, 255, 0.16), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(135deg, var(--accent), #5659d8);
  color: #ffffff;
  text-align: left;
  box-shadow: 0 30px 76px rgba(47, 49, 146, 0.22);
}

.shield-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 24px;
}

.simple-banner h2 {
  color: #ffffff;
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.05;
}

.simple-banner div p {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.simple-banner > p {
  max-width: 320px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.5;
}

/* Responsive */

@media (max-width: 980px) {
  .pricing-card,
  .review-band,
  .simple-banner {
    grid-template-columns: 1fr;
  }

  .pricing-price {
    border-right: 0;
    border-bottom: 1px solid rgba(47, 49, 146, 0.12);
  }

  .pricing-included ul {
    grid-template-columns: 1fr;
  }

  .review-band a {
    width: 100%;
  }

  .who-grid {
    grid-template-columns: 1fr;
  }

  .pricing-art,
  .pricing-stars {
    display: none;
  }
}

@media (max-width: 760px) {
  .pricing-hero {
    padding-top: 38px;
  }

  .pricing-card,
  .review-band,
  .simple-banner {
    border-radius: 24px;
  }

  .pricing-price,
  .pricing-included,
  .review-band,
  .simple-banner,
  .who-grid article {
    padding: 22px;
  }

  .pricing-button {
    min-height: 58px;
  }

  .price-line strong {
    font-size: 72px;
  }
}

/* Compass AI Coach pricing feature */
.pricing-ai-coach-panel {
  display: grid;
  grid-template-columns: 170px minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 34px;
  align-items: center;
  margin: 46px 0 30px;
  padding: 34px 38px;
  text-align: left;
}

.pricing-ai-coach-panel > * {
  position: relative;
  z-index: 1;
}

.pricing-ai-coach-symbol-wrap {
  display: grid;
  place-items: center;
  min-height: 170px;
  border: 1px solid rgba(79,70,229,.09);
  border-radius: 28px;
  background: rgba(255,255,255,.68);
}

.pricing-ai-coach-symbol-wrap img {
  width: 132px;
  height: 132px;
  filter: drop-shadow(0 20px 32px rgba(79,70,229,.22));
}

.pricing-ai-coach-copy h2 {
  margin: 18px 0 0;
  color: #101828;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
}

.pricing-ai-coach-copy > p {
  margin: 14px 0 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.58;
}

.pricing-ai-coach-included > span {
  overflow: hidden;
  background: #eef0ff !important;
}

.pricing-ai-coach-included > span img {
  width: 30px;
  height: 30px;
}

@media (max-width: 1000px) {
  .pricing-ai-coach-panel {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .pricing-ai-coach-panel .compass-ai-coach-feature-list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .pricing-ai-coach-panel {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .pricing-ai-coach-symbol-wrap {
    min-height: 130px;
  }

  .pricing-ai-coach-symbol-wrap img {
    width: 104px;
    height: 104px;
  }

  .pricing-ai-coach-panel .compass-ai-coach-feature-list {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}


/* Two-product Compass pricing */
.pricing-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin: 48px auto 0;
  text-align: left;
}

.pricing-product-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 640px;
  padding: clamp(30px, 4vw, 44px);
  border: 1px solid rgba(47, 49, 146, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(86, 89, 214, 0.10), transparent 34%),
    rgba(255,255,255,.95);
  box-shadow: 0 28px 72px rgba(16,24,40,.09);
}

.pricing-product-card.counselor {
  color: #fff;
  border-color: rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 100% 0%, rgba(92,99,255,.26), transparent 34%),
    linear-gradient(145deg, #0a1a32, #102a4d);
  box-shadow: 0 30px 76px rgba(7,22,44,.20);
}

.pricing-product-head > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pricing-product-card.counselor .pricing-product-head > span {
  color: #f2d594;
}

.pricing-product-head h2 {
  margin: 13px 0 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
  letter-spacing: -.055em;
}

.pricing-product-card.counselor .pricing-product-head h2 {
  color: #fff;
}

.pricing-product-head p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.pricing-product-card.counselor .pricing-product-head p {
  color: rgba(255,255,255,.72);
}

.pricing-product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-top: 30px;
}

.pricing-product-price strong {
  color: var(--navy);
  font-size: clamp(48px, 5vw, 68px);
  line-height: .92;
  letter-spacing: -.06em;
}

.pricing-product-card.counselor .pricing-product-price strong {
  color: #fff;
}

.pricing-product-price > span {
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
}

.pricing-product-card.counselor .pricing-product-price > span {
  color: #c8ccff;
}

.pricing-product-price small {
  flex-basis: 100%;
  margin-top: 5px;
  color: #667085;
  font-size: 13px;
  font-weight: 750;
}

.pricing-product-card.counselor .pricing-product-price small {
  color: rgba(255,255,255,.62);
}

.pricing-product-card ul {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-product-card li {
  position: relative;
  padding-left: 28px;
  color: #475467;
  font-size: 14px;
  line-height: 1.5;
}

.pricing-product-card.counselor li {
  color: rgba(255,255,255,.82);
}

.pricing-product-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #3538a3;
  background: #eef0ff;
  font-size: 10px;
  font-weight: 900;
}

.pricing-product-card.counselor li::before {
  color: #182252;
  background: #f2d594;
}

.pricing-product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 34px;
}

.pricing-product-primary,
.pricing-product-secondary {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.pricing-product-primary {
  color: #fff;
  background: linear-gradient(180deg, #5a5dff, #303392);
  box-shadow: 0 16px 30px rgba(47,49,146,.22);
}

.pricing-product-secondary {
  color: #303392;
  border: 1px solid rgba(47,49,146,.12);
  background: #f5f6ff;
}

.pricing-product-card.counselor .pricing-product-primary {
  color: #222a78;
  background: #fff;
  box-shadow: 0 18px 34px rgba(0,0,0,.18);
}

.pricing-product-card.counselor .pricing-product-secondary {
  color: #fff;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
}

.pricing-product-note {
  margin: 14px 0 0;
  color: #98a2b3;
  font-size: 11.5px;
  line-height: 1.5;
}

.pricing-product-card.counselor .pricing-product-note {
  color: rgba(255,255,255,.52);
}

.pricing-student-path {
  max-width: 1120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 24px auto 0;
  padding: 28px 30px;
  border: 1px solid rgba(47,49,146,.10);
  border-radius: 26px;
  background: rgba(255,255,255,.78);
  text-align: left;
}

.pricing-student-path span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pricing-student-path h2 {
  margin: 7px 0 0;
  color: var(--navy);
  font-size: 25px;
  letter-spacing: -.035em;
}

.pricing-student-path p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.pricing-student-path > a {
  flex: 0 0 auto;
  color: #303392;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.pricing-shared-system {
  max-width: 1120px;
  margin: 70px auto 0;
  text-align: center;
}

.pricing-shared-system h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -.05em;
}

.pricing-shared-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
  text-align: left;
}

.pricing-shared-grid article {
  padding: 22px;
  border: 1px solid rgba(47,49,146,.09);
  border-radius: 22px;
  background: rgba(255,255,255,.80);
}

.pricing-shared-grid strong {
  color: #303392;
  font-size: 14px;
}

.pricing-shared-grid p {
  margin: 7px 0 0;
  color: #667085;
  font-size: 12.5px;
  line-height: 1.55;
}

.pricing-existing {
  margin: 34px auto 0;
  color: #667085;
  font-size: 13px;
  text-align: center;
}

.pricing-existing a {
  color: #303392;
  font-weight: 850;
}

@media (max-width: 860px) {
  .pricing-products {
    grid-template-columns: 1fr;
  }
  .pricing-product-card {
    min-height: 0;
  }
  .pricing-shared-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .pricing-product-actions,
  .pricing-shared-grid {
    grid-template-columns: 1fr;
  }
  .pricing-student-path {
    align-items: flex-start;
    flex-direction: column;
  }
}
