:root {
  color-scheme: dark;
  --guide-bg: #10151c;
  --guide-surface: #1a212b;
  --guide-surface-soft: #141a22;
  --guide-text: #e8ecf1;
  --guide-muted: #8b95a5;
  --guide-border: #2a323e;
  --guide-primary: #0e9ca4;
  --guide-link: #61d5dc;
  --guide-copy: #b6bfcb;
  --guide-positive: #69d88b;
  --guide-positive-copy: #b5c8ba;
  --guide-warn-copy: #e7c77d;
  --guide-carousel-bg: #0d1117;
  --guide-header-bg: rgba(26, 33, 43, .97);
  --guide-primary-soft: rgba(14, 156, 164, .11);
  --guide-green: #22c55e;
  --guide-amber: #f59e0b;
  font-family: "Prompt", sans-serif;
  background: var(--guide-bg);
  color: var(--guide-text);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--guide-bg); color: var(--guide-text); }
a { color: inherit; }
.guide-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--guide-border);
  background: var(--guide-header-bg);
  backdrop-filter: blur(12px);
}
.guide-brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; color: var(--guide-text); text-decoration: none; font-size: 15px; font-weight: 700; }
.guide-brand::before { content: "⚡"; color: #f97316; font-size: 18px; }
.guide-brand span { color: var(--guide-muted); font-size: 11px; font-weight: 500; }
.guide-header nav { display: flex; align-items: center; gap: 9px; }
.guide-header nav a { padding: 9px 14px; border-radius: 7px; color: var(--guide-muted); font-size: 12px; text-decoration: none; }
.guide-header nav a:hover { background: var(--guide-surface-soft); color: var(--guide-text); }
.guide-header nav .guide-nav-primary { background: var(--guide-primary); color: #fff; font-weight: 700; }
.guide-shell { width: min(100% - 48px, 1120px); margin: 0 auto; padding: 34px 0 max(48px, env(safe-area-inset-bottom)); }
.guide-intro { margin: 0 0 28px; padding: 12px 0 0; }
.guide-eyebrow { margin: 0 0 8px; color: var(--guide-primary); font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.guide-intro h1 { max-width: 800px; margin: 0; color: var(--guide-text); font-size: clamp(26px, 4vw, 38px); line-height: 1.25; }
.guide-lead { max-width: 760px; margin: 12px 0 17px; color: var(--guide-muted); font-size: 15px; line-height: 1.75; }
.guide-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 10px; padding: 10px 17px; border: 1px solid var(--guide-border); border-radius: 7px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.guide-button-primary { border-color: var(--guide-primary); background: var(--guide-primary); color: #fff; }
.guide-button-primary:hover { background: #0a7f86; }
.guide-button-secondary { background: var(--guide-surface); color: var(--guide-text); }
.guide-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 54px; }
.guide-feature-card { display: grid; min-height: 144px; align-content: start; gap: 9px; padding: 18px; border: 1px solid var(--guide-border); border-radius: 10px; background: var(--guide-surface); }
.feature-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: var(--guide-primary-soft); color: var(--guide-primary); font-size: 21px; font-weight: 700; }
.guide-feature-card strong { color: var(--guide-text); font-size: 14px; }
.guide-feature-card small { color: var(--guide-muted); font-size: 12px; line-height: 1.65; }
.guide-section { padding-top: 3px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-heading h2, .estimator-copy h2 { margin: 0; color: var(--guide-text); font-size: clamp(21px, 3vw, 28px); line-height: 1.35; }
.section-heading > p { max-width: 390px; margin: 0 0 3px; color: var(--guide-muted); font-size: 12px; line-height: 1.65; text-align: right; }
.guide-category-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.guide-category-tabs button { display: flex; min-width: 0; min-height: 62px; align-items: center; justify-content: flex-start; gap: 10px; padding: 10px 14px; border: 1px solid var(--guide-border); border-radius: 9px; background: var(--guide-surface); color: var(--guide-muted); cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; text-align: left; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.guide-category-tabs button > span { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 50%; background: var(--guide-surface-soft); color: var(--guide-muted); font-size: 11px; font-weight: 700; }
.guide-category-tabs button:hover, .guide-category-tabs button:focus-visible { border-color: var(--guide-primary); outline: none; color: var(--guide-text); }
.guide-category-tabs button.is-active { border-color: var(--guide-primary); background: var(--guide-primary-soft); color: var(--guide-text); }
.guide-category-tabs button.is-active > span { background: var(--guide-primary); color: #fff; }
.guide-image-disclosure { margin: 0 0 14px; padding: 10px 13px; border-left: 3px solid var(--guide-primary); border-radius: 0 7px 7px 0; background: var(--guide-primary-soft); color: var(--guide-copy); font-size: 12px; line-height: 1.65; }
.guide-carousel { padding: 20px; border: 1px solid var(--guide-border); border-radius: 16px; background: var(--guide-carousel-bg); }
.guide-panel { min-height: 0; padding: 20px 24px; border: 1px solid var(--guide-border); border-radius: 12px; background: var(--guide-surface); box-shadow: 0 8px 28px rgba(0, 0, 0, .18); }
.guide-timeline { margin: 0; padding: 0; list-style: none; }
.guide-step[hidden] { display: none !important; }
.guide-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 18px 0; scroll-margin-top: 80px; }
.step-index { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--guide-primary); border-radius: 50%; background: var(--guide-primary-soft); color: var(--guide-primary); font-family: ui-monospace, monospace; font-size: 13px; font-weight: 700; }
.step-content { min-width: 0; }
.step-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.step-label { color: var(--guide-positive); font-size: 11px; font-weight: 700; }
.step-time { color: var(--guide-muted); font-size: 11px; }
.step-content h3 { margin: 0; color: var(--guide-text); font-size: 20px; line-height: 1.45; }
.step-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); gap: 16px; align-items: stretch; margin-top: 18px; }
.step-layout-simple { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); align-items: start; }
.step-layout-simple .step-screenshot { grid-column: 1; grid-row: 1; width: 100%; max-width: 320px; margin: 0 auto; }
.step-screenshot { margin: 0; }
.guide-image-link { display: block; border-radius: 10px; cursor: zoom-in; }
.guide-image-link:focus-visible { outline: 2px solid var(--guide-primary); outline-offset: 3px; }
.step-screenshot img { display: block; width: 100%; height: auto; border: 1px solid var(--guide-border); border-radius: 10px; }
.step-screenshot figcaption { margin-top: 7px; color: var(--guide-muted); font-size: 10px; line-height: 1.5; text-align: center; }
.step-layout-simple .step-copy { display: grid; grid-column: 2; grid-row: 1; gap: 12px; }
.step-instructions, .step-finish { min-width: 0; padding: 17px 18px; border: 1px solid var(--guide-border); border-radius: 10px; background: var(--guide-surface-soft); }
.step-finish { border-color: rgba(34, 197, 94, .25); background: rgba(34, 197, 94, .07); }
.step-box-title { margin: 0 0 8px; color: var(--guide-primary); font-size: 12px; font-weight: 700; }
.step-action-list { margin: 0; padding-left: 20px; color: var(--guide-copy); font-size: 13px; line-height: 1.8; }
.step-action-list li + li { margin-top: 6px; }
.step-action-list li::marker { color: var(--guide-primary); font-weight: 700; }
.step-action-list a, .step-finish a { color: var(--guide-link); }
.step-finish > strong { display: block; margin-bottom: 6px; color: var(--guide-positive); font-size: 12px; }
.step-finish p { margin: 0; color: var(--guide-positive-copy); font-size: 12px; line-height: 1.75; }
.step-content strong { color: var(--guide-text); }
.step-note { margin: 13px 0 0; padding: 11px 13px; border-left: 3px solid var(--guide-primary); border-radius: 0 6px 6px 0; background: var(--guide-primary-soft); color: var(--guide-copy); font-size: 12px; line-height: 1.7; }
.step-note-warn { border-left-color: var(--guide-amber); background: rgba(245, 158, 11, .09); color: var(--guide-warn-copy); }
.step-note a, .guide-faq details a, .guide-footer p a { color: var(--guide-link); }
.guide-carousel-footer { display: flex; min-height: 56px; align-items: center; justify-content: center; gap: 14px; padding-top: 10px; }
.carousel-arrow { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--guide-border); border-radius: 50%; background: var(--guide-surface); color: var(--guide-primary); cursor: pointer; font: inherit; font-size: 19px; line-height: 1; }
.carousel-arrow:hover { border-color: var(--guide-primary); background: var(--guide-surface-soft); }
.carousel-arrow:disabled { opacity: .4; cursor: default; }
.carousel-pagination { display: flex; min-width: 50px; align-items: center; justify-content: center; gap: 9px; }
.carousel-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #46515f; cursor: pointer; }
.carousel-dot.is-active { background: var(--guide-primary); }
.carousel-count { min-width: 38px; margin: 0; color: var(--guide-muted); font-size: 11px; text-align: center; }
.guide-first-run { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr); gap: 14px 25px; margin-top: 24px; padding: 20px 22px; border: 1px solid var(--guide-border); border-radius: 11px; background: var(--guide-surface); }
.first-run-heading h2 { margin: 0; color: var(--guide-text); font-size: 17px; }
.first-run-checklist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.first-run-checklist li { display: flex; align-items: flex-start; gap: 9px; min-width: 0; }
.first-run-number { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; border-radius: 50%; background: var(--guide-primary-soft); color: var(--guide-primary); font-size: 11px; font-weight: 700; }
.first-run-checklist strong { display: block; margin: 1px 0 4px; color: var(--guide-text); font-size: 12px; }
.first-run-checklist p, .first-run-returning { margin: 0; color: var(--guide-muted); font-size: 11px; line-height: 1.65; }
.first-run-returning { grid-column: 2; padding-top: 11px; border-top: 1px solid var(--guide-border); }
.guide-estimator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 24px; align-items: center; margin-top: 42px; padding: 25px; border: 1px solid var(--guide-border); border-radius: 12px; background: var(--guide-surface); }
.estimator-copy > p:last-child { max-width: 500px; margin: 9px 0 0; color: var(--guide-muted); font-size: 13px; line-height: 1.7; }
.estimator-control { display: grid; gap: 8px; }
.estimator-control label { color: var(--guide-copy); font-size: 12px; }
.energy-input { display: flex; min-height: 46px; align-items: center; padding: 0 12px; border: 1px solid var(--guide-border); border-radius: 7px; background: var(--guide-surface-soft); }
.energy-input input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--guide-text); font: inherit; font-size: 16px; }
.energy-input span { color: var(--guide-muted); font-size: 12px; }
.estimate-result { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid var(--guide-border); }
.estimate-result span { color: var(--guide-muted); font-size: 11px; }
.estimate-result span strong { display: block; margin-top: 2px; color: var(--guide-text); font-size: 12px; }
.estimate-result > strong { color: var(--guide-positive); font-family: ui-monospace, monospace; font-size: 20px; }
.estimate-caption { margin: 0; color: var(--guide-muted); font-size: 10px; line-height: 1.6; }
.guide-faq { padding-top: 42px; }
.guide-faq .section-heading { margin-bottom: 8px; }
.guide-faq details { border-bottom: 1px solid var(--guide-border); }
.guide-faq summary { padding: 14px 0; color: var(--guide-text); cursor: pointer; font-size: 13px; font-weight: 600; }
.guide-faq details p { max-width: 840px; margin: -3px 0 14px; color: var(--guide-muted); font-size: 12px; line-height: 1.75; }
.guide-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--guide-border); }
.guide-footer p { margin: 0; color: var(--guide-muted); font-size: 11px; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 9px; }

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --guide-bg: #f3f7f7;
    --guide-surface: #fff;
    --guide-surface-soft: #f4f8f7;
    --guide-text: #153640;
    --guide-muted: #61777e;
    --guide-border: #d8e5e3;
    --guide-primary: #087a80;
    --guide-link: #087a80;
    --guide-copy: #36575e;
    --guide-positive: #136c43;
    --guide-positive-copy: #245f43;
    --guide-warn-copy: #78520a;
    --guide-carousel-bg: #eaf1f0;
    --guide-header-bg: rgba(255, 255, 255, .97);
    --guide-primary-soft: rgba(8, 122, 128, .10);
  }
}

