:root {
  color-scheme: dark;
  --bg: #020306;
  --panel: rgba(9, 12, 19, 0.84);
  --panel-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --dim: rgba(255, 255, 255, 0.52);
  --blue: #103dff;
  --violet: #8c35ff;
  --pink: #ff4cb6;
  --orange: #ff6a18;
  --cyan: #00eee7;
  --shadow: 0 34px 110px rgba(0, 0, 0, 0.62);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 26% 18%, rgba(31, 47, 255, 0.16), transparent 31%),
    radial-gradient(circle at 84% 30%, rgba(255, 106, 24, 0.11), transparent 28%),
    radial-gradient(circle at 50% 96%, rgba(78, 16, 255, 0.18), transparent 34%),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 50% 25%, black, transparent 70%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 3, 6, 0.95), transparent 22%, transparent 78%, rgba(2, 3, 6, 0.95)),
    radial-gradient(circle at center, transparent 38%, rgba(2, 3, 6, 0.52) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

button {
  font: inherit;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(22px, 3.2vw, 42px);
  background: linear-gradient(180deg, rgba(2, 3, 6, 0.92), rgba(2, 3, 6, 0.72));
  backdrop-filter: blur(20px);
}

.brand,
.download-button,
.hero-metrics,
.hero-metrics div,
.bottom-brand,
.app-row,
.calibration-head,
.picker-footer,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 18px;
  font-size: clamp(21px, 2.1vw, 33px);
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img,
.bottom-brand img {
  border-radius: 11px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 14px 38px rgba(39, 35, 255, 0.28);
}

.download-button {
  justify-content: center;
  gap: 18px;
  min-height: 68px;
  min-width: min(310px, 100%);
  padding: 0 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0d4cff, #2200f3 52%, #0600b8);
  box-shadow: 0 16px 44px rgba(15, 47, 255, 0.36);
  color: white;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 430;
}

.download-button:hover {
  filter: brightness(1.13);
}

.download-button.small {
  min-height: 66px;
  min-width: 280px;
}

.screen {
  width: min(100%, 1512px);
  min-height: calc(100svh - 94px);
  margin: 0 auto;
  padding: 32px clamp(22px, 3.2vw, 42px);
}

.hero-screen {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: clamp(34px, 5vw, 86px);
  padding-top: 22px;
}

.hero-copy {
  max-width: 580px;
}

h1 {
  font-size: clamp(74px, 8.1vw, 124px);
  line-height: 0.93;
  letter-spacing: 0;
}

h1 span {
  display: block;
  margin-top: 10px;
  background: linear-gradient(100deg, #173cff 0%, #6f35ff 35%, #f03bba 68%, #ff701c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 590px;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.55;
}

.hero-copy p span {
  color: rgba(255, 255, 255, 0.96);
}

.hero-download {
  width: min(430px, 100%);
  margin-top: 44px;
}

.video-shell {
  width: 100%;
  align-self: center;
}

.hero-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.54 / 1;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: #f6f8fb;
  box-shadow: var(--shadow);
}

.hero-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(10, 17, 30, 0.14);
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.54 / 1;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    radial-gradient(circle at 34% 30%, rgba(117, 46, 255, 0.24), transparent 26%),
    radial-gradient(circle at 78% 70%, rgba(255, 106, 24, 0.2), transparent 23%),
    linear-gradient(135deg, #151515, #07080b 72%);
  box-shadow: var(--shadow);
}

.video-placeholder::before {
  content: "";
  position: absolute;
  inset: 6% 8% 20%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 25% 16%, rgba(255, 255, 255, 0.1), transparent 18%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03)),
    #232323;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.16), inset 0 -40px 70px rgba(0, 0, 0, 0.34);
}

.keyboard-row {
  position: absolute;
  inset: 0 0 auto;
  height: 46px;
  display: grid;
  grid-template-columns: 58px 72px 92px 1fr 92px 72px 52px;
  gap: 4px;
  padding: 0 6px;
  color: white;
  font-size: 10px;
  z-index: 3;
}

.keyboard-row span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0 0 7px 7px;
  background: rgba(0, 0, 0, 0.86);
}

