/* Local concept: same messenger palette as packages/ui/src/tokens.ts.
   Owner-supplied logo traced to transparent SVG paths. */
:root{--bg:#f3f5f3;--surface:#fff;--ink:#1d2620;--muted:#616b64;--line:#dce2dd;--soft:#eaf0eb;--brand:#22b14c;--brand-hover:#1c9a41;--accent:#22b14c;--radius:8px;--action-ink:#082e12;--brand-readable:#0c663e;scrollbar-color:#7b8982 transparent}
:root[data-theme=dark]{--bg:#171717;--surface:#202020;--ink:#f2f3f2;--muted:#a4aaa6;--line:#353535;--soft:#272727;--brand:#22b14c;--brand-hover:#1c9a41;--action-ink:#082e12;--brand-readable:#69d888;scrollbar-color:#718078 transparent}
button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid var(--brand-readable);outline-offset:3px}
.primary{color:var(--action-ink);font-weight:650}.site-header nav a:hover{color:var(--brand-readable)}h1 em,:root[data-theme=dark] h1 em{color:var(--brand-readable)}
.preview-bar{background:var(--soft);color:var(--muted)}.site-header{position:relative;background:var(--surface);border:0}
.brand-placeholder{gap:18px}.brand .wordmark-placeholder{min-width:140px;display:flex;flex-direction:column}.brand .wordmark-placeholder b{font-size:30px;letter-spacing:-1px;font-weight:750}.brand .wordmark-placeholder>span{font-size:9px;font-weight:600;letter-spacing:4px;color:var(--muted);margin-top:4px}.brand .brand-service{display:block;border-left:1px solid var(--line);padding-left:18px;font-size:12px;line-height:1.5;color:var(--muted)}
.hero-art{background:#202020;border:1px solid #353535}.art-top{color:#a4aaa6}.hero-art figcaption>span{color:#a4aaa6}.hero-art figcaption p{color:#c6ccc8}.hero-art figcaption strong{color:#f2f3f2}.art-sign{color:#22b14c}.hero-art figcaption{padding-bottom:30px}
.cta-note{margin-bottom:15px}.setup-link{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:600;color:var(--brand-readable);margin-bottom:27px;text-decoration:underline;text-underline-offset:4px}.setup-link svg{width:15px;height:15px}.setup-link:hover{text-decoration-thickness:2px}.step-number,:root[data-theme=dark] .step-number{color:var(--brand-readable)}.status-dot{background:var(--brand)}
.setup{padding-block:56px;scroll-margin-top:24px}.setup-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:30px}.setup-heading .eyebrow{margin-bottom:12px}.setup-heading h2{font-size:32px}.setup-heading p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:1.8;margin:14px 0 0;max-width:600px}.device-picker{display:flex;gap:4px;padding:4px;background:var(--soft);border:1px solid var(--line);border-radius:10px;flex-shrink:0}.device-picker button{border:0;min-height:44px;min-width:100px;padding:10px 20px;border-radius:7px;background:transparent;font-size:14px;font-weight:600;color:var(--muted)}.device-picker button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 5px #0001}.device-picker button:hover{color:var(--ink)}
.device-guide{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:30px 32px}.device-guide[hidden]{display:none}.guide-caption{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:22px;border-bottom:1px solid var(--line)}.guide-caption strong{font-size:15px}.guide-caption>span{font-size:12px;color:var(--muted)}.install-steps{list-style:none;padding:0;margin:30px 0;display:grid;grid-template-columns:1fr 1fr;gap:30px 50px}.install-steps li{display:flex;gap:16px;min-width:0}.install-steps li>span{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border:1px solid var(--line);border-radius:50%;background:var(--soft);color:var(--brand-readable);font-size:12px;font-weight:600}.install-steps h3{font-size:15px;margin:4px 0 9px}.install-steps p{font-size:13px;line-height:1.85;color:var(--muted);margin:0}.guide-note{background:var(--soft);border-left:3px solid var(--brand);padding:15px 18px;font-size:12px;line-height:1.8;color:var(--ink);margin:0 0 12px;border-radius:0 6px 6px 0}.setup-troubleshoot summary{padding-block:16px}.setup-troubleshoot>p{max-width:800px}.setup-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:40px;margin-top:18px}.setup-bottom>p{font-size:11px;line-height:1.8;color:var(--muted);margin:0;max-width:710px}.guide-sources{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:10px;color:var(--muted);flex-shrink:0}.guide-sources>span{flex-basis:100%}.guide-sources a{font-size:11px;text-decoration:underline;text-underline-offset:3px}.knowledge{margin-top:0}.closing>div>svg{color:var(--brand-readable)}
@media(max-width:1100px){.brand .brand-service{display:none}.site-header nav{font-size:12px}.setup-heading{align-items:flex-start}.setup-heading h2{font-size:28px}.install-steps{gap:28px}.setup-bottom{gap:24px}.guide-sources{flex-shrink:1;min-width:130px}}
@media(max-width:780px){.setup-heading{display:block}.device-picker{margin-top:22px;display:inline-flex}.install-steps{grid-template-columns:1fr}.guide-caption{align-items:flex-start;flex-direction:column;gap:7px}.setup-bottom{flex-direction:column;gap:14px}.guide-sources>span{flex-basis:auto}.setup{padding-block:40px}}
@media(max-width:600px){.brand .wordmark-placeholder{min-width:118px}.brand .wordmark-placeholder b{font-size:25px}.brand .wordmark-placeholder>span{font-size:8px;letter-spacing:3px}.brand .brand-service{display:none}.site-header{height:84px}.setup-heading h2{font-size:28px;letter-spacing:-.8px}.setup-heading p:not(.eyebrow){font-size:13px}.device-picker{display:flex;max-width:360px}.device-picker button{flex:1}.device-guide{padding:22px 18px}.install-steps{gap:25px;margin-block:25px}.install-steps li{gap:12px}.install-steps li>span{width:25px;height:25px;font-size:11px}.install-steps h3{font-size:14px;margin-top:2px}.install-steps p{font-size:12px}.guide-caption strong{font-size:14px}.guide-caption>span{font-size:11px}.guide-note{padding:13px 14px;font-size:11px}.setup-troubleshoot summary{font-size:12px;line-height:1.7}.setup-troubleshoot>p{font-size:12px}.setup-bottom>p{font-size:11px}.setup-link{font-size:11px;line-height:1.6}.hero-art figcaption{padding-bottom:20px}.preview-bar{font-size:8px}.guide-sources{font-size:9px}.guide-sources a{font-size:10px}}

