:root {
  color-scheme: light;
}

.real-test-document,
.real-test-page {
  height: auto;
  min-height: 100%;
  overflow: visible;
}

.real-test-page {
  display: block;
  margin: 0;
  min-height: 100vh;
  color: #2b1f29;
  background: #fff9fc;
}

.real-test-header,
.real-test-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
}

.real-test-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 1.15rem;
  font-weight: 850;
  text-decoration: none;
}

.real-test-brand img {
  display: block;
  width: 44px;
  height: 44px;
}

.real-test-header nav,
.real-test-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.real-test-header a,
.real-test-footer a,
.real-test-download {
  color: #8b315b;
  text-underline-offset: 3px;
}

.real-test-header [aria-current="page"] {
  color: #2b1f29;
  font-weight: 750;
  text-decoration: none;
}

.real-test-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.real-test-hero {
  border-block: 1px solid #f0dce7;
  background:
    radial-gradient(circle at 80% 20%, rgba(109, 211, 199, 0.24), transparent 32%),
    radial-gradient(circle at 18% 70%, rgba(239, 102, 151, 0.18), transparent 36%),
    linear-gradient(135deg, #fff4f9, #f7fffd);
}

.real-test-wrap {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

.real-test-hero .real-test-wrap {
  padding: 72px 0 68px;
}

.real-test-kicker,
.real-test-step {
  margin: 0 0 10px;
  color: #a83b70;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.real-test-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.real-test-hero p:not(.real-test-kicker) {
  max-width: 760px;
  margin: 22px 0 28px;
  color: #675260;
  font-size: 1.12rem;
  line-height: 1.75;
}

.real-test-hero small {
  display: block;
  margin-top: 14px;
  color: #6d5a66;
  line-height: 1.6;
}

.real-test-primary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  color: white;
  background: #b83d72;
  box-shadow: 0 10px 28px rgba(184, 61, 114, 0.24);
  font-weight: 800;
  text-decoration: none;
}

.real-test-primary:hover,
.real-test-primary:focus-visible {
  background: #9d2f60;
}

.real-test-content {
  display: grid;
  gap: 28px;
  padding: 52px 0 72px;
}

.real-test-card {
  min-width: 0;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid #eddde6;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(71, 40, 61, 0.08);
}

.real-test-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.real-test-card p {
  color: #685460;
  line-height: 1.75;
}

.real-test-card audio {
  display: block;
  width: 100%;
  margin: 24px 0 12px;
}

.real-test-video-player {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 24px;
  border: 1px solid #e8d7e1;
  border-radius: 18px;
  background: #170f15;
  box-shadow: 0 16px 36px rgba(62, 34, 53, 0.16);
}

.real-test-video-note {
  display: block;
  margin-top: 14px;
  color: #75616d;
  line-height: 1.6;
}

.real-test-download {
  display: inline-block;
  margin-top: 4px;
  font-weight: 750;
}

.real-test-midi {
  margin-top: 28px;
}

.real-test-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.real-test-facts table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
}

.real-test-facts th,
.real-test-facts td {
  padding: 14px 16px;
  border-bottom: 1px solid #efe1e8;
  text-align: left;
  line-height: 1.55;
}

.real-test-facts th {
  width: 30%;
  color: #63334d;
}

.real-test-facts aside {
  padding: 22px;
  border-left: 5px solid #67cdbf;
  border-radius: 12px;
  background: #eefaf8;
}

.real-test-facts aside h3 {
  margin: 0 0 8px;
}

.real-test-facts aside p {
  margin: 0;
  color: #355d58;
}

.real-test-footer {
  align-items: flex-start;
  border-top: 1px solid #efdee7;
  color: #74616d;
}

html[data-theme="dark"] .real-test-page {
  color: #f9eef4;
  background: #171218;
}

html[data-theme="dark"] .real-test-hero {
  border-color: #4e3443;
  background:
    radial-gradient(circle at 80% 20%, rgba(81, 187, 175, 0.17), transparent 32%),
    radial-gradient(circle at 18% 70%, rgba(230, 85, 139, 0.14), transparent 36%),
    #211821;
}

html[data-theme="dark"] .real-test-hero p:not(.real-test-kicker),
html[data-theme="dark"] .real-test-hero small,
html[data-theme="dark"] .real-test-card p {
  color: #d5c1cd;
}

html[data-theme="dark"] .real-test-card {
  border-color: #4b3644;
  background: #241b23;
  box-shadow: none;
}

html[data-theme="dark"] .real-test-video-player {
  border-color: #583c4d;
  box-shadow: none;
}

html[data-theme="dark"] .real-test-video-note {
  color: #cdb9c5;
}

html[data-theme="dark"] .real-test-facts th,
html[data-theme="dark"] .real-test-facts td {
  border-color: #4a3542;
}

html[data-theme="dark"] .real-test-facts th {
  color: #f2b4d0;
}

html[data-theme="dark"] .real-test-facts aside {
  background: #1d3431;
}

html[data-theme="dark"] .real-test-facts aside p {
  color: #c2e4df;
}

@media (max-width: 720px) {
  .real-test-header,
  .real-test-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .real-test-hero .real-test-wrap {
    padding: 48px 0;
  }

  .real-test-card {
    border-radius: 18px;
  }

  .real-test-facts th,
  .real-test-facts td {
    min-width: 140px;
  }
}
