:root{color-scheme:light;--ink:#17312f;--muted:#60736f;--green:#14685f;--green-dark:#0c514a;--line:#dbe4de;--paper:#f5f7f2;--blue:#3275a8;--yellow:#d0a33b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 'Segoe UI',Arial,sans-serif}button,input,select{font:inherit}button,a,select,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #378dca;outline-offset:4px}a{color:var(--green)}[hidden]{display:none!important}.topbar{height:88px;max-width:1240px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:0 40px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-weight:800;font-size:21px;letter-spacing:1px}.brandmark{width:34px;height:36px;border-radius:10px 3px 10px 3px;background:var(--green);color:white;display:grid;place-items:center;font-size:23px}.brand small{font-size:9px;display:block;letter-spacing:2.1px;line-height:1.1;font-weight:600}.version{font-size:10px;letter-spacing:1.6px;font-weight:700}.version span{margin-left:14px;font-size:9px;color:var(--muted);border:1px solid var(--line);border-radius:30px;padding:5px 9px}main{max-width:1240px;margin:auto;padding:0 40px}.hero{display:grid;grid-template-columns:1.12fr 1fr;gap:50px;align-items:center;padding:65px 0 54px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;color:var(--green);margin:0 0 15px}.eyebrow span{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;margin-right:7px}h1{font-size:clamp(36px,4.2vw,53px);letter-spacing:-2.3px;line-height:1.13;font-weight:650;margin:17px 0 23px}h2{font-size:25px;font-weight:650;line-height:1.25;letter-spacing:-.7px;margin:0}h3{font-size:16px;letter-spacing:-.2px;margin:0 0 7px}p{color:var(--muted)}.intro{font-size:16px;line-height:1.8;margin-bottom:25px}.hero-actions{display:flex;gap:22px;align-items:center}.primary,.secondary{border-radius:8px;font-size:13px;font-weight:650;padding:12px 18px;display:inline-flex;gap:25px;align-items:center;justify-content:center;text-decoration:none;min-height:45px}.primary{background:var(--green);border:1px solid var(--green);color:white;box-shadow:0 3px 0 #0c4e4710}.primary:hover:not(:disabled){background:var(--green-dark)}.secondary{background:white;border:1px solid #cbd8d0;color:var(--ink)}.secondary:hover:not(:disabled){background:#edf3ee}.text-button{border:0;background:none;color:var(--green);font-weight:650;padding:10px 0;font-size:13px}.text-button span{margin-left:9px}.micro{font-size:11px;line-height:1.6}.device-visual{background:#e9efe6;border:1px solid #dce5d9;border-radius:20px;min-height:325px;position:relative;overflow:hidden;background-image:radial-gradient(#a4b8a455 .7px,transparent .7px);background-size:17px 17px}.visual-tag{position:absolute;top:22px;left:24px;font-size:8px;letter-spacing:1.7px;color:#6e8577;font-weight:700}.visual-bottom{position:absolute;bottom:21px;left:24px;right:24px;display:flex;justify-content:space-between;font-size:7px;letter-spacing:1px;color:#6a7f70;font-weight:700}.device-drawing{position:absolute;inset:40px 0 25px;transform:rotate(-10deg)}.usb-plug{position:absolute;top:75px;left:17%;width:70px;height:63px;border:3px solid #b7b9b2;background:linear-gradient(110deg,#e0e2db,#b8bcb6);border-radius:5px 0 0 5px;display:flex;align-items:flex-end;justify-content:center;gap:5px;padding-bottom:5px}.usb-plug i{display:block;width:8px;height:16px;background:#d0aa5f;border:1px solid #b08a43}.board{position:absolute;top:63px;left:30%;width:182px;height:90px;background:#263633;border:5px solid #3d5149;border-radius:12px;box-shadow:0 17px 21px #2543322d}.board-label{position:absolute;left:13px;top:18px;color:#cddbd1;font-size:10px;letter-spacing:1.6px;line-height:1.6}.board-label b{font-size:8px;font-weight:400}.chip{width:28px;height:28px;background:#151e1b;position:absolute;left:97px;top:25px;border:2px solid #7d8272;box-shadow:0 0 0 3px #304139}.board-led{position:absolute;left:145px;top:12px;height:5px;width:5px;background:#97e6a6;border-radius:50%;box-shadow:0 0 10px #7fe59b}.jack{position:absolute;right:-13px;top:24px;width:30px;height:38px;background:#172522;border:4px solid #40554a;border-radius:4px}.cable{position:absolute;border:3px solid #71877a;border-top:0;border-left:0;border-radius:0 0 24px 0;top:110px;left:68%;width:42px;height:70px}.cable.two{width:80px;height:20px}.switch-drawing{position:absolute;display:grid;place-items:center;font-size:14px;font-weight:700;width:55px;height:55px;border-radius:50%;box-shadow:0 6px 0 #51645b,0 10px 15px #25433220;border:5px solid #e0e8df;color:white;top:175px;left:69%}.switch-drawing.blue{background:#588ab6}.switch-drawing.yellow{background:#dbb74b;top:110px;left:80%;color:#5c4f23}.steps{display:flex;gap:50px;border-bottom:1px solid var(--line);padding:0 0 19px;margin-bottom:30px;font-size:12px;color:#82918a}.steps a{display:flex;align-items:center;gap:9px;color:inherit;text-decoration:none;border-radius:5px}.steps a:hover{text-decoration:underline}.steps b{font-size:10px;border:1px solid #d4dfd5;border-radius:50%;width:25px;height:25px;display:grid;place-items:center}.steps .active{color:var(--green);font-weight:700}.steps .active b{background:var(--green);color:white;border-color:var(--green)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-heading .eyebrow{margin-bottom:8px}.connection-pill{font-size:10px;border:1px solid var(--line);padding:6px 12px;border-radius:30px;background:#fff;display:flex;align-items:center;gap:7px;white-space:nowrap}.connection-pill i{width:6px;height:6px;background:#9ca9a0;border-radius:50%}.connection-pill.connected i{background:#2f947b}.connection-pill.demo{background:#fff4d7;border-color:#ead8a8}.editor-caption{font-size:12px;color:var(--muted);margin:11px 0 23px}.switch-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.switch-card{border:1px solid var(--line);border-radius:13px;background:white;overflow:hidden}.switch-card header{display:flex;gap:12px;align-items:center;padding:19px 23px;background:#f6faff;border-bottom:1px solid #e3eaf0}.switch-card:nth-child(2) header{background:#fffbef;border-color:#efe8d4}.switch-number{display:grid;place-items:center;width:35px;height:35px;background:#e3eef8;color:var(--blue);border-radius:10px;font-size:16px;font-weight:700}.switch-card:nth-child(2) .switch-number{background:#f7ecca;color:#8e7026}.switch-card h3{margin:0}.switch-card header p{margin:0;font-size:11px}.switch-body{padding:20px 23px}.field-label{display:block;font-size:11px;font-weight:700;margin-bottom:7px}.type-tabs{display:flex;background:#f2f5f1;padding:4px;border-radius:7px;gap:4px;margin-bottom:17px}.type-tabs button{flex:1;border:0;border-radius:5px;background:none;padding:7px 8px;font-size:12px;color:var(--muted)}.type-tabs button[aria-pressed=true]{background:white;box-shadow:0 1px 3px #203b2920;color:var(--ink);font-weight:650}select{width:100%;border:1px solid #cedbd2;background:#fff;color:var(--ink);border-radius:6px;min-height:43px;padding:9px 11px}.capture-button{margin-top:10px;width:100%;border:1px dashed #ccd9d0;background:#fff;color:var(--green);padding:9px;border-radius:6px;font-size:12px}.modifiers{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;font-size:11px}.modifiers label{display:flex;gap:4px;align-items:center}.modifiers input{accent-color:var(--green)}.binding-preview{border-top:1px solid #edf1ed;margin:18px 0 0;padding-top:13px;font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:10px}.binding-preview strong{color:var(--ink);text-align:right}.advanced{font-size:12px;margin:20px 0}.advanced summary,details summary{cursor:pointer;color:var(--muted);font-weight:600}.advanced select{max-width:310px;display:block;margin:6px 0}.savebar{background:#e9efe6;border-radius:10px;padding:19px 23px;display:flex;align-items:center;justify-content:space-between;gap:20px}.savebar strong{display:block;font-size:13px}.savebar span:not([aria-hidden]){display:block;font-size:11px;color:var(--muted);margin-top:3px}.save-actions{display:flex;align-items:center;gap:25px}.test-panel{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:47px 0;margin-top:7px;border-bottom:1px solid var(--line)}.test-intro h2{font-size:23px}.test-intro p:not(.eyebrow):not(.micro){max-width:390px;font-size:13px}.test-intro .eyebrow{margin-bottom:9px}.test-targets{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-content:center}.test-target{min-height:150px;border:1px dashed #bacbc0;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#f1f4ee;transition:background .1s,transform .1s}.test-target>span{font-size:28px;color:#a0b4a6;font-weight:300}.test-target strong{font-size:13px;margin-top:5px}.test-target small{font-size:10px;margin-top:3px;color:var(--muted)}.test-target.down{background:#d9ebf8;border-color:#3275a8;transform:translateY(2px)}.test-target:nth-child(2).down{background:#f8edc6;border-color:#c9a54e}.test-target.passed{border-style:solid;border-color:#6ca28d}.demo-test-actions{grid-column:span 2;display:flex;justify-content:center;gap:10px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:31px 0}.help-card{display:flex;gap:16px}.help-icon{border:1px solid var(--line);border-radius:8px;width:36px;min-width:36px;height:36px;display:grid;place-items:center;font-size:18px}.help-card p{font-size:12px;margin:0;max-width:380px}.help-card .text-button{font-size:12px;padding-bottom:0}footer{display:flex;justify-content:space-between;gap:20px;padding:24px 0;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}footer strong{letter-spacing:1px;margin-right:5px}.notice{border:1px solid #bcd8cb;background:#eef8f2;border-radius:8px;padding:13px 17px;font-size:13px;margin-bottom:20px;color:#244d3e}.notice.error{border-color:#dfb8b1;background:#fff2ee;color:#873f31}.notice.demo{background:#fff7dd;border-color:#ead8a8;color:#6a5623}dialog{border:1px solid var(--line);border-radius:16px;padding:36px;max-width:520px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 25px 100px #102d2d30}dialog::backdrop{background:#102d2d77;backdrop-filter:blur(3px)}dialog p{font-size:13px}dialog h2{font-size:28px}.dialog-close{position:absolute;top:10px;right:15px;border:0;background:none;font-size:25px;color:var(--muted)}.capture-display{background:var(--paper);border:1px dashed var(--line);border-radius:10px;text-align:center;padding:30px;font-size:22px;font-weight:600;margin:24px 0}.setup-dialog{max-width:680px;max-height:90vh}.setup-steps{padding-left:23px}.setup-steps li{padding:9px 0 15px 7px}.setup-steps li::marker{color:var(--green);font-weight:700}.setup-steps p{margin:7px 0 10px}.setup-steps a{font-size:12px}.checkline{display:flex;align-items:start;gap:10px;font-size:12px;margin:15px 0}.checkline input{margin-top:3px;accent-color:var(--green)}.setup-dialog details{border-top:1px solid var(--line);padding-top:15px;font-size:13px}.link-button{font-size:12px}@media(max-width:900px){.hero{gap:20px}.device-visual{min-height:300px}.usb-plug{left:9%}.board{left:23%}.cable{left:69%}.version span{display:none}.hero-actions{gap:12px;flex-wrap:wrap}.savebar{align-items:flex-start;flex-direction:column}.save-actions{align-self:flex-end}.device-drawing{transform:scale(.85) rotate(-10deg)}}@media(max-width:650px){main{padding:0 20px}.topbar{padding:0 20px;height:73px}.hero{grid-template-columns:1fr;padding:35px 0}.hero h1{font-size:40px}.device-visual{display:none}.intro br{display:none}.steps{gap:20px}.steps a{font-size:11px}.switch-grid,.test-panel,.help-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start}.section-heading h2{font-size:22px}.connection-pill{margin-top:22px;font-size:9px}.save-actions{width:100%;justify-content:space-between;gap:10px}.savebar{padding:17px}.test-panel{gap:20px;padding:32px 0}.test-target{min-height:125px}.help-grid{gap:25px}footer{flex-direction:column;gap:8px}.version{font-size:8px}dialog{padding:28px 23px}.modifiers{gap:8px}.hero-actions .primary{font-size:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.brand-logo{width:42px;height:42px;object-fit:contain}.device-visual{margin:0;background:#e9efe6;min-height:0;border-radius:18px}.hero-product{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.device-visual figcaption{display:flex;justify-content:space-between;gap:10px;padding:13px 18px;font-size:9px;letter-spacing:1.1px;font-weight:700;color:#506658;border-top:1px solid #dce5d9}.device-visual figcaption span{font-weight:400;letter-spacing:0}.resource-links{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding:23px 0;font-size:12px}.resource-links p{font-size:11px;margin:3px 0}.resource-links>div:last-child{display:flex;gap:20px;flex-wrap:wrap}.resource-links a{font-size:11px;text-decoration:none}.resource-links a:hover{text-decoration:underline}@media(max-width:900px){.resource-links{align-items:flex-start;flex-direction:column}.device-visual{min-height:0}}@media(max-width:650px){.device-visual{display:block;max-width:440px}.hero{gap:25px}.hero-product{max-height:260px;object-fit:contain}.resource-links>div:last-child{gap:14px}}

.setup-shortcut{display:block;font-size:11px;padding:14px 0 0}.hero .micro{margin-top:6px}.brand-logo{border-radius:10px}

.steps .complete{color:var(--green);font-weight:700}.steps .complete b{background:#dceee2;color:var(--green);border-color:#a1c7b1}.test-result{grid-column:1/-1;padding:17px 20px;border:1px solid #a1c7b1;border-radius:10px;background:#e6f4eb;color:var(--green-dark)}.test-result strong{font-size:18px}.test-result p{margin:4px 0 0;font-size:13px;color:#355c49}#save-test,#bindings-heading,#connect{scroll-margin-top:24px}

.guide-page{max-width:820px;padding-top:48px;padding-bottom:48px}.guide-page h1{font-size:42px}.guide-page h2{margin-top:30px;font-size:23px}.guide-page p{font-size:15px;line-height:1.8}
