.wrapper {
  --landing-surface: rgba(var(--div-bg), .78);
  --landing-line: rgba(var(--text), .1);
  --landing-muted: rgba(var(--text), .66);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
  position: relative;
}

.wrapper main {
  min-width: 0;
  margin: 30px 0 100px;
}

.hero {
  margin-bottom: 28px;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--theme), .1), transparent 42%),
    rgba(var(--div-bg), .64);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .07);
}

.hero-img {
  position: relative;
  min-height: 520px;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--div-bg), .95), rgba(var(--div-bg), .72) 42%, rgba(var(--div-bg), .12)),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .36));
  pointer-events: none;
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 112px minmax(0, 760px);
  gap: 22px;
  align-items: center;
  min-height: 520px;
  padding: clamp(28px, 5vw, 66px);
}

.hero-text {
  max-width: 760px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-panel figure {
  width: 112px;
  height: 112px;
  margin: 0;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.hero-panel figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
}

.hero-title {
  margin: 16px 0;
  color: rgba(var(--text), 1);
  font-size: clamp(22px, 4vw, 40px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none; 
  text-shadow:
    1px 1px 0 #fff,
   -1px 1px 0 #fff,
    1px -1px 0 #fff,
   -1px -1px 0 #fff;
}

.hero-title strong {
  display: block;
  color: rgba(var(--theme), 1);
  font-size: clamp(40px, 5vw, 84px);
  line-height: .9;
}
html[data-theme="dark"] .hero-title {
  text-shadow:
    1px 1px 0 #000,
   -1px 1px 0 #000,
    1px -1px 0 #000,
   -1px -1px 0 #000 !important;
}

.hero-text p {
  max-width: 720px;
  color: rgba(var(--op-theme), 1);
  font-size: clamp(12px, 1vw, 16px);
  line-height: 1.75;
  font-weight: 400;
  text-shadow:
    1px 1px 0 #000,
   -1px 1px 0 #000,
    1px -1px 0 #000,
   -1px -1px 0 #000;
}

.hero-actions,
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.hero-content > div {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 88px;
  padding: 16px;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: rgba(var(--div-bg), .78);
}

.hero-content > div > i {
  display: flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: rgba(var(--theme), .1);
}

.hero-content > div > i > svg {
  width: 23px;
  height: 23px;
  margin: 0;
  color: rgb(var(--theme));
  transform: translateY(0);
}

.hero-content p {
  color: rgba(var(--text), .88);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.hero-content p span {
  display: block;
  margin-bottom: 4px;
  color: rgba(var(--text), .54);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-content .rate .rating-stars {
  display: block;
  margin-top: 3px;
}

.hero-meta {
  justify-content: space-between;
  margin: 0 18px 18px;
  padding: 16px;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: rgba(var(--div-bg), .78);
}

.last-update,
.compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 15px 6px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.last-update {
  color: rgba(var(--text), .62);
  background: rgba(var(--theme), .06);
}

.last-update time {
  color: rgba(var(--text), .9);
}

.compare-btn {
  color: rgba(var(--theme), 1);
  background: rgba(var(--theme), .1);
}

.compare-btn:hover {
  background: rgba(var(--theme), .16);
}

.table-of-contents {
 width: 100%;
}

.section-heading {
  max-width: 790px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading h2,
.sidebar-title h2 {
  color: rgba(var(--text), 1);
  font-size: clamp(24px, 4vw, 35px);
  font-weight: 900;
  line-height: 1.15;
  text-transform: none;
}

.section-heading p {
  width: min(100%, 720px);
  margin: 14px auto 0;
  color: var(--landing-muted);
  font-size: 15px;
  line-height: 1.8;
}

section.data{
background: rgba(var(--div-bg), .9);
    padding: 40px;
    border-radius: 12px;
    margin-top: 30px;
    border: 1px solid rgba(var(--text), .09);
    box-shadow: 0 26px 82px rgba(0, 0, 0, .075);
    overflow: hidden;
    position: relative;
}
section.data .datas {
  color: var(--landing-muted);
  line-height: 1.9;
}

section.data .data :is(p, li) {
  line-height: 1.9;
}

section.data .data :is(table) {
  width: 100%;
  border-collapse: collapse;
}

section.data .data :is(th, td) {
  padding: 12px;
  border: 1px solid var(--landing-line);
}

.location-note {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 2px 14px;
  align-items: center;
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(var(--theme), .16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--theme), .11), transparent 58%),
    rgba(var(--div-bg), .82);
  color: rgba(var(--text), .84);
}

.location-note span {
  display: grid;
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  color: rgba(var(--theme), 1);
  background: rgba(var(--theme), .12);
}

.location-note svg {
  width: 24px;
  height: 24px;
  margin: 0;
}

.location-note strong {
  color: rgba(var(--text), .92);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.location-note small {
  display: block;
  min-width: 0;
  color: rgba(var(--text), .68);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.file {
  margin-top: 24px;
}

.login-form a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 22px 8px;
  border-radius: 999px;
  color: rgba(var(--op-theme), 1);
  background: rgba(var(--theme), 1);
  font-weight: 900;
}

.files {
  margin-top: 24px;
}

.files h4 {
  margin-bottom: 14px;
  color: rgba(var(--text), .82);
  font-size: 18px;
}

.iframe {
  width: 100%;
  min-height: 620px;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: rgba(var(--div-bg), 1);
}

.file .img {
  display: block;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
}

.file .img img {
  width: 100%;
  opacity: .95;
}

.question-wrap {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  gap: clamp(24px, 4.5vw, 58px);
  align-items: center;
  margin: 76px 0 92px;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(var(--text), .09);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--theme), .14), transparent 42%),
    linear-gradient(315deg, rgba(var(--orange), .09), transparent 34%),
    rgba(var(--div-bg), .76);
  box-shadow: 0 26px 82px rgba(0, 0, 0, .075);
  overflow: hidden;
  position: relative;
}

.question-wrap::before {
  position: absolute;
  top: 22px;
  right: 22px;
  bottom: 22px;
  left: 22px;
  border: 1px solid rgba(var(--text), .045);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.question-wrap::after {
  position: absolute;
  top: -120px;
  right: -110px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(var(--theme), .11);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(var(--theme), .035),
    0 0 0 74px rgba(var(--orange), .025);
  content: "";
  pointer-events: none;
}

.question-gateway-copy,
.question-gateway-panel {
  position: relative;
  z-index: 2;
}

.question-gateway-copy h2 {
  margin: 14px 0 16px;
  color: rgba(var(--text), 1);
  font-size: clamp(28px, 4.6vw, 45px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}

.question-gateway-copy p {
  max-width: 640px;
  color: var(--landing-muted);
  font-size: 15px;
  line-height: 1.9;
}

.question-route-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.question-route-list span {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(var(--text), .08);
  border-radius: 8px;
  background: rgba(var(--div-bg), .72);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .045);
}

.question-route-list svg {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
  color: rgba(var(--theme), 1);
  background: rgba(var(--theme), .1);
}

.question-route-list strong,
.question-route-list small {
  display: block;
}

.question-route-list strong {
  color: rgba(var(--text), .9);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.question-route-list small {
  color: rgba(var(--text), .58);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.question-gateway-panel {
  display: grid;
  gap: 16px;
}

.question-gateway-card {
 display: grid;
  gap: 22px;
  border: 1px solid rgba(var(--text), 0.09);
  border-radius: 8px;
  background: rgba(var(--div-bg), 0.86);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.065);
}

.question-gateway-card.primary {
   grid-template-columns: minmax(160px, 0.54fr) minmax(0, 1fr);
  min-height: 360px;
  padding: clamp(20px, 3vw, 30px);
  background:
    radial-gradient(circle at 18% 42%, rgba(22, 163, 184, 0.22), transparent 35%),
    linear-gradient(145deg, #063d49, #04313b 58%, #052a34);
  color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 58px rgba(0, 48, 58, 0.24);
}

.gateway-book-wrap {
  position: relative;
  display: grid;
  min-height: 312px;
  place-items: center;
  overflow: hidden;
}

.gateway-book {
  width: min(230px, 78%);
  margin: 0;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .28));
}

.gateway-book .wrap {
  width: 100%;
}

.gateway-card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.gateway-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 10px 5px;
  border-radius: 999px;
  color: rgba(var(--theme), 1);
  background: rgba(var(--theme), .1);
  font-size: 11px;
  font-weight: 900;
}

.question-gateway-card.primary .gateway-kicker {
  color: rgba(var(--op-theme), 1);
  background: rgba(var(--op-theme), .12);
}

.gateway-card-copy h3 {
  margin-bottom: 12px;
  color: rgba(var(--text), .94);
  font-size: clamp(20px, 2.25vw, 30px);
  font-weight: 950;
  line-height: 1.14;
}

.question-gateway-card.primary h3 {
  color: rgba(var(--op-theme), 1);
}

.gateway-card-copy p {
  color: rgba(var(--text), .62);
  font-size: 14px;
  line-height: 1.75;
}

.question-gateway-card.primary p {
  color: rgba(var(--op-theme), .68);
}

.gateway-primary-btn {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  margin-top: 24px;
  padding: 11px 22px 9px;
  border-radius: 999px;
  color: rgba(var(--theme), 1);
  background: rgba(var(--op-theme), 1);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
  font-size: 14px;
  font-weight: 950;
}

.gateway-primary-btn svg {
  width: 17px;
  height: 17px;
}

.question-gateway-card.sample {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 16px 18px;
  align-items: center;
  padding: 22px;
}

.question-gateway-card.sample .gateway-card-copy {
  align-self: center;
}

.question-gateway-card.sample .gateway-kicker {
  margin-bottom: 9px;
}

.question-gateway-card.sample .gateway-card-copy h3 {
  max-width: 420px;
  margin-bottom: 8px;
  font-size: clamp(24px, 2.6vw, 32px);
}

.question-gateway-card.sample .gateway-card-copy p {
  max-width: 430px;
}

.gateway-sample-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 8px;
  color: rgba(var(--orange), 1);
  background:
    linear-gradient(180deg, rgba(var(--orange), .13), rgba(var(--orange), .05)),
    rgba(var(--div-bg), .82);
}

