.guide-page {
  --guide-ink: #192b26;
  --guide-muted: #435953;
  --guide-dark-green: #164337;
}

.guide-page .product-header { position: relative; }

.guide-main {
  width: min(72rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(2rem, 4.5vw, 4rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.guide-main h1, .guide-main h2, .guide-main h3 {
  letter-spacing: -.035em;
  text-wrap: balance;
}

.guide-main p, .guide-main blockquote {
  font-size: 1rem;
  line-height: 1.8;
}

.guide-main a:focus-visible {
  outline-color: #12654e;
  outline-offset: 4px;
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 5vw, 3.9rem);
  overflow: hidden;
  border: 1px solid #eeeed2;
  border-radius: 1.85rem;
  background: radial-gradient(ellipse at 12% 3%, #fff3bf, transparent 58%), #eff6df;
  color: var(--guide-ink);
}

.guide-label {
  display: block;
  margin: 0;
  color: var(--guide-dark-green);
  font-weight: 750;
}

.guide-hero .guide-label {
  font-size: .83rem;
  letter-spacing: .06em;
}

.guide-hero h1 {
  margin: .9rem 0 .85rem;
  font-size: clamp(1.9rem, 3.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  text-wrap: pretty;
}

.guide-hero .guide-intro { margin: 0 0 1.4rem; color: var(--guide-muted); }

.guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.15rem;
  gap: .85rem;
  padding: .68rem 1.12rem;
  border: 1px solid transparent;
  border-radius: .75rem;
  background: var(--guide-dark-green);
  color: #fff;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 3px 0 #102f26;
}

.guide-button:hover { background: #24604e; }
.guide-arrow { font-size: 1.15rem; }
.guide-hero .guide-hint { margin: .95rem 0 0; color: var(--guide-muted); font-size: .875rem; }

.guide-discovery {
  display: grid;
  justify-items: center;
  min-width: 0;
}

.guide-art { width: min(100%, 21rem); }
.guide-art img { display: block; width: 100%; height: auto; }

.guide-route {
  width: min(100%, 25rem);
  padding: .95rem 1.15rem;
  border: 1px solid #b8cdbd;
  border-radius: .85rem;
  background: #f9fff5;
}

.guide-route h2 { margin: 0 0 .36rem; font-size: 1rem; line-height: 1.45; }
.guide-route p { margin: 0; color: var(--guide-muted); font-size: .875rem; line-height: 1.65; }
.guide-route a, .guide-find-back { text-decoration: underline; text-underline-offset: .2em; }

.guide-install, .guide-connect, .guide-find { margin-top: clamp(2.85rem, 6vw, 5rem); }
.guide-install h2, .guide-connect h2, .guide-first h2, .guide-find h2 { margin: 0 0 1.1rem; font-size: clamp(1.65rem, 3.3vw, 2.4rem); line-height: 1.25; font-weight: 800; }

.guide-install {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1.1rem, 3vw, 2.25rem);
  border: 1px solid #c1ddd0;
  border-radius: 1.4rem;
  background: #e4f3ed;
  color: var(--guide-ink);
}

.guide-install h2 { margin-bottom: .7rem; }
.guide-install p, .guide-find-step p { margin: 0; color: var(--guide-muted); }
.guide-install strong, .guide-find-step strong { color: var(--guide-ink); }

.guide-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.95rem, 2.6vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-step {
  border-radius: 1.4rem;
  padding: clamp(1rem, 2.7vw, 1.9rem);
  color: var(--guide-ink);
}

.guide-step-login { background: #f2ebf8; }
.guide-step-connect { background: #e1f1e8; }
.guide-step h3 { margin: 0 0 .55rem; font-size: clamp(1.22rem, 2.4vw, 1.65rem); line-height: 1.35; }
.guide-step p { margin: 0; color: var(--guide-muted); }
.guide-step strong { color: var(--guide-ink); }

.guide-screen { margin: 1.25rem 0 0; }
.guide-screen a {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid #34423e;
  border-radius: .8rem;
  overflow: hidden;
  background: #151c1c;
  box-shadow: 0 .45rem .75rem #202e2320;
  cursor: zoom-in;
}

.guide-screen a:hover { border-color: #467462; }
.guide-screen img { display: block; width: 100%; height: auto; }
.guide-screen figcaption { margin-top: .7rem; color: var(--guide-muted); font-size: .85rem; line-height: 1.5; }
.guide-zoom {
  position: absolute;
  top: .55rem;
  right: .55rem;
  padding: .24rem .55rem;
  border: 1px solid #6a7c72;
  border-radius: .35rem;
  background: #172620;
  color: #f2faf5;
  font-size: .76rem;
  font-weight: 650;
  line-height: 1.35;
}

.guide-capture { min-width: 0; margin: 0; }
.guide-capture .guide-zoom {
  position: static;
  display: block;
  padding: .38rem .55rem;
  border: 0;
  border-top: 1px solid #37453f;
  border-radius: 0;
  background: #182921;
  text-align: right;
}

.guide-first {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1rem, 4.5vw, 3.4rem);
  margin-top: clamp(2.6rem, 5vw, 4rem);
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid #e6cba4;
  border-radius: 1.45rem;
  background: #fae8cb;
  color: var(--guide-ink);
}

.guide-first h2 { margin-bottom: .7rem; }
.guide-first p { margin: 0; color: var(--guide-muted); }
.guide-first kbd { padding: .05em .33em; border: 1px solid #a99070; border-radius: .3rem; background: #fff9ed; color: var(--guide-ink); font: inherit; font-weight: 750; }

.guide-example {
  padding: clamp(1rem, 3vw, 1.55rem);
  border: 1px solid #ddc6a5;
  border-radius: 1.05rem 1.05rem 1.05rem .25rem;
  background: #fffaf1;
}

.guide-example .guide-label { font-size: .85rem; }
.guide-example blockquote { margin: .48rem 0 0; }

.guide-find-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.9rem, 2.5vw, 1.55rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-find-step {
  padding: clamp(1rem, 2.5vw, 1.8rem);
  border-radius: 1.25rem;
  background: #f1edf8;
  color: var(--guide-ink);
}

.guide-find-match { background: #f5f2dd; }
.guide-find-step h3 { margin: 0 0 .45rem; font-size: clamp(1.08rem, 2.15vw, 1.45rem); line-height: 1.4; }
.guide-find-step .guide-capture { margin-top: 1rem; }
.guide-menu-sample { display: flex; align-items: center; gap: .65rem; margin-bottom: .45rem; }
.guide-menu-sample img { flex: 0 0 auto; border: 1px solid #34423e; border-radius: .55rem; }
.guide-menu-sample h3 { margin: 0; }
.guide-find-back { display: inline-block; margin-top: 1rem; color: var(--product-accent); font-weight: 650; }

@media (min-width: 761px) {
  .guide-steps { grid-template-rows: auto auto 1fr; }
  .guide-step { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: .6rem; align-content: start; }
  .guide-step h3, .guide-screen { margin: 0; }
  .guide-screen { padding-top: .6rem; min-width: 0; }
}

@media (max-width: 760px) {
  .guide-main { width: min(36rem, calc(100% - 1.75rem)); padding-top: 1.35rem; }
  .guide-hero, .guide-install, .guide-steps, .guide-first, .guide-find-steps { grid-template-columns: minmax(0, 1fr); }
  .guide-hero { border-radius: 1.4rem; gap: .95rem; }
  .guide-art { max-width: 13rem; }
  .guide-route { width: 100%; }
}

@media (max-width: 480px) {
  .guide-button { width: 100%; }
}