.header-band{background:var(--surface);border-bottom:1px solid var(--line)}
.brand{gap:20px}.brand .full-logo{display:block;width:225px}.brand .full-logo img{width:100%;height:auto;display:block}.brand .full-logo .logo-dark,.footer-brand .logo-dark{display:none}.footer-brand img{display:block;width:156px;height:auto}:root[data-theme=dark] .brand .full-logo .logo-light,:root[data-theme=dark] .footer-brand .logo-light{display:none}:root[data-theme=dark] .brand .full-logo .logo-dark,:root[data-theme=dark] .footer-brand .logo-dark{display:block}
@media(max-width:1100px){.brand .full-logo{width:205px}.site-header nav{gap:16px}}
@media(max-width:600px){.brand .full-logo{width:180px}.brand .full-logo img{width:100%;height:auto}.header-login{display:none}.lang,.icon-button{width:44px;height:44px}.brand{gap:0}.footer-brand img{width:170px}}
@media(max-width:360px){.brand .full-logo{width:160px}}

/* Illustrated installation guide, permanently dark landing-page concept. */
.purpose{max-width:480px;border-left:2px solid var(--brand);padding-left:14px;color:var(--muted);font-size:13px;line-height:1.8;margin:0 0 24px}
.install-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 22px}
.install-steps li{flex-direction:column;gap:16px}
.guide-picture{display:block;width:100%;padding:0 0 10px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--muted);cursor:zoom-in;overflow:hidden}
.guide-picture:hover{border-color:var(--brand-readable);color:var(--ink)}
.guide-picture img{display:block;width:100%;height:370px;object-fit:contain;aspect-ratio:1080/2400;margin:12px auto}
.zoom-label{display:block;font-size:11px;line-height:1.5}
.step-copy{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px 10px;align-items:start}
.guide-number{display:grid;place-items:center;width:26px;height:26px;border:1px solid var(--line);border-radius:50%;font-size:12px;color:var(--brand-readable);background:var(--soft)}
.step-copy h3{margin:3px 0 0;line-height:1.5}.step-copy p{grid-column:2}
.guide-image-note{font-size:12px;line-height:1.8;color:var(--muted);margin:14px 0}
@media(max-width:1000px){.install-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.install-steps{grid-template-columns:1fr;gap:32px}.install-steps p{font-size:13px}.install-steps h3{font-size:15px}.purpose{font-size:12px}.guide-image-note{font-size:12px}}

/* Footer links remain ordinary links with or without JavaScript. */
footer [data-legal]{font-size:12px;color:var(--muted);padding-block:12px;display:inline-block;text-decoration:underline;text-underline-offset:4px}footer [data-legal]:hover{color:var(--ink)}