.gateway-sample-icon svg {
  width: 40px;
  height: 40px;
  margin: 0;
}

nav.qb-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.question-gateway-card.sample .qb-btn {
  grid-column: 1 / -1;
  justify-content: flex-start;
  padding-top: 16px;
  border-top: 1px solid rgba(var(--text), .07);
}

.question-gateway-card.sample .qb-btn a {
  min-width: 154px;
}


.sidebar {
  position: sticky;
  top: 100px;
  height: calc(100vh - 120px);
}

.similar-page {
  height: 500px;
  padding: 24px 18px 24px 24px;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: rgba(var(--div-bg), .72);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .06);
}

.sidebar-title h2 {
  margin-bottom: 18px;
  font-size: 20px;
}

.sidebar-links {
  height: calc(100% - 50px);
  overflow-y: auto;
  padding-right: 8px;
}

.similar-page-list {
  margin-bottom: 12px;
  list-style: none;
  border-radius: 8px;
  background: rgba(var(--theme), .055);
  overflow: hidden;
  transition: .22s ease;
}

.similar-page-list:hover {
  background: rgba(var(--theme), .1);
  transform: translateY(-2px);
}

.similar-page-list a {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 13px;
  min-height: 88px;
  padding: 10px;
  color: inherit;
}

.similar-page-img {
  min-height: 68px;
  border-radius: 8px;
  overflow: hidden;
}

