.feature-guide {
  --guide-space: clamp(52px, 6.5vw, 92px);
  --guide-subtle: #58585d;
  color: var(--ink);
}
.guide-wrap { width: min(1140px, 89%); margin-inline: auto; }
.guide-intro { background: #f7f7f8; overflow: hidden; }
.guide-intro-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center;
  gap: clamp(24px, 5vw, 74px); min-height: 430px; padding-block: clamp(44px, 5.3vw, 76px);
}
.guide-intro-copy, .guide-copy { min-width: 0; }
.feature-guide h1, .feature-guide h2 {
  font-weight: 680; letter-spacing: -.055em; line-height: 1.055; text-wrap: balance;
}
.guide-intro h1 { font-size: clamp(2.6rem, 4.8vw, 4.55rem); margin: 13px 0 17px; }
.guide-intro h1 span { color: #65656a; }
.guide-intro-copy > p:not(.eyebrow), .guide-copy > p:not(.eyebrow), .guide-heading-pair > p, .guide-close p {
  color: var(--guide-subtle); font-size: clamp(1rem, 1.15vw, 1.12rem); line-height: 1.58;
}
.guide-intro-copy > p:not(.eyebrow) { max-width: 48ch; }
.guide-intro .action-primary { margin-top: 24px; }
.guide-plan-preview {
  position: relative; padding: 16px 0; perspective: 1400px;
}
.guide-plan-screen {
  width: 128%; aspect-ratio: 1.7; overflow: hidden; border: 1px solid #c2c4c8;
  border-radius: 13px; background: white; box-shadow: 1px 15px 38px -22px #252a3b67;
  transform: rotateY(-9deg) rotateX(3deg);
}
.guide-plan-screen img { width: 118%; max-width: none; }
.guide-jumps { border-block: 1px solid var(--line); }
.guide-jumps > div { display: flex; flex-wrap: wrap; gap: 0 clamp(20px, 4vw, 65px); }
.guide-jumps a { display: inline-flex; align-items: center; min-height: 55px; font-size: .88rem; font-weight: 620; }
.guide-jumps a:hover { text-decoration: underline; text-underline-offset: 4px; }
.guide-chapter { padding-block: var(--guide-space); scroll-margin-top: 18px; }
.guide-tint { background: #f6f6f8; }
.guide-split, .guide-heading-pair {
  display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr);
  gap: clamp(30px, 5.2vw, 80px); align-items: center;
}
.guide-heading-pair { align-items: end; margin-bottom: clamp(22px, 3vw, 40px); }
.guide-chapter h2, .guide-close h2 { font-size: clamp(2rem, 3.35vw, 3.45rem); }
.guide-chapter h2 { margin-top: 9px; }
.guide-copy > p:not(.eyebrow) { margin-top: 17px; max-width: 52ch; }
.guide-copy .text-link { display: inline-block; margin-top: 17px; }
.guide-photo { min-width: 0; }
.guide-image {
  display: grid; position: relative; place-items: center; overflow: hidden;
  min-height: 100px; cursor: zoom-in; isolation: isolate;
}
.guide-image img { display: block; width: 100%; }
.guide-availability .guide-image, .guide-planning .guide-image, .guide-tariff .guide-image {
  padding: clamp(20px, 3vw, 42px); border-radius: 20px;
  background: radial-gradient(ellipse at 45% 33%, #f5f5f7, #e7e9ec);
}
.guide-availability .guide-image { min-height: clamp(195px, 19vw, 292px); }
.guide-availability img, .guide-planning img, .guide-tariff img {
  background: white; border: 1px solid #d8d9dc; border-radius: 10px;
  box-shadow: 0 10px 25px -16px #29314066;
}
.guide-tariff img { width: min(100%, 320px); }
.guide-tariff .guide-image { background: radial-gradient(ellipse at 50% 30%, #f4f4f7, #e6e7eb); }
.guide-table .guide-image { padding: clamp(10px, 2vw, 26px); background: #fff; border: 1px solid #dedee2; border-radius: 16px; }
.guide-analysis { margin-top: clamp(32px, 5vw, 72px); }
.guide-photo figcaption {
  margin: 11px 0 0; max-width: 92ch; font-size: .81rem; line-height: 1.55; color: #5c5c61;
}
.guide-zoom {
  display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%;
  position: absolute; right: 10px; bottom: 10px; color: #35353a;
  border: 1px solid #d1d1d5; background: #ffffffed;
}
.guide-zoom svg { width: 21px; height: 21px; }
.guide-image:hover .guide-zoom, .guide-image:focus-visible .guide-zoom { background: #242426; color: white; }
.guide-close { padding-block: var(--guide-space); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.guide-close p { margin-top: 13px; max-width: 60ch; }
.guide-close > a { flex: none; }
.guide-dialog {
  margin: auto; width: max-content; max-width: 96vw; max-height: 94dvh; padding: 12px;
  border: 1px solid #d3d3d6; border-radius: 16px; color: var(--ink); background: white;
  box-shadow: 0 18px 75px -30px #15151550;
}
.guide-dialog::backdrop { background: #f2f2f4ed; }
.guide-dialog-head { display: flex; gap: 14px; justify-content: space-between; align-items: center; padding-bottom: 9px; font-size: .8rem; color: var(--muted); }
.guide-dialog-head button { border: 1px solid #c7c7cb; border-radius: 25px; background: white; padding: 5px 12px; cursor: pointer; color: var(--ink); }
.guide-viewport { overflow: auto; max-width: 100%; max-height: 73dvh; overscroll-behavior: contain; }
.guide-viewport img { width: auto; max-width: none; }
.guide-pan { margin-top: 9px; font-size: .8rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .guide-plan-screen { animation: guide-tilt linear both; animation-timeline: view(); animation-range: contain 0% exit 85%; }
    .guide-chapter .guide-image img { animation: guide-settle linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    @keyframes guide-tilt { from { transform: rotateY(-9deg) rotateX(3deg); } to { transform: rotateY(-2deg) translateY(-8px); } }
    @keyframes guide-settle { from { transform: translateY(7px); } to { transform: translateY(0); } }
  }
}
@media (max-width: 760px) {
  .guide-wrap { width: 90%; }
  .guide-intro-inner, .guide-split, .guide-heading-pair { grid-template-columns: minmax(0,1fr); }
  .guide-intro-inner { gap: 22px; padding-block: 32px 25px; }
  .guide-intro-copy > p:not(.eyebrow) { max-width: 55ch; }
  .guide-intro h1 { font-size: clamp(2.4rem, 7.8vw, 3.45rem); }
  .guide-plan-preview { padding: 0 4%; }
  .guide-plan-screen { width: 100%; aspect-ratio: 2.7; border-radius: 9px; }
  .guide-plan-screen img { width: 102%; transform: translateY(-21%); }
  .guide-jumps > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; padding-block: 4px; }
  .guide-jumps a { min-height: 40px; }
  .guide-split { gap: 23px; }
  .guide-heading-pair { gap: 16px; }
  .guide-availability .guide-image { min-height: 0; padding: 24px 13px; }
  .guide-planning .guide-image { padding: 17px 12px; }
  .guide-tariff .guide-image { padding: 21px 28px; }
  .guide-tariff img { width: min(100%, 260px); }
  .guide-table .guide-image { min-height: 0; padding: 12px 6px 35px; }
  .guide-zoom { right: 7px; bottom: 6px; width: 26px; height: 26px; }
  .guide-zoom svg { width: 18px; height: 18px; }
  .guide-close { align-items: start; flex-direction: column; }
}
