* {
  box-sizing: border-box;
}

body {
  background: #fafbff;
  color: #111b4a;
}

.ta-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* Hero */
.ta-hero {
  padding: 72px 0;
  padding-bottom: 0px;
  background: linear-gradient(135deg, #f7fbff 0%, #fff 58%, #f9f5ff 100%);
}
.threeCardSec {
  padding-top: 0px;
  padding-bottom: 70px;
  background: linear-gradient(135deg, #f7fbff 0%, #fff 58%, #f9f5ff 100%);
}
.ta-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.ta-hero__content {
  width: 100%;
}

.ta-eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f4f1ff;
  color: #7357f5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ta-hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.04;
  margin: 18px 0;
  color: #011C5C;
}

.ta-hero__lead {
  font-size: 21px;
  line-height: 1.45;
  font-weight: 700;
  max-width: 720px;
  margin: 0 0 15px;
  color: #011C5C;
}

.ta-copy {
  font-size: 17px;
  line-height: 1.7;
  color: #667085;
  margin: 0;
}

/* Buttons */
.ta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.ta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ta-btn--primary {
  background: #011C5C;
  color: #fff;
}

.ta-btn--secondary {
  background: #fff;
  color: #011C5C;
  border-color: #011C5C;
}

.ta-btn--primary:hover,
.ta-btn--secondary:hover {
  transform: translateY(-1px);
}

/* Trust */
.ta-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.ta-trust {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  /* border: 1px solid #e7eaf4; */
  background: #FFEDF6;
  border-radius: 14px;
}

.ta-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef5ff;
  flex: 0 0 42px;
}

.ta-icon-wrap img {
  width: 22px;
  height: 22px;
}

.ta-trust strong {
  display: block;
  font-size: 18px;
  color: #011C5C;
}

.ta-trust span {
  display: block;
  font-size: 16px;
  color: #667085;
  margin-top: 2px;
}

/* Hero Image */
.ta-hero-art {
  min-height: 370px;
  border-radius: 28px;
  background: linear-gradient(145deg, #edf5ff, #f7ecff);
  position: relative;
  overflow: hidden;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eef0f8;
}

.ta-hero-art img {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

/* Responsive */
@media (max-width: 900px) {
  .ta-hero__grid {
      grid-template-columns: 1fr;
  }

  .ta-trust-row {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .ta-section-head h2 {
      font-size: 22px;
      line-height: 1.2;
  }

  .ta-section-head p {
      font-size: 12px;
      line-height: 1.5;
  }
}

@media (max-width: 640px) {

  .ta-hero {
      padding: 44px 0;
  }

  .ta-hero__grid {
      gap: 30px;
  }

  .ta-hero h1 {
      font-size: 36px;
  }

  .ta-hero__lead {
      font-size: 18px;
  }

  .ta-actions {
      flex-direction: column;
  }

  .ta-actions .ta-btn {
      width: 100%;
  }

  .ta-trust-row {
      grid-template-columns: 1fr;
  }

  .ta-hero-art {
      min-height: 280px;
      padding: 18px;
      border-radius: 20px;
  }

  .ta-hero-art img {
      border-radius: 16px;
  }
}

.age-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  padding: 72px 0;
  min-height: 132px;

  box-shadow: 0 10px 28px var(--panel-shadow);
  text-align: center;
  background:#fff;
}
.age-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  background: #f1f7ff;
  border-radius: 14px;
  padding: 18px 24px;
  min-height: 132px;
}

.age-title {
  margin: 0;
  color: var(--text-strong);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.1;
}

.age-subtitle {
  margin: 4px 0 16px;
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.age-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  
}

.age-button {
  flex: 0 1 125px;
  min-height: 36px;
  padding: 0 24px;
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  color: var(--text-strong);
  background: var(--pill-bg);
  box-shadow: 0 4px 12px var(--pill-shadow);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  background: #F9FEFF;
  transition:
      transform 160ms ease,
      box-shadow 160ms ease,
      background 160ms ease;
}

.age-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px var(--pill-shadow);
}

.age-button:focus-visible {
  outline: 3px solid rgba(11, 43, 120, 0.25);
  outline-offset: 3px;
}

