.ea-home {
  --ea-ink: #142138;
  --ea-muted: #4a5e76;
  --ea-blue: #234cc1;
  --ea-border: #dbe5f2;
  color: var(--ea-ink);
  background: #fff;
}
.ea-home-wrap {
  width: min(100% - 80px, 1160px);
  margin-inline: auto;
}
.ea-home :is(h1, h2, h3, p) { margin: 0; }
.ea-home a { text-decoration: none; }
.ea-home :is(a, button):focus-visible {
  outline: 3px solid #3a63dd;
  outline-offset: 4px;
}
.ea-home-hero {
  padding: clamp(40px, 5.8vw, 82px) 0 clamp(38px, 5.4vw, 72px);
  background: #f1f6fd;
  border-bottom: 1px solid var(--ea-border);
}
.ea-home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .91fr);
  align-items: center;
  gap: clamp(28px, 4vw, 65px);
}
.ea-home .ea-home-audience {
  margin-bottom: 18px;
  color: var(--ea-blue);
  font-size: clamp(13px, 1.35vw, 16px);
  font-weight: 730;
}
.ea-home h1, .ea-home h2, .ea-home h3 {
  font-family: inherit;
  font-weight: 780;
  color: var(--ea-ink);
}
.ea-home h1 {
  font-size: clamp(37px, 5.05vw, 69px);
  line-height: 1.045;
  letter-spacing: -.062em;
  text-wrap: balance;
}
.ea-home h1 em {
  color: var(--ea-blue);
  font-style: normal;
}
.ea-home .ea-home-lead {
  max-width: 470px;
  margin-top: 24px;
  color: var(--ea-muted);
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.48;
  text-wrap: pretty;
}
.ea-home-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 28px;
}
.ea-home-primary, .ea-home-secondary {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  color: var(--ea-blue);
  font-size: 15px;
  font-weight: 730;
}
.ea-home-primary {
  justify-content: center;
  min-height: 51px;
  padding: 0 18px;
  border-radius: 9px;
  color: #fff;
  background: var(--ea-blue);
  transition: background-color 160ms ease;
}
.ea-home-primary:hover { background: #163999; }
.ea-home-secondary:hover { text-decoration: underline; }
.ea-home-example {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--ea-border);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 20px 44px #244d8b18;
}
#demo, #programmes { scroll-margin-top: 86px; }
.ea-home-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.7;
  border-radius: 15px;
  background: #dbe7ff;
}
.ea-home-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ea-home-photo-label {
  position: absolute;
  bottom: 13px;
  left: 13px;
  padding: 6px 9px;
  border-radius: 6px;
  color: #142138;
  background: #fff;
  font-size: 12px;
  font-weight: 710;
}
.ea-home-example-body { padding: 10px 10px 8px; }
.ea-home-choices {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 5px;
  margin-bottom: 11px;
}
.ea-home-choices[hidden] { display: none; }
.ea-home-choices button {
  min-height: 44px;
  padding: 0 5px;
  border: 1px solid var(--ea-border);
  border-radius: 7px;
  background: #f5f8fd;
  color: var(--ea-muted);
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 710;
  cursor: pointer;
}
.ea-home-choices button:hover { border-color: var(--ea-blue); }
.ea-home-choices button[aria-pressed="true"] {
  color: #fff;
  border-color: var(--ea-blue);
  background: var(--ea-blue);
}
.ea-home-proof { min-height: 66px; line-height: 1.4; }
.ea-home-proof strong { font-size: clamp(14px, 1.4vw, 17px); }
.ea-home .ea-home-proof p { margin-top: 3px; color: var(--ea-muted); font-size: 14px; }
.ea-home-programmes { padding-block: clamp(35px, 5vw, 68px); }
.ea-home h2 {
  font-size: clamp(29px, 3.7vw, 48px);
  line-height: 1.1;
  letter-spacing: -.045em;
}
.ea-home-programme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}
.ea-home-programme {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ea-border);
  border-radius: 16px;
  background: #fff;
}
.ea-home-programme > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.34;
  object-fit: cover;
  background: #eaf0fb;
}
.ea-home-programme:nth-child(2) > img { object-position: center 38%; }
.ea-home-programme-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2.45vw, 31px);
}
.ea-home .ea-home-format {
  margin-bottom: 7px;
  color: var(--ea-blue);
  font-size: 14px;
  font-weight: 730;
}
.ea-home-programme h3 {
  font-size: clamp(22px, 2.34vw, 32px);
  line-height: 1.15;
  letter-spacing: -.033em;
}
.ea-home .ea-home-programme-task {
  margin: 9px 0 17px;
  color: var(--ea-muted);
  line-height: 1.55;
  text-wrap: pretty;
}
.ea-home-programme-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 14px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid var(--ea-border);
}
.ea-home-price { font-size: clamp(18px, 1.75vw, 24px); }
.ea-home-programme-action a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--ea-blue);
  font-size: 15px;
  font-weight: 730;
}
.ea-home-programme-action a:hover { text-decoration: underline; }
.ea-home-free {
  padding-block: clamp(33px, 5vw, 62px);
  border-block: 1px solid var(--ea-border);
  background: #f1f6fd;
}
.ea-home-free-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.ea-home-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  padding: 0;
  margin: 21px 0 0;
  list-style: none;
}
.ea-home-tools li { min-width: 0; }
.ea-home-tools a {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--ea-border);
  border-radius: 12px;
  background: #fff;
  color: var(--ea-ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.ea-home-tools a:hover {
  border-color: #a7bbee;
  box-shadow: 0 8px 20px #244d8b15;
}
.ea-home-tools img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.35;
  object-fit: cover;
  object-position: center 40%;
  border-bottom: 1px solid var(--ea-border);
}
.ea-home-tool-copy {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 14px;
  align-items: start;
  gap: 10px;
  padding: 13px;
}
.ea-home-tool-copy h3 { font-size: 16px; line-height: 1.28; }
.ea-home .ea-home-tool-copy p { margin-top: 4px; color: var(--ea-muted); font-size: 13px; line-height: 1.35; }
.ea-home-tool-copy :is(svg, span) { color: var(--ea-blue); }

