.guide-page {
  background: var(--surface);
}

.guide-page .site-header {
  background: rgba(255, 255, 255, 0.94);
}

.guide-page .consent-banner {
  padding-top: 8px;
}

.guide-page .consent-banner__inner {
  padding: 12px 16px;
}

.guide-page .consent-banner__copy p {
  font-size: 13px;
}

.guide-page--rar .guide-hero {
  padding-top: 56px;
}

.guide-hero-shot--integrity .guide-hero-shot__viewport {
  background: #edf4ff;
}

.guide-hero-shot--integrity .guide-hero-shot__viewport img {
  filter: contrast(1.18) saturate(1.12) brightness(0.96);
  transform: scale(2.05);
  transform-origin: 76% 31%;
}

.guide-hero-shot--rar .guide-hero-shot__viewport {
  background:
    radial-gradient(circle at 18% 18%, rgba(43, 111, 214, 0.16), transparent 34%),
    linear-gradient(180deg, #f6f9ff, #eef4ff);
}

.guide-hero-shot--rar .guide-hero-shot__viewport img {
  filter: contrast(1.08) saturate(1.04) brightness(0.98);
  transform: scale(1.74);
  transform-origin: 68% 31%;
}

.guide-hero-shot--password-open .guide-hero-shot__viewport {
  background:
    radial-gradient(circle at 18% 18%, rgba(43, 111, 214, 0.12), transparent 34%),
    linear-gradient(180deg, #f7f9fe, #eff4fb);
}

.guide-hero-shot--password-open .guide-hero-shot__viewport img {
  filter: contrast(1.1) saturate(1.04) brightness(0.98);
  transform: scale(1.72);
  transform-origin: 67% 32%;
}

.guide-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.guide-breadcrumbs a {
  color: var(--blue-deep);
  text-decoration: none;
}

.guide-breadcrumbs span[aria-hidden="true"] {
  color: #aab4c1;
}

.guide-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 12%, rgba(74, 144, 226, 0.14), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f5f8fd 100%);
}

.guide-hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(24px, calc((100% - 1160px) / 2));
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(43, 111, 214, 0.22), transparent);
  content: "";
}

.guide-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: 58px;
}

.guide-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.guide-label::before {
  width: 26px;
  height: 2px;
  background: var(--blue);
  content: "";
}

.guide-hero h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.guide-deck {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 24px 0 0;
  color: #647286;
  font-size: 12px;
}

.guide-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.guide-meta span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-bright);
  content: "";
}

.guide-hero-shot {
  position: relative;
  margin: 0;
  padding: 9px;
  border: 1px solid #d3deec;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.guide-hero-shot img {
  width: 100%;
  height: auto;
}

.guide-hero-shot__viewport {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #f7f9fc;
}

.guide-hero-shot__viewport img {
  max-width: none;
  transform: scale(1.55);
  transform-origin: 66% 35%;
}

.guide-hero-shot figcaption {
  position: absolute;
  right: 22px;
  bottom: -17px;
  padding: 8px 12px;
  border: 1px solid #cfe0f7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(29, 52, 84, 0.12);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
}

.guide-main {
  padding: 72px 0 96px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 760px);
  justify-content: center;
  gap: 64px;
}

.guide-page--rar .guide-layout {
  grid-template-columns: 204px minmax(0, 792px);
  gap: 56px;
}

.guide-toc {
  align-self: start;
  position: sticky;
  top: 96px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(29, 52, 84, 0.05);
}

.guide-toc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-deep);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.guide-toc a {
  display: block;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}

.guide-toc a:hover {
  color: var(--blue);
}

.guide-body {
  min-width: 0;
}

.guide-body > :first-child {
  margin-top: 0;
}