.video-trackpad {
  position: absolute;
  inset: 46px 0 46px;
}

.video-trackpad::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 34%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px);
  opacity: 0.7;
}

.video-glow,
.corner-light {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.video-glow.purple {
  left: 34%;
  top: 29%;
  width: 92px;
  height: 92px;
  background: radial-gradient(circle, #f357ff 0 9%, #7128ff 10% 35%, rgba(96, 31, 255, 0.2) 36% 68%, transparent 69%);
  box-shadow: 0 0 42px rgba(109, 38, 255, 0.92), 0 0 92px rgba(109, 38, 255, 0.36);
}

.video-glow.orange {
  left: 82%;
  top: 71%;
  width: 78px;
  height: 78px;
  background: radial-gradient(circle, #fff1d0 0 8%, #ff6a18 9% 35%, rgba(255, 106, 24, 0.22) 36% 68%, transparent 69%);
  box-shadow: 0 0 36px rgba(255, 106, 24, 0.9), 0 0 82px rgba(255, 106, 24, 0.28);
}

.finger {
  position: absolute;
  z-index: 2;
  width: 17%;
  height: 44%;
  border-radius: 46% 46% 26% 26%;
  background:
    radial-gradient(circle at 52% 14%, rgba(255, 255, 255, 0.3), transparent 16%),
    linear-gradient(115deg, #f2b18e, #9c4c31 62%, #5d251d);
  filter: blur(0.2px);
  opacity: 0.76;
  box-shadow: 0 28px 42px rgba(0, 0, 0, 0.42);
}

.finger.one {
  left: 39%;
  top: 19%;
  transform: rotate(-19deg);
}

.finger.two {
  left: 47%;
  top: 30%;
  transform: rotate(-8deg);
}

.finger.three {
  left: 55%;
  top: 42%;
  transform: rotate(4deg);
}

.video-controls {
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  height: 54px;
  display: grid;
  grid-template-columns: 32px auto 1fr 26px 26px;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  color: white;
  font-size: 17px;
}

.play {
  fill: white;
  stroke: none;
}

.progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

.progress span {
  display: block;
  width: 36%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3150ff, #872fff);
  box-shadow: 0 0 0 5px rgba(113, 47, 255, 0.25);
}

.hero-metrics {
  grid-column: 1 / -1;
  justify-content: space-around;
  gap: 22px;
  padding: 22px 5vw 0;
}

.hero-metrics div {
  gap: 18px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 25px);
}

.hero-metrics .icon {
  width: 36px;
  height: 36px;
  color: white;
}

.hero-metrics .tap-metric-icon {
  width: 46px;
  height: 64px;
  object-fit: contain;
}

.section-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 30%, rgba(19, 65, 255, 0.09), transparent 34%),
    radial-gradient(circle at 84% 75%, rgba(255, 106, 24, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(11, 16, 28, 0.94), rgba(6, 8, 14, 0.88));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.38);
}

.corners-screen {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 0;
  padding-bottom: 0;
}

.corners-card {
  width: 100%;
  min-height: clamp(560px, calc(100svh - 260px), 680px);
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(720px, 1.45fr);
  gap: clamp(24px, 3.5vw, 52px);
  align-items: center;
  padding: clamp(14px, 1.6vw, 22px) clamp(26px, 3vw, 42px);
}

.section-copy {
  max-width: 360px;
}

.eyebrow {
  margin-bottom: 34px;
  color: var(--violet);
  font-size: 14px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.25;
  font-weight: 430;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow) {
  margin-top: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.corner-layout {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(360px, 470px) minmax(170px, 220px);
  grid-template-rows: 1fr 1fr;
  gap: 22px clamp(24px, 4vw, 74px);
  align-items: center;
  justify-content: center;
}

.assignment-card {
  min-height: 178px;
  padding: 20px 22px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 0 20px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.assignment-card h3 {
  margin-bottom: 18px;
  font-size: 19px;
  font-weight: 540;
}

.top-left-card h3 {
  color: #9d37ff;
}

.top-right-card h3 {
  color: #2493ff;
}

.bottom-left-card h3 {
  color: var(--cyan);
}

.bottom-right-card h3 {
  color: var(--orange);
}

.assignment-card p {
  color: var(--muted);
  font-size: 15px;
}

.assignment-card p + .app-row {
  margin: 8px 0 15px;
}

.assignment-card .app-row + p {
  margin-top: 12px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.app-row {
  gap: 11px;
  color: white;
  font-size: 15px;
}

.app-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  object-fit: cover;
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.app-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music {
  background: linear-gradient(135deg, #ff2c72, #ff2f2f);
}

.spotlight {
  background: linear-gradient(135deg, #142f68, #315ce8);
}

.switcher {
  background: linear-gradient(135deg, #32127a, #8b5cff);
}

.language {
  background: linear-gradient(135deg, #15152a, #6b6b88);
}

.corner-trackpad,
.mini-trackpad {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 15%, rgba(121, 40, 255, 0.18), transparent 20%),
    radial-gradient(circle at 90% 90%, rgba(255, 106, 24, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035)),
    #202122;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 28px 80px rgba(0, 0, 0, 0.44);
}

.corner-trackpad {
  grid-row: 1 / span 2;
  grid-column: 2;
  width: 100%;
  aspect-ratio: 1.24 / 1;
}

.top-left-card {
  grid-column: 1;
  grid-row: 1;
}

.bottom-left-card {
  grid-column: 1;
  grid-row: 2;
}

.top-right-card {
  grid-column: 3;
  grid-row: 1;
}

.bottom-right-card {
  grid-column: 3;
  grid-row: 2;
}

.corner-light {
  width: 92px;
  height: 92px;
  background: transparent;
  box-shadow: none;
  opacity: 0.98;
}

.corner-light::before,
.corner-light::after {
  content: "";
  position: absolute;
  border-radius: inherit;
}

.corner-light::before {
  inset: 18%;
  background: rgba(var(--glow-rgb), 0.82);
  box-shadow:
    0 0 36px rgba(var(--glow-rgb), 0.94),
    0 0 78px rgba(var(--glow-rgb), 0.62),
    0 0 132px rgba(var(--glow-rgb), 0.38);
  filter: blur(20px);
}

.corner-light::after {
  inset: 41%;
  background: white;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.9);
}

.corner-light.tl {
  left: 9%;
  top: 9%;
  --glow-rgb: 114, 39, 255;
}

.corner-light.tr {
  left: 91%;
  top: 9%;
  --glow-rgb: 18, 107, 255;
}

.corner-light.bl {
  left: 9%;
  top: 91%;
  --glow-rgb: 0, 213, 200;
}

.corner-light.br {
  left: 91%;
  top: 91%;
  --glow-rgb: 255, 106, 24;
}

.actions-screen {
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 24px;
  padding-bottom: 0;
}

.action-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
}

.action-card,
.calibrate-card {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.62fr) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
  align-items: center;
  padding: 24px;
}

.action-card,
.calibrate-card {
  grid-template-columns: 1fr;
  align-content: start;
}

.section-copy.compact {
  max-width: 310px;
}

.action-card .section-copy.compact,
.calibrate-card .section-copy.compact {
  max-width: none;
}

.action-card .section-copy.compact .eyebrow,
.calibrate-card .section-copy.compact .eyebrow {
  margin-bottom: 18px;
}

.action-card .section-copy.compact h2,
.calibrate-card .section-copy.compact h2 {
  max-width: none;
  font-size: clamp(31px, 3vw, 44px);
  line-height: 1.14;
}

.action-card .section-copy.compact p:not(.eyebrow),
.calibrate-card .section-copy.compact p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 16px;
}

.picker-mock,
.calibration-mock {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 0 20px 52px rgba(0, 0, 0, 0.34);
}

.picker-mock {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(190px, 0.38fr);
  grid-template-rows: 1fr;
  min-height: 456px;
  position: relative;
}

.picker-list {
  display: grid;
  align-content: start;
  gap: 8px;
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.picker-list span {
  min-height: 35px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--muted);
  line-height: 1.2;
}

.picker-list .selected {
  background: linear-gradient(135deg, rgba(85, 42, 255, 0.95), rgba(104, 60, 255, 0.6));
  color: white;
}

.picker-list strong {
  font-size: 11.5px;
  font-weight: 780;
  line-height: 1.05;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picker-list small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picker-list .selected small {
  color: rgba(255, 255, 255, 0.78);
}

.picker-detail {
  min-width: 0;
  padding: 10px 0 0 16px;
}

.detail-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3013a8, #5a35ff);
}

.detail-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: white;
  stroke-width: 1.8;
}

.picker-detail h3,
.calibration-head h3 {
  font-size: 17px;
  font-weight: 560;
}

.picker-detail p,
.calibration-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.picker-detail label {
  display: block;
  margin-top: 34px;
  color: white;
  font-size: 13px;
  font-weight: 650;
}

.select-row {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: white;
  font-size: 12px;
}

.select-row span {
  width: 7px;
  height: 7px;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  transform: rotate(45deg) translateY(-2px);
}

.picker-footer {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
}

.picker-footer span {
  display: none;
}

.picker-footer button,
.calibration-head button {
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 12px;
  white-space: nowrap;
}

.picker-footer button {
  min-width: max-content;
  padding: 0 12px;
  white-space: nowrap;
}

.picker-footer .assign {
  border-color: transparent;
  background: #173bff;
  min-width: 108px;
}

.calibration-mock {
  align-self: center;
  box-sizing: border-box;
  height: 456px;
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  align-content: start;
}

.calibration-head {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.calibration-head button {
  min-width: 66px;
  padding: 0 14px;
  border-color: rgba(139, 53, 255, 0.72);
}

.mini-trackpad {
  width: 300px;
  max-width: 100%;
  height: 194px;
  margin: 0 auto 22px;
  border-radius: 18px;
}

.mini-trackpad .corner-light {
  width: 58px;
  height: 58px;
}

.mini-trackpad .corner-light.tl {
  left: 18px;
  top: 18px;
}

.mini-trackpad .corner-light.br {
  left: calc(100% - 18px);
  top: calc(100% - 18px);
}

.slider-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  margin-top: 18px;
  color: white;
  font-size: 14px;
}

.slider-row strong {
  font-weight: 520;
}

.slider-row i {
  position: relative;
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.slider-row i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  border-radius: inherit;
  background: linear-gradient(90deg, #392cff, #8a2fff);
}

.slider-row i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--value);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5c2dff;
  transform: translate(-50%, -50%);
}

.bottom-download {
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 42px 18px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 50%, rgba(35, 38, 255, 0.22), transparent 28%),
    rgba(8, 10, 18, 0.92);
}