@media (max-width: 890px) {
  .ea-home-wrap { width: calc(100% - 44px); }
  .ea-home-actions { margin-top: 20px; }
  .ea-home .ea-home-lead { margin-top: 15px; }
}
@media (max-width: 660px) {
  .ea-home-wrap { width: calc(100% - 32px); }
  .ea-home-hero { padding-top: 28px; }
  .ea-home-intro { grid-template-columns: 1fr; gap: 20px; }
  .ea-home h1 { font-size: clamp(32px, 8.5vw, 49px); text-wrap: wrap; }
  .ea-home .ea-home-audience { margin-bottom: 11px; }
  .ea-home-actions { gap: 2px 14px; margin-top: 15px; }
  .ea-home-primary, .ea-home-secondary { font-size: 14px; }
  .ea-home-primary { min-height: 46px; padding-inline: 12px; }
  .ea-home-example { border-radius: 16px; padding: 8px; }
  .ea-home-photo { border-radius: 11px; }
  .ea-home-example-body { padding: 8px 4px 5px; }
  .ea-home-programme-grid, .ea-home-tools { grid-template-columns: 1fr; gap: 14px; }
  .ea-home-tools { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ea-home a, .ea-home button { transition: none; }
}
.ea-home-gallery { padding-block: clamp(35px, 5vw, 68px); }
.ea-home-gallery-group { margin-top: 24px; }
.ea-home-gallery-group h3 { margin-bottom: 9px; font-size: clamp(17px, 2.25vw, 22px); }
.ea-home-gallery-group ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ea-home-gallery-group a {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--ea-border);
  border-radius: 10px;
  color: var(--ea-ink);
  background: #f7faff;
}
.ea-home-gallery-group a:hover { border-color: var(--ea-blue); }
.ea-home-gallery-group img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.55;
  object-fit: cover;
}
.ea-home-gallery-group span {
  display: block;
  padding: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.ea-home-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  width: min(900px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 12px;
  border: 1px solid var(--ea-border);
  border-radius: 14px;
  color: var(--ea-ink);
  background: #fff;
}
.ea-home-dialog::backdrop { background: #142138bc; }
.ea-home-dialog-bar, .ea-home-dialog-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ea-home-dialog-bar { padding-bottom: 9px; }
.ea-home-dialog-navigation { padding-top: 9px; }
.ea-home-dialog button {
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  color: var(--ea-blue);
  background: #f1f6fd;
  font-size: 22px;
  cursor: pointer;
}
.ea-home-dialog button:hover { background: #e1eafb; }
.ea-home-dialog img {
  display: block;
  width: 100%;
  max-height: 69dvh;
  object-fit: contain;
  background: #f1f6fd;
}
@media (max-width: 890px) {
  .ea-home-gallery-group ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ea-home-gallery-group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
}