.age-button.is-active {
  color: #ffffff;
  background: #00227D;
}

@media (max-width: 640px) {
  .age-section {
      padding: 44px 0;
  }
}

@media (max-width: 520px) {
  .page {
      padding: 16px;
  }

  .age-section {
      min-height: auto;
      border-radius: 12px;
  }

  .age-title {
      font-size: 22px;
  }

  .age-subtitle {
      margin-bottom: 14px;
      font-size: 12px;
  }

  .age-options {
      gap: 10px;
  }

  .age-button {
      flex: 1 1 calc(50% - 10px);
      padding: 0 14px;
      font-size: 12px;
  }
}

@media (max-width: 340px) {
  .age-button {
      flex-basis: 100%;
  }
}


.newta-taster-grid {
  margin-left: -7px;
  margin-right: -7px;
  display: flex;
}

.newta-taster-grid > [class*="col-"] {
  padding-left: 7px;
  padding-right: 7px;
  margin-bottom: 14px;
  display: flex;
  height: auto;
  width: 100%;
}

/* Card */

.newta-taster-card {
  position: relative;
  min-height: 175px;
  padding:15px ;
  border: 1px solid var(--ta-border);
  border-radius: 12px;
  overflow: hidden;
  transition: .2s ease;
 display: flex;
  flex-direction: column; 
  gap: 8px;
  width: 100%;
}

.newta-taster-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ta-shadow);
}

/* Background */

.newta-taster-card--maths {
  background: #EEF5FF;
}

.newta-taster-card--english {
  background: #FFF0F7;
}

.newta-taster-card--11plus {
  background: #EDFBF4;
}

/* Top row */

.newta-taster-card__top {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 32px;
}

/* Icon */

.newta-taster-card__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 7px;
  color: #fff;
  font-size: 14px;
}

.newta-taster-card__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.newta-taster-card--maths .newta-taster-card__icon {
  background: #348BE0;
}

.newta-taster-card--english .newta-taster-card__icon {
  background: #E91E78;
}

.newta-taster-card--11plus .newta-taster-card__icon {
  background: #0FA77A;
}

/* Age background */

.newta-taster-card--maths .newta-taster-card__age {
  background: #DCEBFF;
}

.newta-taster-card--english .newta-taster-card__age {
  background: #FFE0EE;
}

.newta-taster-card--11plus .newta-taster-card__age {
  background: #D8F5E8;
}

/* Age */

.newta-taster-card__age {
  margin-left: 8px;
  padding: 3px 8px;
  border: 1px solid var(--ta-border);
  border-radius: 999px;
  color: var(--ta-muted);
  font-size: 11px;
  line-height: 13px;
  white-space: nowrap;
  font-weight: 700;
}

/* Free */

.newta-taster-card__free {
  margin-left: auto;
  padding: 3px 8px;

  background: #FFE0EE;
  border-radius: 999px;

  color: #E91E78;
  font-size: 10px;
  line-height: 13px;
  font-weight: 700;
}

/* Button */

.newta-taster-card__button {
  display: block;
  width: 100%;
  height: 30px;

  padding: 0 10px;
  border-radius: 999px;

  background: #06145B;
  color: #fff !important;

  font-size: 14px;
  line-height: 28px;
  font-weight: 500;

  text-align: center;
  text-decoration: none !important;

  transition: .2s ease;
  margin-top: auto;
}

.newta-taster-card__button:hover {
  background: #0B227C;
  color: #fff !important;
}

/* Content */

.newta-taster-card__content {
  position: relative;
  min-height: 82px;
  padding: 9px 45px 0 0;
}

.newta-taster-card__content h3 {
  margin: 0 0 5px;

  color: var(--ta-navy);
  font-size: 18px;
  line-height: 18px;
  font-weight: 400;
}

.newta-taster-card__content p {
  max-width: 210px;

  margin: 0;

  color: var(--ta-muted);
  font-size: 12px;
  line-height: 14px;
}

/* Right graphic */

