.r1-hardware{padding:clamp(56px,7vw,112px) clamp(16px,3.2vw,44px);background:var(--bg);color:var(--ink)}
.r1-hardware *,.r1-hardware *::before,.r1-hardware *::after{box-sizing:border-box}
.r1-hardware :is(h2,h3,p,figure,dl,dd){margin:0}
.r1-hardware [hidden]{display:none!important}
.r1-hw-heading{text-align:center;margin:0 auto clamp(30px,3.8vw,48px);max-width:820px}
.r1-hw-heading h2{
  font-family:var(--font-display);font-size:clamp(32px,3.5vw,52px);font-weight:600;line-height:1.08;letter-spacing:-.035em;
  color:var(--ink);text-wrap:balance;
}
.r1-hw-heading p{margin-top:14px;color:var(--muted);font-size:clamp(16px,1.3vw,19.5px);line-height:1.54}

.r1-hw-single{max-width:1120px;margin:0 auto}
/* Dark studio hardware workbench on crisp white canvas */
.r1-hw-workbench{
  border-radius:28px;overflow:hidden;
  background:#0d1017;position:relative;min-width:0;
  display:flex;flex-direction:column;min-height:530px;
  isolation:isolate;border:1px solid rgba(11,13,20,.12);
  box-shadow:0 36px 80px -36px rgba(11,13,20,.44),var(--rim);
  scroll-margin-top:96px;
}
.r1-hw-tabs{
  display:flex;position:absolute;z-index:2;top:20px;left:20px;gap:2px;padding:4px;
  background:rgba(12,15,22,.82);border:1px solid rgba(255,255,255,.14);
  border-radius:999px;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.r1-hw-tabs a{
  padding:8px 16px;text-decoration:none;color:#9aa3b6;
  font-family:var(--font-display);font-size:13.5px;font-weight:560;line-height:1.25;border-radius:999px;
  transition:background-color .18s,color .18s;
}
.r1-hw-tabs a:hover{color:#fff}
.r1-hw-tabs a[aria-selected="true"]{background:var(--platinum);color:#0b0d14;font-weight:620}

.r1-hardware :is(button,a,input,summary,canvas):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.r1-hw-panel{
  position:relative;flex:1;min-width:0;display:flex;flex-direction:column;
  scroll-margin-top:110px;justify-content:flex-end;
  padding:clamp(76px,6.2vw,96px) clamp(24px,3.6vw,54px) clamp(26px,2.8vw,38px);
}

/* Studio spotlight backgrounds for R1 hardware finishes */
.r1-finish{--spot:#282e3d;--edge:#0a0c12;background:radial-gradient(ellipse 68% 64% at 52% 40%,var(--spot) 0%,var(--edge) 76%)}
.r1-finish[data-finish="sky"]{--spot:#1f3042;--edge:#090c12}
.r1-finish[data-finish="starlight"]{--spot:#302d28;--edge:#0b0c10}
.r1-finish[data-finish="midnight"]{--spot:#253147;--edge:#080a0f}
.r1-finish-visual,.r1-hw-visual,.r1-explore-view{flex:1;display:grid;place-items:center;min-height:240px}
.r1-finish-visual img{
  width:min(58%,490px);height:auto;transform:rotate(-3.5deg);
  filter:drop-shadow(0 28px 24px rgba(0,0,0,.76)) drop-shadow(0 6px 10px rgba(0,0,0,.42));
}

.r1-hw-caption{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin-top:20px;z-index:1}
.r1-hw-caption h3{font-family:var(--font-display);font-size:clamp(21px,2vw,28px);font-weight:600;letter-spacing:-.025em;line-height:1.15;color:#fff}
.r1-hw-caption p{font-size:14px;line-height:1.54;color:#a0a8ba}
.r1-hw-specs p{font-size:14px;line-height:1.54;color:var(--muted)}

.r1-finish-picker{display:flex;flex-wrap:nowrap;gap:4px}
.r1-finish-picker button{width:36px;height:36px;padding:0;border:0;background:transparent;display:grid;place-items:center;cursor:pointer}
.r1-finish-picker button::before{content:"";width:22px;height:22px;border-radius:50%;border:1px solid rgba(255,255,255,.22);background:linear-gradient(155deg,var(--hl),var(--lo))}
.r1-finish-picker [aria-pressed="true"]::before{outline:2px solid #fff;outline-offset:3px}
.r1-finish-picker [data-tone="silver"]{--hl:#f0f2f6;--lo:#a8aeb8}
.r1-finish-picker [data-tone="sky"]{--hl:#c9e1f2;--lo:#7da2bc}
.r1-finish-picker [data-tone="starlight"]{--hl:#efe6d8;--lo:#b3a28c}
.r1-finish-picker [data-tone="midnight"]{--hl:#5c6b82;--lo:#1c2330}

.r1-hw-switch{
  --sw-slot-x:18.6201%;--sw-slot-y:63.3898%;
  background:radial-gradient(ellipse 68% 64% at 50% 42%,#242a38 0%,#0b0e14 78%);
  overflow:hidden;
}
.r1-hw-switch[data-state="ready"]{
  background:radial-gradient(ellipse 52% 50% at 30% 34%,rgba(52,211,123,.14),transparent 60%),radial-gradient(ellipse 68% 64% at 50% 42%,#242a38 0%,#0b0e14 78%);
}
.r1-hw-switch[data-state="input"]{
  background:radial-gradient(ellipse 52% 50% at 30% 34%,rgba(245,176,65,.16),transparent 60%),radial-gradient(ellipse 68% 64% at 50% 42%,#242a38 0%,#0b0e14 78%);
}
.r1-hw-visual .rb-switch-shot{position:relative;width:min(76%,640px);line-height:0}
.r1-hw-switch .rb-switch-still{display:block;width:100%;height:auto;filter:drop-shadow(0 28px 24px rgba(0,0,0,.78))}
.r1-hw-switch .rb-switch-dim{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;clip-path:ellipse(1.3% 3.2% at 23.821% 16.384%)}
.r1-hw-switch[data-state="ready"] .rb-switch-dim{animation:r1-breathe 4s ease-in-out infinite}
@keyframes r1-breathe{50%{opacity:.9}}
.r1-hw-switch .rb-switch-handle{position:absolute;left:var(--sw-slot-x);top:var(--sw-slot-y);width:20%;height:40%;min-width:44px;min-height:44px;transform:translate(-50%,-50%);margin:0;padding:0;border:0;border-radius:20px;background:transparent;cursor:grab;touch-action:pan-y}
.r1-hw-switch .rb-switch-callout{position:absolute;left:50%;bottom:calc(100% + 14px);transform:translateX(-50%);white-space:nowrap;font-weight:600;font-size:11.5px;line-height:1.2;background:#f5f5f7;color:#0b0d14;padding:6px 11px;border-radius:999px;box-shadow:0 8px 20px rgba(0,0,0,.45)}
.r1-hw-switch .rb-switch-callout::after{content:"";position:absolute;height:12px;width:1px;top:100%;left:50%;background:rgba(255,255,255,.55)}
.r1-hw-switch .rb-switch-mechanism{opacity:0;position:absolute;inset:0;pointer-events:none}
.r1-hw-switch .rb-switch-mechanism img{position:absolute;height:auto}
.r1-hw-switch .rb-switch-track{left:10.8478%;top:50.9113%;width:15.5567%}
.r1-hw-switch .rb-switch-knob{left:calc(11.8774% + var(--sw-travel,1)*4.0033%);top:56.5261%;width:9.4935%}
.r1-hw-switch .rb-switch-shot[data-dragging="true"] .rb-switch-mechanism{opacity:1}

.r1-hw-options{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.r1-hw-options button{
  border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:7px 14px;
  background:rgba(255,255,255,.06);color:#cfd5e3;font-family:var(--font-display);font-size:12.5px;font-weight:540;cursor:pointer;
  transition:background-color .16s,color .16s,border-color .16s;
}
.r1-hw-options button:hover{border-color:rgba(255,255,255,.35);color:#fff}
.r1-hw-options button[aria-pressed="true"]{background:var(--platinum);color:#0b0d14;border-color:transparent;font-weight:620}
.r1-hw-switch .rb-switch-reading,.r1-hw-explore .rb-explore-caption{width:100%}

.r1-hw-explore{background:radial-gradient(ellipse 66% 62% at 50% 42%,#242a38 0%,#0b0e14 78%)}
.r1-explore-view{position:relative;width:100%}
.r1-explore-view img{width:min(58%,490px);height:auto;filter:drop-shadow(0 26px 22px rgba(0,0,0,.78))}
.r1-explore-view canvas{position:absolute;inset:0;width:100%;height:100%;visibility:hidden;touch-action:pan-y}
.r1-hw-explore[data-3d="ready"] canvas{visibility:visible}
.r1-hw-explore[data-3d="ready"] .rb-explore-still{visibility:hidden}
.r1-hw-explore .rb-explore-intro{flex:1;min-width:140px}
.r1-hw-explore .r1-hw-options{width:100%}

.r1-hw-specs{
  display:block;max-width:1120px;margin:22px auto 0;
  border-block:1px solid var(--border-strong);padding:0 4px;scroll-margin-top:96px;
}
.r1-hw-specs summary{
  list-style:none;cursor:pointer;font-family:var(--font-display);font-weight:600;font-size:18px;
  display:flex;justify-content:space-between;align-items:center;padding:20px 0;color:var(--ink);
}
.r1-hw-specs summary::-webkit-details-marker{display:none}
.r1-hw-specs summary::after{content:"+";font-size:22px;font-weight:400;color:var(--muted)}
.r1-hw-specs[open] summary::after{content:"−"}
.r1-hw-specs dl{display:grid;grid-template-columns:repeat(4,1fr);gap:18px 22px;margin:6px 0 20px}
.r1-hw-specs dt{font-size:12px;color:var(--muted)}
.r1-hw-specs dd{margin-top:4px;font-size:15px;font-weight:580;color:var(--ink)}
.r1-hw-specs>p{padding-bottom:18px}

.r1-hw-bar{max-width:1120px;margin:18px auto 0;display:flex;justify-content:flex-end}
.r1-hw-gallery-link{font-family:var(--font-display);font-size:14.5px;font-weight:580;color:var(--accent);text-decoration:none}
.r1-hw-gallery-link:hover{color:var(--accent-hover);text-decoration:underline;text-underline-offset:4px}

@media(max-width:760px){
  .r1-hw-workbench{min-height:clamp(350px,80vw,460px)}
  .r1-hw-specs dl{grid-template-columns:1fr 1fr}
  .r1-hw-tabs{top:12px;left:12px}
  .r1-hw-tabs a{padding:7px 12px;font-size:12.5px}
  .r1-hw-caption{gap:8px 10px}
  .r1-hw-visual{min-height:150px}
  .r1-hw-bar{justify-content:flex-start}
}
@media(prefers-reduced-motion:reduce){.r1-hw-switch .rb-switch-dim{animation:none!important}}
