.guide-main {
  overflow: visible;
}

.guide-hero,
.guide-section,
.quick-answer {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.guide-hero {
  min-height: 620px;
  padding-top: 72px;
  padding-bottom: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 410px);
  align-items: center;
  gap: 58px;
}

.guide-hero h1 {
  max-width: 720px;
  font-size: clamp(48px, 7vw, 82px);
}

.guide-device-art {
  position: relative;
  min-height: 390px;
}

.guide-device-art img {
  position: absolute;
  width: min(78vw, 320px);
  filter: drop-shadow(0 24px 29px rgba(16, 35, 43, .24));
}

.guide-device-art img:first-child {
  top: 0;
  left: 0;
  z-index: 2;
}

.guide-device-art img:last-child {
  right: 0;
  bottom: 0;
  width: min(55vw, 230px);
}

.quick-answer {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-top: 24px;
  padding-bottom: 24px;
  background: #effbf4;
  border-top: 3px solid var(--green);
  border-bottom: 1px solid var(--line);
}

.quick-answer-icon {
  flex: 0 0 auto;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #04140b;
  font-size: 24px;
  font-weight: 900;
}

.quick-answer h2 {
  font-size: 25px;
}

.quick-answer p {
  margin: 5px 0 0;
  color: #35474e;
}

.guide-section {
  padding-top: 92px;
  padding-bottom: 18px;
  scroll-margin-top: 82px;
}

.guide-heading {
  max-width: 700px;
  margin-bottom: 32px;
}

.guide-heading > p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.big-steps {
  max-width: 880px;
  margin: 0;
  padding: 0;
  counter-reset: guide-step;
  list-style: none;
}

.big-steps > li {
  position: relative;
  min-height: 135px;
  padding: 0 0 40px 90px;
  counter-increment: guide-step;
}

.big-steps > li::before {
  content: counter(guide-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  z-index: 2;
}

.big-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 58px;
  bottom: 0;
  left: 28px;
  width: 3px;
  background: var(--line);
}

.step-copy {
  padding: 24px 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(16, 35, 43, .1);
}

.step-copy h3 {
  font-size: 25px;
}

.step-copy p {
  color: var(--muted);
}

.step-copy p:last-child {
  margin-bottom: 0;
}

.mini-screen {
  position: relative;
  width: 124px;
  height: 124px;
  margin-top: 20px;
  padding-top: 32px;
  border: 9px solid #202628;
  border-radius: 50%;
  background: #163640;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.mini-screen i {
  position: absolute;
  bottom: 22px;
  left: 55px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.mini-screen i:nth-of-type(1) {
  transform: translateY(-9px);
}

.mini-screen i:nth-of-type(3) {
  transform: translateY(9px);
}

.plain-warning,
.done-box,
.safety-note {
  margin-top: 18px;
  padding: 15px 17px;
  border-left: 5px solid var(--amber);
  background: #fff7df;
}

.plain-warning strong,
.plain-warning span {
  display: block;
}

.plain-warning span {
  margin-top: 3px;
  color: #5c543b;
}

.done-box {
  border-left-color: var(--green);
  background: #effbf4;
}

.address {
  margin: 14px 0;
  padding: 13px;
  background: var(--night);
  color: #fff;
  font-size: clamp(23px, 4vw, 32px);
  font-weight: 900;
  text-align: center;
  letter-spacing: .02em;
}

.address a {
  color: #8fe6ff;
}

.split-guide {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
}

.guide-card,
.settings-list article,
.control-grid article,
.reading-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.guide-card {
  padding: 28px;
}

.compact-steps {
  margin: 0;
  padding-left: 24px;
}

.compact-steps li {
  padding-left: 4px;
  color: var(--muted);
}

.compact-steps li + li {
  margin-top: 12px;
}

.control-grid,
.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.control-grid article,
.reading-grid article {
  padding: 24px;
}

.control-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #04140b;
  font-size: 27px;
  font-weight: 900;
}

.dots-icon {
  letter-spacing: 2px;
  font-size: 20px;
}

.control-grid p,
.reading-grid p {
  color: var(--muted);
}

.settings-list {
  display: grid;
  gap: 14px;
}

.settings-list article {
  padding: 24px;
  border-top: 5px solid var(--teal);
}

.settings-list article > span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.settings-list dl {
  margin-bottom: 0;
}

.settings-list dl div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.settings-list dt {
  font-weight: 900;
}

.settings-list dd {
  margin: 0;
  color: var(--muted);
}

.reading-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reading-grid article > strong {
  display: block;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 34px;
}

.device-details,
.problem-list details {
  background: var(--panel);
  border: 1px solid var(--line);
}

.device-details {
  margin-top: 18px;
}

details summary {
  padding: 20px 24px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

details summary:hover {
  background: #effbf4;
}

.device-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.device-table {
  min-width: 700px;
}

.problem-list {
  max-width: 880px;
  display: grid;
  gap: 10px;
}

.problem-list details[open] {
  border-left: 6px solid var(--green);
}

.problem-list details p,
.problem-list details ol {
  margin: 0 24px 24px;
  color: var(--muted);
}

.problem-list details li + li {
  margin-top: 9px;
}

.problem-list .safety-note {
  color: #5c543b;
}

.full-button {
  width: 100%;
  margin-top: 22px;
}

.optional-section {
  max-width: 880px;
}

.support-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 90px;
  padding-top: 34px;
  padding-bottom: 34px;
  background: var(--night);
  color: #fff;
}

.support-strip p:not(.eyebrow) {
  max-width: 640px;
  color: #c3d6dc;
}

.support-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  flex-direction: column;
}

@media (max-width: 900px) {
  .guide-hero,
  .split-guide {
    grid-template-columns: 1fr;
  }

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

  .guide-device-art {
    width: min(92vw, 420px);
    min-height: 370px;
  }

  .control-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .support-actions {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .guide-hero {
    padding-top: 42px;
    gap: 32px;
  }

  .guide-device-art {
    min-height: 310px;
  }

  .guide-device-art img {
    width: min(68vw, 270px);
  }

  .guide-device-art img:last-child {
    width: min(48vw, 190px);
  }

  .guide-section {
    padding-top: 65px;
  }

  .quick-answer {
    margin-left: 14px;
    margin-right: 14px;
  }

  .big-steps > li {
    min-height: 0;
    padding: 0 0 28px 0;
  }

  .big-steps > li::before {
    position: relative;
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    font-size: 20px;
  }

  .big-steps > li::after {
    display: none;
  }

  .step-copy,
  .guide-card {
    padding: 21px;
  }

  .control-grid,
  .reading-grid {
    grid-template-columns: 1fr;
  }

  .settings-list dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .support-strip,
  .footer {
    display: none;
  }

  body {
    background: #fff;
  }

  .guide-hero {
    min-height: 0;
    padding-top: 24px;
  }

  .guide-device-art {
    display: none;
  }

  .guide-section {
    padding-top: 34px;
  }

  .step-copy,
  .guide-card,
  .settings-list article,
  .control-grid article,
  .reading-grid article {
    box-shadow: none;
  }
}