.newta-taster-card__graphic {
  position: absolute;
  right: 3px;
  bottom: 5px;

  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.newta-taster-card--maths .newta-taster-card__graphic {
  color: #348BE0;
}

.newta-taster-card--english .newta-taster-card__graphic {
  color: #E91E78;
}

.newta-taster-card--11plus .newta-taster-card__graphic {
  color: #F0B900;
}

/* Responsive */

@media (max-width: 900px) {
  .newta-taster-card {
      min-height: 175px;
  }
}

@media (max-width: 640px) {
  .newta-taster-grid {
      margin-left: -6px;
      margin-right: -6px;
  }

  .newta-taster-grid > [class*="col-"] {
      padding-left: 6px;
      padding-right: 6px;
  }

  .newta-taster-card {
      min-height: 165px;
  }

  .newta-taster-card__content h3 {
      font-size: 13px;
  }

  .newta-taster-card__content p {
      font-size: 10px;
  }
}


/* How Assessments Work */

.newta-how-section {
  padding: 72px 0;
  background: #FFFFFF;
}

.newta-how-head {
  margin-bottom: 28px;
}

.newta-how-head h2 {
  margin-bottom: 5px;
  font-size: 30px;
  line-height: 36px;
}

.newta-how-head p {
  font-size: 14px;
  line-height: 18px;
}


/* Grid */

.newta-how-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -7px;
  margin-right: -7px;
}

.newta-how-grid > [class*="col-"] {
  padding-left: 7px;
  padding-right: 7px;
  margin-bottom: 14px;
  display: flex;
}


/* Card */

.newta-how-card {
  position: relative;
  width: 100%;
  min-height: 155px;
  padding: 10px 12px 12px;
  text-align: center;
  background: #FFFFFF;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* Right border */

.newta-how-grid > [class*="col-"]:not(:last-child) .newta-how-card {
  border-right: 0.5px solid #f0eeee;
  border-radius: 0;
}


/* Number */

.newta-how-card__number {
  position: absolute;
  top: 43px;
  left: 10px;

  width: 25px;
  height: 25px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #FFFFFF;
  font-size: 12px;
  line-height: 22px;
  font-weight: 700;
}

.newta-how-card__number--pink {
  background: #E91E78;
}

.newta-how-card__number--blue {
  background: #348BE0;
}

.newta-how-card__number--green {
  background: #0FA77A;
}

.newta-how-card__number--purple {
  background: #7357F5;
}


/* Icon */

.newta-how-card__icon {
  width: 48px;
  height: 48px;

  margin-bottom: 10px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.newta-how-card__icon img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}
.newta-how-card__icon--pink img {
  filter: brightness(0) saturate(100%) invert(28%) sepia(96%) saturate(2600%) hue-rotate(320deg) brightness(95%);
}

.newta-how-card__icon--blue img {
  filter: brightness(0) saturate(100%) invert(51%) sepia(91%) saturate(1300%) hue-rotate(187deg) brightness(91%) contrast(88%);
}

.newta-how-card__icon--green img {
  filter: brightness(0) saturate(100%) invert(48%) sepia(65%) saturate(700%) hue-rotate(120deg) brightness(91%);
}

.newta-how-card__icon--purple img {
  filter: brightness(0) saturate(100%) invert(42%) sepia(80%) saturate(1800%) hue-rotate(225deg) brightness(98%);
}

.newta-how-card__icon--pink {
  background: #FFF0F7;
}

.newta-how-card__icon--blue {
  background: #EEF5FF;
}

.newta-how-card__icon--green {
  background: #EDFBF4;
}

.newta-how-card__icon--purple {
  background: #F4F1FF;
}


/* Heading */

.newta-how-card h3 {
  margin: 0 0 6px;

  color: var(--ta-navy);

  font-size: 16px;
  line-height: 17px;
  font-weight: 500;
}


/* Description */

.newta-how-card p {
  max-width: 160px;

  margin: 0;

  color: var(--ta-muted);

  font-size: 12px;
  line-height: 15px;
}


/* Mobile */

@media (max-width: 640px) {

  .newta-how-section {
      padding: 44px 0;
  }

  .newta-how-grid {
      margin-left: -6px;
      margin-right: -6px;
  }

  .newta-how-grid > [class*="col-"] {
      padding-left: 6px;
      padding-right: 6px;
  }

  .newta-how-grid > [class*="col-"]:not(:last-child) .newta-how-card {
      border-right: none;
  }

  .newta-how-card {
      min-height: 145px;
  }

  .newta-how-card__icon {
      width: 44px;
      height: 44px;
  }

  .newta-how-card__icon img {
      width: 21px;
      height: 21px;
  }

  .newta-how-card h3 {
      font-size: 12px;
      line-height: 16px;
  }

  .newta-how-card p {
      font-size: 10px;
      line-height: 14px;
  }
}


.newta-cta-section {
  padding-bottom: 72px;
  background: #fff;
}

.newta-cta-box {
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 190px;
  border-radius: 12px;
  border: 1px solid var(--ta-border);
  padding: 8px 22px 8px 8px;
}

.newta-cta-section--taster .newta-cta-box {
  background: #FFF0F7;
}

.newta-cta-section--assessment .newta-cta-box {
  background: #EEF5FF;
}


/* Image - 40% */

.newta-cta-box__image {
  width: 40%;
  height: 175px;
  flex: 0 0 40%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.newta-cta-box__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}


/* Text area - remaining 60% */

.newta-cta-box__message {
  width: 18%;
  flex: 0 0 18%;
  padding: 0 12px;
}

.newta-cta-box__small-text {
  color: var(--ta-navy);
  font-size: 15px;
  line-height: 17px;
  font-weight: 500;
}

.newta-cta-box__small-text strong {
  font-weight: 800;
}

.newta-cta-box__small-text span {
  font-weight: 700;
}


/* Main content */

.newta-cta-box__content {
  width: 60%;
  flex: 0 0 55%;
  padding-left: 25px;
}

.newta-cta-box__content h2 {
  margin: 0 0 8px;
  color: var(--ta-navy);
  font-size: 20px;
  line-height: 23px;
  font-weight: 500;
}

.newta-cta-box__content p {
  max-width: 560px;
  margin: 0 0 10px;
  color: var(--ta-muted);
  font-size: 11px;
  line-height: 15px;
}


/* Buttons */

.newta-cta-box__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.newta-cta-box__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 34px;
  padding: 7px 20px;

  border-radius: 999px;
  background: #06145B;
  border: 1px solid #06145B;

  color: #FFFFFF !important;
  font-size: 14px;
  line-height: 15px;
  font-weight: 500;

  text-decoration: none !important;
  white-space: nowrap;

  transition: .2s ease;
}