.guide-body h2 {
  margin: 58px 0 16px;
  padding-top: 4px;
  font-size: clamp(29px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.guide-body h3 {
  margin: 32px 0 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.guide-body p,
.guide-body li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.78;
}

.guide-body p {
  margin: 13px 0;
}

.guide-body a {
  color: var(--blue-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.guide-body code,
.guide-body kbd {
  padding: 2px 6px;
  border: 1px solid #d9e2ed;
  border-radius: 5px;
  background: #fff;
  color: #29415e;
  white-space: nowrap;
}

.guide-body code.guide-code-wrap {
  overflow-wrap: anywhere;
  white-space: normal;
}

.direct-answer {
  margin: 0 0 38px;
  padding: 24px 26px;
  border: 1px solid #cfe0f7;
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(29, 52, 84, 0.06);
}

.direct-answer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-deep);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.direct-answer p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

.guide-callout {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid #d8e5f7;
  border-radius: 10px;
  background: var(--surface-blue);
}

.guide-callout strong {
  color: var(--ink);
}

.guide-callout p {
  margin: 4px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
}

.guide-callout--warning {
  border-color: #ead9ae;
  background: #fffaf0;
}

.guide-callout--checkpoint {
  border-left: 4px solid var(--blue);
  background: #edf5ff;
  box-shadow: 0 10px 24px rgba(29, 52, 84, 0.05);
}

.guide-dialog-shot {
  margin: 30px 0 38px;
  padding: 22px;
  border: 1px solid #d4dfed;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 253, 0.98));
  box-shadow: 0 16px 36px rgba(29, 52, 84, 0.08);
}

.guide-dialog-shot img {
  display: block;
  width: min(100%, 640px);
  height: auto;
  margin: 0 auto;
  border: 1px solid #d6e1ef;
  border-radius: 10px;
  background: #fff;
}

.guide-dialog-shot figcaption {
  max-width: 640px;
  margin: 12px auto 0;
  color: #607087;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.guide-dialog-shot__viewport {
  overflow: hidden;
  max-width: 640px;
  aspect-ratio: 1.65 / 1;
  margin: 0 auto;
  border: 1px solid #d6e1ef;
  border-radius: 10px;
  background: #eef3f9;
}

.guide-dialog-shot__viewport img {
  width: 160%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  transform: translate(-18.75%, -23%);
}

.guide-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 24px;
}

.guide-detail-card {
  padding: 22px;
  border: 1px solid #d8e5f7;
  border-top: 3px solid #8bb3e9;
  border-radius: 11px;
  background: linear-gradient(180deg, #fff, #f7faff);
}

.guide-detail-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.guide-detail-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.68;
}

.guide-diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 34px;
}

.guide-diagnostic-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 3px solid #b8cff0;
  border-radius: 11px;
  background: #fff;
}

.guide-diagnostic-card__code {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--surface-blue);
  color: var(--blue-deep);
  font-family: var(--font-en-mono);
  font-size: 11px;
  line-height: 1.3;
}

.guide-diagnostic-card h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.guide-diagnostic-card p {
  margin: 0;
  color: #425168;
  font-size: 14px;
  line-height: 1.65;
}

.guide-result-list {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.guide-result-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.guide-result-card__status {
  align-self: stretch;
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.guide-result-card__status span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--font-en-mono);
  font-size: 10px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.guide-result-card__status b {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.guide-result-card__status--pass {
  border-left: 3px solid var(--success);
  padding-left: 12px;
}

.guide-result-card__status--warning {
  border-left: 3px solid #c07a16;
  padding-left: 12px;
}

.guide-result-card__status--unknown {
  border-left: 3px solid #7d8998;
  padding-left: 12px;
}

.guide-result-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
}

.guide-result-card p + p {
  margin-top: 7px;
}

.guide-steps {
  display: grid;
  gap: 14px;
  margin: 22px 0;
  padding: 0;
  counter-reset: guide-step;
  list-style: none;
}

.guide-steps li {
  position: relative;
  min-height: 68px;
  padding: 18px 20px 18px 68px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  counter-increment: guide-step;
}

.guide-steps li::before {
  position: absolute;
  top: 17px;
  left: 18px;
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  content: counter(guide-step, decimal-leading-zero);
  font-family: var(--font-en-mono);
  font-size: 12px;
  place-items: center;
}

.guide-steps b {
  color: var(--ink);
}

.guide-steps span {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.guide-shot-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 32px 0;
}

.guide-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.guide-shot__viewport {
  overflow: hidden;
  aspect-ratio: 2.8 / 1;
  background: #f7f9fc;
}

.guide-shot__viewport img {
  width: 160%;
  max-width: none;
  height: auto;
  transform: translateY(-18%);
}

.guide-shot figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: #425168;
  font-size: 14px;
  line-height: 1.45;
}