.bottom-brand {
  gap: 26px;
  font-size: clamp(24px, 2.9vw, 36px);
}

.bottom-brand img {
  width: 54px;
  height: 54px;
}

.site-footer {
  min-height: 50px;
  justify-content: center;
  gap: clamp(22px, 4vw, 72px);
  color: var(--dim);
  font-size: 15px;
}

.site-footer span {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .hero-screen {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding-top: 42px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .video-shell {
    max-width: 860px;
    margin: 0 auto;
  }

  .corners-card {
    grid-template-columns: 1fr;
  }

  .section-copy {
    max-width: 620px;
  }

  .corner-layout {
    grid-template-columns: minmax(145px, 190px) minmax(320px, 440px) minmax(145px, 190px);
    gap: 18px 24px;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .action-card,
  .calibrate-card {
    grid-template-columns: minmax(220px, 0.6fr) minmax(360px, 1fr);
  }

  .action-card,
  .calibrate-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  html {
    scroll-padding-top: 74px;
  }

  .topbar {
    min-height: 74px;
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
    font-size: clamp(18px, 4.8vw, 20px);
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .download-button.small {
    width: 56px;
    min-width: 56px;
    min-height: 48px;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-radius: 12px;
    font-size: 0;
  }

  .download-button.small span {
    display: none;
  }

  .download-button.small .icon {
    width: 22px;
    height: 22px;
  }

  .screen {
    min-height: calc(100svh - 78px);
    padding: 24px 16px;
  }

  .hero-screen {
    gap: 26px;
  }

  h1 {
    font-size: clamp(58px, 17vw, 82px);
  }

  .hero-copy p {
    font-size: 18px;
  }

  .hero-download {
    width: 100%;
    min-height: 58px;
    margin-top: 30px;
    font-size: 21px;
  }

  .video-placeholder {
    border-radius: 18px;
  }

  .keyboard-row {
    height: 32px;
    grid-template-columns: 36px 48px 62px 1fr 62px 48px 34px;
    gap: 2px;
    font-size: 7px;
  }

  .video-trackpad {
    inset: 32px 0 38px;
  }

  .video-controls {
    height: 42px;
    grid-template-columns: 24px auto 1fr 22px 22px;
    gap: 8px;
    padding: 0 12px;
    font-size: 12px;
  }

  .finger {
    opacity: 0.52;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    justify-items: center;
    padding: 12px 0 0;
  }

  .hero-metrics div {
    min-width: 0;
    flex-direction: column;
    justify-content: start;
    gap: 8px;
    text-align: center;
    font-size: 12px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .hero-metrics .icon {
    width: 31px;
    height: 31px;
  }

  .hero-metrics .tap-metric-icon {
    width: 31px;
    height: 31px;
    object-fit: cover;
    object-position: center;
    transform: scale(1.55);
    transform-origin: center;
  }

  .corners-card {
    min-height: 0;
    padding: 18px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  h2 {
    font-size: clamp(31px, 9vw, 38px);
  }

  .section-copy p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.55;
  }

  .corner-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 12px;
  }

  .corner-trackpad,
  .top-left-card,
  .bottom-left-card,
  .top-right-card,
  .bottom-right-card {
    grid-column: auto;
    grid-row: auto;
  }

  .corner-trackpad {
    order: -1;
    grid-column: 1 / -1;
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .assignment-card {
    min-height: 0;
    padding: 13px;
    border-radius: 12px;
  }

  .assignment-card h3 {
    margin-bottom: 11px;
    font-size: 16px;
  }

  .assignment-card p {
    font-size: 12px;
  }

  .assignment-card p + .app-row {
    margin: 6px 0 10px;
  }

  .assignment-card .app-row + p {
    margin-top: 9px;
    padding-top: 10px;
  }

  .app-row {
    gap: 8px;
    font-size: 12.5px;
  }

  .app-icon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
  }

  .actions-screen {
    gap: 18px;
  }

  .action-card,
  .calibrate-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .picker-mock {
    grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
    min-height: 320px;
    padding: 12px;
  }

  .picker-list {
    grid-template-columns: 1fr;
    gap: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 0;
    padding: 0 10px 0 0;
  }

  .picker-list span {
    min-height: 29px;
    padding: 3px 7px;
    border-radius: 5px;
  }

  .picker-list strong {
    font-size: 9.5px;
  }

  .picker-list small {
    font-size: 7px;
  }

  .picker-detail {
    padding: 6px 0 0 12px;
  }

  .picker-detail label {
    margin-top: 22px;
    font-size: 11px;
  }

  .detail-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
  }

  .detail-icon svg {
    width: 21px;
    height: 21px;
  }

  .picker-detail h3 {
    font-size: 15px;
  }

  .picker-detail p {
    font-size: 11px;
  }

  .select-row {
    min-height: 34px;
    padding: 0 9px;
    font-size: 10.5px;
  }

  .picker-footer {
    right: 12px;
    bottom: 12px;
    gap: 5px;
  }

  .picker-footer button {
    min-height: 30px;
    padding: 0 8px;
    font-size: 10.5px;
  }

  .picker-footer button:not(.assign) {
    display: none;
  }

  .picker-footer .assign {
    min-width: 88px;
  }

  .bottom-download {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }

  .bottom-brand {
    gap: 16px;
    font-size: 25px;
  }

  .bottom-brand img {
    width: 48px;
    height: 48px;
  }

  .bottom-download .download-button {
    width: 100%;
    min-height: 58px;
    font-size: 21px;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 16px 26px;
    padding-bottom: 16px;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .brand span {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .video-glow.purple {
    width: 62px;
    height: 62px;
  }

  .video-glow.orange {
    width: 54px;
    height: 54px;
  }

  .corner-light {
    width: 56px;
    height: 56px;
  }
}
