@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --exam-accent: #0f766e;
  --exam-accent-soft: #dff2ee;
  --ink: #122b2a;
  --muted: #536966;
  --paper: #f7f3ea;
  --white: #fffdf8;
  --line: rgba(18, 43, 42, .15);
  --sun: #f2bd4b;
  --red: #ca4935;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --display: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.exam-shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.exam-topline { padding: 9px 24px; color: #fff; background: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.exam-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: rgba(247, 243, 234, .95); backdrop-filter: blur(15px); }
.exam-nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.exam-brand { display: flex; align-items: center; gap: 10px; }
.exam-brand > span { display: flex; align-items: flex-start; flex-direction: column; }
.exam-brand-word { width: 148px; height: auto; display: block; object-fit: contain; background: #fff; }
.exam-brand small { margin-top: 3px; color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .2em; }
.exam-nav-links { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 12px; font-weight: 700; }
.exam-nav-links a:hover { color: var(--exam-accent); }
.exam-nav-buy { padding: 11px 17px; color: #fff !important; background: var(--exam-accent); }
.exam-hero { position: relative; overflow: hidden; padding: 94px 0 0; }
.exam-hero::after { content: attr(data-mark); position: absolute; z-index: -1; right: -25px; top: 2px; color: color-mix(in srgb, var(--exam-accent) 8%, transparent); font-family: var(--display); font-size: clamp(240px, 34vw, 500px); font-weight: 800; line-height: 1; }
.exam-hero-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 85px; align-items: center; }
.exam-kicker, .exam-section-kicker { display: block; margin-bottom: 21px; color: var(--exam-accent); font-size: 10px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.exam-title { margin: 0; font-family: var(--display); font-size: clamp(48px, 5.6vw, 77px); font-weight: 800; letter-spacing: -.055em; line-height: .99; }
.exam-title em { color: var(--exam-accent); font-style: normal; }
.exam-lead { max-width: 650px; margin: 27px 0 0; color: var(--muted); font-size: 17px; line-height: 1.72; }
.exam-actions { margin-top: 33px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.exam-btn { min-height: 52px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; border: 1px solid var(--exam-accent); font-size: 13px; font-weight: 800; transition: transform .2s ease; }
.exam-btn:hover { transform: translateY(-2px); }
.exam-btn-primary { color: #fff; background: var(--exam-accent); }
.exam-btn-secondary { color: var(--exam-accent); background: transparent; }
.exam-login-note { margin-top: 16px; color: var(--muted); font-size: 11px; }
.exam-login-note a { color: var(--exam-accent); font-weight: 800; border-bottom: 1px solid currentColor; }
.exam-paper-wrap { position: relative; padding: 47px 20px 70px 0; }
.exam-paper-back { position: absolute; inset: 12px 0 27px 42px; background: var(--sun); transform: rotate(5deg); }
.exam-paper { position: relative; padding: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 25px 65px rgba(18,43,42,.15); transform: rotate(-1.3deg); }
.exam-paper-head { padding-bottom: 18px; display: flex; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--ink); }
.exam-paper-head small { display: block; color: var(--exam-accent); font-size: 8px; font-weight: 800; letter-spacing: .17em; }
.exam-paper-head strong { display: block; margin-top: 5px; font-family: var(--display); font-size: 16px; }
.exam-paper-code { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: var(--exam-accent); font-size: 10px; font-weight: 800; }
.exam-paper-question { padding: 23px 0; border-bottom: 1px solid var(--line); }
.exam-paper-question > span { color: var(--exam-accent); font-size: 9px; font-weight: 800; }
.exam-paper-question p { margin: 8px 0 16px; font-size: 12px; line-height: 1.55; font-weight: 600; }
.exam-paper-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.exam-paper-options span { padding: 9px; border: 1px solid var(--line); font-size: 9px; }
.exam-paper-options span.active { color: #fff; border-color: var(--exam-accent); background: var(--exam-accent); }
.exam-paper-foot { padding-top: 16px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; }
.exam-paper-foot b { padding: 8px 11px; color: #fff; background: var(--ink); }
.exam-score-float { position: absolute; z-index: 3; right: -3px; bottom: 15px; padding: 13px 17px; display: flex; align-items: center; gap: 11px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 15px 35px rgba(18,43,42,.15); }
.exam-score-float strong { color: var(--exam-accent); font-family: var(--display); font-size: 24px; }
.exam-score-float span { max-width: 90px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.exam-facts { margin-top: 65px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--white); }
.exam-fact { padding: 23px 27px; border-right: 1px solid var(--line); }
.exam-fact:last-child { border: 0; }
.exam-fact strong { display: block; font-family: var(--display); font-size: 18px; }
.exam-fact span { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.exam-section { padding: 112px 0; }
.exam-section-white { background: var(--white); }
.exam-section-dark { color: #fff; background: var(--ink); }
.exam-section-head { display: grid; grid-template-columns: 1fr 420px; gap: 70px; align-items: end; }
.exam-section h2 { margin: 0; font-family: var(--display); font-size: clamp(38px, 4.1vw, 58px); letter-spacing: -.045em; line-height: 1.05; }
.exam-section-head p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.exam-feature-grid { margin-top: 57px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.exam-feature { min-height: 265px; padding: 27px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.exam-feature > span { color: var(--exam-accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.exam-feature h3 { margin: auto 0 0; font-family: var(--display); font-size: 21px; }
.exam-feature p { min-height: 65px; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.exam-subjects { margin-top: 47px; display: flex; flex-wrap: wrap; gap: 10px; }
.exam-subjects span { padding: 11px 15px; border: 1px solid var(--line); background: var(--paper); font-size: 11px; font-weight: 700; }
.exam-loop { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; }
.exam-loop .exam-section-kicker { color: var(--sun); }
.exam-loop-intro p { color: rgba(255,255,255,.62); line-height: 1.7; }
.exam-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.17); }
.exam-steps li { padding: 27px 0; display: grid; grid-template-columns: 43px 1fr; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.17); }
.exam-steps > li > span { color: var(--sun); font-size: 10px; font-weight: 800; }
.exam-steps h3 { margin: 0; font-family: var(--display); font-size: 18px; }
.exam-steps p { margin: 7px 0 0; color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.6; }
.exam-audience { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.exam-audience-card { padding: 37px; color: #fff; background: var(--exam-accent); }
.exam-audience-card small { font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.exam-audience-card h3 { margin: 18px 0 0; font-family: var(--display); font-size: 31px; line-height: 1.15; }
.exam-audience-card p { margin: 18px 0 0; color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.7; }
.exam-audience-copy ul { margin: 27px 0 0; padding: 0; list-style: none; }
.exam-audience-copy li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; }
.exam-audience-copy li::before { content: "✓"; margin-right: 11px; color: var(--exam-accent); }
.exam-final { position: relative; overflow: hidden; padding: 90px 0; color: #fff; background: var(--exam-accent); }
.exam-final::after { content: attr(data-mark); position: absolute; right: -15px; top: -110px; color: rgba(255,255,255,.08); font-family: var(--display); font-size: 320px; font-weight: 800; }
.exam-final-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.exam-final h2 { margin: 0; max-width: 720px; font-family: var(--display); font-size: clamp(38px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -.05em; }
.exam-final-actions { min-width: 285px; display: grid; gap: 10px; }
.exam-final .exam-btn-primary { color: var(--ink); border-color: #fff; background: #fff; }
.exam-final-login { color: rgba(255,255,255,.8); font-size: 10px; font-weight: 700; text-align: center; }
.exam-footer { padding: 38px 0; color: rgba(255,255,255,.6); background: var(--ink); }
.exam-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 10px; }
.exam-footer-links { display: flex; gap: 20px; }
.exam-hub-hero { padding: 90px 0 55px; text-align: center; }
.exam-hub-hero h1 { max-width: 850px; margin: 0 auto; font-family: var(--display); font-size: clamp(48px, 7vw, 86px); letter-spacing: -.06em; line-height: .98; }
.exam-hub-hero h1 em { color: var(--red); font-style: normal; }
.exam-hub-hero p { max-width: 640px; margin: 25px auto 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.exam-filter { margin-top: 38px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.exam-filter button { padding: 9px 13px; border: 1px solid var(--line); color: var(--muted); background: transparent; cursor: pointer; font-size: 10px; font-weight: 800; }
.exam-filter button.active { color: #fff; border-color: var(--ink); background: var(--ink); }
.exam-hub-grid { padding: 35px 0 110px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.exam-hub-card { min-height: 310px; padding: 26px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.exam-hub-card:hover { z-index: 2; transform: translateY(-5px); box-shadow: 0 18px 40px rgba(18,43,42,.11); }
.exam-hub-card-top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.exam-hub-card-mark { color: var(--card-accent); font-family: var(--display); font-size: 45px; font-weight: 800; letter-spacing: -.08em; }
.exam-hub-card h2 { margin: auto 0 0; font-family: var(--display); font-size: 22px; letter-spacing: -.03em; }
.exam-hub-card p { margin: 10px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.exam-hub-card a { color: var(--card-accent); font-size: 11px; font-weight: 800; }
.exam-empty { padding: 80px 0 130px; text-align: center; }

@media (max-width: 900px) {
  .exam-hero-grid, .exam-loop, .exam-audience { grid-template-columns: 1fr; gap: 55px; }
  .exam-section-head { grid-template-columns: 1fr; gap: 22px; }
  .exam-feature-grid, .exam-hub-grid { grid-template-columns: 1fr 1fr; }
  .exam-final-inner { align-items: flex-start; flex-direction: column; }
  .exam-final-actions { width: min(100%, 390px); }
}

@media (max-width: 650px) {
  .exam-shell { width: min(100% - 30px, 520px); }
  .exam-nav-links a:not(.exam-nav-buy) { display: none; }
  .exam-brand-word { width: 126px; height: auto; }
  .exam-hero { padding-top: 62px; }
  .exam-title { font-size: 47px; }
  .exam-actions { align-items: stretch; flex-direction: column; }
  .exam-btn { width: 100%; }
  .exam-paper-wrap { padding-right: 0; }
  .exam-facts { grid-template-columns: 1fr; }
  .exam-fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .exam-section { padding: 78px 0; }
  .exam-section h2 { font-size: 38px; }
  .exam-feature-grid, .exam-hub-grid { grid-template-columns: 1fr; }
  .exam-feature { min-height: 220px; }
  .exam-footer-inner { align-items: flex-start; flex-direction: column; }
  .exam-footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
