/* Exam landing typography, Petra hero and public navigation. The OET theme
   supplies the same surfaces and saved colour preference as the practice hub. */
.oet-landing-nav {
  height: 70px;
  padding-inline: max(20px, calc((100% - 1216px) / 2));
}
.oet-landing-nav .oet-wordmark .prepex-landing-brand {
  width: 124px;
  margin: 0;
  padding: 0;
  background: transparent;
}
.oet-landing-nav .oet-landing-exam {
  margin: 0;
  color: var(--oet-selected);
  letter-spacing: .02em;
}
html[data-oet-theme="dark"] .oet-landing-nav .prepex-landing-brand-light { display: none; }
html[data-oet-theme="dark"] .oet-landing-nav .prepex-landing-brand-dark { display: block; }
.oet-landing-nav .oet-toplinks > a { font-weight: 600; }
.oet-landing-nav .oet-toplinks a:hover { color: var(--oet-selected); }
.oet-landing { color: var(--oet-text); }
.oet-landing-shell {
  width: min(calc(100% - 64px), 1216px);
  margin-inline: auto;
}
.oet-landing-hero {
  padding: clamp(28px, 5vw, 72px) 0;
  background: linear-gradient(125deg, #064e3b, #022c22 58%, #011916);
}
.oet-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 5vw, 76px);
  background: var(--oet-paper);
  border-radius: 32px;
  box-shadow: 0 20px 44px #001b1740;
}
.oet-landing-kicker, .oet-landing-overline, .oet-hero-note small {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.oet-landing-kicker {
  display: inline-block;
  margin: 0 0 1.4rem;
  padding: .45rem .85rem;
  background: #fff6c9;
  color: #634c10;
  border-radius: 999px;
}
.oet-hero-copy h1 {
  max-width: 15ch;
  margin: 0;
  color: var(--oet-text);
  font-size: clamp(2.65rem, 4.65vw, 4rem);
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.09;
  text-wrap: balance;
}
.oet-hero-copy h1 em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: #f4d44d;
  text-underline-offset: .04em;
  text-decoration-thickness: .1em;
  text-decoration-skip-ink: none;
}
.oet-landing-lead, .oet-landing-intro {
  color: var(--oet-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 66ch;
  margin: 1.25rem 0 1.65rem;
}
.oet-landing-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.oet-landing-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: .8rem 1.4rem;
  background: #103d30;
  border: 2px solid transparent;
  border-radius: 999px;
  color: white;
  font-weight: 650;
  font-size: .9375rem;
  line-height: 1.45;
  text-align: center;
}
.oet-landing-button:hover { background: #086044; }
.oet-landing-secondary {
  border-color: var(--oet-line);
  background: var(--oet-paper);
  color: var(--oet-text);
}
.oet-landing-secondary:hover { border-color: var(--oet-selected); background: var(--oet-accent); }
html[data-oet-theme="dark"] .oet-landing-button:not(.oet-landing-secondary) { background: #b9e4cb; color: #113c2e; }
.oet-landing-inline, .oet-skill-row h3 a {
  color: var(--oet-selected);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.oet-hero-copy > .oet-landing-inline { display: inline-block; margin-top: 1rem; font-size: .9rem; }
.oet-hero-art {
  position: relative;
  width: min(100%, 398px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
}
.oet-hero-art::before {
  content: '';
  position: absolute;
  inset: 3%;
  background: #e8f4eb;
  border-radius: 50%;
}
html[data-oet-theme="dark"] .oet-hero-art::before { background: #30443a; }
.oet-hero-petra {
  position: relative;
  width: 83%;
  height: 83%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--oet-paper);
  box-shadow: 0 9px 28px #12352421;
}
.oet-hero-note {
  position: absolute;
  top: 8%;
  left: -2%;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem .95rem;
  background: var(--oet-paper);
  border: 1px solid var(--oet-line);
  border-radius: 16px;
  box-shadow: 0 8px 24px #1235241c;
}
.oet-hero-note:last-child { inset: auto -2% 6% auto; }
.oet-hero-note > svg, .oet-skill-icon {
  box-sizing: content-box;
  padding: .65rem;
  border-radius: 50%;
}
.oet-hero-note > svg { background: #fee863; color: #173c30; }
.oet-hero-note small { display: block; color: var(--oet-muted); font-size: .68rem; }
.oet-hero-note strong { display: block; font-size: .94rem; }
.oet-landing-section { padding: clamp(44px, 6vw, 84px) 0; background: var(--oet-paper); }
.oet-landing-overline { margin: 0 0 .7rem; color: var(--oet-selected); }
.oet-landing-section h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.oet-hub-preview, .oet-mock-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
}
.oet-skill-row { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--oet-line); }
.oet-skill-icon { display: flex; flex-shrink: 0; color: var(--oet-selected); background: var(--oet-tint); }
.oet-skill-row h3 { font-size: 1.05rem; font-weight: 700; }
.oet-skill-row p, .oet-plan-note { color: var(--oet-muted); font-size: .95rem; line-height: 1.65; }
.oet-skill-row p { margin: .25rem 0 0; }
.oet-demo { margin: 0; padding: clamp(12px, 2.4vw, 30px); background: var(--oet-tint); border: 1px solid var(--oet-line); border-radius: 24px; }
.oet-demo > a { display: block; border-radius: 12px; }
.oet-demo img { display: block; width: 100%; height: auto; border: 1px solid var(--oet-line); border-radius: 12px; }
.oet-demo figcaption { display: flex; flex-wrap: wrap; gap: .35rem 1rem; justify-content: space-between; padding: 1rem 0 0; font-size: .875rem; }
.oet-mock-section { background: var(--oet-bg); }
.oet-mock-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.oet-mock-cover { display: block; width: 100%; aspect-ratio: 2; object-fit: cover; border-radius: 20px; }
.oet-mock-grid figcaption { margin-top: .6rem; font-size: .875rem; color: var(--oet-muted); }
.oet-plan-note { margin: 1rem 0 0; }
.oet-landing-footer { padding: 28px 0; background: #102c23; color: #fff; font-size: .875rem; }
.oet-landing-footer .oet-landing-shell, .oet-landing-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.oet-landing-footer .oet-landing-shell { justify-content: space-between; }
.oet-landing-footer a { text-decoration: underline; text-underline-offset: .2em; }
:is(.oet-landing, .oet-landing-footer) a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.oet-landing-button:focus-visible { outline-color: var(--oet-selected) !important; }
@media (max-width: 760px) {
  .oet-landing-nav .oet-toplinks > a { display: none; }
  .oet-landing-nav .oet-wordmark .prepex-landing-brand { width: 96px; }
  .oet-landing-nav #oet-account-name { max-width: 15vw; }
  .oet-landing-shell { width: calc(100% - 32px); }
  .oet-hero-card, .oet-hub-preview, .oet-mock-grid { grid-template-columns: 1fr; }
  .oet-hero-card { padding: clamp(20px, 5vw, 38px); gap: 22px; border-radius: 24px; }
  .oet-hero-copy h1 { font-size: clamp(2.3rem, 8vw, 3rem); }
  .oet-hero-art { width: min(100%, 290px); }
  .oet-hero-note { padding: .55rem .7rem; gap: .45rem; }
  .oet-hero-note > svg { width: 18px; height: 18px; padding: .5rem; }
  .oet-mock-grid figure { order: 1; }
}
@media (max-width: 480px) {
  .oet-landing-nav { padding-inline: 12px; }
  .oet-landing-nav .oet-wordmark { gap: 4px; }
  .oet-hero-copy .oet-landing-button { flex-grow: 1; }
  .oet-landing-lead, .oet-landing-intro { font-size: 1rem; }
}