/* Local landing candidate only; original content, logos and real captures retained. */
:root:root[data-theme='dark'] {
  --bg:#171c19; --surface:#202722; --ink:#eef5f0; --muted:#adbbb1;
  --line:#39453d; --soft:#26322a; --brand:#8ce5a6; --brand-hover:#a6edbb;
  --brand-readable:#a0e7b5; --action-ink:#12331c; --radius:12px;
  scrollbar-color:#617968 transparent;
}
:root:root .wrap { width:min(1180px,calc(100% - 80px)); }
:root:root .header-band { background:var(--bg); }
:root:root .site-header { height:96px; background:transparent; }
:root:root .brand .full-logo { width:200px; }
:root:root .brand-service { font-size:13px; color:var(--muted); }
:root:root .header-login { min-height:46px; border-radius:10px; background:var(--surface); }
:root:root .hero { grid-template-columns:1.1fr 1fr; gap:64px; padding-block:70px 62px; }
:root:root .eyebrow { letter-spacing:1.4px; color:var(--brand-readable); }
:root:root h1 { font-size:clamp(42px,4.7vw,64px); line-height:1.08; letter-spacing:-2.2px; font-weight:650; }
:root:root .intro { font-size:17px; line-height:1.7; max-width:450px; margin-bottom:22px; }
:root:root .purpose { padding:14px 18px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:#c3d1c7; line-height:1.65; }
:root:root .primary { border-radius:10px; min-height:52px; font-size:15px; padding:15px 22px; box-shadow:0 2px 5px #0002; }
:root:root .cta-note { font-size:12px; line-height:1.6; margin:12px 0 20px; }
:root:root .setup-link { min-height:44px; display:inline-flex; align-items:center; gap:14px; font-size:13px; }
:root:root .support { margin-top:20px; padding-top:20px; }
:root:root .support p { font-size:12px; line-height:1.65; }
:root:root .hero-art { display:block; align-self:center; max-height:none; border:1px solid var(--line); border-radius:18px; background:var(--surface); overflow:hidden; box-shadow:0 18px 45px #0002; }
:root:root .hero-art .art-scene { position:relative; }
:root:root .hero-art .art-scene img { display:block; width:100%; max-width:100%; height:auto; margin:0; padding:0; }
:root:root .hero-art figcaption { padding:24px 28px 28px; border-top:1px solid var(--line); }
:root:root .hero-art figcaption strong { display:block; margin:0; font-size:26px; letter-spacing:-.6px; }
:root:root .hero-art figcaption p { max-width:none; margin-top:10px; font-size:14px; line-height:1.65; }
:root:root .help { padding:32px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
:root:root .section-heading h2,
:root:root .setup-heading h2,
:root:root .faq h2 { font-size:32px; letter-spacing:-.8px; line-height:1.2; }
:root:root .steps { gap:30px; margin-top:28px; }
:root:root .steps article { gap:14px; }
:root:root .step-number { display:grid; place-items:center; width:30px; height:30px; flex:0 0 30px; padding:0; border-radius:8px; background:#304b39; color:#c6efd2; }
:root:root .steps h3 { font-size:16px; margin-top:3px; }
:root:root .steps p { font-size:14px; line-height:1.7; }
:root:root .setup { padding-block:72px; }
:root:root .setup-heading { gap:30px; margin-bottom:26px; }
:root:root .setup-heading p:not(.eyebrow) { font-size:15px; line-height:1.7; }
:root:root .device-picker { border:1px solid var(--line); padding:5px; border-radius:12px; background:var(--surface); gap:5px; }
:root:root .device-picker button { min-height:46px; min-width:100px; border-radius:8px; background:transparent; border:1px solid transparent; color:var(--muted); }
:root:root .device-picker button[aria-pressed='true'] { background:#304b39; border-color:#557660; color:#d1f4db; }
:root:root .device-guide { padding:28px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
:root:root .guide-caption { padding-bottom:22px; border-bottom:1px solid var(--line); }
:root:root .install-steps { gap:32px 24px; margin-block:28px; }
:root:root .guide-picture { border-radius:12px; background:#171c19; }
:root:root .guide-picture img { height:360px; object-fit:contain; }
:root:root .zoom-label { padding:5px; font-size:12px; }
:root:root .guide-number { border-radius:8px; width:28px; height:28px; background:#304b39; color:#c6efd2; border-color:#557660; }
:root:root .install-steps h3 { font-size:16px; line-height:1.45; }
:root:root .install-steps p { font-size:14px; line-height:1.7; }
:root:root .guide-note { border:1px solid #486451; border-radius:10px; font-size:13px; padding:16px 18px; }
:root:root .faq { padding:0 0 54px; }
:root:root summary { min-height:56px; line-height:1.5; }
:root:root .closing { border:1px solid var(--line); background:var(--surface); border-radius:16px; padding:28px 32px; }
:root:root footer { padding-block:32px; }
:root:root :is(button,a,summary):focus-visible { outline:2px solid #a0e7b5; outline-offset:4px; }
:root:root :is(button,.primary,.header-login) { transition:transform 120ms cubic-bezier(.23,1,.32,1); }
:root:root :is(button,.primary):active:not(:focus-visible) { transform:scale(.98); }
@media (hover:hover) and (pointer:fine) {
  :root:root .guide-picture:hover { border-color:#8ce5a6; }
}
@media (prefers-reduced-motion:reduce) {
  :root:root { scroll-behavior:auto; }
  :root:root :is(button,.primary,.header-login) { transition:none; transform:none; }
}
@media(max-width:1000px) {
  :root:root .hero { gap:32px; }
  :root:root .wrap { width:calc(100% - 48px); }
}
@media(max-width:780px) {
  :root:root .hero { grid-template-columns:1fr; padding-block:38px 40px; }
  :root:root .hero-art { max-width:540px; width:100%; justify-self:center; }
  :root:root .help { padding:24px; }
  :root:root .setup { padding-block:44px; }
  :root:root .steps { gap:24px; }
}
@media(max-width:600px) {
  :root:root .wrap { width:calc(100% - 36px); }
  :root:root .site-header { height:80px; }
  :root:root .brand .full-logo { width:170px; }
  :root:root h1 { font-size:42px; letter-spacing:-1.4px; }
  :root:root .intro { font-size:16px; }
  :root:root .purpose { font-size:13px; }
  :root:root .hero-copy > .primary { width:100%; }
  :root:root .hero-art figcaption { padding:20px; }
  :root:root .hero-art figcaption strong { font-size:23px; }
  :root:root .help { padding:22px 20px; }
  :root:root :is(.section-heading,.setup-heading,.faq) h2 { font-size:28px; }
  :root:root .device-guide { padding:20px 16px; }
  :root:root .guide-picture img { height:360px; max-width:100%; }
  :root:root .install-steps { gap:30px; }
  :root:root .setup-troubleshoot summary { font-size:14px; }
  :root:root .closing { padding:24px 20px; }
  :root:root .closing .primary { width:100%; }
  :root:root footer { padding-bottom:calc(24px + env(safe-area-inset-bottom)); }
}

/* Step gallery: native modal focus, explicit navigation, no automatic slideshow. */
body.guide-gallery-open{overflow:hidden}
#guide-image-dialog{width:min(920px,calc(100% - 24px));height:min(850px,calc(100dvh - 24px));max-width:none;max-height:none;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink)}
#guide-image-dialog[open]{display:flex;flex-direction:column}
#guide-image-dialog::backdrop{background:#000b}
.guide-gallery-header,.guide-gallery-footer{flex-shrink:0;padding:14px 20px;background:var(--surface)}
.guide-gallery-header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}
#guide-position{margin:0;font-size:14px;color:var(--muted)}
.guide-gallery-button{min-height:44px;padding:10px 18px;border:1px solid var(--line);border-radius:8px;background:var(--soft);color:var(--ink);font-weight:600}
.guide-gallery-button:hover:not(:disabled){border-color:var(--brand-readable)}
.guide-gallery-button:disabled{opacity:.4;cursor:default}
#guide-next:not(:disabled){background:var(--brand);color:var(--action-ink)}
#guide-slide{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;touch-action:pan-y pinch-zoom;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px;padding:22px}
#guide-image{grid-column:1;grid-row:1;display:block;width:100%;height:auto;max-height:calc(100dvh - 220px);object-fit:contain;margin:0}
.guide-gallery-copy{grid-column:2;grid-row:1}
#guide-image-title{font-size:22px;line-height:1.35;margin:0 0 16px}
#guide-image-caption{font-size:16px;line-height:1.75;color:var(--ink);margin:0}
.guide-gallery-footer{border-top:1px solid var(--line)}
.guide-gallery-controls{display:flex;justify-content:space-between;gap:12px}
#guide-navigation-hint{font-size:12px;line-height:1.5;color:var(--muted);margin:10px 0 0;text-align:center}
@media(max-width:600px){
  #guide-image-dialog{width:calc(100% - 12px);height:calc(100dvh - 12px);border-radius:10px}
  .guide-gallery-header,.guide-gallery-footer{padding:10px 12px}
  #guide-slide{display:flex;flex-direction:column;gap:18px;padding:16px}
  #guide-image{max-height:none;max-width:380px;margin-inline:auto;flex-shrink:0}
  #guide-image-title{font-size:20px;margin-bottom:10px}
  #guide-image-caption{font-size:15px;line-height:1.6}
  #guide-navigation-hint{font-size:11px;margin-top:7px}
}
