:root {
  color-scheme: light;
  --paper: #ffffff;
  --canvas: #f1f4f4;
  --canvas-deep: #dfe6e7;
  --ink: #142126;
  --muted: #5a6b72;
  --line: #d6dfe1;
  --line-strong: #aebdc1;
  --accent: #087b71;
  --accent-dark: #075e57;
  --accent-soft: #e3f3f0;
  --coral: #c95f3c;
  --gold: #b48a3d;
  --focus: rgba(8, 123, 113, 0.28);
  --shadow-soft: 0 14px 34px rgba(20, 33, 38, 0.08);
  --shadow-card: 0 18px 38px rgba(20, 33, 38, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
}

button {
  font: inherit;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

h2[tabindex="-1"]:focus {
  outline: none;
}

h3[tabindex="-1"]:focus {
  outline: none;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 9px clamp(18px, 3.2vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, #24383e, #112429);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 6px 14px rgba(17,36,41,0.16);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
  overflow: visible;
  fill: none;
  stroke: #7ee0d4;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark svg circle {
  fill: #7ee0d4;
  stroke: none;
}

.brand h1 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0;
}

.brand p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: min(310px, 32vw);
}

.progress-wrap > span {
  min-width: 62px;
  color: #3d4f56;
  font-size: 13px;
  font-weight: 750;
  text-align: right;
}

.progress {
  height: 6px;
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8e9;
}

.progress span {
  display: block;
  width: 10%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #3bb1a5);
  transition: width 260ms ease;
}

main {
  min-height: calc(100vh - 64px);
}

.intro-view {
  width: min(1120px, calc(100% - 44px));
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: clamp(42px, 8vh, 86px) 0;
  display: flex;
  align-items: center;
}

.intro-content {
  width: min(860px, 100%);
}

.intro-content h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-content > p {
  max-width: 780px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.intro-content .intro-lead {
  margin-top: 24px;
  color: #34484f;
  font-size: 20px;
}

.intro-details {
  max-width: 780px;
  margin-top: 28px;
  padding: 15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #3e5259;
  font-size: 13px;
  font-weight: 740;
}

.intro-details span {
  padding: 0 18px;
  border-left: 1px solid var(--line);
}

.intro-details span:first-child {
  padding-left: 0;
  border-left: 0;
}

.intro-content .intro-researchers {
  margin-top: 22px;
  color: #34484f;
  font-size: 14px;
}

.intro-start {
  min-width: 210px;
  margin-top: 25px;
}

@media (min-width: 641px) and (max-height: 700px) {
  .intro-view {
    padding: 24px 0;
    align-items: flex-start;
  }

  .intro-content h2 {
    font-size: 44px;
  }

  .intro-content > p {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.4;
  }

  .intro-content .intro-lead {
    margin-top: 14px;
    font-size: 17px;
  }

  .intro-details {
    margin-top: 15px;
    padding: 10px 0;
  }

  .intro-content .intro-researchers {
    margin-top: 13px;
    font-size: 13px;
  }

  .intro-start {
    margin-top: 14px;
  }
}

.question-view {
  width: min(1220px, calc(100% - 44px));
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: clamp(26px, 4vh, 44px) 0 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(16px, 2.4vh, 24px);
}

.question-header {
  max-width: 830px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.question-header h2,
.result-heading h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.question-context {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.question-context:empty {
  display: none;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
}

.answer-area {
  display: grid;
  align-content: start;
  gap: 12px;
}

.more-options-hint {
  display: none;
}

.question-note {
  margin: 0;
  padding: 10px 13px;
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  color: #465a61;
  background: #f2f7f6;
  font-size: 13px;
  line-height: 1.4;
}

.question-error {
  margin: 0;
  padding: 10px 13px;
  border-left: 3px solid var(--coral);
  border-radius: 4px;
  color: #7a321f;
  background: #fff1ec;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.4;
}

.option-grid[aria-invalid="true"] .option-card {
  border-color: #d69a87;
}

.option-card {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 248px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 154px auto;
  text-align: left;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(20,33,38,0.02);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.option-card:hover {
  transform: translateY(-2px);
  border-color: #9badaf;
  box-shadow: var(--shadow-soft);
}

.option-card[aria-checked="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(8,123,113,0.12), var(--shadow-card);
}

.option-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,0.98), rgba(255,255,255,0.2) 44%, transparent 66%),
    linear-gradient(150deg, #eef3f3, #dbe4e6);
  border-bottom: 1px solid var(--line);
  perspective: 500px;
}

.option-visual::after {
  content: "";
  position: absolute;
  width: 44%;
  height: 12px;
  left: 28%;
  bottom: 20px;
  border-radius: 50%;
  background: rgba(27,43,49,0.15);
  filter: blur(8px);
}

.option-copy {
  position: relative;
  min-height: 92px;
  padding: 17px 48px 18px 18px;
}

.option-copy::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: 18px;
  top: 18px;
  border: 1.5px solid #a7b5ba;
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px #fff;
  transition: background 140ms ease, border-color 140ms ease;
}

.option-card[aria-checked="true"] .option-copy::after {
  border-color: var(--accent);
  background: var(--accent);
}

.option-title {
  display: block;
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 780;
  line-height: 1.2;
}

.option-detail {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.question-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 2px;
}

.button {
  appearance: none;
  min-width: 128px;
  min-height: 46px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  font-weight: 760;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.button:hover {
  border-color: #809499;
  background: #f7f9f9;
}

.button-primary {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 10px 22px rgba(8,123,113,0.2);
}

.button-primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

/* Product previews */
.mini-product {
  position: relative;
  z-index: 2;
  width: 172px;
  height: 78px;
  border-radius: 17px;
  background: linear-gradient(145deg, #3d5057, #17282e 66%);
  border: 1px solid #132229;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 15px 24px rgba(18,31,36,0.24);
  transform: rotateX(8deg) rotateY(-13deg);
  transition: transform 220ms ease;
}

.option-card:hover .mini-product {
  transform: rotateX(4deg) rotateY(-5deg) translateY(-2px);
}

.mini-screen {
  position: absolute;
  left: 17px;
  top: 15px;
  width: 90px;
  height: 31px;
  border: 1px solid rgba(101,214,201,0.54);
  border-radius: 4px;
  background: linear-gradient(160deg, #061516, #0a2927);
  box-shadow: inset 0 0 12px rgba(65,189,175,0.12);
}

.mini-screen::before,
.mini-screen::after {
  content: "";
  position: absolute;
  left: 8px;
  height: 3px;
  border-radius: 4px;
  background: #71dacf;
}

.mini-screen::before {
  top: 8px;
  width: 35px;
}

.mini-screen::after {
  top: 17px;
  width: 55px;
  opacity: 0.58;
}

.mini-control {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: conic-gradient(#7a898e, #e7edef, #65757a, #aeb9bd, #6d7c81);
  border: 1px solid #66767b;
  box-shadow: 0 4px 7px rgba(0,0,0,0.28);
}

.mini-control::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #1a2a30;
}

.mini-usb {
  position: absolute;
  right: -25px;
  top: 29px;
  width: 27px;
  height: 18px;
  border-radius: 3px;
  border: 1px solid #79898f;
  background: linear-gradient(#d7dfe1, #8a999e);
}

.mini-loop {
  display: none;
  position: absolute;
  left: -22px;
  top: 15px;
  width: 32px;
  height: 32px;
  border: 5px solid #a6b1b5;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px #66757a;
}

.visual-shape[data-value="token"] .mini-product {
  width: 190px;
  height: 68px;
  border-radius: 10px;
}

.visual-shape[data-value="key"] .mini-product {
  width: 132px;
  height: 91px;
  border-radius: 28px;
}

.visual-shape[data-value="key"] .mini-loop {
  display: block;
  left: -18px;
  top: 8px;
}

.visual-shape[data-value="key"] .mini-screen {
  width: 68px;
}

.visual-shape[data-value="card"] .mini-product {
  width: 194px;
  height: 108px;
  border-radius: 12px;
}

.visual-shape[data-value="palm"] .mini-product {
  width: 104px;
  height: 132px;
  border-radius: 18px;
}

.visual-shape[data-value="palm"] .mini-screen {
  left: 12px;
  right: 12px;
  width: auto;
  height: 57px;
}

.visual-shape[data-value="palm"] .mini-control {
  right: 36px;
  bottom: 16px;
}

.visual-power .mini-product {
  width: 150px;
}

.power-badge {
  position: absolute;
  z-index: 4;
  right: calc(50% - 106px);
  top: 28px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 6px 14px rgba(8,123,113,0.2);
  font-size: 18px;
  font-weight: 800;
}

.visual-power[data-value="minor"] .power-badge,
.visual-power[data-value="serious"] .power-badge {
  background: var(--gold);
}

.visual-power[data-value="reject"] .power-badge {
  background: var(--coral);
}

.visual-connection .mini-product,
.visual-displayMode .mini-product {
  width: 154px;
  height: 92px;
}

.visual-connection[data-value="cable"] .mini-usb {
  right: -67px;
  top: 46px;
  width: 22px;
  height: 14px;
}

.visual-connection[data-value="cable"] .mini-product::after,
.visual-connection[data-value="port"] .mini-product::after {
  content: "";
  position: absolute;
  right: -51px;
  top: 41px;
  width: 52px;
  height: 29px;
  border-top: 4px solid #33484f;
  border-right: 4px solid #33484f;
  border-radius: 0 15px 0 0;
}

.visual-connection[data-value="port"] .mini-usb {
  width: 11px;
  right: -5px;
  background: #0d181c;
  box-shadow: inset 0 0 0 2px #839398;
}

.visual-connection[data-value="cap"] .mini-usb::after {
  content: "";
  position: absolute;
  left: 33px;
  top: -7px;
  width: 35px;
  height: 29px;
  border: 2px solid #9ba9ad;
  border-radius: 6px;
  background: #edf2f3;
}

.visual-displayMode[data-value="mini"] .mini-screen {
  width: 58px;
  height: 24px;
}

.visual-displayMode[data-value="small"] .mini-screen {
  width: 92px;
  height: 45px;
}

.visual-displayMode[data-value="large"] .mini-screen {
  inset: 12px 13px 35px;
  width: auto;
  height: auto;
}

.control-model {
  position: relative;
  z-index: 2;
  width: 176px;
  height: 96px;
  border-radius: 18px;
  background: linear-gradient(145deg, #3d5057, #17282e);
  border: 1px solid #132229;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 15px 24px rgba(18,31,36,0.22);
  transform: rotateX(14deg) rotateY(-8deg);
}

.control-model .screen-slit {
  position: absolute;
  left: 18px;
  top: 17px;
  width: 74px;
  height: 23px;
  border-radius: 4px;
  background: #092321;
  border: 1px solid #418d85;
}

.control-pieces {
  position: absolute;
  right: 24px;
  bottom: 19px;
  width: 56px;
  height: 45px;
}

.visual-control[data-value="buttons"] .control-pieces {
  display: flex;
  align-items: center;
  gap: 6px;
}

.visual-control[data-value="buttons"] .control-pieces i {
  width: 14px;
  height: 26px;
  border-radius: 4px;
  background: linear-gradient(#e5ebed, #94a4a9);
  box-shadow: 0 3px 4px rgba(0,0,0,0.25);
}

.visual-control[data-value="ring"] .control-pieces {
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: conic-gradient(#7b8c91, #eef2f3, #5c6d73, #bdc6c9, #66787e);
  box-shadow: 0 5px 8px rgba(0,0,0,0.3);
}

.visual-control[data-value="ring"] .control-pieces::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: #16262c;
}

.visual-control[data-value="dpad"] .control-pieces::before,
.visual-control[data-value="dpad"] .control-pieces::after {
  content: "";
  position: absolute;
  border-radius: 5px;
  background: linear-gradient(#dce4e6, #91a1a6);
}

.visual-control[data-value="dpad"] .control-pieces::before {
  width: 20px;
  height: 54px;
  left: 18px;
  top: -4px;
}

.visual-control[data-value="dpad"] .control-pieces::after {
  width: 56px;
  height: 20px;
  left: 0;
  top: 13px;
}

.visual-control[data-value="touch"] .control-model .screen-slit {
  left: 18px;
  right: 18px;
  top: 14px;
  bottom: 14px;
  width: auto;
  height: auto;
  background: linear-gradient(155deg, #0a2927, #0f3a36);
}

.visual-control[data-value="touch"] .control-pieces {
  display: none;
}

.visual-control[data-value="keypad"] .control-pieces {
  width: 62px;
  height: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.visual-control[data-value="keypad"] .control-pieces i {
  border-radius: 3px;
  background: linear-gradient(#e4eaec, #96a5aa);
  box-shadow: 0 2px 3px rgba(0,0,0,0.24);
}

.screen-card {
  position: relative;
  z-index: 2;
  width: 196px;
  height: 108px;
  padding: 15px 17px;
  overflow: hidden;
  border: 7px solid #263b41;
  border-radius: 10px;
  color: #9af0e5;
  background: linear-gradient(155deg, #071819, #0b2a28);
  box-shadow: 0 15px 24px rgba(18,31,36,0.22), inset 0 0 18px rgba(71,193,179,0.08);
  transform: rotateX(8deg) rotateY(-7deg);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.screen-card strong,
.screen-card span {
  display: block;
  white-space: nowrap;
}

.screen-card strong {
  margin-bottom: 9px;
  font-size: 12px;
}

.screen-card span {
  margin: 4px 0;
  color: rgba(154,240,229,0.68);
  font-size: 11px;
}

.screen-card span.active {
  width: fit-content;
  padding: 2px 5px;
  border-radius: 3px;
  color: #071819;
  background: #9af0e5;
}

.gesture-symbol {
  position: absolute;
  z-index: 4;
  right: calc(50% - 116px);
  bottom: 25px;
  min-width: 42px;
  height: 31px;
  padding: 0 9px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #24363d;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 6px 14px rgba(20,33,38,0.14);
  font-size: 11px;
  font-weight: 800;
}

.recovery-object {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 13px 12px rgba(20,33,38,0.2));
}

.recovery-card-object {
  width: 174px;
  height: 99px;
  padding: 18px;
  border: 1px solid #c7d1d4;
  border-radius: 7px;
  background: #fff;
  transform: rotateX(8deg) rotateZ(-3deg);
}

.recovery-card-object::before,
.recovery-card-object::after {
  content: "";
  display: block;
  height: 6px;
  margin-bottom: 11px;
  border-radius: 4px;
  background: #87999f;
}

.recovery-card-object::after {
  width: 65%;
  background: #b7c4c8;
}

.recovery-sd-object {
  width: 78px;
  height: 104px;
  border-radius: 7px 7px 11px 11px;
  background: linear-gradient(145deg, #3d4d53, #15252b);
  border: 1px solid #0c181c;
  transform: rotateZ(5deg);
}

.recovery-sd-object::before {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  top: 10px;
  height: 28px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, #c6a252 0 8px, transparent 8px 12px);
}

.recovery-twin-object {
  width: 118px;
  height: 82px;
  border-radius: 20px;
  background: linear-gradient(145deg, #405259, #192a30);
  border: 1px solid #102025;
  box-shadow: 18px 13px 0 #8f9da1;
}

.recovery-key-object {
  width: 152px;
  height: 50px;
  border-radius: 8px;
  background: linear-gradient(145deg, #405259, #192a30);
}

.recovery-key-object::after {
  content: "";
  position: absolute;
  right: -47px;
  top: 14px;
  width: 58px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(#d1dadd, #8d9ba0);
}

.unclear-mark {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 2px solid #7f9298;
  border-radius: 50%;
  color: #496068;
  background: rgba(255,255,255,0.76);
  font-size: 42px;
  font-weight: 700;
}

/* Final 3D reveal */
.result-view {
  width: min(1500px, calc(100% - 48px));
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: 20px 0 24px;
}

.result-view[hidden] {
  display: none;
}

.result-heading {
  min-height: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 10px;
}

.result-heading h2 {
  font-size: clamp(30px, 3vw, 44px);
}

.product-stage {
  position: relative;
  width: 100%;
  height: clamp(300px, 40vh, 410px);
  min-height: 300px;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,0.98), rgba(255,255,255,0.14) 43%, transparent 65%),
    linear-gradient(145deg, #eef2f2, #cfdadd);
  box-shadow: inset 0 1px 0 rgba(55,75,82,0.11), inset 0 -1px 0 rgba(55,75,82,0.11);
}

#productCanvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

#productCanvas:active {
  cursor: grabbing;
}

#productCanvas.is-over-control {
  cursor: pointer;
}

#productCanvas:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -4px;
}

.stage-loading {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  color: #40545b;
  background: rgba(237,242,242,0.92);
  font-weight: 720;
  transition: opacity 200ms ease;
}

.stage-loading.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.stage-message {
  position: absolute;
  z-index: 2;
  left: 22px;
  top: 22px;
  max-width: min(430px, calc(100% - 44px));
  padding: 10px 13px;
  border-left: 3px solid var(--accent);
  border-radius: 5px;
  color: #33474f;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 20px rgba(20,33,38,0.1);
  font-size: 13px;
  line-height: 1.4;
}

.stage-scale {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #52666d;
  font-size: 11px;
  font-weight: 650;
}

.stage-scale span {
  width: 68px;
  height: 8px;
  border-left: 1px solid #52666d;
  border-right: 1px solid #52666d;
  border-bottom: 1px solid #52666d;
}

.demo-controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.demo-button {
  appearance: none;
  min-width: 0;
  min-height: 54px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #33474f;
  background: #fff;
  font-weight: 750;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.demo-button:hover {
  border-color: #8da0a5;
  background: #f7f9f9;
}

.demo-button.is-active {
  color: #fff;
  border-color: #20383e;
  background: #20383e;
}

.demo-button.is-complete {
  border-color: #89bcb5;
  background: #edf8f6;
}

.demo-button.is-active.is-complete {
  color: #fff;
  border-color: #20383e;
  background: #20383e;
}

.demo-button.is-complete:not(.is-active)::after {
  content: "✓";
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.demo-index {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
}

.demo-button.is-active .demo-index {
  color: #79ddd1;
}

.result-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.closing-view {
  width: min(960px, calc(100% - 44px));
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: 28px 0 30px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 960px) {
  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .question-view {
    min-height: auto;
  }

  .demo-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    position: relative;
    min-height: 60px;
    align-items: center;
    padding: 9px 14px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .brand-mark svg {
    width: 22px;
    height: 22px;
  }

  .brand h1 {
    font-size: 15px;
  }

  .brand p {
    display: none;
  }

  .progress-wrap {
    min-width: 78px;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  .progress-wrap > span {
    min-width: 0;
  }

  .progress {
    width: 76px;
    flex: 0 0 5px;
  }

  .intro-view {
    width: calc(100% - 28px);
    min-height: calc(100vh - 60px);
    padding: 28px 0 32px;
    align-items: flex-start;
  }

  .intro-content h2 {
    font-size: 34px;
    line-height: 1.06;
  }

  .intro-content > p {
    margin-top: 11px;
    font-size: 14px;
    line-height: 1.45;
  }

  .intro-content .intro-lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .intro-details {
    margin-top: 20px;
    padding: 10px 0;
    display: grid;
    gap: 5px;
  }

  .intro-details span {
    padding: 0;
    border-left: 0;
  }

  .intro-content .intro-researchers {
    margin-top: 16px;
    font-size: 13px;
  }

  .intro-start {
    width: 100%;
    margin-top: 19px;
  }

  main {
    min-height: 0;
  }

  .question-view {
    width: calc(100% - 28px);
    padding: 30px 0 20px;
    gap: 23px;
  }

  .question-header h2,
  .result-heading h2 {
    font-size: 29px;
  }

  .question-context {
    font-size: 14px;
  }

  .option-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .option-card {
    min-height: 220px;
    grid-template-rows: 130px auto;
  }

  .option-copy {
    min-height: 88px;
  }

  .question-nav {
    position: sticky;
    bottom: 0;
    z-index: 12;
    margin: 0 -14px -20px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 -8px 20px rgba(20,33,38,0.08);
    backdrop-filter: blur(10px);
  }

  .result-view {
    width: calc(100% - 28px);
    padding: 16px 0 20px;
  }

  .result-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .product-stage {
    height: 450px;
    min-height: 450px;
  }

  .stage-message {
    left: 12px;
    top: 12px;
    max-width: calc(100% - 24px);
    font-size: 12px;
  }

  .stage-scale {
    display: none;
  }

  .demo-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-button {
    min-height: 50px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  .option-card,
  .button,
  .demo-button {
    border-width: 2px;
  }
}

/* Configurator v4 */
.option-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.option-count-4 .option-card {
  min-height: 232px;
}

.option-count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.option-count-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.question-power .option-card {
  min-height: 142px;
  grid-template-rows: 1fr;
}

.question-power .option-visual {
  display: none;
}

.question-power .option-copy {
  min-height: 142px;
  padding-top: 24px;
}

.option-card[aria-checked="true"] .option-visual:not(.visual-protection):not(.visual-connection):not(.visual-carry) {
  background:
    radial-gradient(circle at 50% 45%, #fff, rgba(255,255,255,0.22) 48%, transparent 68%),
    linear-gradient(150deg, #e9f4f2, #d3e5e4);
}

.option-visual > div {
  position: relative;
  z-index: 2;
}

.power-scene {
  width: 208px;
  height: 108px;
  transform: rotateX(8deg) rotateY(-8deg);
}

.power-device {
  position: absolute;
  left: 10px;
  top: 17px;
  width: 104px;
  height: 72px;
  border: 1px solid #17282d;
  border-radius: 17px;
  background: linear-gradient(145deg, #41555b, #172a30 70%);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.18), 0 15px 20px rgba(22,38,44,.22);
}

.power-device i {
  position: absolute;
  inset: 16px 18px 27px;
  border: 1px solid #3e877f;
  border-radius: 4px;
  background: #071d1c;
}

.power-device i::before {
  content: "PRONTO";
  position: absolute;
  left: 7px;
  top: 6px;
  color: #83e3d7;
  font: 700 8px ui-monospace, monospace;
}

.power-cable {
  position: absolute;
  left: 110px;
  top: 52px;
  width: 72px;
  height: 34px;
  border-top: 5px solid #33484e;
  border-right: 5px solid #33484e;
  border-radius: 0 18px 0 0;
}

.power-cable::after {
  content: "";
  position: absolute;
  right: -17px;
  bottom: -8px;
  width: 22px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(#d9e0e2, #839398);
  border: 1px solid #6f8085;
}

.power-state {
  position: absolute;
  right: 2px;
  top: 0;
  min-width: 44px;
  height: 28px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 7px 14px rgba(8,123,113,.2);
  font-size: 10px;
  font-weight: 850;
}

.visual-power[data-value="uncomfortable"] .power-state,
.visual-power[data-value="reject"] .power-state {
  background: var(--coral);
}

.carry-scene {
  width: 210px;
  height: 118px;
}

.neutral-device {
  position: absolute;
  left: 66px;
  top: 15px;
  width: 98px;
  height: 88px;
  border: 1px solid #17282d;
  border-radius: 22px;
  background: linear-gradient(145deg, #40545a, #192c31 72%);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.17), 0 16px 23px rgba(20,35,40,.24);
  transform: rotateY(-8deg);
}

.neutral-device::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 20px;
  width: 61px;
  height: 25px;
  border: 1px solid #468b84;
  border-radius: 4px;
  background: #092220;
}

.visual-carry[data-value="ring"] .carry-part {
  position: absolute;
  left: 22px;
  top: 30px;
  width: 58px;
  height: 58px;
  border: 8px solid #aeb9bd;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px #68787d, 0 8px 12px rgba(31,47,52,.18);
}

.visual-carry[data-value="clip"] .carry-part {
  position: absolute;
  right: 34px;
  top: 27px;
  width: 18px;
  height: 72px;
  border: 4px solid #9eacb0;
  border-left: 0;
  border-radius: 0 11px 11px 0;
  transform: rotate(-6deg);
}

.visual-carry[data-value="pocket"] .carry-anchor {
  position: absolute;
  left: 46px;
  top: 9px;
  width: 126px;
  height: 102px;
  border: 3px solid #72868b;
  border-top: 0;
  border-radius: 5px 5px 34px 34px;
  background: #cbd7d9;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}

.visual-carry[data-value="pocket"] .carry-anchor::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  border-top: 2px dashed #83969b;
}

.visual-carry[data-value="pocket"] .neutral-device {
  left: 63px;
  top: 20px;
  transform: scale(.82) rotate(-4deg);
}

.visual-carry[data-value="bag"] .carry-anchor {
  position: absolute;
  left: 35px;
  top: 23px;
  width: 148px;
  height: 89px;
  border: 3px solid #6f8287;
  border-radius: 15px 15px 8px 8px;
  background: #b8c8cb;
}

.visual-carry[data-value="bag"] .carry-anchor::before {
  content: "";
  position: absolute;
  left: 37px;
  top: -30px;
  width: 68px;
  height: 42px;
  border: 6px solid #6f8287;
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
}

.visual-carry[data-value="bag"] .neutral-device {
  left: 61px;
  top: 29px;
  transform: scale(.7);
}

.visual-carry[data-value="lanyard"] .carry-part {
  position: absolute;
  left: 36px;
  top: -24px;
  width: 73px;
  height: 86px;
  border: 6px solid #64787e;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.visual-carry[data-value="lanyard"] .carry-part::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: 3px;
  width: 20px;
  height: 26px;
  border-radius: 5px;
  background: #aab6ba;
}

.visual-carry[data-value="wrist"] .carry-part {
  position: absolute;
  left: 90px;
  top: -35px;
  width: 46px;
  height: 190px;
  border-radius: 18px;
  background: linear-gradient(90deg, #182a30, #53676d, #182a30);
  transform: rotate(8deg);
  z-index: -1;
}

.shape-object {
  width: 128px;
  height: 112px;
  border: 1px solid #16272c;
  border-radius: 24px;
  background: linear-gradient(145deg, #41555b, #172a30 72%);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.18), 0 18px 25px rgba(20,35,40,.24);
  transform: rotateX(9deg) rotateY(-9deg);
}

.visual-shape[data-value="round"] .shape-object {
  width: 118px;
  height: 118px;
  border-radius: 50%;
}

.visual-shape[data-value="square"] .shape-object {
  width: 118px;
  height: 118px;
}

.visual-shape[data-value="portrait"] .shape-object {
  width: 92px;
  height: 128px;
}

.visual-shape[data-value="landscape"] .shape-object {
  width: 164px;
  height: 96px;
}

.neutral-screen {
  position: absolute;
  left: 22%;
  right: 22%;
  top: 28%;
  height: 29%;
  border: 1px solid #498f87;
  border-radius: 4px;
  background: #08201f;
}

.hand-scale {
  width: 218px;
  height: 118px;
}

.scale-finger {
  position: absolute;
  bottom: 4px;
  width: 44px;
  height: 88px;
  border-radius: 23px 23px 8px 8px;
  background: #e6c6b1;
  box-shadow: inset -8px 0 12px rgba(122,77,54,.08);
}

.scale-finger.one { left: 20px; transform: rotate(-8deg); }
.scale-finger.two { right: 18px; transform: rotate(9deg); }

.size-object {
  position: absolute;
  left: 72px;
  top: 19px;
  width: 78px;
  height: 92px;
  border-radius: 19px;
  background: linear-gradient(145deg, #40545a, #192b31);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.16), 0 13px 19px rgba(20,35,40,.24);
}

.size-object i {
  position: absolute;
  inset: 18px 16px 38px;
  border: 1px solid #408980;
  border-radius: 4px;
  background: #08201f;
}

.visual-size[data-value="compact"] .size-object { width: 65px; height: 77px; left: 78px; top: 31px; }
.visual-size[data-value="readable"] .size-object { width: 94px; height: 108px; left: 64px; top: 4px; border-radius: 23px; }

.impact-scene {
  width: 210px;
  height: 120px;
}

.protected-object {
  position: absolute;
  left: 62px;
  top: 8px;
  width: 108px;
  height: 96px;
  border: 1px solid #17282d;
  border-radius: 22px;
  background: linear-gradient(145deg, #41555b, #172a30);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.18), 0 14px 21px rgba(20,35,40,.24);
  transform: rotate(-4deg);
}

.protected-object i {
  position: absolute;
  inset: 19px 19px 45px;
  border: 1px solid #478b84;
  border-radius: 4px;
  background: #071f1e;
}

.visual-protection[data-value="bumper"] .protected-object {
  border: 7px solid #30464c;
}

.visual-protection[data-value="shell"] .protected-object {
  box-shadow: 9px 8px 0 #7c8e93, inset 0 2px 1px rgba(255,255,255,.18), 0 14px 21px rgba(20,35,40,.24);
}

.surface {
  position: absolute;
  left: 27px;
  right: 14px;
  bottom: 3px;
  height: 7px;
  border-radius: 50%;
  background: #8a9b9f;
}

.impact-lines {
  position: absolute;
  left: 43px;
  top: 76px;
  width: 22px;
  height: 22px;
  border-left: 3px solid var(--coral);
  border-bottom: 3px solid var(--coral);
  transform: rotate(24deg);
}

.connect-scene {
  width: 224px;
  height: 116px;
}

.connect-device {
  position: absolute;
  left: 3px;
  top: 16px;
  width: 102px;
  height: 86px;
  border: 1px solid #17282d;
  border-radius: 20px;
  background: linear-gradient(145deg, #41555b, #172a30);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.18), 0 14px 21px rgba(20,35,40,.24);
}

.connect-device i {
  position: absolute;
  inset: 17px 18px 42px;
  border: 1px solid #478b84;
  background: #071f1e;
}

.host-port {
  position: absolute;
  right: 0;
  top: 20px;
  width: 62px;
  height: 82px;
  border: 7px solid #263a40;
  border-radius: 8px;
  background: #ecf2f3;
  box-shadow: 0 12px 18px rgba(20,35,40,.16);
}

.host-port::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 45px;
  width: 12px;
  height: 17px;
  border-radius: 3px;
  background: #0d1a1e;
}

.connect-lead {
  position: absolute;
  left: 98px;
  top: 58px;
  width: 70px;
  height: 32px;
  border-top: 5px solid #33484e;
  border-right: 5px solid #33484e;
  border-radius: 0 18px 0 0;
}

.visual-connection[data-value="direct"] .connect-lead {
  width: 58px;
  height: 19px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(#d7dfe1, #839398);
}

.visual-connection[data-value="separate"] .connect-lead::after {
  content: "";
  position: absolute;
  left: -9px;
  top: -9px;
  width: 18px;
  height: 15px;
  border-radius: 3px;
  background: #aebbc0;
}

.control-device {
  width: 184px;
  height: 112px;
  border: 1px solid #17282d;
  border-radius: 22px;
  background: linear-gradient(145deg, #41555b, #172a30);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.18), 0 16px 23px rgba(20,35,40,.24);
  transform: rotateX(7deg) rotateY(-7deg);
}

.control-screen {
  position: absolute;
  left: 15px;
  top: 17px;
  width: 96px;
  height: 72px;
  padding: 8px;
  border: 1px solid #478b84;
  border-radius: 5px;
  background: #071f1e;
}

.control-screen b {
  display: block;
  margin: 2px 0;
  color: rgba(138,232,220,.58);
  font: 600 8px ui-monospace, monospace;
}

.control-screen b.active {
  padding: 2px 3px;
  color: #071f1e;
  background: #8ae8dc;
}

.control-part {
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: 43px;
  height: 43px;
}

.visual-control[data-value="dial"] .control-part {
  border-radius: 50%;
  background: conic-gradient(#697b80, #e3e9eb, #54676c, #aab6b9, #63757a);
  box-shadow: 0 5px 8px rgba(0,0,0,.3);
}

.visual-control[data-value="dial"] .control-part::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: #16272c;
}

.visual-control[data-value="dpad"] .control-part::before,
.visual-control[data-value="dpad"] .control-part::after {
  content: "";
  position: absolute;
  border-radius: 4px;
  background: linear-gradient(#dbe3e5, #8b9ba0);
}

.visual-control[data-value="dpad"] .control-part::before { width: 17px; height: 47px; left: 13px; top: -2px; }
.visual-control[data-value="dpad"] .control-part::after { width: 43px; height: 17px; left: 0; top: 13px; }

.visual-control[data-value="buttons"] .control-part {
  display: flex;
  align-items: center;
  gap: 4px;
}

.visual-control[data-value="buttons"] .control-part i {
  width: 12px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(#dbe3e5, #8b9ba0);
  box-shadow: 0 3px 5px rgba(0,0,0,.25);
}

.control-device em {
  position: absolute;
  right: 13px;
  top: 15px;
  color: #7fe1d5;
  font: 700 8px ui-monospace, monospace;
  font-style: normal;
}

.privacy-screen,
.unlock-screen {
  width: 198px;
  height: 105px;
  padding: 16px 18px;
  border: 7px solid #263b40;
  border-radius: 10px;
  color: #9af0e5;
  background: linear-gradient(155deg, #071819, #0b2a28);
  box-shadow: 0 16px 24px rgba(18,31,36,.22), inset 0 0 18px rgba(71,193,179,.08);
  transform: rotateX(8deg) rotateY(-7deg);
  font-family: ui-monospace, monospace;
}

.privacy-screen b,
.privacy-screen span,
.privacy-screen i,
.unlock-screen b,
.unlock-screen span {
  display: block;
}

.privacy-screen b,
.unlock-screen b { margin-bottom: 12px; font-size: 11px; }
.privacy-screen span,
.unlock-screen span { font-size: 14px; font-weight: 700; }
.privacy-screen i { margin-top: 9px; color: rgba(154,240,229,.58); font-size: 8px; font-style: normal; }

.unlock-screen i {
  display: block;
  width: 100%;
  height: 5px;
  margin-top: 15px;
  border-radius: 5px;
  background: linear-gradient(90deg, #8de6da 74%, rgba(141,230,218,.2) 74%);
}

.unlock-screen.fingerprint {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.unlock-screen.fingerprint b {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.fingerprint-mark {
  position: relative;
  width: 35px;
  height: 40px;
  margin-left: 12px;
  border: 3px solid #9af0e5;
  border-top-color: transparent;
  border-bottom-color: rgba(154,240,229,.45);
  border-radius: 48% 48% 44% 44%;
}

.fingerprint-mark::before,
.fingerprint-mark::after {
  content: "";
  position: absolute;
  border: 2px solid #9af0e5;
  border-top-color: transparent;
  border-radius: 50%;
}

.fingerprint-mark::before { inset: 5px; }
.fingerprint-mark::after { inset: 11px 9px 4px; }

.unlock-screen.fingerprint small {
  max-width: 74px;
  color: rgba(154,240,229,.72);
  font-size: 8px;
  line-height: 1.35;
}

.setup-scene {
  width: 214px;
  height: 118px;
}

.setup-screen {
  position: absolute;
  left: 5px;
  top: 4px;
  width: 166px;
  height: 106px;
  padding: 13px 15px;
  border: 7px solid #263b40;
  border-radius: 10px;
  color: #9af0e5;
  background: #071c1b;
  box-shadow: 0 15px 22px rgba(18,31,36,.22);
  font-family: ui-monospace, monospace;
}

.setup-screen b,
.setup-screen span,
.setup-screen strong { display: block; }
.setup-screen b { margin-bottom: 7px; font-size: 8px; }
.setup-screen span { margin: 4px 0; color: rgba(154,240,229,.65); font-size: 8px; }
.setup-screen strong { width: fit-content; margin-top: 7px; padding: 3px 5px; color: #071c1b; background: #90e8dc; font-size: 8px; }

.setup-control {
  position: absolute;
  right: 2px;
  bottom: 17px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: conic-gradient(#697b80, #e3e9eb, #54676c, #aab6b9, #63757a);
  box-shadow: 0 5px 8px rgba(0,0,0,.3);
}

.setup-sd-scene {
  position: relative;
  width: 220px;
  height: 120px;
}

.setup-sd {
  position: absolute;
  left: 8px;
  top: 16px;
  width: 62px;
  height: 82px;
  border-radius: 5px 5px 10px 10px;
  background: linear-gradient(145deg, #405158, #14252b);
  box-shadow: 0 12px 18px rgba(20,35,40,.22);
}

.setup-sd i {
  position: absolute;
  left: 9px;
  right: 9px;
  top: 8px;
  height: 19px;
  background: repeating-linear-gradient(90deg, #c6a252 0 6px, transparent 6px 9px);
}

.import-sheet {
  position: absolute;
  right: 4px;
  top: 13px;
  width: 128px;
  height: 90px;
  padding: 13px 14px;
  border: 1px solid #bdc9cb;
  border-radius: 7px;
  color: #50646b;
  background: #fff;
  box-shadow: 0 11px 18px rgba(20,35,40,.15);
  font: 700 8px ui-monospace, monospace;
}

.import-sheet b,
.import-sheet span { display: block; }
.import-sheet b { margin-bottom: 12px; color: #1b343a; }
.import-sheet span { margin-top: 7px; border-bottom: 3px solid #a7b6b9; }

.setup-sd-scene > em {
  position: absolute;
  right: 16px;
  bottom: 7px;
  padding: 4px 7px;
  color: #fff;
  border-radius: 4px;
  background: var(--accent);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.setup-camera-scene {
  position: relative;
  width: 222px;
  height: 124px;
}

.camera-vault {
  position: absolute;
  left: 4px;
  top: 16px;
  width: 92px;
  height: 92px;
  border-radius: 20px;
  background: linear-gradient(145deg, #41565c, #172b30);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.18), 0 14px 22px rgba(20,35,40,.25);
}

.camera-vault i {
  position: absolute;
  right: 13px;
  top: 13px;
  width: 20px;
  height: 20px;
  border: 5px solid #697b80;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #66c5ba 0 8%, #12262b 26%, #020708 68%);
  box-shadow: 0 0 0 2px #17272c;
}

.camera-vault span {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 14px;
  height: 24px;
  border: 1px solid #438b83;
  background: #071c1b;
}

.scan-card {
  position: absolute;
  right: 2px;
  top: 20px;
  width: 98px;
  height: 82px;
  padding: 12px;
  border: 1px solid #b9c7c9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 18px rgba(24,43,49,.16);
}

.scan-card b {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 9px;
  background: repeating-conic-gradient(#263b40 0 25%, transparent 0 50%) 0 0 / 8px 8px;
}

.scan-card i {
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 6px;
  border-radius: 4px;
  background: #91a3a7;
}

.scan-card i:last-child { width: 42px; }

.scan-beam {
  position: absolute;
  z-index: 3;
  left: 88px;
  top: 25px;
  width: 3px;
  height: 74px;
  background: #1db7a7;
  box-shadow: 0 0 13px #1db7a7;
  animation: scan-account 1.8s ease-in-out infinite alternate;
}

@keyframes scan-account {
  from { transform: translateX(7px); }
  to { transform: translateX(108px); }
}

.recovery-scene {
  width: 220px;
  height: 120px;
}

.replacement {
  position: absolute;
  right: 2px;
  top: 12px;
  width: 82px;
  height: 98px;
  border-radius: 19px;
  background: linear-gradient(145deg, #41555b, #172a30);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.18), 0 14px 21px rgba(20,35,40,.24);
}

.replacement i {
  position: absolute;
  inset: 17px 14px 48px;
  border: 1px solid #478b84;
  background: #071f1e;
}

.recovery-piece {
  position: absolute;
  left: 22px;
  top: 26px;
  width: 46px;
  height: 62px;
  border-radius: 4px 4px 8px 8px;
  background: linear-gradient(145deg, #405158, #14252b);
  box-shadow: 0 10px 15px rgba(20,35,40,.2);
}

.recovery-piece::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 7px;
  height: 16px;
  background: repeating-linear-gradient(90deg, #c6a252 0 5px, transparent 5px 8px);
}

.recovery-piece.second { left: 55px; top: 35px; transform: rotate(8deg); }
.visual-recovery[data-value="sdPaper"] .recovery-piece.second,
.visual-recovery[data-value="twin"] .recovery-piece.second,
.visual-recovery[data-value="unclear"] .recovery-piece { display: none; }

.visual-recovery[data-value="twin"] .recovery-piece.first {
  display: block;
  width: 58px;
  height: 72px;
  border-radius: 16px;
}

.visual-recovery[data-value="twin"] .recovery-piece.first::before {
  left: 11px;
  right: 11px;
  top: 14px;
  height: 24px;
  border: 1px solid #478b84;
  border-radius: 3px;
  background: #071f1e;
}

.recovery-code {
  position: absolute;
  left: 12px;
  bottom: 3px;
  min-width: 78px;
  padding: 6px 8px;
  border-radius: 4px;
  color: #42555b;
  background: #fff;
  box-shadow: 0 7px 12px rgba(20,35,40,.14);
  font-size: 8px;
  font-weight: 800;
  text-align: center;
}

.visual-recovery[data-value="unclear"] .recovery-code {
  left: 38px;
  bottom: 23px;
  min-width: 58px;
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid #788b90;
  border-radius: 50%;
  font-size: 28px;
}

.backup-scene {
  width: 214px;
  height: 118px;
}

.vault-small {
  position: absolute;
  left: 2px;
  top: 13px;
  width: 80px;
  height: 94px;
  border-radius: 18px;
  background: linear-gradient(145deg, #41555b, #172a30);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.18), 0 14px 21px rgba(20,35,40,.22);
}

.backup-item {
  position: absolute;
  left: 112px;
  top: 20px;
  width: 42px;
  height: 57px;
  border-radius: 4px 4px 8px 8px;
  background: linear-gradient(145deg, #405158, #14252b);
  box-shadow: 0 9px 14px rgba(20,35,40,.2);
}

.backup-item::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 7px;
  height: 15px;
  background: repeating-linear-gradient(90deg, #c6a252 0 5px, transparent 5px 8px);
}

.backup-item.second { left: 147px; top: 35px; transform: rotate(7deg); }
.visual-backup[data-value="oneSd"] .backup-item.second,
.visual-backup[data-value="twin"] .backup-item.second,
.visual-backup[data-value="never"] .backup-item { display: none; }

.visual-backup[data-value="twin"] .backup-item.first {
  display: block;
  width: 65px;
  height: 80px;
  border-radius: 16px;
}

.backup-scene > i {
  position: absolute;
  right: 4px;
  top: 2px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
}

.visual-backup[data-value="never"] .backup-scene > i { background: var(--coral); }

.visual-protection,
.visual-connection {
  background-color: #e8ecec;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.visual-carry {
  background-color: #e8ecec;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.visual-carry::after,
.visual-carry > * { display: none; }

.visual-carry[data-value="ring"] { background-image: url("assets/carry-keys.webp"); }
.visual-carry[data-value="pocket"] { background-image: url("assets/carry-pocket.webp"); }
.visual-carry[data-value="bag"] { background-image: url("assets/carry-bag.webp"); }
.visual-carry[data-value="lanyard"] { background-image: url("assets/carry-lanyard.webp"); }
.visual-carry[data-value="wrist"] { background-image: url("assets/carry-wrist.webp"); }

.visual-protection::after,
.visual-connection::after,
.visual-protection > *,
.visual-connection > * {
  display: none;
}

.visual-protection[data-value="smooth"] { background-image: url("assets/protection-smooth.webp"); }
.visual-protection[data-value="bumper"] { background-image: url("assets/protection-bumper.webp"); }
.visual-protection[data-value="shell"] { background-image: url("assets/protection-shell-v2.webp"); }
.visual-connection[data-value="direct"] { background-image: url("assets/connection-direct.webp"); }
.visual-connection[data-value="integrated"] { background-image: url("assets/connection-integrated.webp"); }
.visual-connection[data-value="separate"] { background-image: url("assets/connection-separate.webp"); }

.question-protection .option-card,
.question-connection .option-card {
  min-height: 276px;
  grid-template-rows: 176px auto;
}

.option-steps {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  counter-reset: option-step;
}

.option-steps > span {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 5px;
  counter-increment: option-step;
}

.option-steps > span::before {
  content: counter(option-step);
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #587176;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.question-recovery .option-card {
  min-height: 268px;
}

.question-recovery .option-copy {
  min-height: 132px;
}

.backup-method-scene {
  position: relative;
  width: 220px;
  height: 120px;
}

.backup-vault {
  position: absolute;
  right: 5px;
  top: 10px;
  width: 82px;
  height: 98px;
  border-radius: 19px;
  background: linear-gradient(145deg, #41555b, #172a30);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.18), 0 14px 21px rgba(20,35,40,.24);
}

.backup-vault i {
  position: absolute;
  inset: 17px 14px 48px;
  border: 1px solid #478b84;
  background: #071f1e;
}

.backup-medium {
  position: absolute;
  left: 27px;
  top: 23px;
  width: 48px;
  height: 64px;
  border-radius: 4px 4px 8px 8px;
  background: linear-gradient(145deg, #405158, #14252b);
  box-shadow: 0 10px 15px rgba(20,35,40,.2);
}

.visual-backupMethod[data-value="microSd"] .backup-medium::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 7px;
  height: 16px;
  background: repeating-linear-gradient(90deg, #c6a252 0 5px, transparent 5px 8px);
}

.visual-backupMethod[data-value="twin"] .backup-medium {
  left: 18px;
  top: 16px;
  width: 70px;
  height: 84px;
  border-radius: 17px;
}

.visual-backupMethod[data-value="twin"] .backup-medium::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 15px;
  height: 25px;
  border: 1px solid #478b84;
  background: #071f1e;
}

.visual-backupMethod[data-value="notPractical"] .backup-medium {
  left: 28px;
  top: 24px;
  width: 58px;
  height: 58px;
  border: 4px solid #7f9195;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.visual-backupMethod[data-value="notPractical"] .backup-medium::before {
  content: "?";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #53676c;
  font-size: 31px;
  font-weight: 800;
}

.backup-method-label {
  position: absolute;
  left: 4px;
  bottom: 1px;
  min-width: 102px;
  padding: 5px 7px;
  color: #42555b;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 7px 12px rgba(20,35,40,.14);
  font-size: 7px;
  font-weight: 800;
  text-align: center;
}

.question-backupMethod .option-card {
  min-height: 250px;
}

.step-marker {
  position: absolute;
  z-index: 5;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 4px 8px rgba(20,35,40,.18);
  font-size: 10px;
  font-style: normal;
}

.step-marker.first { left: 8px; top: 12px; }
.step-marker.second { right: 64px; top: 43px; }
.visual-recovery[data-value="unclear"] .step-marker { display: none; }

.stage-counter {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 66px;
  padding: 7px 9px;
  border-radius: 5px;
  color: #40535a;
  background: rgba(255,255,255,.82);
  font: 700 11px ui-monospace, monospace;
}

.stage-message {
  display: grid;
  gap: 5px;
  max-width: min(470px, calc(100% - 44px));
  padding: 14px 16px;
}

.stage-step {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.stage-message strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.stage-message > span:last-child {
  color: #4e6168;
  font-size: 12px;
  line-height: 1.4;
}

.story-controls {
  margin-top: 9px;
}

.story-chapters {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}

.story-chapter {
  min-height: 48px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #52666d;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 750;
  transition: color 180ms ease, background 180ms ease;
}

.story-chapter:last-child { border-right: 0; }
.story-chapter b { color: var(--accent); font-size: 10px; }
.story-chapter.is-active { color: #fff; background: #20383e; }
.story-chapter.is-active b { color: #79ddd1; }

.playback-controls {
  position: absolute;
  z-index: 3;
  left: 18px;
  bottom: 16px;
  width: min(470px, calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.icon-button {
  appearance: none;
  min-width: 0;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--ink);
  background: rgba(255,255,255,.94);
  box-shadow: 0 5px 14px rgba(20,33,38,.1);
  font-size: 12px;
  font-weight: 740;
  cursor: pointer;
}

.product-stage .playback-controls .button {
  min-width: 0;
  min-height: 38px;
  padding: 7px 10px;
  font-size: 12px;
}

.icon-button:disabled {
  color: #8b999e;
  background: #eef2f2;
  cursor: not-allowed;
  opacity: .72;
}

.closing-flow {
  width: min(880px, 100%);
  margin: 28px auto 30px;
  scroll-margin-top: 100px;
}

.closing-step {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.closing-step h3 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: 0;
}

.closing-step > p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.price-step h3 {
  font-size: clamp(34px, 4vw, 50px);
}

.choice-row {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.match-choice-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-button {
  appearance: none;
  min-height: 64px;
  padding: 15px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  font-weight: 760;
  text-align: left;
  cursor: pointer;
}

.choice-button:hover { border-color: #809499; background: #f7f9f9; }
.choice-button.is-selected { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 4px 0 0 var(--accent); }

.conditional-field,
.demographic-step label,
.contact-step > label:not(.consent-row) {
  margin-top: 22px;
  display: grid;
  gap: 8px;
  color: #34484f;
  font-size: 13px;
  font-weight: 760;
}

textarea,
select,
input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

select { appearance: auto; }
textarea { min-height: 96px; resize: vertical; }
label small { color: var(--muted); font-size: 11px; font-weight: 500; }
.closing-next { margin-top: 0; }

.demographic-step {
  max-width: 760px;
}

.demographic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.contact-step {
  max-width: 680px;
}

.consent-row {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #40535a;
  font-size: 13px;
  line-height: 1.4;
}

.consent-row input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
  accent-color: var(--accent);
}

.form-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.submission-status {
  margin: 16px 0 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.submission-status.is-error {
  color: #a23b32;
}

.contact-step :disabled {
  cursor: wait;
  opacity: .68;
}

.demographic-actions,
.contact-actions {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.thank-you {
  min-height: 300px;
}

.thank-you-restart {
  margin-top: 24px;
}

@media (max-width: 960px) {
  .option-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .option-count-4,
  .option-count-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  .question-view {
    padding-top: 20px;
    gap: 14px;
  }

  .question-header h2,
  .result-heading h2 {
    font-size: 25px;
    line-height: 1.1;
  }

  .question-context {
    margin-top: 8px;
    font-size: 13px;
  }

  .option-grid {
    gap: 8px;
  }

  .more-options-hint {
    position: fixed;
    left: 50%;
    bottom: 78px;
    z-index: 20;
    width: max-content;
    max-width: calc(100% - 32px);
    margin: 0;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    translate: -50% 0;
    border: 1px solid #a6cbc6;
    border-radius: 999px;
    color: #075f58;
    background: rgba(241, 251, 249, .96);
    box-shadow: 0 8px 24px rgba(20, 46, 48, .18);
    font-size: 12px;
    font-weight: 780;
    line-height: 1.2;
    text-align: center;
    pointer-events: none;
    animation: more-options-bob 900ms ease-in-out infinite alternate;
  }

  .more-options-hint[hidden] {
    display: none;
  }

  .more-options-hint b {
    font-size: 17px;
    line-height: 1;
  }

  .option-count-3,
  .option-count-2,
  .option-count-4,
  .option-count-5 {
    grid-template-columns: 1fr;
  }

  .option-card,
  .option-count-4 .option-card,
  .question-protection .option-card,
  .question-connection .option-card,
  .question-recovery .option-card,
  .question-backupMethod .option-card {
    min-height: 108px;
    grid-template-columns: clamp(126px, 36vw, 144px) minmax(0, 1fr);
    grid-template-rows: minmax(108px, auto);
  }

  .option-visual {
    min-height: 108px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .option-visual > div {
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    scale: .62;
  }

  .question-carry .option-card,
  .question-protection .option-card,
  .question-connection .option-card {
    min-height: 122px;
    grid-template-columns: clamp(126px, 36vw, 144px) minmax(0, 1fr);
    grid-template-rows: minmax(122px, auto);
  }

  .question-carry .option-visual,
  .question-protection .option-visual,
  .question-connection .option-visual {
    min-height: 122px;
    background-size: contain;
  }

  .option-copy,
  .question-recovery .option-copy {
    min-height: 108px;
    padding: 14px 38px 13px 13px;
  }

  .option-copy::after {
    width: 18px;
    height: 18px;
    right: 11px;
    top: 14px;
  }

  .option-title {
    margin-bottom: 4px;
    font-size: 14px;
  }

  .option-detail,
  .option-steps {
    font-size: 11px;
    line-height: 1.32;
  }

  .question-power .option-card {
    min-height: 94px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .question-power .option-copy {
    min-height: 94px;
    padding-top: 16px;
  }

  .product-stage {
    height: 450px;
    min-height: 450px;
  }

  .story-chapters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-chapter {
    min-height: 58px;
    padding: 7px 5px;
    justify-content: center;
    gap: 4px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
  }

  .story-chapter:last-child { border-right: 0; }

  .playback-controls {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
  }

  .closing-view {
    width: calc(100% - 28px);
    padding-top: 18px;
  }

  .closing-flow { margin-top: 0; }
  .closing-step { padding: 28px 0; }
  .choice-row { grid-template-columns: 1fr; }
  .demographic-grid { grid-template-columns: 1fr; }
  .demographic-actions,
  .contact-actions { flex-direction: column-reverse; }
  .demographic-actions .button,
  .contact-actions .button { width: 100%; }
  .stage-counter { right: 12px; bottom: 58px; }
}

@keyframes more-options-bob {
  from { translate: -50% -2px; }
  to { translate: -50% 3px; }
}