.guide-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.guide-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.guide-table th,
.guide-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.guide-table th {
  background: #f7f9fc;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.guide-table td {
  color: var(--ink-soft);
  line-height: 1.6;
}

.guide-table tr:last-child td {
  border-bottom: 0;
}

.guide-faq {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.guide-faq details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.guide-faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.5;
}

.guide-faq p {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
}

.guide-sources {
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.guide-sources h2 {
  margin-top: 0;
  font-size: 24px;
}

.guide-sources li {
  font-size: 13px;
}

.guide-related {
  margin-top: 58px;
  padding: 26px;
  border: 1px solid #d8e5f7;
  border-radius: 13px;
  background: var(--surface-blue);
  color: var(--ink);
}

.guide-related h2 {
  margin: 0 0 14px;
  padding: 0;
  color: var(--ink);
  font-size: 25px;
}

.guide-related a {
  color: var(--blue-deep);
}

.guide-related p {
  color: var(--ink-soft);
  font-size: 14px;
}

.guide-related ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.guide-related li + li {
  margin-top: 7px;
}

.cta-card {
  margin: 56px 0 0;
  padding: 30px;
  border: 1px solid #cfe0f7;
  border-radius: 14px;
  background: linear-gradient(135deg, #f2f7ff, #fff);
}

.cta-card h2 {
  margin: 0;
  padding: 0;
  font-size: 29px;
}

.cta-card p {
  max-width: 620px;
}

.cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.guide-page--rar .guide-sources,
.guide-page--rar .guide-related,
.guide-page--rar .cta-card {
  margin-top: 68px;
}

.guide-page--password .guide-hero {
  padding-top: 54px;
  padding-bottom: 58px;
}

.guide-page--password .guide-hero h1 {
  font-size: clamp(38px, 4.5vw, 58px);
}

@media (max-width: 960px) {
  .guide-hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .guide-hero-copy {
    max-width: 760px;
  }

  .guide-hero-shot {
    max-width: 760px;
  }

  .guide-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .guide-page--rar .guide-layout {
    grid-template-columns: minmax(0, 760px);
    gap: 38px;
  }

  .guide-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
  }

  .guide-toc strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .guide-page .consent-banner__inner {
    padding: 10px 12px;
  }

  .guide-page .consent-banner__copy p {
    font-size: 12.5px;
    line-height: 1.35;
  }

  .guide-page .consent-banner__actions {
    margin-top: 8px;
  }

  .guide-hero {
    padding: 46px 0 54px;
  }

  .guide-hero::before {
    left: 16px;
  }

  .guide-breadcrumbs {
    margin-bottom: 18px;
  }

  .guide-hero h1 {
    font-size: clamp(38px, 11.5vw, 51px);
  }

  .guide-deck {
    font-size: 16px;
  }

  .guide-hero-shot figcaption {
    right: 12px;
  }

  .guide-main {
    padding: 52px 0 72px;
  }

  .guide-layout {
    gap: 38px;
  }

  .guide-toc {
    grid-template-columns: 1fr;
  }

  .guide-body h2 {
    margin-top: 56px;
    font-size: 31px;
  }

  .guide-body p,
  .guide-body li {
    font-size: 16.5px;
    line-height: 1.76;
  }

  .direct-answer {
    padding: 20px;
  }

  .direct-answer p {
    font-size: 16px;
  }

  .guide-shot-pair {
    gap: 24px;
    margin: 36px 0 44px;
  }

  .guide-dialog-shot {
    margin: 30px 0 42px;
    padding: 14px;
  }

  .guide-dialog-shot figcaption {
    font-size: 14px;
    text-align: left;
  }

  .guide-detail-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 34px 0 28px;
  }

  .guide-detail-card {
    padding: 20px 18px;
  }

  .guide-detail-card h3 {
    font-size: 20px;
  }

  .guide-detail-card p {
    font-size: 16px;
    line-height: 1.7;
  }

  .guide-page--password .guide-hero {
    padding-top: 38px;
    padding-bottom: 46px;
  }

  .guide-page--password .guide-hero h1 {
    font-size: clamp(35px, 10.5vw, 46px);
  }

  .guide-table--stacked {
    min-width: 0;
  }

  .guide-table--stacked thead {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .guide-table--stacked,
  .guide-table--stacked tbody,
  .guide-table--stacked tr,
  .guide-table--stacked td {
    display: block;
    width: 100%;
  }

  .guide-table--stacked tr {
    padding: 16px 17px;
    border-bottom: 1px solid var(--line);
  }

  .guide-table--stacked tr:last-child {
    border-bottom: 0;
  }

  .guide-table--stacked td {
    display: grid;
    grid-template-columns: minmax(104px, 0.8fr) minmax(0, 1.2fr);
    gap: 12px;
    padding: 7px 0;
    border: 0;
    font-size: 15px;
  }

  .guide-table--stacked td::before {
    color: var(--muted);
    content: attr(data-label);
    font-family: var(--font-en-mono);
    font-size: 10px;
    letter-spacing: 0.045em;
    line-height: 1.55;
    text-transform: uppercase;
  }

  .guide-page--rar .guide-sources,
  .guide-page--rar .guide-related,
  .guide-page--rar .cta-card {
    margin-top: 72px;
  }

  .guide-shot__viewport {
    aspect-ratio: 1.35 / 1;
  }

  .guide-shot__viewport img {
    width: 270%;
    transform: translateY(-16%);
  }

  .guide-shot figcaption {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.55;
  }

  .guide-diagnostic-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 42px;
  }

  .guide-diagnostic-card {
    padding: 20px 18px;
  }

  .guide-diagnostic-card h3 {
    font-size: 20px;
  }

  .guide-diagnostic-card p {
    font-size: 16px;
    line-height: 1.7;
  }

  .guide-result-list {
    gap: 14px;
    margin: 30px 0 38px;
  }

  .guide-result-card {
    display: block;
    padding: 19px 18px;
  }

  .guide-result-card__status {
    margin-bottom: 14px;
    padding-right: 0;
    padding-bottom: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .guide-result-card__status b {
    font-size: 16px;
  }

  .guide-result-card p {
    font-size: 15.5px;
    line-height: 1.68;
  }

  .guide-page--troubleshooting .guide-sources,
  .guide-page--troubleshooting .guide-related,
  .guide-page--troubleshooting .cta-card {
    margin-top: 72px;
  }

  .guide-steps li {
    padding-right: 16px;
    padding-left: 62px;
  }

  .cta-card {
    padding: 24px 20px;
  }

  .guide-table {
    min-width: 680px;
    font-size: 15px;
  }

  .guide-table th,
  .guide-table td {
    padding: 14px 15px;
  }

  .guide-faq {
    gap: 14px;
    margin-top: 26px;
  }

  .guide-faq details {
    padding: 19px 18px;
  }

  .guide-sources {
    margin-top: 68px;
  }

  .guide-sources li {
    font-size: 15px;
    line-height: 1.7;
  }

  .guide-related {
    margin-top: 64px;
  }

  .guide-page .footer-grid p,
  .guide-page .footer-grid a {
    font-size: 14px;
    line-height: 1.6;
  }

  .guide-page .footer-bottom {
    font-size: 13px;
    line-height: 1.6;
  }

  .cta-card__actions {
    display: block;
  }

  .cta-card__actions .button + .button {
    margin-top: 10px;
  }
}