.similar-page-img img {
  width: 100%;
  height: 100%;
  min-height: 68px;
  object-fit: cover;
  opacity: 1;
}

.similar-page-text {
  position: relative;
  min-width: 0;
  padding-right: 30px;
}

.similar-page-text h3 {
  color: rgba(var(--text), .9);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.similar-page-text h4 {
  margin-top: 4px;
  color: rgba(var(--text), .56);
  font-size: 12px;
  font-weight: 400;
}

.similar-page-text .logo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26px;
  height: 26px;
  padding: 3px;
  border: 1px solid var(--landing-line);
  border-radius: 6px;
  background: rgba(var(--div-bg), 1);
}

.similar-page-text .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
}

.similar-page-text .rate {
  display: block;
  margin-top: 5px;
}

.similar-page-text .rate b {
  margin-right: 6px;
  color: rgba(var(--text), .62);
  font-weight: 800;
}

.rating-stars svg {
  width: 14px;
  height: 14px;
  color: rgba(var(--orange), 1);
}

@media (max-width: 1200px) {
  .wrapper {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .similar-page {
    height: auto;
  }
}

@media (max-width: 992px) {
  .hero-panel {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 430px;
  }

  .hero-panel figure {
    width: 92px;
    height: 92px;
  }

  .hero-content,
  .question-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .question-gateway-card.primary,
  .question-gateway-card.sample {
    grid-template-columns: 1fr;
  }

  nav.qb-btn {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .wrapper {
    width: 92%;
  }

  .hero-img {
    min-height: 0;
  }

  .hero-img::before {
    background: linear-gradient(90deg, rgba(var(--div-bg), .96), rgba(var(--div-bg), .76));
  }

  .hero-panel {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 24px;
  }

  .hero-title {
    font-size: clamp(26px, 10vw, 40px);
  }

  .hero-title strong {
    font-size: clamp(42px, 18vw, 72px);
  }

  .hero-actions,
  .hero-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .hero-actions .tag-btn,
  .last-update,
  .compare-btn {
    width: 100%;
  }

  .hero-content,
  .question-wrap {
    grid-template-columns: 1fr;
  }

  .question-wrap {
    padding: 22px;
  }

  .question-wrap::before {
    inset: 12px;
  }

  .question-gateway-copy h2 {
    font-size: clamp(26px, 9vw, 38px);
  }

  .question-route-list span {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .question-route-list svg {
    width: 38px;
    height: 38px;
  }

  .gateway-book-wrap {
    min-height: 280px;
  }

  .gateway-book {
    width: min(210px, 70%);
  }

  .gateway-primary-btn,
  nav.qb-btn a {
    width: 100%;
  }

  nav.qb-btn {
    align-items: stretch;
    flex-direction: column;
  }

  .iframe {
    min-height: 480px;
  }

  .similar-page-list a {
    grid-template-columns: 76px 1fr;
  }
}
