#home {
  --landing-ink: #17211f;
  --landing-muted: #4d5652;
  --landing-blue: #2446ec;
  --landing-green: #32964d;
  --landing-green-text: #237538;
  --landing-green-hover: color-mix(in oklab, var(--landing-green) 88%, white);
  --landing-line: #d5d2c8;
  --landing-paper: #f7f5ef;
  --landing-heading: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  background: var(--landing-paper);
  color: var(--landing-ink);
  font-family: "Source Sans 3", "Instrument Sans", sans-serif;
}

#home :is(h1, h2, h3) { font-family: var(--landing-heading); letter-spacing: -.018em; }
#home :is(button, summary) { font-family: inherit; }
.landing-hero { border-bottom: 1px solid var(--landing-line); }
.landing-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 37.5fr) minmax(0, 62.5fr);
  width: min(100%, 1320px);
  margin-inline: auto;
}
.landing-hero-copy {
  align-self: center;
  min-inline-size: 0;
  padding: clamp(28px, 4vw, 58px) clamp(20px, 3vw, 42px);
  container-type: inline-size;
}
.landing-hero h1 {
  margin-block: 0 18px;
  font-size: clamp(2rem, 3.5vw, 4rem);
  font-size: clamp(2rem, 12.2cqi, 4rem);
  font-weight: 800;
  line-height: .97;
  overflow-wrap: anywhere;
}
.landing-hero h1 em { color: var(--landing-green); font-style: normal; }
.landing-lead { max-width: 29rem; color: var(--landing-muted); font-size: clamp(1.1rem, 1.75vw, 1.45rem); }
.landing-hero-actions { gap: 10px; margin-top: 24px; }
.landing-hero .button { min-height: 48px; padding: 10px 15px; border-radius: 7px; }
.landing-hero .primary { background: var(--landing-green-text); color: white; }
.landing-hero .primary:hover { background: #1d632e; }
.landing-hero .hero-pricing { color: var(--landing-ink); background: transparent; border: 1px solid #a9b2ab; }
.landing-hero .hero-pricing:hover { background: #eeefe7; }
.landing-meta { margin-top: 12px; color: var(--landing-muted); font-size: .92rem; }
.landing-hero-media {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  justify-items: end;
  min-inline-size: 0;
  min-height: clamp(365px, 37vw, 440px);
  padding: clamp(12px, 2vw, 24px);
  background: #d9ddd0;
}
.landing-hero-photo { position: absolute; inset: 0; z-index: -1; }
.landing-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% center;
}

.landing-brutal {
  background: #172b23;
  color: #fbfbf3;
}
.landing-brutal-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(22px, 5vw, 74px);
  padding-block: clamp(28px, 5vw, 64px);
}
.landing-brutal-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(2.25rem, 1.4rem + 3.5vw, 5rem);
  line-height: 1;
}
.landing-brutal-copy p, .landing-brutal-goal p {
  max-width: 34rem;
  color: #d5e5d8;
  font-size: clamp(1rem, .92rem + .45vw, 1.25rem);
}
.landing-brutal-copy strong { color: #fbfbf3; }
.landing-brutal .landing-brutal-cta {
  gap: .7rem;
  min-height: 48px;
  margin-top: 16px;
  border-color: #c5efb4;
  background: #c5efb4;
  color: #172b23;
}
.landing-brutal .landing-brutal-cta:hover { background: #e1fad6; }
.landing-brutal #landing-brutal-title { color: inherit; }
#home .landing-brutal .landing-brutal-cta:focus-visible { outline: 2px solid #f6fff2; outline-offset: 4px; }
.landing-brutal-goal {
  padding-inline-start: clamp(18px, 3vw, 40px);
  border-inline-start: 1px solid #61816a;
}
.landing-brutal-score {
  display: block;
  margin-bottom: 8px;
  color: #c5efb4;
  font-family: var(--landing-heading);
  font-size: clamp(3rem, 2rem + 4.8vw, 7rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .9;
}
.landing-brutal-score span { padding-inline: .05em; color: #92b99a; }

.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; }
.header-language { position: relative; min-width: 0; }
.header-language select {
  min-height: 44px;
  max-width: 100%;
  padding-inline: .55rem .35rem;
  font: inherit;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.header-membership {
  display: grid;
  gap: 2px;
  min-inline-size: 7rem;
  padding: 5px 9px;
  border: 1px solid #cbd6fc;
  border-radius: 8px;
  background: #eef2ff;
  color: #233887;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
  font-size: .7rem;
}
.header-membership [role="timer"] { font-size: .85rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.language-flag {
  display: inline-block;
  inline-size: 18px;
  block-size: 12px;
  flex: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #18274320;
  background: var(--flag) center / cover;
}
.header-language:has(option[value="lt"]:checked), .flag-lt {
  --flag: linear-gradient(#f5bf26 33.33%, #087844 0 66.66%, #b92028 0);
}
.header-language:has(option[value="en"]:checked), .flag-en {
  --flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%231f3472' d='M0 0h60v40H0z'/%3E%3Cpath stroke='%23fff' stroke-width='7' d='m0 0 60 40m0-40L0 40'/%3E%3Cpath stroke='%23d8293c' stroke-width='2.7' d='m0 0 60 40m0-40L0 40'/%3E%3Cpath stroke='%23fff' stroke-width='12' d='M30 0v40M0 20h60'/%3E%3Cpath stroke='%23d8293c' stroke-width='7' d='M30 0v40M0 20h60'/%3E%3C/svg%3E");
}
.header-language:has(option[value="uk"]:checked), .flag-uk { --flag: linear-gradient(#1765bd 50%, #ffda39 0); }
.header-language:has(option[value="pl"]:checked), .flag-pl { --flag: linear-gradient(#fff 50%, #dc1747 0); }
.header-language:has(option[value="es"]:checked), .flag-es { --flag: linear-gradient(#aa162a 25%, #f7c444 0 75%, #aa162a 0); }
.header-language:has(option[value="fr"]:checked), .flag-fr { --flag: linear-gradient(90deg, #16367b 33.33%, #fff 0 66.66%, #e64353 0); }
.header-language:has(option[value="de"]:checked), .flag-de { --flag: linear-gradient(#151515 33.33%, #db242a 0 66.66%, #ffca32 0); }
.header-language:has(option[value="ru"]:checked), .flag-ru { --flag: linear-gradient(#fff 33.33%, #1554a2 0 66.66%, #ce292f 0); }
.language-flag-fallback { position: absolute; inset-inline-start: 8px; inset-block-start: 50%; translate: 0 -50%; pointer-events: none; }
.header-language select { padding-inline-start: 33px; }
@supports (appearance: base-select) and selector(::picker(select)) {
  .language-flag-fallback { display: none; }
  .header-language select, .header-language select::picker(select) { appearance: base-select; }
  .header-language select { min-inline-size: 8.45rem; align-items: center; padding-inline: .55rem; }
  .header-language select::picker(select) { border: 1px solid var(--line); border-radius: 8px; margin-block-start: 4px; padding: 4px; background: var(--card); }
  .header-language :is(option, selectedcontent) { display: flex; align-items: center; gap: .45rem; }
  .header-language option { padding: .45rem; border-radius: 4px; }
  .header-language option:checked { background: #e8efe3; font-weight: 700; }
  .header-language option:focus-visible { outline: 2px solid var(--forest); outline-offset: -2px; }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.landing-question {
  width: min(100%, 16rem);
  min-width: 0;
  padding: 13px;
  color: var(--landing-ink);
  background: var(--landing-paper);
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  box-shadow: 0 6px 20px #14282325;
}
.landing-question[data-expanded] { width: min(100%, 26rem); }
#home .landing-question h2 { margin: 0 0 .5rem; font-size: 1.36rem; font-weight: 800; }
.landing-question figure { margin: 0; }
.landing-question[data-expanded] figure { margin-block-end: .8rem; }
.landing-question iframe { display: block; width: 100%; height: 215px; border: 0; border-radius: 5px; }
.landing-question figcaption { padding-block-start: .4rem; color: var(--landing-muted); font-size: .88rem; }
.landing-preview-trigger {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 0;
  color: var(--landing-green-text);
  background: transparent;
  border: 0;
}
.landing-preview-trigger img { width: 100%; aspect-ratio: 2 / 1; height: auto; display: block; object-fit: cover; object-position: center 75%; border-radius: 4px; }
.landing-preview-trigger span {
  display: grid;
  align-items: center;
  min-height: 38px;
  padding: .35rem .55rem;
  border: 1px solid var(--landing-green-text);
  border-radius: 5px;
  font-weight: 700;
}
.landing-preview-trigger:hover span { background: #e6eee1; }
.landing-question .answer-field legend,
.landing-question .landing-question-prompt { margin-bottom: .5rem; font-size: .98rem; font-weight: 700; }
.landing-question .option { min-height: 38px; padding: .4rem .55rem; gap: .45rem; font-size: .9rem; }
.landing-question .option + .option { margin-top: .35rem; }
.landing-question form .button { margin-top: .65rem; min-height: 42px; font-size: .9rem; }
.landing-question .feedback { margin-block: .7rem; padding: .75rem; font-size: .9rem; }
.landing-question :is(:focus-visible, .feedback:focus) { outline: 2px solid var(--landing-blue); outline-offset: 2px; }
@media (max-width: 680px) {
  .landing-brutal-inner { grid-template-columns: minmax(0, 1fr); }
  .landing-brutal-goal {
    padding-block-start: 16px;
    padding-inline-start: 0;
    border-block-start: 1px solid #61816a;
    border-inline-start: 0;
  }
}

.landing-paths, .landing-more { padding-block: clamp(40px, 7vw, 92px); }
.landing-section-head { margin-bottom: clamp(18px, 3vw, 29px); }
.landing-section-head h2 {
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: -.064em;
  text-wrap: balance;
}
.landing-section-head p { max-width: 39rem; margin-top: 10px; color: #43526a; }
.landing-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.landing-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: clip;
  border: 1px solid var(--landing-line);
  border-radius: 7px;
  background: #fffefa;
}
.landing-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e6e5dc;
}
.landing-card-body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  padding: clamp(15px, 2vw, 24px);
}
.landing-card h3 { font-size: clamp(1.18rem, 2vw, 1.55rem); letter-spacing: -.034em; }
.landing-card p { color: var(--landing-muted); }
.landing-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 44px;
  padding: 8px 0 0;
  border: 0;
  border-top: 1px solid var(--landing-line);
  background: transparent;
  color: var(--landing-green-text);
  font-weight: 750;
  text-align: left;
  text-decoration: none;
}
.landing-card-link:hover { text-decoration: underline; }
.landing-card-link span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  font-size: 1.15rem;
}
.landing-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
}
.landing-quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--landing-ink);
  text-decoration-color: #92988a;
}
.landing-quick-links a:hover { color: var(--landing-green-text); }

.landing-scene { padding-block: clamp(35px, 5vw, 67px); background: #111d31; color: #fff; }
.landing-scene-inner {
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 5vw, 74px);
}
.landing-scene .landing-section-head { margin: 0; }
.landing-scene .landing-section-head p { color: #d6e0ed; }
.landing-scene .text-action { margin-top: 8px; color: var(--landing-green); }
.landing-scene .scene-inline { padding: 6px; border: 1px solid #637a9c; border-radius: 12px; }
.landing-scene iframe, .landing-scene-preview { height: clamp(300px, 36vw, 414px); border-radius: 8px; }
.landing-scene-preview {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: start;
  overflow: hidden;
  width: 100%;
  padding: 15px;
  border: 0;
  background: #18283b;
}
.landing-scene-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.landing-scene-preview > span {
  position: relative;
  padding: 9px 13px;
  border-radius: 8px;
  background: var(--landing-green);
  color: #0b180d;
  font-weight: 750;
}
.landing-scene-preview:hover > span { background: var(--landing-green-hover); }
.landing-scene :focus-visible { outline-color: #fff; }
#home .home-exams { padding-block: clamp(13px, 1.5vw, 21px) 24px; }
#home #home-exams-title { font-size: clamp(1.9rem, 1.25rem + 2vw, 3rem); }
#home .home-exams .landing-section-head { margin-bottom: 8px; }
.home-exam-featured, .home-exam-additional { display: grid; gap: 10px; }
.home-exam-featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-exam-additional { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#home .home-exam-category {
  --vehicle-body: #3d5c50;
  --vehicle-light: #a0b7a1;
  --vehicle-deep: #20372e;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 4px;
  padding: 8px clamp(12px, 2.4vw, 30px) 12px;
  border: 1px solid var(--landing-line);
  border-radius: 10px;
  background: var(--landing-paper);
}
@media (hover: hover) and (pointer: fine) {
  #home .home-exam-category:hover {
    box-shadow: 0 5px 12px rgb(23 38 29 / 12%);
  }
}
#home .home-exam-category:active {
  box-shadow: inset 0 1px 3px rgb(23 38 29 / 12%);
}
#home .home-exam-category:focus-visible {
  outline: 2px solid var(--landing-green-text);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: no-preference) {
  #home .home-exam-category { transition: translate 150ms ease-out, box-shadow 150ms ease-out; }
  @media (hover: hover) and (pointer: fine) {
    #home .home-exam-category:hover { translate: 0 -3px; }
  }
  #home .home-exam-category:active { translate: 0 1px; }
}
#home .home-exam-category b { color: var(--landing-green-text); }
.home-exam-card-head { display: flex; align-items: baseline; gap: .43rem; }
.home-exam-card-head strong { font-size: clamp(1rem, 2vw, 1.42rem); }
#home .home-exam-arrow { margin-inline-start: auto; color: var(--landing-green-text); }
.home-exam-category :is(.category-icon, .category-art) {
  justify-self: start;
  inline-size: min(100%, 164px);
  block-size: auto;
  aspect-ratio: 2.25;
  object-fit: contain;
  pointer-events: none;
}
.home-exam-more { margin-block-start: 12px; border-block: 1px solid var(--landing-line); }
.home-exam-more > summary { width: fit-content; padding: 11px 3px; cursor: pointer; color: var(--landing-green-text); font-weight: 700; }
.home-exam-additional { padding-block: 4px 12px; }
#home .home-review { border-color: var(--landing-line); background: #e7eee2; }
#home .home-review-inner { grid-template-columns: minmax(0,1fr); }
#home .home-review-example, #home .home-access-options > div { border-color: var(--landing-line); border-radius: 14px; }
.landing-more { padding-top: 0; }
.landing-more .landing-section-head h2 { font-size: clamp(27px, 3.7vw, 43px); }
.landing-more .home-specialty-grid { margin-top: 0; }
#home :focus-visible { outline-color: var(--landing-green-text); }
#home .landing-question :focus-visible { outline-color: var(--landing-green-text); }

@media (max-width: 820px) {
  .landing-card-grid { gap: 12px; }
  .landing-card-body { padding: 15px; }
  .landing-scene-inner { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .landing-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .landing-hero-copy { padding: 30px clamp(18px, 5vw, 36px) 23px; }
  .landing-hero h1 { font-size: clamp(2rem, 11.6cqi, 4.25rem); }
  .landing-hero-media { padding: 0 0 13px; min-height: auto; background: transparent; }
  .landing-hero-photo { position: static; width: 100%; aspect-ratio: 3 / 2; }
  .landing-question { margin: -30px 16px 0; width: min(100% - 32px, 17rem); }
  .landing-question[data-expanded] { margin-top: 12px; width: min(100% - 32px, 26rem); }
}
@media (max-width: 580px) {
  .home-exam-featured { grid-template-columns: minmax(0, 1fr); }
  #home .home-exam-featured .home-exam-category { grid-template-columns: minmax(72px, .56fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 0 12px; }
  #home .home-exam-featured :is(.category-icon, .category-art) { grid-row: 1 / 3; }
  #home .home-exam-featured .home-exam-category > :last-child { grid-column: 2; }
  .home-exam-additional { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .landing-card-grid { grid-template-columns: 1fr; gap: 15px; }
  .landing-card img { aspect-ratio: 16 / 9; }
  .landing-card-body { padding: 16px; }
  .landing-quick-links { gap: 0 16px; }
}

