:root {
  --bg: #fbf5ec;
  --surface: #fffcf7;
  --soft: #f2e7d9;
  --text: #33251d;
  --secondary: #6e5e50;
  --muted: #716052;
  --line: #ded0bf;
  --accent: #a54a20;
  --accent-soft: #f7e3d1;
  --glass: rgb(251 245 236 / 92%);
}
[data-theme="dark"] {
  --bg: #191511;
  --surface: #231e19;
  --soft: #30271e;
  --text: #f7eee4;
  --secondary: #c6b6a5;
  --muted: #b9a590;
  --line: #4a3a2e;
  --accent: #efb080;
  --accent-soft: #493021;
  --glass: rgb(25 21 17 / 92%);
}
.button.primary {
  background: #a54a20;
  border-color: #a54a20;
}
.button.primary:hover {
  background: #8b3c18;
}
.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 45px;
  min-height: min(710px, calc(100svh - 126px));
}
.hero h1 {
  font-size: clamp(65px, 6.6vw, 95px);
  letter-spacing: -0.075em;
  white-space: nowrap;
}
.hero h1 .period {
  color: var(--text);
}
.hero-tagline {
  font-size: 27px;
}
.hero-description {
  max-width: 400px;
}
.hero-scene {
  height: 445px;
  position: relative;
  min-width: 0;
  animation: arrive 1s 0.1s both;
}
.scene-label {
  position: absolute;
  top: 8px;
  right: 0;
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--secondary);
}
.scene-monitor {
  position: absolute;
  right: 0;
  top: 73px;
  width: 355px;
  height: 245px;
  background: var(--text);
  border-radius: 13px;
  padding: 9px;
  box-shadow: 0 26px 40px -28px #512a2370;
  rotate: 3deg;
}
.monitor-camera {
  position: absolute;
  top: 3px;
  left: 50%;
  height: 3px;
  width: 3px;
  border-radius: 50%;
  background: var(--secondary);
}
.monitor-content {
  height: 100%;
  background: var(--surface);
  border-radius: 6px;
  padding: 23px;
}
.monitor-app {
  font-size: 9px;
  color: var(--secondary);
  letter-spacing: 0.04em;
}
.monitor-line {
  height: 5px;
  border-radius: 2px;
  background: var(--line);
  width: 94%;
  margin-top: 22px;
}
.monitor-line.medium {
  width: 78%;
  margin-top: 10px;
}
.monitor-line.short {
  width: 50%;
  margin-top: 10px;
}
.monitor-message {
  margin-top: 24px;
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 10px 14px;
  border-radius: 7px;
}
.monitor-response {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--secondary);
  font-size: 9px;
}
.response-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.monitor-stand {
  position: absolute;
  right: 130px;
  top: 310px;
  width: 75px;
  height: 47px;
  border-bottom: 8px solid var(--text);
  transform: skew(-8deg);
  opacity: 0.8;
}
.monitor-stand::before {
  content: "";
  display: block;
  width: 18px;
  height: 100%;
  background: var(--text);
  margin: auto;
}
.scene-phone {
  position: absolute;
  top: 48px;
  left: 3px;
  width: 186px;
  height: 348px;
  background: var(--surface);
  border: 6px solid var(--text);
  border-radius: 29px;
  rotate: -11deg;
  padding: 30px 12px 18px;
  box-shadow: 13px 25px 30px -16px #512a2366;
  z-index: 2;
}
.phone-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 47px;
  height: 9px;
  border-radius: 10px;
  background: var(--text);
}
.phone-app-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
}
.connected-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #267347;
  border-radius: 50%;
  flex: none;
}
[data-theme="dark"] .connected-dot {
  background: #86cba1;
}
.scene-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 64px;
  margin-top: 15px;
}
.scene-wave i {
  width: 4px;
  height: 15px;
  background: var(--accent);
  border-radius: 5px;
  animation: wave 2.4s ease-in-out infinite;
}
.scene-wave i:nth-child(2),
.scene-wave i:nth-child(6) {
  height: 29px;
  animation-delay: 0.2s;
}
.scene-wave i:nth-child(3),
.scene-wave i:nth-child(5) {
  height: 43px;
  animation-delay: 0.4s;
}
.scene-wave i:nth-child(4) {
  height: 52px;
  animation-delay: 0.6s;
}
.scene-phone-text {
  font-size: 10px;
  line-height: 1.8;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  margin-top: 3px;
}
.scene-key-row {
  display: flex;
  gap: 4px;
  margin-top: 12px;
}
.scene-key-row span {
  display: grid;
  place-items: center;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 1px;
  font: 7px var(--mono);
}
.scene-trackpad {
  display: grid;
  place-items: center;
  height: 65px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 13px;
  background: var(--soft);
  color: var(--accent);
  font-size: 30px;
}
.phone-home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  translate: -50% 0;
  background: var(--text);
  height: 3px;
  width: 48px;
  border-radius: 5px;
}
.scene-connection {
  display: flex;
  gap: 9px;
  position: absolute;
  z-index: 3;
  left: 185px;
  top: 244px;
  rotate: -13deg;
}
.scene-connection span {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.7;
}
.scene-floor {
  position: absolute;
  inset: 60px -20px 0 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: rotateX(55deg);
  opacity: 0.5;
}
.scene-caption {
  position: absolute;
  bottom: 3px;
  right: 35px;
  font-size: 8px;
  color: var(--secondary);
  letter-spacing: 0.05em;
}
.remote-demo {
  display: grid;
  grid-template-areas: "computer link phone";
  grid-template-columns: minmax(0, 1.12fr) 55px minmax(0, 1fr);
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: 0 20px 65px -45px #512a2333;
}
.demo-phone {
  grid-area: phone;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: var(--bg);
  min-width: 0;
}
.demo-device-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--secondary);
  font-size: 10px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}