.newta-cta-box__button:hover {
  background: #0B227C;
  border-color: #0B227C;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.newta-cta-box__link {
  display: inline-flex;
  align-items: center;

  color: #06145B !important;
  font-size: 12px;
  line-height: 14px;
  font-weight: 700;

  text-decoration: underline !important;
  white-space: nowrap;
}


/* Mobile */

@media (max-width: 767px) {

  .newta-cta-section {
      padding-bottom: 44px;
  }

  .newta-how-card__number {
      display: none;
  }

  .newta-cta-box {
      display: block;
      padding: 0;
      min-height: 0;
  }


  /* Image - 100% on mobile */

  .newta-cta-box__image {
      width: 100%;
      height: 180px;
      flex: none;
      display: block;
  }

  .newta-cta-box__image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
  }


  /* Message */

  .newta-cta-box__message {
      width: 100%;
      flex: none;
      padding: 15px 18px 0;
  }

  .newta-cta-box__small-text {
      font-size: 15px;
      line-height: 18px;
  }


  /* Content */

  .newta-cta-box__content {
      width: 100%;
      flex: none;
      padding: 12px 18px 18px;
  }

  .newta-cta-box__content h2 {
      font-size: 17px;
      line-height: 22px;
  }

  .newta-cta-box__content p {
      font-size: 11px;
      line-height: 16px;
  }


  /* Buttons */

  .newta-cta-box__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
  }

  .newta-cta-box__button {
      min-height: 36px;
      padding: 8px 18px;
      font-size: 11px;
  }

  .newta-cta-box__link {
      font-size: 10px;
  }
}