/* UK homepage, version 3. DEV PREVIEW ONLY: loaded by zz-home-v3.asp, with the markup in
   includes/home-v3-uk.inc and the behaviour in js/home-v3.js. Everything is scoped to .v3, so the
   shared header, menu and footer are untouched.

   The look: squared paper and a lime highlighter (the hero word, one word in each heading), the
   figures on a brand blue band, and large rounded panels. Navy is used for text only.
   The Figtree @font-face is in css/topmenu.css, which every UK page loads. */

.v3
{
  --v3-navy: #1f3350;
  --v3-ink: #2a3a52;
  --v3-slate: #56657b;
  --v3-blue: #3a68ae;
  --v3-tint: #f0f4fb;
  --v3-line: #dbe4f1;
  --v3-lime: #a9d622;
  --v3-lime-dark: #98c31a;
  --v3-lime-soft: #f4f9e1;
  --v3-star: #f2a31b;
  --v3-shadow: 0 18px 44px rgba(31, 51, 80, .13);
  --v3-surface: radial-gradient(520px 260px at 100% 0%, rgba(160, 195, 245, .38), transparent 65%), linear-gradient(110deg, #3a68ae 0%, #4170b8 100%);

  overflow-x: clip;
  color: var(--v3-ink);
  font-family: "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.v3 *, .v3 *:before, .v3 *:after
{
  box-sizing: border-box;
}

.v3 h1, .v3 h2, .v3 h3
{
  margin: 0;
  color: var(--v3-navy);
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.v3 h2
{
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.v3 h3
{
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

:where(.v3) p, :where(.v3) figure, :where(.v3) label
{
  margin: 0;
}

:where(.v3) ul, :where(.v3) ol
{
  margin: 0;
  padding: 0;
  list-style: none;
}

.v3 a:focus-visible, .v3 button:focus-visible
{
  outline: 3px solid var(--v3-blue);
  outline-offset: 2px;
}

.v3 [hidden]
{
  display: none;
}

.v3-nowrap
{
  white-space: nowrap;
}

/* The highlighter: a lime stroke across the lower half of a word. It is drawn behind the word
   and takes up no room: side margins on the word itself made Firefox wrap short headings. */
.v3-mark
{
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.v3-mark:before
{
  content: "";
  position: absolute;
  top: 60%;
  right: -.08em;
  bottom: 7%;
  left: -.08em;
  z-index: -1;
  border-radius: 4px;
  background: rgba(169, 214, 34, .8);
}

/* Sections ------------------------------------------------------------- */

.v3-section
{
  padding: clamp(56px, 6.6vw, 92px) 0;
}

.v3-section--tint
{
  background: var(--v3-tint);
}

/* A section that follows another white one: the gap above is already there. */
.v3-section--flush
{
  padding-top: 0;
}

.v3-head
{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 24px;
  margin-bottom: clamp(28px, 3.4vw, 44px);
}

.v3-head p
{
  color: var(--v3-slate);
  font-size: 18px;
}

.v3-head--center
{
  justify-content: center;
  text-align: center;
}

.v3-head--stack
{
  display: block;
  max-width: 780px;
}

.v3-head--stack p
{
  margin-top: 14px;
}

.v3-more
{
  color: var(--v3-blue);
  font-weight: 700;
  text-decoration: none;
}

.v3-more:after
{
  content: " \2192";
}

.v3-more:hover
{
  color: var(--v3-blue);
  text-decoration: underline;
}

.v3-btn
{
  display: inline-block;
  padding: 13px 28px;
  border: 2px solid var(--v3-lime);
  border-radius: 999px;
  background: var(--v3-lime);
  color: var(--v3-navy);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
}

.v3-btn:hover
{
  border-color: var(--v3-lime-dark);
  background: var(--v3-lime-dark);
  color: var(--v3-navy);
}

.v3-btn--blue
{
  border-color: var(--v3-blue);
  background: var(--v3-blue);
  color: #fff;
}

.v3-btn--blue:hover
{
  border-color: #315a99;
  background: #315a99;
  color: #fff;
}

.v3-btn--line
{
  border-color: currentColor;
  background: none;
  color: var(--v3-blue);
}

.v3-btn--line:hover
{
  border-color: var(--v3-blue);
  background: var(--v3-blue);
  color: #fff;
}

.v3-btn--ghost
{
  border-color: rgba(255, 255, 255, .75);
  background: none;
  color: #fff;
}

.v3-btn--ghost:hover
{
  border-color: #fff;
  background: #fff;
  color: var(--v3-blue);
}

/* Hero ----------------------------------------------------------------- */

/* z-index 0 keeps every layer inside the hero below the menu's dropdowns. It stays a plain
   block: flex or overflow:hidden here can be squeezed beside the shared menu's floats. */
.v3-hero
{
  position: relative;
  z-index: 0;
  background: #f5f8fd;
}

/* Squared paper, fading out towards the edges and the bottom. */
.v3-hero:before
{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(58, 104, 174, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(58, 104, 174, .1) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 78% 92% at 50% 0%, #000 22%, transparent 76%);
  mask-image: radial-gradient(ellipse 78% 92% at 50% 0%, #000 22%, transparent 76%);
  pointer-events: none;
}

.v3-hero__in
{
  padding-top: clamp(36px, 4.6vw, 64px);
  padding-bottom: clamp(40px, 4.6vw, 60px);
  text-align: center;
}

.v3-eyebrow
{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px 6px 12px;
  border: 1px solid var(--v3-line);
  border-radius: 999px;
  background: #fff;
  color: var(--v3-navy);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}

.v3-eyebrow span
{
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--v3-lime);
  box-shadow: 0 0 0 4px rgba(169, 214, 34, .28);
}

.v3 h1
{
  margin-top: 20px;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.04;
  letter-spacing: -.032em;
  text-wrap: balance;
}

/* The changing word sits on a full highlighter stroke. js/home-v3.js sets the width, so the
   line re-centres smoothly when the word changes. */
.v3-swap
{
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
  vertical-align: bottom;
  transition: width .35s ease;
}

.v3-swap:before
{
  content: "";
  position: absolute;
  top: .14em;
  right: -.12em;
  bottom: .02em;
  left: -.12em;
  z-index: -1;
  border-radius: .16em;
  background: var(--v3-lime);
  transform: rotate(-1.2deg);
}

#v3-word
{
  display: inline-block;
  transition: opacity .22s;
}

#v3-word.is-out
{
  opacity: 0;
}

.v3-lead
{
  max-width: 640px;
  margin: 20px auto 0;
  color: var(--v3-ink);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
  text-wrap: balance;
}

/* Search bar: one row on a desktop, stacked on a phone. */
.v3-search
{
  display: flex;
  align-items: center;
  max-width: 960px;
  margin: clamp(26px, 3vw, 36px) auto 0;
  padding: 10px;
  border: 1px solid var(--v3-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(31, 51, 80, .16);
  text-align: left;
}

.v3-seg
{
  display: flex;
  flex: none;
  gap: 2px;
  margin-right: 6px;
  padding: 4px;
  border-radius: 18px;
  background: var(--v3-tint);
}

.v3-seg a
{
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--v3-slate);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.v3-seg a:hover
{
  color: var(--v3-navy);
}

.v3-seg a.active
{
  background: #fff;
  box-shadow: 0 2px 8px rgba(31, 51, 80, .14);
  color: var(--v3-blue);
}

.v3-search__form
{
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
  margin: 0;
}

.v3-field
{
  flex: 1 1 0;
  min-width: 0;
  padding: 7px 16px;
  border-left: 1px solid var(--v3-line);
  border-radius: 0;
  cursor: text;
}

.v3-field:first-of-type
{
  border-left: 0;
}

.v3-field--subject
{
  flex-grow: 1.5;
}

.v3-field span
{
  display: block;
  color: var(--v3-slate);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.v3 .v3-field input, .v3 .v3-field select
{
  display: block;
  width: 100%;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background-color: transparent;
  box-shadow: none;
  color: var(--v3-navy);
  font: inherit;
  font-size: 17.5px;
  font-weight: 600;
  text-overflow: ellipsis;
}

.v3 .v3-field select
{
  padding-right: 22px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2356657b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 12px 8px;
  cursor: pointer;
}

.v3 .v3-field input::placeholder
{
  color: #7a889c;
  font-weight: 500;
  opacity: 1;
}

/* The focus ring goes on the whole field, as the input itself has no border. */
.v3-field:focus-within
{
  border-radius: 14px;
  box-shadow: inset 0 0 0 2px var(--v3-blue);
}

.v3-go
{
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 60px;
  margin-left: 8px;
  padding: 0 28px;
  border: 0;
  border-radius: 18px;
  background: var(--v3-lime);
  color: var(--v3-navy);
  font: inherit;
  font-size: 17.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .15s;
}

.v3-go:hover
{
  background: var(--v3-lime-dark);
}

.v3-go svg
{
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
}

.v3-popular
{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--v3-slate);
  font-size: 15px;
}

.v3-popular a
{
  padding: 5px 14px;
  border: 1px solid var(--v3-line);
  border-radius: 999px;
  background: #fff;
  color: var(--v3-blue);
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s, background-color .15s;
}

.v3-popular a:hover
{
  border-color: var(--v3-blue);
  color: var(--v3-blue);
}

/* Numbers, then review scores and press -------------------------------- */

.v3-numbers
{
  background: var(--v3-surface);
}

/* Both rows sit on the .container itself, so only top and bottom padding are set here. */
.v3-stats
{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: clamp(30px, 3.8vw, 46px);
  padding-bottom: clamp(30px, 3.8vw, 46px);
  text-align: center;
}

.v3-stat + .v3-stat
{
  border-left: 1px solid rgba(255, 255, 255, .3);
}

.v3-stat strong
{
  display: block;
  color: #fff;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.v3-stat span
{
  display: block;
  margin-top: 6px;
  color: #f3f7fc;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.v3-proof
{
  border-bottom: 1px solid var(--v3-line);
  background: #fff;
}

.v3-trust
{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 40px;
  padding-top: 16px;
  padding-bottom: 18px;
}

/* includes/reviews-snippet.inc is shared with older pages, so it is restyled here and not
   edited. */
.v3 .reviewssnippet
{
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: none;
  text-align: left;
}

.v3 .reviewssnippetreviews
{
  margin: 0;
  padding: 0;
  font-size: 15px;
}

.v3 .reviewssnippettrust
{
  height: 84px;
  overflow: hidden;
}

.v3 .reviewssnippetreviews img
{
  margin-bottom: 4px !important;
}

.v3-press
{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 38px;
  color: var(--v3-slate);
  font-size: 15px;
  font-weight: 600;
}

.v3-press .icon
{
  height: 28px;
  fill: #76849a;
}

/* This symbol is a white square with the wordmark across its middle, so it is sized up and
   cropped to that band. */
.v3-press .icondailymail
{
  width: 140px;
  height: 140px;
  margin: -56px 0;
  clip-path: inset(38% 0);
}

/* How it works --------------------------------------------------------- */

.v3-steps
{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

/* The dashed path runs from the first number to the last. */
.v3-steps:before
{
  content: "";
  position: absolute;
  top: 27px;
  right: calc(25% - 49px);
  left: 28px;
  border-top: 2px dashed #b4c5df;
}

.v3-steps li
{
  position: relative;
}

.v3-steps__n
{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--v3-lime);
  box-shadow: 0 0 0 8px var(--v3-tint);
  color: var(--v3-navy);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.v3-steps p
{
  margin-top: 8px;
  color: var(--v3-slate);
  font-size: 16px;
}

/* Subjects ------------------------------------------------------------- */

.v3-mosaic
{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 200px;
  gap: 18px;
}

.v3-cat
{
  position: relative;
  z-index: 0;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: #4a70ad;
  color: #fff;
  text-decoration: none;
}

.v3-cat:hover
{
  color: #fff;
}

.v3-cat img
{
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v3-cat:after
{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(22, 38, 66, 0) 30%, rgba(22, 38, 66, .84) 100%);
}

.v3-cat__text
{
  position: absolute;
  right: 18px;
  bottom: 15px;
  left: 18px;
  display: flex;
  flex-direction: column;
}

.v3-cat strong
{
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.v3-cat small
{
  margin-top: 2px;
  color: #f1f5fb;
  font-size: 14.5px;
  line-height: 1.35;
}

.v3-cat--big
{
  grid-column: span 2;
  grid-row: span 2;
}

.v3-cat--big .v3-cat__text
{
  right: 26px;
  bottom: 24px;
  left: 26px;
}

.v3-cat--big strong
{
  font-size: clamp(26px, 2.6vw, 34px);
}

.v3-cat--big small
{
  font-size: 17px;
}

.v3-cat--all
{
  background: var(--v3-surface);
}

.v3-cat--all:after
{
  content: none;
}

.v3-cat--all svg
{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 50%;
  background: #fff;
  fill: none;
  stroke: var(--v3-blue);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Online lessons ------------------------------------------------------- */

.v3-online
{
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 4.4vw, 60px);
  border-radius: 28px;
  background: var(--v3-surface);
  color: #fff;
}

.v3 .v3-online h2, .v3 .v3-online h3
{
  color: #fff;
}

.v3-features
{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 28px;
  margin-top: 30px;
}

.v3-features svg
{
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .17);
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v3-features h3
{
  font-size: 18.5px;
}

.v3-features p
{
  margin-top: 4px;
  color: #f1f5fb;
  font-size: 15.5px;
  line-height: 1.5;
}

.v3-board
{
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(15, 30, 60, .36);
}

.v3-board__bar
{
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--v3-line);
  background: #fff;
}

.v3-board__bar i
{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cfd9e8;
}

.v3-board__bar span
{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
  color: var(--v3-navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.v3-board__bar span:before
{
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f04747;
}

.v3-board__img
{
  position: relative;
}

.v3-board__img img
{
  display: block;
  width: 100%;
  height: auto;
}

.v3-board__pen
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Undrawn by default, so it only appears when the animation runs. */
.v3-board__pen path
{
  fill: none;
  stroke: #2563eb;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.v3-board__pen path + path
{
  stroke: #16a34a;
  stroke-width: 6;
}

.v3-board.is-drawing .v3-board__pen path
{
  animation: v3-draw 1.5s ease .3s forwards;
}

.v3-board.is-drawing .v3-board__pen path + path
{
  animation-duration: .5s;
  animation-delay: 1.9s;
}

@keyframes v3-draw
{
  to { stroke-dashoffset: 0; }
}

/* Reviews -------------------------------------------------------------- */

.v3-reviews
{
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

/* 72px menu bar plus a gap. */
.v3-reviews__side
{
  position: sticky;
  top: 104px;
}

.v3-reviews__big
{
  margin-top: 26px;
}

.v3-reviews__big strong
{
  display: block;
  color: var(--v3-blue);
  font-size: clamp(64px, 8vw, 108px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
}

.v3-reviews__big > span
{
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  color: var(--v3-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.v3-stars
{
  color: var(--v3-star);
  font-size: 24px;
  letter-spacing: 3px;
}

.v3-wall
{
  column-count: 2;
  column-gap: 20px;
}

.v3-review
{
  margin-bottom: 20px;
  padding: 26px 26px 22px;
  border-radius: 20px;
  background: var(--v3-tint);
  break-inside: avoid;
}

.v3-review svg
{
  display: block;
  width: 30px;
  height: 22px;
  margin-bottom: 12px;
  fill: #7aa3e6;
}

.v3-review blockquote
{
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--v3-ink);
  font-size: 17px;
  font-style: normal;
  line-height: 1.6;
}

.v3-review figcaption
{
  margin-top: 16px;
  color: var(--v3-slate);
  font-size: 15px;
}

.v3-review strong
{
  color: var(--v3-navy);
}

.v3-review figcaption span:before
{
  content: " \00b7  ";
}

.v3-review small
{
  display: block;
  font-size: 14px;
}

/* Exam practice -------------------------------------------------------- */

.v3-exam
{
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  overflow: hidden;
  padding: clamp(26px, 4.4vw, 60px);
  border-radius: 28px;
  background: var(--v3-lime-soft);
}

.v3-exam:before
{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(118, 152, 14, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(118, 152, 14, .16) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(100deg, transparent 38%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 38%, #000 100%);
}

.v3-exam__tag
{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--v3-navy);
  font-size: 15px;
  font-weight: 700;
}

.v3-exam__tag span
{
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--v3-lime);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.v3-exam h2
{
  margin-top: 14px;
}

.v3-exam__lead
{
  margin-top: 14px;
  color: var(--v3-ink);
  font-size: 18px;
}

.v3-exam__points
{
  margin: 20px 0 28px;
}

.v3-exam__points li, .v3-join__card li
{
  position: relative;
  margin-top: 9px;
  padding-left: 30px;
}

.v3-exam__points li
{
  color: var(--v3-navy);
  font-weight: 600;
}

.v3-exam__points li:before, .v3-join__card li:before
{
  content: "";
  position: absolute;
  top: .22em;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--v3-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.6 10.4l3 3 5.8-6.4' fill='none' stroke='%231f3350' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

.v3-exam__card
{
  padding: 22px 24px;
  border: 1px solid #e3ebc6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(70, 92, 10, .18);
  transform: rotate(1.4deg);
}

.v3-exam__meta
{
  color: var(--v3-slate);
  font-size: 14px;
}

.v3-exam__meta span
{
  margin-right: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--v3-tint);
  color: var(--v3-blue);
  font-weight: 700;
}

.v3-exam__q
{
  margin-top: 12px;
  color: var(--v3-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.v3-exam__q em
{
  color: var(--v3-slate);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
}

.v3-exam__ans
{
  margin-top: 14px;
  padding: 10px 14px 12px;
  border: 1px solid var(--v3-line);
  border-radius: 12px;
  color: var(--v3-navy);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.v3-exam__ans span
{
  display: block;
  color: var(--v3-slate);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.v3-exam__marks li
{
  display: flex;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f2f8dd;
  color: var(--v3-ink);
  font-size: 15px;
  line-height: 1.45;
}

.v3-exam__marks b
{
  color: #4a6800;
  font-weight: 800;
}

.v3-exam__score
{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--v3-slate);
  font-size: 15px;
}

.v3-exam__score strong
{
  color: var(--v3-navy);
  font-size: 24px;
  line-height: 1;
}

.v3-exam__bar
{
  flex: 1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6edf7;
}

.v3-exam__bar span
{
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--v3-lime);
}

.v3-exam__helper
{
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--v3-tint);
  color: var(--v3-blue);
  font-size: 14.5px;
  font-weight: 600;
}

.v3-exam__dot
{
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--v3-lime);
  vertical-align: 1px;
}

/* Locations ------------------------------------------------------------ */

.v3-cities
{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 28px;
}

.v3-city
{
  padding: 15px 0 17px;
  border-top: 1px solid #cdd9ea;
}

.v3-city h3
{
  font-size: 19px;
}

.v3-city h3 a
{
  color: var(--v3-navy);
  text-decoration: none;
}

.v3-city h3 a:hover
{
  color: var(--v3-blue);
  text-decoration: underline;
}

.v3-city p
{
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin-top: 3px;
  font-size: 15px;
}

.v3-city p a
{
  color: var(--v3-blue);
  text-decoration: none;
}

.v3-city p a:hover
{
  color: var(--v3-blue);
  text-decoration: underline;
}

.v3-city--all h3 a:after
{
  content: " \2192";
  color: var(--v3-blue);
}

/* Join ----------------------------------------------------------------- */

.v3-join
{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.v3-join__card
{
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 24px;
  background: var(--v3-tint);
}

.v3 .v3-join__card h3
{
  font-size: 26px;
  font-weight: 800;
}

.v3-join__card ul
{
  flex: 1;
  margin: 12px 0 26px;
}

.v3-join__card li
{
  margin-top: 11px;
  font-size: 16.5px;
  line-height: 1.5;
}

.v3-join__actions
{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.v3-join__actions .v3-btn
{
  padding: 12px 20px;
}

.v3-join__card--blue
{
  background: var(--v3-surface);
  color: #fff;
}

.v3 .v3-join__card--blue h3
{
  color: #fff;
}

.v3-join__card--blue .v3-btn:focus-visible
{
  outline-color: #fff;
}

/* Blog ----------------------------------------------------------------- */

.v3-posts
{
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 20px 26px;
}

.v3-post
{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--v3-line);
  border-radius: 20px;
  background: #fff;
  color: var(--v3-ink);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}

.v3-post:hover
{
  border-color: var(--v3-blue);
  box-shadow: 0 12px 28px rgba(31, 51, 80, .1);
  color: var(--v3-ink);
}

.v3-post__img
{
  display: block;
  flex: 0 0 172px;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 12px;
  background: var(--v3-tint);
}

.v3-post__img img
{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v3-post__body
{
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.v3-post__tag
{
  color: var(--v3-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.v3-post strong
{
  margin-top: 3px;
  color: var(--v3-navy);
  font-size: 18.5px;
  font-weight: 800;
  line-height: 1.3;
}

.v3-post__text
{
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: var(--v3-slate);
  font-size: 15px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.v3-post--lead
{
  grid-row: span 3;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 16px 16px 26px;
}

.v3-post--lead .v3-post__img
{
  flex: none;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
}

.v3-post--lead .v3-post__body
{
  padding: 20px 10px 0;
}

.v3-post--lead strong
{
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.2;
}

.v3-post--lead .v3-post__text
{
  font-size: 16.5px;
  -webkit-line-clamp: 3;
}

/* Reveals -------------------------------------------------------------- */

/* js/home-v3.js adds .v3-js, and only to parts still below the screen, so nothing is hidden
   if the script does not run. This is a fade for everyone; the movement is added further down
   for visitors who have not asked for reduced motion. */
.v3-js [data-rv]
{
  opacity: 0;
}

.v3-js [data-rv].is-in
{
  opacity: 1;
  transition: opacity .6s ease var(--v3-d, 0ms);
}

@media (prefers-reduced-motion: no-preference)
{
  .v3-js [data-rv]
  {
    transform: translateY(24px);
  }

  .v3-js [data-rv].is-in
  {
    transform: none;
    transition: opacity .6s ease var(--v3-d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--v3-d, 0ms);
  }

  .v3-js .v3-exam__card[data-rv]
  {
    transform: translateY(24px) rotate(1.4deg);
  }

  .v3-js .v3-exam__card[data-rv].is-in
  {
    transform: rotate(1.4deg);
  }

  #v3-word
  {
    transition: opacity .22s, transform .22s;
  }

  #v3-word.is-out
  {
    transform: translateY(.22em);
  }

  .v3-cat img
  {
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  }

  .v3-cat:hover img
  {
    transform: scale(1.05);
  }
}

/* Smaller screens ------------------------------------------------------ */

@media (max-width: 1199px)
{
  .v3-cities
  {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px)
{
  /* The lesson-type switch moves above the fields. */
  .v3-search
  {
    flex-direction: column;
    align-items: stretch;
    max-width: 720px;
  }

  .v3-seg
  {
    align-self: flex-start;
    margin: 0 0 8px;
  }

  .v3-seg a
  {
    padding: 10px 16px;
  }

  .v3-steps
  {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
  }

  .v3-steps:before
  {
    content: none;
  }

  .v3-steps__n
  {
    box-shadow: none;
  }

  /* The big tile keeps both columns but takes one row, which grows to fit it. */
  .v3-mosaic
  {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(180px, auto);
    gap: 14px;
  }

  .v3-cat--big
  {
    grid-row: span 1;
    min-height: 280px;
  }

  .v3-online, .v3-exam
  {
    grid-template-columns: minmax(0, 1fr);
  }

  .v3-reviews
  {
    grid-template-columns: minmax(0, 1fr);
  }

  .v3-reviews__side
  {
    position: static;
  }

  .v3-reviews__big
  {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 20px;
    margin-top: 16px;
  }

  .v3-reviews__big > span
  {
    margin-top: 0;
  }

  .v3-cities
  {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .v3-posts
  {
    grid-template-columns: minmax(0, 1fr);
  }

  .v3-post--lead
  {
    grid-row: auto;
  }
}

@media (max-width: 767px)
{
  .v3
  {
    font-size: 16.5px;
  }

  .v3-hero__in
  {
    text-align: left;
  }

  .v3 h1
  {
    margin-top: 16px;
  }

  .v3-lead
  {
    margin-left: 0;
  }

  .v3-search
  {
    padding: 12px;
    border-radius: 22px;
  }

  .v3-seg
  {
    align-self: stretch;
    margin-bottom: 10px;
  }

  .v3-seg a
  {
    flex: 1;
    padding: 11px 10px;
    text-align: center;
  }

  .v3-search__form
  {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .v3-field, .v3-field:first-of-type
  {
    flex: none;
    padding: 9px 14px 8px;
    border: 1px solid #c3cfe0;
    border-radius: 14px;
  }

  .v3-go
  {
    height: 56px;
    margin: 0;
  }

  .v3-popular
  {
    justify-content: flex-start;
  }

  .v3-stats
  {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 8px;
    padding-bottom: 8px;
    text-align: left;
  }

  .v3-stat
  {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 14px 0;
  }

  .v3-stat + .v3-stat
  {
    border-top: 1px solid rgba(255, 255, 255, .3);
    border-left: 0;
  }

  .v3-stat strong
  {
    flex: 0 0 auto;
    min-width: 4.6em;
    font-size: 38px;
  }

  .v3-stat span
  {
    margin-top: 0;
  }

  .v3-trust
  {
    justify-content: flex-start;
  }

  .v3-press
  {
    gap: 12px 26px;
  }

  .v3-press span
  {
    flex: 0 0 100%;
  }

  .v3-head--center
  {
    justify-content: flex-start;
    text-align: left;
  }

  /* The steps become a list down the page, joined by the dashed path. */
  .v3-steps
  {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .v3-steps:before
  {
    content: "";
    top: 28px;
    right: auto;
    bottom: 60px;
    left: 23px;
    border-top: 0;
    border-left: 2px dashed #b4c5df;
  }

  .v3-steps li
  {
    padding-left: 66px;
  }

  .v3-steps__n
  {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    margin: 0;
    box-shadow: 0 0 0 6px var(--v3-tint);
    font-size: 21px;
  }

  .v3-mosaic
  {
    grid-auto-rows: minmax(150px, auto);
    gap: 12px;
  }

  .v3-cat--big
  {
    min-height: 220px;
  }

  .v3-cat__text
  {
    right: 14px;
    bottom: 12px;
    left: 14px;
  }

  .v3-cat strong
  {
    font-size: 18.5px;
  }

  .v3-cat:not(.v3-cat--big) small
  {
    display: none;
  }

  .v3-cat--all svg
  {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  .v3-online, .v3-exam
  {
    margin: 0 -3px;
    border-radius: 22px;
  }

  .v3-features
  {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 24px;
  }

  .v3-features li
  {
    position: relative;
    padding-left: 58px;
  }

  .v3-features svg
  {
    position: absolute;
    top: 2px;
    left: 0;
    margin: 0;
  }

  .v3-wall
  {
    column-count: 1;
  }

  .v3-review
  {
    margin-bottom: 14px;
    padding: 22px 22px 20px;
  }

  /* Four of the six reviews are enough on a phone. */
  .v3-review:nth-child(n+5)
  {
    display: none;
  }

  .v3-exam__card
  {
    padding: 18px;
    transform: none;
  }

  .v3-js .v3-exam__card[data-rv], .v3-js .v3-exam__card[data-rv].is-in
  {
    transform: none;
  }

  .v3-cities
  {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
  }

  .v3-join
  {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .v3-post
  {
    gap: 14px;
    padding: 12px;
    border-radius: 16px;
  }

  .v3-post__img
  {
    flex-basis: 108px;
    aspect-ratio: 1 / 1;
  }

  .v3-post strong
  {
    font-size: 17px;
  }

  .v3-post:not(.v3-post--lead) .v3-post__text
  {
    display: none;
  }

  .v3-post--lead
  {
    padding: 12px 12px 20px;
  }

  .v3-post--lead .v3-post__img
  {
    aspect-ratio: 16 / 9;
  }

  .v3-post--lead .v3-post__body
  {
    padding: 16px 6px 0;
  }
}