@media (max-width: 720px) {
  .guide-header { min-height: 56px; padding: 7px 14px; }
  .guide-brand { gap: 6px; font-size: 13px; }
  .guide-brand span { font-size: 10px; }
  .guide-header nav { gap: 3px; }
  .guide-header nav a { padding: 8px 9px; font-size: 10px; }
  .guide-shell { width: min(100% - 28px, 600px); padding-top: 23px; }
  .guide-intro { margin-bottom: 22px; }
  .guide-lead { font-size: 13px; }
  .guide-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 38px; }
  .guide-feature-card { min-height: 128px; padding: 14px; }
  .section-heading { align-items: start; flex-direction: column; gap: 5px; }
  .section-heading > p { text-align: left; }
  .guide-category-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .guide-category-tabs button { min-height: 54px; padding: 8px 9px; font-size: 11px; }
  .guide-carousel { padding: 10px; border-radius: 12px; }
  .guide-panel { min-height: 0; padding: 12px 13px; }
  .guide-step { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 9px 0; }
  .step-index { width: 30px; height: 30px; font-size: 10px; }
  .step-content h3 { font-size: 16px; }
  .step-layout { grid-template-columns: minmax(0, 1fr); gap: 9px; margin-top: 12px; }
  .step-layout-simple .step-screenshot, .step-layout-simple .step-copy { grid-column: 1; grid-row: auto; }
  .step-layout-simple .step-screenshot { width: min(100%, 280px); }
  .step-instructions, .step-finish { padding: 13px; }
  .step-action-list { font-size: 12px; }
  .guide-carousel-footer { gap: 11px; }
  .guide-first-run { grid-template-columns: minmax(0, 1fr); gap: 13px; padding: 16px 14px; }
  .first-run-checklist { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .first-run-returning { grid-column: 1; }
  .guide-estimator { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 30px; padding: 18px 15px; }
  .guide-footer { align-items: start; flex-direction: column; }
  .guide-footer .guide-actions { width: 100%; }
  .guide-footer .guide-button { flex: 1; }
}

@media (max-width: 360px) {
  .guide-header { padding-right: 8px; padding-left: 8px; }
  .guide-brand span { display: none; }
  .guide-header nav { gap: 0; }
  .guide-header nav a { padding-right: 7px; padding-left: 7px; }
  .guide-category-tabs button { gap: 6px; font-size: 10px; }
  .guide-category-tabs button > span { width: 25px; height: 25px; flex-basis: 25px; }
  .step-content h3 { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