.demo-device-bar .mono {
  margin-left: auto;
  font-size: 9px;
}
.field-label {
  display: block;
  font-size: 11px;
  color: var(--secondary);
}
label.field-label {
  margin-top: 20px;
}
.demo-phone textarea {
  display: block;
  margin-top: 10px;
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.8;
}
.send-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 11px;
  gap: 15px;
}
.send-row > .mono {
  font-size: 9px;
  color: var(--secondary);
}
.send-row .button {
  min-height: 35px;
  padding: 6px 12px;
  font-size: 10px;
  gap: 14px;
}
.shortcut-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.shortcut-row button {
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  font: 10px var(--mono);
  box-shadow: 0 2px 0 var(--line);
  transition:
    transform 0.12s,
    background 0.12s;
}
.shortcut-row button:hover {
  background: var(--accent-soft);
}
.shortcut-row button:active {
  transform: translateY(2px);
  box-shadow: none;
}
.pointer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 27px;
  gap: 20px;
}
.pointer-toolbar .mono {
  font-size: 9px;
  color: var(--secondary);
}
.pointer-tabs {
  display: flex;
  gap: 13px;
  margin-top: 10px;
}
.pointer-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 10px;
  padding: 6px 0;
  color: var(--secondary);
}
.pointer-tabs button[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--accent);
}
.pointer-area {
  position: relative;
  height: 133px;
  margin-top: 12px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.pointer-area:active {
  cursor: grabbing;
}
.touchpad-dots {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(var(--muted) 0.55px, transparent 0.55px);
  background-size: 8px 8px;
}
.pointer-hint {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--secondary);
  font-size: 9px;
}
.pointer-ball,
.pointer-nub {
  display: none;
}
.pointer-area[data-mode="trackball"] .touchpad-dots,
.pointer-area[data-mode="trackpoint"] .touchpad-dots {
  display: none;
}
.pointer-area[data-mode="trackball"] .pointer-ball {
  display: block;
  width: 73px;
  height: 73px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #fb9b91, #b72b24 55%, #761b19);
  box-shadow:
    0 5px 0 #451d17,
    0 12px 14px -6px #0004;
  translate: 0 -8px;
}
.pointer-area[data-mode="trackpoint"] .pointer-nub {
  display: block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f36e60, #b52f26);
  box-shadow:
    0 4px 0 #68241a,
    0 0 0 9px var(--bg);
  translate: 0 -8px;
}
.demo-link {
  grid-area: link;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  color: var(--accent);
}
.demo-link > span:first-child {
  font-size: 24px;
}
.demo-link .mono {
  font-size: 8px;
  letter-spacing: 0.08em;
}
.demo-computer {
  grid-area: computer;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.computer-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: var(--secondary);
  margin-bottom: 13px;
}
.computer-title .connected-dot {
  margin-left: auto;
}
.desktop-glyph {
  font-size: 20px;
  line-height: 1;
}
.computer-desktop {
  position: relative;
  min-height: 300px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px;
  overflow: hidden;
  isolation: isolate;
}
.demo-editor-window {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  min-height: 202px;
  position: relative;
}
.editor-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  color: var(--secondary);
  font-size: 9px;
}
.received-text {
  padding: 23px 20px;
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  max-height: 150px;
  overflow-y: auto;
}
.key-feedback {
  position: absolute;
  right: 17px;
  bottom: 13px;
  color: var(--accent);
  font: 14px var(--mono);
  opacity: 0.5;
}
.demo-cursor {
  position: absolute;
  left: 58%;
  top: 61%;
  width: 19px;
  height: 24px;
  fill: var(--accent);
  stroke: var(--surface);
  stroke-width: 1.3;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px #0002);
  z-index: 2;
}
.desktop-label {
  position: absolute;
  bottom: 12px;
  left: 30px;
  color: var(--secondary);
  font-size: 8px;
  letter-spacing: 0.08em;
}
.receiver-status {
  margin-top: 14px;
  min-height: 24px;
  font-size: 11px;
  color: var(--accent);
}
.demo-disclaimer {
  font-size: 10px;
  line-height: 1.95;
  color: var(--secondary);
  margin-top: 12px;
  max-width: 430px;
}
.pads-features {
  background: var(--surface);
}
.pads-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 45px;
  margin-top: 50px;
}
.pads-feature-grid article {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.feature-symbol {
  font-size: 28px;
  letter-spacing: -0.06em;
  display: block;
  color: var(--accent);
  margin-bottom: 23px;
}
.pads-feature-grid h3 {
  font-size: 16px;
  line-height: 1.65;
}
.pads-feature-grid p {
  margin-top: 13px;
  color: var(--secondary);
  font-size: 13px;
  line-height: 2;
}
.pairing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 45px;
  list-style: none;
  padding: 0;
  margin: 45px 0 0;
}
.pairing-steps li {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.step-no {
  display: block;
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 23px;
}
.pairing-steps h3 {
  font-size: 16px;
  line-height: 1.6;
}
.pairing-steps p {
  margin-top: 12px;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.95;
}
.local-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 65px;
  padding-top: 35px;
  border-top: 1px solid var(--line);
}
.local-notes h3 {
  font-size: 13px;
  margin-top: 13px;
}
.local-notes p {
  font-size: 11px;
  line-height: 1.95;
  color: var(--secondary);
  margin-top: 9px;
}
.note-icon {
  font-size: 25px;
  line-height: 1;
  color: var(--accent);
}
.download-section {
  background: var(--accent-soft);
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  margin-top: 45px;
}
.download-grid article {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.download-platform {
  font-size: 31px;
  line-height: 1.2;
  display: block;
  color: var(--accent);
  margin-bottom: 19px;
}
.download-grid h3 {
  font-size: 22px;
  letter-spacing: -0.04em;
}
.download-grid p {
  font-size: 11px;
  color: var(--secondary);
  margin-top: 7px;
  min-height: 40px;
}
.download-grid .button {
  margin-top: 17px;
  justify-content: space-between;
  min-width: 170px;
}
.download-section .source-note {
  max-width: 780px;
  margin-top: 36px;
}
.faq-section {
  background: var(--surface);
}
@keyframes wave {
  0%,
  100% {
    scale: 1 0.7;
    opacity: 0.7;
  }
  50% {
    scale: 1 1;
    opacity: 1;
  }
}
@media (max-width: 1100px) {
  .hero h1 {
    font-size: 75px;
  }
  .hero-scene {
    scale: 0.86;
    transform-origin: center right;
  }
  .hero-grid {
    gap: 20px;
  }
  .remote-demo {
    padding: 25px;
    grid-template-columns: minmax(0, 1.12fr) 40px minmax(0, 1fr);
  }
  .computer-desktop {
    padding: 24px;
  }
  .pads-feature-grid,
  .pairing-steps {
    gap: 28px;
  }
  .download-grid {
    gap: 25px;
  }
}
@media (max-width: 850px) {
  .hero h1 {
    font-size: 59px;
  }
  .hero-tagline {
    font-size: 22px;
  }
  .hero-scene {
    scale: 0.7;
    transform-origin: center right;
    left: 0;
  }
  .hero-grid {
    min-height: 590px;
    gap: 10px;
  }
  .hero-description {
    font-size: 12px;
  }
  .remote-demo {
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
    padding: 20px;
  }
  .demo-phone {
    padding: 16px;
  }
  .computer-desktop {
    min-height: 290px;
    padding: 19px;
  }
  .received-text {
    padding: 18px 14px;
    font-size: 13px;
  }
  .demo-editor-window {
    min-height: 210px;
  }
  .shortcut-row button {
    font-size: 9px;
    padding-inline: 6px;
  }
  .pads-feature-grid {
    gap: 24px;
  }
  .pads-feature-grid h3 {
    font-size: 14px;
  }
  .pads-feature-grid p {
    font-size: 12px;
  }
  .local-notes {
    gap: 25px;
  }
  .download-grid .button {
    min-width: 0;
    width: 100%;
    gap: 10px;
  }
  .download-grid h3 {
    font-size: 21px;
  }
}
@media (max-width: 700px) {
  .hero-grid {
    display: flex;
    gap: 0;
    padding-top: 43px;
    padding-bottom: 20px;
    min-height: 0;
  }
  .hero h1 {
    font-size: clamp(57px, 15.8vw, 91px);
  }
  .hero-tagline {
    font-size: 22px;
  }
  .hero-description {
    font-size: 13px;
    max-width: 440px;
  }
  .hero-scene {
    height: 320px;
    width: 100%;
    scale: 1;
    left: auto;
    transform-origin: center;
    margin-top: 19px;
  }
  .scene-monitor {
    width: 265px;
    height: 190px;
    top: 54px;
    right: 2px;
    padding: 7px;
  }
  .monitor-content {
    padding: 16px;
  }
  .monitor-app {
    font-size: 7px;
  }
  .monitor-line {
    height: 4px;
    margin-top: 14px;
  }
  .monitor-line.medium,
  .monitor-line.short {
    margin-top: 8px;
  }
  .monitor-message {
    font-size: 9px;
    margin-top: 14px;
    padding: 7px 9px;
  }
  .monitor-response {
    font-size: 7px;
    margin-top: 10px;
  }
  .monitor-stand {
    right: 90px;
    top: 240px;
    width: 64px;
    height: 33px;
    border-bottom-width: 6px;
  }
  .monitor-stand::before {
    width: 13px;
  }
  .scene-phone {
    height: 264px;
    width: 145px;
    border-width: 5px;
    border-radius: 24px;
    left: 3px;
    top: 32px;
    padding: 23px 9px 12px;
  }
  .phone-island {
    height: 7px;
    width: 37px;
    top: 7px;
  }
  .phone-app-name {
    font-size: 8px;
  }
  .scene-wave {
    height: 48px;
    margin-top: 9px;
    gap: 3px;
  }
  .scene-wave i {
    width: 3px;
    height: 10px;
  }
  .scene-wave i:nth-child(2),
  .scene-wave i:nth-child(6) {
    height: 20px;
  }
  .scene-wave i:nth-child(3),
  .scene-wave i:nth-child(5) {
    height: 30px;
  }
  .scene-wave i:nth-child(4) {
    height: 39px;
  }
  .scene-phone-text {
    font-size: 8px;
    padding: 7px;
    line-height: 1.7;
  }
  .scene-key-row {
    margin-top: 8px;
    gap: 3px;
  }
  .scene-key-row span {
    font-size: 6px;
    padding: 3px 0;
  }
  .scene-trackpad {
    height: 47px;
    margin-top: 10px;
    border-radius: 6px;
  }
  .phone-home {
    height: 2px;
    bottom: 6px;
    width: 35px;
  }
  .scene-label {
    top: 2px;
    font-size: 6px;
    right: 0;
  }
  .scene-caption {
    font-size: 6px;
    bottom: 3px;
    right: 13px;
  }
  .scene-floor {
    inset: 25px -5px -10px -5px;
  }
  .scene-connection {
    top: 180px;
    left: 136px;
    gap: 7px;
  }
  .scene-connection span {
    width: 4px;
    height: 4px;
  }
  .remote-demo {
    display: flex;
    flex-direction: column;
    padding: 19px;
    gap: 0;
    border-radius: 12px;
  }
  .demo-phone {
    width: 100%;
    padding: 17px;
  }
  .demo-link {
    flex-direction: row;
    padding-block: 16px;
    gap: 9px;
    rotate: 0deg;
  }
  .demo-link > span:first-child {
    transform: rotate(-90deg);
  }
  .demo-link .mono {
    rotate: 0deg;
  }
  .demo-computer {
    width: 100%;
  }
  .computer-title {
    font-size: 10px;
  }
  .computer-desktop {
    min-height: 270px;
    padding: 22px;
  }
  .demo-editor-window {
    min-height: 190px;
  }
  .received-text {
    font-size: 13px;
  }
  .demo-disclaimer {
    font-size: 10px;
  }
  .receiver-status {
    font-size: 10px;
  }
  .pointer-area {
    height: 145px;
  }
  .demo-phone textarea {
    font-size: 13px;
  }
  .shortcut-row button {
    padding-inline: 9px;
    min-height: 36px;
    font-size: 10px;
  }
  .pads-feature-grid,
  .pairing-steps,
  .local-notes,
  .download-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pads-feature-grid {
    margin-top: 30px;
  }
  .pads-feature-grid article {
    padding-top: 20px;
  }
  .feature-symbol {
    font-size: 25px;
    margin-bottom: 15px;
  }
  .pads-feature-grid h3 {
    font-size: 16px;
  }
  .pads-feature-grid p {
    margin-top: 9px;
    font-size: 12px;
  }
  .pairing-steps {
    margin-top: 28px;
    gap: 25px;
  }
  .pairing-steps li {
    padding-top: 21px;
  }
  .step-no {
    margin-bottom: 13px;
  }
  .pairing-steps h3 {
    font-size: 15px;
  }
  .pairing-steps p {
    margin-top: 9px;
  }
  .local-notes {
    margin-top: 35px;
    gap: 25px;
    padding-top: 28px;
  }
  .local-notes > div {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 3px 17px;
  }
  .local-notes h3 {
    margin-top: 0;
  }
  .local-notes p {
    grid-column: 2;
    margin-top: 3px;
  }
  .download-grid {
    margin-top: 28px;
    gap: 25px;
  }
  .download-grid article {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 16px;
    align-items: center;
    padding-top: 20px;
  }
  .download-platform {
    display: none;
  }
  .download-grid h3 {
    font-size: 22px;
  }
  .download-grid p {
    grid-column: 1;
    font-size: 10px;
    min-height: 0;
    margin: 0;
  }
  .download-grid .button {
    grid-column: 2;
    grid-row: 1/3;
    width: auto;
    min-width: 115px;
    min-height: 41px;
    font-size: 10px;
    margin: 0;
    padding: 9px 12px;
  }
  .download-section .source-note {
    margin-top: 27px;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 52px;
  }
  .hero-tagline {
    font-size: 20px;
  }
  .hero-description {
    font-size: 12px;
  }
  .hero-scene {
    height: 289px;
    scale: 0.92;
    transform-origin: top center;
    margin-bottom: -22px;
  }
  .scene-monitor {
    right: -12px;
  }
  .scene-phone {
    left: 0;
  }
  .remote-demo {
    padding: 12px;
  }
  .demo-phone {
    padding: 14px;
  }
  .shortcut-row {
    gap: 4px;
  }
  .shortcut-row button {
    padding-inline: 6px;
    font-size: 9px;
  }
  .computer-desktop {
    padding: 15px;
    min-height: 250px;
  }
  .download-grid .button {
    min-width: 103px;
  }
  .hero-actions {
    gap: 19px;
  }
}

.phone-action-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 18px 0 14px;
}
.phone-action-group button {
  min-width: 0;
  min-height: 36px;
  padding: 6px 4px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--secondary);
  font-size: 10px;
  line-height: 1.4;
}
.phone-action-group button[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.phone-action-group button:hover:not(:disabled) {
  background: var(--accent-soft);
}
.phone-composer {
  --demo-input-height: 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  margin-bottom: 17px;
}
.phone-composer textarea {
  height: var(--demo-input-height);
  min-height: 0;
  margin: 0;
  resize: none;
}
.phone-composer textarea::placeholder {
  color: var(--secondary);
  opacity: 1;
}
.phone-send-rail {
  height: var(--demo-input-height);
  display: grid;
  grid-template-rows: 34px minmax(0, 1fr);
  gap: 8px;
}
.phone-send-rail button {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--secondary);
  background: var(--surface);
}
.phone-send-rail #send-text {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}
.phone-send-rail button:hover {
  filter: brightness(0.95);
}
.phone-send-rail svg,
.phone-shortcuts-label svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.demo-phone .pointer-tabs {
  margin-top: 0;
}
.demo-phone .pointer-area {
  height: 150px;
}
.phone-shortcuts {
  margin-top: 18px;
}
.phone-shortcuts-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--secondary);
  font-size: 11px;
}
.phone-shortcuts-label svg {
  width: 16px;
  height: 16px;
}
.phone-shortcuts .shortcut-row {
  margin-top: 8px;
}
.phone-demo-note {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  color: var(--secondary);
  font-size: 9px;
}
.scene-monitor {
  left: 0;
  right: auto;
  rotate: -3deg;
}
.monitor-stand {
  left: 100px;
  right: auto;
}
.scene-phone {
  left: auto;
  right: 0;
  rotate: 11deg;
}
.scene-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-top: 12px;
}
.scene-actions span {
  display: grid;
  place-items: center;
  min-height: 22px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 5px;
  line-height: 1.3;
  text-align: center;
}
.scene-actions span:first-child {
  color: var(--accent);
  background: var(--accent-soft);
}
.scene-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19px;
  gap: 4px;
  margin-top: 8px;
}
.scene-phone-text {
  margin: 0;
  padding: 6px;
  height: 65px;
  font-size: 8px;
  border-radius: 4px;
}
.scene-send-buttons {
  display: grid;
  grid-template-rows: 20px 1fr;
  gap: 4px;
}
.scene-send-buttons span {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 9px;
  color: var(--secondary);
}
.scene-send-buttons span:last-child {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
}
.scene-modes {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}
.scene-modes span {
  font-size: 6px;
  padding-block: 3px;
  color: var(--secondary);
}
.scene-modes span:first-child {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
.scene-trackpad {
  margin-top: 7px;
  background-image: radial-gradient(var(--line) 0.6px, transparent 0.6px);
  background-size: 5px 5px;
}
.scene-shortcut-label {
  margin-top: 9px;
  color: var(--secondary);
  font-size: 7px;
}
.scene-key-row {
  margin-top: 5px;
}
.scene-connection {
  left: 57%;
  rotate: 13deg;
}
.scene-caption {
  left: 0;
  right: auto;
}
@media (min-width: 701px) {
  .computer-desktop {
    min-height: 350px;
  }
  .demo-editor-window {
    min-height: 250px;
  }
}
@media (max-width: 700px) {
  .phone-action-group {
    gap: 5px;
    margin-top: 15px;
  }
  .phone-action-group button {
    font-size: 9px;
  }
  .phone-composer {
    grid-template-columns: minmax(0, 1fr) 38px;
  }
  .scene-monitor {
    left: 3px;
    right: auto;
  }
  .monitor-stand {
    left: 90px;
    right: auto;
  }
  .scene-phone {
    right: 3px;
    left: auto;
  }
  .scene-actions {
    margin-top: 8px;
    gap: 3px;
  }
  .scene-actions span {
    min-height: 16px;
    font-size: 4px;
  }
  .scene-composer {
    margin-top: 6px;
    grid-template-columns: minmax(0, 1fr) 15px;
    gap: 3px;
  }
  .scene-phone-text {
    height: 49px;
    font-size: 6px;
    padding: 4px;
  }
  .scene-send-buttons {
    grid-template-rows: 16px 1fr;
    gap: 3px;
  }
  .scene-modes {
    margin-top: 5px;
    gap: 5px;
  }
  .scene-modes span {
    font-size: 5px;
    padding-block: 2px;
  }
  .scene-trackpad {
    margin-top: 5px;
  }
  .scene-shortcut-label {
    margin-top: 6px;
    font-size: 6px;
  }
  .scene-key-row {
    margin-top: 4px;
  }
  .scene-connection {
    left: 55%;
    top: 180px;
  }
}
@media (max-width: 360px) {
  .phone-action-group button {
    font-size: 8px;
  }
  .scene-monitor {
    left: -8px;
    right: auto;
  }
  .scene-phone {
    right: 0;
    left: auto;
  }
}

.remote-demo {
  grid-template-columns: minmax(0, 530px) 64px 320px;
  justify-content: center;
  padding-block: 38px;
}
.demo-phone {
  width: 320px;
  aspect-ratio: 1 / 2;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 20px;
  overflow: hidden;
}
.demo-device-bar {
  padding-bottom: 16px;
}
.phone-screen-content {
  min-height: 0;
  overflow: clip;
  padding: 0 2px 4px;
}
.phone-demo-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.scene-computer {
  position: absolute;
  left: 0;
  top: 73px;
  width: 355px;
  height: 285px;
  rotate: -3deg;
}
.scene-computer .scene-monitor {
  top: 0;
  left: 0;
  right: auto;
  width: 100%;
  height: 245px;
  rotate: 0deg;
}
.scene-computer .monitor-stand {
  left: 50%;
  right: auto;
  top: 244px;
  width: 75px;
  height: 42px;
  translate: -50% 0;
  transform: none;
}
@media (max-width: 1100px) {
  .remote-demo {
    grid-template-columns: minmax(0, 500px) 45px 300px;
  }
  .demo-phone {
    width: 300px;
    padding: 18px;
  }
}
@media (max-width: 850px) {
  .remote-demo {
    grid-template-columns: minmax(0, 1fr) 30px 280px;
  }
  .demo-phone {
    width: 280px;
    padding: 16px;
  }
}
@media (max-width: 700px) {
  .demo-phone {
    width: min(100%, 320px);
    flex: none;
    align-self: center;
  }
  .phone-action-group button {
    font-size: 8px;
  }
  .scene-computer {
    left: 3px;
    top: 54px;
    width: 265px;
    height: 224px;
  }
  .scene-computer .scene-monitor {
    height: 190px;
  }
  .scene-computer .monitor-stand {
    top: 189px;
    width: 64px;
    height: 34px;
  }
}
@media (max-width: 360px) {
  .scene-computer {
    left: -8px;
  }
  .demo-phone {
    padding: 13px;
  }
}

.hero-scene {
  isolation: isolate;
}
.scene-floor {
  z-index: -1;
  pointer-events: none;
}
.scene-computer {
  z-index: 1;
}
.demo-phone .pointer-tabs {
  justify-content: center;
}
.defense-section {
  background: #30241e;
  color: #fff1dc;
  padding: 76px 0 64px;
}
.defense-masthead {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #77604e;
  padding-bottom: 18px;
  color: #dcc2a5;
  font: 9px var(--mono);
  letter-spacing: 0.08em;
}
.defense-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: center;
  padding-block: 55px;
}
.defense-section h2 {
  color: #f5cf77;
  font-family: Georgia, "Songti SC", SimSun, serif;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.2;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.defense-lead {
  margin-top: 25px;
  max-width: 430px;
  font-size: 16px;
  line-height: 1.9;
  color: #f7e6d1;
}
.defense-copy {
  margin-top: 17px;
  max-width: 420px;
  color: #d5bda5;
  font-size: 13px;
  line-height: 2;
}
.defense-evidence {
  display: grid;
  gap: 25px;
}
.defense-evidence article {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 18px;
  padding-top: 20px;
  border-top: 1px solid #77604e;
}
.defense-evidence .evidence-mark {
  font:
    italic 27px Georgia,
    serif;
  color: #f5cf77;
  line-height: 1.3;
}
.defense-evidence h3 {
  font-size: 16px;
  font-weight: 500;
}
.defense-evidence p {
  color: #d5bda5;
  font-size: 12px;
  line-height: 1.9;
  margin-top: 8px;
}
.defense-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-top: 1px solid #77604e;
  padding-top: 25px;
}
.defense-tagline {
  font:
    italic clamp(20px, 2.6vw, 32px) Georgia,
    serif;
  letter-spacing: -0.04em;
}
.defense-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid #b69b71;
  border-radius: 5px;
  padding: 12px 19px;
  font-size: 12px;
  color: #f5cf77;
  transition:
    background 0.2s,
    color 0.2s;
}
.defense-link:hover {
  background: #f5cf77;
  color: #30241e;
}
@media (max-width: 850px) {
  .defense-grid {
    gap: 45px;
  }
}
@media (max-width: 700px) {
  .defense-section {
    padding-block: 45px 38px;
  }
  .defense-masthead {
    font-size: 7px;
    flex-wrap: wrap;
    gap: 9px;
    padding-bottom: 14px;
  }
  .defense-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 32px;
  }
  .defense-section h2 {
    font-size: clamp(32px, 10vw, 44px);
  }
  .defense-lead {
    font-size: 14px;
    margin-top: 20px;
  }
  .defense-copy {
    font-size: 12px;
  }
  .defense-evidence {
    gap: 19px;
  }
  .defense-evidence h3 {
    font-size: 15px;
  }
  .defense-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .defense-link {
    width: 100%;
  }
}

.demo-phone {
  overflow: clip;
}

.scene-modes {
  justify-content: center;
}
