/* FarReach demo page (demo.html). Built from the approved "FarReach Demo Page" mockup, Oct 2026.
   Loads after home.css and reuses its tokens, nav, buttons, FAQ, CTA and footer.
   The hero and the preview stay dark in both themes (.theme-dark), like the homepage hero. */

/* Hero */

.dm-hero {
  background: var(--bg);
}

.dm-hero-glow {
  position: absolute;
  left: 50%;
  top: -200px;
  width: 1000px;
  height: 640px;
  margin-left: -500px;
  background: radial-gradient(closest-side, rgba(var(--forest-rgb),0.8), rgba(var(--forest-rgb),0));
  pointer-events: none;
}

.dm-hero .hero-inner {
  justify-content: center;
  padding: 150px 24px 44px;
}

.dm-hero-copy {
  flex: 0 1 840px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dm-hero .hero-badge {
  margin-bottom: 26px;
}

.dm-hero .hero-lead {
  max-width: 620px;
  text-wrap: pretty;
}

/* Preview stage */

.dm-preview {
  background: var(--bg);
  padding: 0 24px 64px;
  scroll-margin-top: 80px;
}

.dm-stage {
  --dm-deep: #070D0A;
  --dm-soft: #C9D6D0;
  --dm-danger: #FF8A80;
  --dm-warning: #F2C14E;
  --dm-edge: #2C3F37;
  --dm-cx: 56;
  --dm-cy: 44;
  --dm-rx: 50;
  --dm-ry: 50;
  position: relative;
  max-width: 1152px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 22px 24px;
  box-shadow: 0 40px 80px -30px rgba(var(--shadow-rgb),0.7);
  color: var(--text);
  line-height: 1.5;
}

.dm-stage button {
  font-family: inherit;
}

.dm-btn {
  appearance: none;
  font-size: 15px;
  line-height: 1.2;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  justify-content: center;
  white-space: nowrap;
  gap: 8px;
}

.dm-btn.btn-primary {
  border: 0;
}

.dm-btn.btn-ghost {
  background: transparent;
}

.dm-btn.btn-ghost:hover {
  background: rgba(var(--fg-rgb),0.04);
}

.dm-btn-sm {
  min-height: 36px;
  padding: 7px 13px;
  font-size: 13px;
  border-radius: 9px;
}

.dm-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dm-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dm-step {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s, background .3s, border-color .3s;
}

.dm-step-num {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 1px solid rgba(var(--accent-rgb),0.45);
  color: var(--accent-text);
  transition: background .3s, color .3s, border-color .3s;
}

.dm-step-check {
  display: none;
}

.dm-step.is-done .dm-step-check {
  display: block;
}

.dm-step.is-done .dm-step-n {
  display: none;
}

.dm-step.is-current {
  color: var(--text);
  background: rgba(var(--accent-rgb),0.08);
  border-color: rgba(var(--accent-rgb),0.3);
}

.dm-step.is-current .dm-step-num {
  background: var(--jade);
  border-color: var(--jade);
  color: var(--on-jade);
}

.dm-step.is-done {
  color: var(--text);
}

.dm-step.is-done .dm-step-num {
  background: rgba(var(--accent-rgb),0.16);
  border-color: transparent;
  color: var(--accent-text);
}

.dm-step.is-current.is-done .dm-step-num {
  background: var(--jade);
  color: var(--on-jade);
}

.dm-step-sep {
  width: 16px;
  height: 1px;
  background: var(--line);
}

.dm-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.dm-sim {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--bg);
}

/* Coach */

.dm-coach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 16px;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.dm-coach-copy {
  flex: 1 1 420px;
  min-width: 0;
}

.dm-kicker {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-text);
}

.dm-coach-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.dm-coach-body {
  margin: 6px 0 0;
  max-width: 660px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.dm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dm-tries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.dm-try {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 13px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition: border-color .2s, color .2s;
}

.dm-try:hover {
  border-color: rgba(var(--accent-rgb),0.5);
}

.dm-try-box {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dm-try-box svg {
  display: none;
}

.dm-try.is-done {
  border-color: rgba(var(--accent-rgb),0.45);
  color: var(--accent-text);
}

.dm-try.is-done .dm-try-box {
  background: var(--jade);
  border-color: var(--jade);
  color: var(--on-jade);
}

.dm-try.is-done .dm-try-box svg {
  display: block;
}

/* Devices */

.dm-devices {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) 72px minmax(0, 1fr);
  align-items: center;
  margin-top: 24px;
}

.dm-dev-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 12px;
  min-height: 26px;
}

.dm-dev-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.dm-dev-name svg {
  flex: none;
  color: var(--muted);
}

.dm-dev-where {
  font-weight: 400;
  color: var(--muted);
}

.dm-you {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-text);
  background: rgba(var(--accent-rgb),0.12);
  border-radius: 999px;
  padding: 2px 9px;
}

.dm-dev-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
}

.dm-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #5E7369;
}

.dm-dot.is-on {
  background: var(--jade);
}

.dm-dot.is-warn {
  background: var(--dm-warning);
}

.dm-dot.is-busy {
  background: var(--violet);
}

/* Laptop */

.dm-lap-screen {
  background: #050908;
  border: 1px solid #2A3B34;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(var(--shadow-rgb),0.85);
}

.dm-lap-inner {
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}

.dm-view {
  display: flex;
  flex-direction: column;
}

.dm-lap-base {
  position: relative;
  height: 14px;
  margin: 0 -2.5%;
  background: linear-gradient(180deg, #2A3B34, #141E1A);
  border-radius: 2px 2px 14px 14px;
}

.dm-lap-notch {
  position: absolute;
  left: 50%;
  top: 0;
  width: 16%;
  height: 5px;
  margin-left: -8%;
  background: var(--bg);
  border-radius: 0 0 6px 6px;
}

.dm-app-bar {
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 12px;
  background: var(--dm-deep);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.dm-app-mark {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
}

.dm-win-ctl {
  margin-left: auto;
  display: flex;
  height: 100%;
}

.dm-win-ctl span {
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7F948A;
}

.dm-app-body {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
}

.dm-home {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  min-width: 0;
}

.dm-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 17px;
}

.dm-card-title {
  margin: 0 0 11px;
  font-size: 15px;
}

.dm-field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--muted);
}

.dm-id-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.dm-id-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.06em;
  padding: 0 14px;
  outline: none;
  transition: border-color .2s;
}

.dm-id-input::placeholder {
  color: var(--muted);
  letter-spacing: 0.02em;
  font-size: 17px;
}

.dm-id-input:focus {
  border-color: var(--jade);
}

.dm-connect {
  appearance: none;
  border: 0;
  cursor: pointer;
  justify-content: center;
  min-width: 118px;
  height: 52px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
}

.dm-pulse {
  animation: dmRing 1.6s ease-out infinite;
}

.dm-help {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 11px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.dm-help svg {
  flex: none;
  margin-top: 1px;
  color: var(--accent-text);
}

.dm-field-error {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--dm-danger);
}

.dm-pc-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dm-pc-tile {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--surface-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dm-soft);
}

.dm-pc-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.dm-pc-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
}

.dm-soft-btn {
  appearance: none;
  margin-left: auto;
  border: 0;
  cursor: pointer;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 9px;
  background: rgba(var(--accent-rgb),0.12);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
}

.dm-soft-btn:hover {
  background: rgba(var(--accent-rgb),0.22);
}

.dm-empty-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.dm-home-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 0 2px;
  font-size: 12px;
  color: var(--muted);
}

.dm-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb),0.08);
  border: 1px solid rgba(var(--accent-rgb),0.25);
  font-size: 13px;
  line-height: 1.4;
  animation: dmPop .3s ease-out both;
}

.dm-notice svg {
  flex: none;
  color: var(--accent-text);
}

.dm-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(4,8,7,0.62);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  animation: dmFade .2s ease-out both;
}

.dm-dialog {
  width: 100%;
  max-width: 370px;
  background: var(--surface);
  border: 1px solid var(--dm-edge);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 24px 48px -20px rgba(var(--shadow-rgb),0.85);
  animation: dmPop .25s ease-out both;
}

.dm-dlg-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.dm-dlg-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.dm-dlg-id {
  font-size: 12px;
  color: var(--muted);
}

.dm-pw-input {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  letter-spacing: 0.12em;
  padding: 0 14px;
  outline: none;
  transition: border-color .2s;
}

.dm-pw-input:focus {
  border-color: var(--jade);
}

.dm-pw-input::placeholder {
  letter-spacing: 0;
  color: var(--muted);
}

.dm-dlg-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.dm-dlg-alt {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.dm-busy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  text-align: center;
}

.dm-busy-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.dm-busy-sub {
  font-size: 12.5px;
  color: var(--muted);
}

.dm-stage .spin {
  flex: none;
}

/* Session toolbar */

.dm-toolbar {
  min-height: 44px;
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 5px 8px 5px 12px;
  background: var(--dm-deep);
  border-bottom: 1px solid var(--line);
}

.dm-tb-who {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.dm-tb-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.dm-tb-meta {
  font-size: 11px;
  line-height: 1.25;
  color: var(--muted);
}

.dm-enc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb),0.12);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.dm-pm {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.dm-tool {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--dm-soft);
  transition: background .15s, color .15s;
}

.dm-tool:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.dm-tool.is-on,
.dm-tool.is-on:hover {
  background: var(--jade);
  color: var(--on-jade);
}

.dm-pm-sep {
  width: 1px;
  height: 18px;
  margin: 0 3px;
  background: var(--line);
}

.dm-pm-clear {
  appearance: none;
  border: 0;
  cursor: pointer;
  height: 32px;
  padding: 0 9px;
  border-radius: 8px;
  background: transparent;
  color: var(--dm-soft);
  font-size: 12px;
  font-weight: 500;
}

.dm-pm-clear:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.dm-tb-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dm-tb-btn {
  appearance: none;
  cursor: pointer;
  width: 34px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--dm-soft);
}

.dm-tb-btn:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.dm-tb-btn.is-on {
  border-color: rgba(var(--accent-rgb),0.55);
  color: var(--accent-text);
}

.dm-tb-end {
  appearance: none;
  cursor: pointer;
  height: 32px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid rgba(255,138,128,0.6);
  background: transparent;
  color: var(--dm-danger);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.dm-tb-end:hover {
  background: rgba(255,138,128,0.08);
}

.dm-sess-body {
  position: relative;
}

/* Files panel */

.dm-files {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  width: min(320px, calc(100% - 20px));
  background: var(--surface);
  border: 1px solid var(--dm-edge);
  border-radius: 14px;
  padding: 12px 14px 14px;
  box-shadow: 0 24px 48px -16px rgba(var(--shadow-rgb),0.85);
  animation: dmPop .2s ease-out both;
}

.dm-files-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dm-files-title {
  font-size: 14px;
  font-weight: 600;
}

.dm-x-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--muted);
}

.dm-x-btn:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.dm-f-label {
  margin: 8px 0 6px;
  font-size: 11.5px;
  color: var(--muted);
}

.dm-f-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 8px 6px 10px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.dm-f-row svg {
  flex: none;
}

.dm-f-name {
  min-width: 0;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
}

.dm-f-size {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

.dm-f-go {
  margin-left: auto;
}

.dm-f-bar {
  margin-left: auto;
  width: 70px;
  height: 6px;
  flex: none;
  border-radius: 3px;
  background: rgba(var(--fg-rgb),0.1);
  overflow: hidden;
}

.dm-f-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: var(--jade);
}

.dm-f-done {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-text);
  white-space: nowrap;
}

.dm-f-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

/* The office PC's screen. Drawn once in % and container units (cqw), so the
   laptop's view and the office monitor show the same screen at two sizes. */

.dm-desk {
  position: relative;
  aspect-ratio: 16 / 10;
  container-type: inline-size;
  overflow: hidden;
  background: radial-gradient(130% 100% at 85% 0%, #1F5C42 0%, #133628 40%, #0B1310 80%);
  color: #E6F0EB;
  -webkit-user-select: none;
  user-select: none;
}

.dm-desk-live,
.dm-desk-live * {
  cursor: none !important;
}

.dm-screen,
.dm-mirror {
  position: absolute;
  inset: 0;
}

.dm-mirror {
  pointer-events: none;
}

.dm-mirror [data-dm-part="cm"] {
  visibility: hidden;
}

.dm-wall-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dm-d-icons {
  position: absolute;
  left: 1.6%;
  top: 3.5%;
  display: flex;
  flex-direction: column;
  gap: 1.1cqw;
}

.dm-d-icon {
  appearance: none;
  border: 0;
  margin: 0;
  width: 11cqw;
  padding: 0.7cqw 0.4cqw;
  border-radius: 0.8cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5cqw;
  background: transparent;
  color: #E6F0EB;
  font-size: 1.55cqw;
  line-height: 1.2;
  text-align: center;
}

button.dm-d-icon:hover {
  background: rgba(230,240,235,0.12);
}

.dm-d-icon svg {
  display: block;
  width: 4.8cqw;
  height: 4cqw;
}

.dm-d-icon span {
  max-width: 100%;
  overflow-wrap: break-word;
  text-shadow: 0 1px 2px rgba(0,0,0,0.85);
}

.dm-d-new {
  animation: dmPop .35s ease-out both;
}

.dm-taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6.6%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1cqw;
  background: rgba(6,11,9,0.94);
  border-top: 1px solid rgba(230,240,235,0.08);
}

.dm-tb-ico {
  width: 3.3cqw;
  height: 3.3cqw;
  border-radius: 0.7cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C9D6D0;
}

.dm-tb-ico svg {
  display: block;
  width: 2.3cqw;
  height: 2.3cqw;
}

.dm-tb-ico.is-run {
  background: rgba(230,240,235,0.09);
}

.dm-tb-clock {
  position: absolute;
  right: 1.8cqw;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3cqw;
  line-height: 1.2;
  color: #C9D6D0;
}

.dm-d-win {
  position: absolute;
  left: 15.5%;
  top: 6%;
  width: 57%;
  height: 64%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #16241F;
  border: 1px solid #2C3F37;
  border-radius: 1cqw;
  box-shadow: 0 2.4cqw 5cqw -1.6cqw rgba(0,0,0,0.75);
  animation: dmPop .2s ease-out both;
}

.dm-d-win-bar {
  height: 4.4cqw;
  flex: none;
  display: flex;
  align-items: center;
  gap: 1cqw;
  padding-left: 1.4cqw;
  background: #101B17;
  border-bottom: 1px solid #24352E;
  font-size: 1.6cqw;
  color: #C9D6D0;
}

.dm-d-win-bar svg {
  width: 2.2cqw;
  height: 1.8cqw;
  flex: none;
}

.dm-d-x {
  appearance: none;
  border: 0;
  margin: 0 0 0 auto;
  width: 5.6cqw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #C9D6D0;
}

button.dm-d-x:hover {
  background: rgba(255,138,128,0.2);
}

.dm-d-x svg {
  width: 1.7cqw;
  height: 1.7cqw;
}

.dm-d-head,
.dm-d-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11cqw 8cqw;
  gap: 1cqw;
  align-items: center;
  padding: 0.95cqw 1.6cqw;
  font-size: 1.5cqw;
  line-height: 1.25;
}

.dm-d-head {
  color: #9CB0A7;
  border-bottom: 1px solid #24352E;
  font-size: 1.35cqw;
}

.dm-d-row {
  border-bottom: 1px solid rgba(230,240,235,0.06);
}

.dm-d-file {
  display: flex;
  align-items: center;
  gap: 0.9cqw;
  min-width: 0;
}

.dm-d-file span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dm-d-file svg {
  width: 1.9cqw;
  height: 2.3cqw;
  flex: none;
}

.dm-d-dim {
  color: #9CB0A7;
  white-space: nowrap;
}

.dm-cm {
  position: absolute;
  right: 1.8%;
  bottom: 9.2%;
  z-index: 3;
  width: 34%;
  padding: 1.5cqw;
  background: #16241F;
  border: 1px solid #2C3F37;
  border-radius: 1.2cqw;
  box-shadow: 0 2cqw 4cqw -1.4cqw rgba(0,0,0,0.75);
  animation: dmPop .3s ease-out both;
}

.dm-cm-head {
  display: flex;
  align-items: center;
  gap: 1.1cqw;
}

.dm-cm-av {
  width: 3.8cqw;
  height: 3.8cqw;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1A4D36;
  color: #E6F0EB;
}

.dm-cm-av svg {
  width: 2.2cqw;
  height: 2.2cqw;
}

.dm-cm-name {
  font-size: 1.55cqw;
  font-weight: 600;
  line-height: 1.25;
}

.dm-cm-meta {
  display: flex;
  align-items: center;
  gap: 0.6cqw;
  font-size: 1.3cqw;
  line-height: 1.3;
  color: #9CB0A7;
}

.dm-cm-dot {
  width: 0.9cqw;
  height: 0.9cqw;
  flex: none;
  border-radius: 50%;
  background: #34D39E;
}

.dm-cm-end {
  appearance: none;
  cursor: pointer;
  width: 100%;
  height: 3.8cqw;
  margin-top: 1.2cqw;
  border-radius: 0.8cqw;
  border: 1px solid rgba(255,138,128,0.6);
  background: transparent;
  color: #FF8A80;
  font-size: 1.35cqw;
  font-weight: 600;
}

.dm-cm-end:hover {
  background: rgba(255,138,128,0.1);
}

/* Pointer Mode marks, the remote cursor and clicks */

.dm-ink {
  position: absolute;
  inset: 0;
  z-index: 7;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dm-trail {
  z-index: 10;
}

.dm-marks {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.dm-step-mark {
  position: absolute;
  width: 4.4cqw;
  height: 4.4cqw;
  margin: -2.2cqw 0 0 -2.2cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #34D39E;
  color: #05140E;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.1cqw;
  box-shadow: 0 0 0 0.6cqw rgba(52,211,158,0.25);
  animation: dmPop .2s ease-out both;
}

.dm-spot {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  background: radial-gradient(circle 13cqw at calc(var(--dm-cx) * 1%) calc(var(--dm-cy) * 1%), rgba(3,8,6,0) 0%, rgba(3,8,6,0) 93%, rgba(3,8,6,0.74) 100%);
}

.dm-laser {
  position: absolute;
  left: calc(var(--dm-cx) * 1%);
  top: calc(var(--dm-cy) * 1%);
  z-index: 11;
  width: 1.7cqw;
  height: 1.7cqw;
  margin: -0.85cqw 0 0 -0.85cqw;
  border-radius: 50%;
  background: #5EE0B5;
  box-shadow: 0 0 1.4cqw 0.5cqw rgba(52,211,158,0.7);
  pointer-events: none;
}

.dm-r-cursor {
  position: absolute;
  left: calc(var(--dm-cx) * 1%);
  top: calc(var(--dm-cy) * 1%);
  z-index: 11;
  width: 2.1cqw;
  height: 2.4cqw;
  margin: -0.15cqw 0 0 -0.2cqw;
  pointer-events: none;
  filter: drop-shadow(0 0.2cqw 0.3cqw rgba(0,0,0,0.6));
}

.dm-ripple {
  position: absolute;
  left: calc(var(--dm-rx) * 1%);
  top: calc(var(--dm-ry) * 1%);
  z-index: 10;
  width: 5cqw;
  height: 5cqw;
  margin: -2.5cqw 0 0 -2.5cqw;
  border-radius: 50%;
  border: 0.3cqw solid #34D39E;
  opacity: 0;
  pointer-events: none;
}

.dm-ripple.is-on {
  animation: dmRipple .45s ease-out both;
}

.dm-ink-layer {
  position: absolute;
  inset: 0;
  z-index: 12;
  touch-action: none;
}

/* Office monitor */

.dm-mon-screen {
  background: #050908;
  border: 1px solid #2A3B34;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 24px 50px -30px rgba(var(--shadow-rgb),0.85);
}

.dm-mon-screen .dm-desk {
  border-radius: 5px;
}

.dm-mon-neck {
  width: 18%;
  height: 24px;
  margin: 0 auto;
  background: linear-gradient(180deg, #22322B, #141E1A);
}

.dm-mon-foot {
  width: 42%;
  height: 7px;
  margin: 0 auto;
  border-radius: 4px 4px 2px 2px;
  background: #22322B;
}

.dm-o-layer {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 6.6%;
  z-index: 14;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.dm-o-app {
  width: min(250px, 100%);
  overflow: hidden;
  background: #16241F;
  border: 1px solid #2C3F37;
  border-radius: 12px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.85);
  animation: dmPop .25s ease-out both;
}

.dm-o-bar {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  background: #070D0A;
  border-bottom: 1px solid #24352E;
  font-size: 11px;
  color: #9CB0A7;
}

.dm-o-bar svg {
  width: 13px;
  height: 13px;
  flex: none;
}

.dm-o-body {
  padding: 10px 12px 12px;
}

.dm-o-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 8px;
}

.dm-o-h {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.dm-o-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(52,211,158,0.12);
  color: #34D39E;
  font-size: 11px;
  white-space: nowrap;
}

.dm-o-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #34D39E;
}

.dm-o-label {
  margin-top: 8px;
  font-size: 11px;
  color: #9CB0A7;
}

.dm-o-id {
  margin-top: 4px;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(52,211,158,0.06);
  border: 1px solid rgba(52,211,158,0.28);
  color: #34D39E;
  font-size: 19px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.dm-o-id.is-hint {
  animation: dmRing 1.6s ease-out infinite;
}

.dm-o-prompt {
  width: min(290px, 100%);
  padding: 12px;
  background: #16241F;
  border: 1px solid #2C3F37;
  border-radius: 12px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.85);
  animation: dmPop .25s ease-out both;
}

.dm-o-ph {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dm-o-av {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1A4D36;
  color: #E6F0EB;
}

.dm-o-pt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
}

.dm-o-ps {
  margin-top: 2px;
  font-size: 11px;
  color: #9CB0A7;
}

.dm-o-perms {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 9px 0 10px;
}

.dm-o-perm {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(230,240,235,0.07);
  color: #C9D6D0;
  font-size: 11px;
}

.dm-o-acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dm-o-btn {
  appearance: none;
  cursor: pointer;
  height: 36px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
}

.dm-o-decline {
  background: transparent;
  border: 1px solid #5E7369;
  color: #E6F0EB;
}

.dm-o-decline:hover {
  border-color: #9CB0A7;
}

.dm-o-allow {
  background: #34D39E;
  border: 0;
  color: #05140E;
  animation: dmRing 1.6s ease-out infinite;
}

.dm-o-allow:hover {
  background: #5EE0B5;
}

.dm-o-wait {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  font-size: 12px;
  color: #9CB0A7;
}

.dm-o-toast {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 15;
  transform: translate(-50%, -50%);
  padding: 5px 11px;
  border-radius: 999px;
  background: #16241F;
  border: 1px solid #2C3F37;
  color: #E6F0EB;
  font-size: 11px;
  white-space: nowrap;
  animation: dmFade .3s ease-out both;
}

/* Connection line between the two computers */

.dm-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 38px 2px 0;
}

.dm-link-svg {
  display: block;
  overflow: visible;
}

.dm-link-v {
  display: none;
}

.dm-link-base {
  stroke: rgba(230,240,235,0.16);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
  transition: stroke .3s;
}

.dm-link-flow {
  stroke: transparent;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
}

.dm-link.is-busy .dm-link-flow {
  stroke: rgba(230,240,235,0.75);
  animation: dmFlow .9s linear infinite;
}

.dm-link.is-wait .dm-link-flow {
  stroke: rgba(230,240,235,0.4);
  animation-duration: 1.8s;
}

.dm-link.is-secure .dm-link-flow {
  stroke: #A572EA;
  animation: dmFlow .7s linear infinite;
}

.dm-link.is-live .dm-link-base {
  stroke: rgba(52,211,158,0.55);
  stroke-dasharray: none;
}

.dm-link.is-live .dm-link-flow {
  stroke: #34D39E;
  animation: dmFlow 1.2s linear infinite;
}

.dm-link-lock {
  color: #5E7369;
  transition: color .3s;
}

.dm-link.is-live .dm-link-lock,
.dm-link.is-secure .dm-link-lock {
  color: #34D39E;
}

.dm-link-label {
  max-width: 76px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
  text-align: center;
}

.dm-link.is-live .dm-link-label {
  color: var(--accent-text);
}

/* What just happened (follows the site theme) */

.dm-explain {
  padding: 72px 24px 0;
}

.dm-ex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.dm-ex-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  transition: border-color .35s, box-shadow .35s;
}

.dm-ex-card.is-current {
  border-color: rgba(var(--accent-rgb),0.55);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),0.22);
}

.dm-ex-num {
  display: block;
  font-size: 13px;
  color: var(--accent-text);
}

.dm-ex-title {
  margin: 12px 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.dm-ex-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.dm-faq {
  padding-top: 104px;
}

@keyframes dmFlow { to { stroke-dashoffset: -32; } }
@keyframes dmPop { from { opacity: 0; transform: translateY(6px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes dmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dmRing { 0% { box-shadow: 0 0 0 0 rgba(52,211,158,0.55); } 70% { box-shadow: 0 0 0 10px rgba(52,211,158,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,158,0); } }
@keyframes dmRipple { from { opacity: 0.9; transform: scale(0.3); } to { opacity: 0; transform: scale(1.4); } }

/* Touch screens: bigger session buttons */

@media (pointer: coarse) {
  .dm-tool,
  .dm-pm-clear,
  .dm-tb-btn,
  .dm-tb-end {
    height: 40px;
  }

  .dm-tool {
    width: 40px;
  }

  .dm-tb-btn {
    width: 42px;
  }
}

/* Tablets: stack the two computers */

@media (max-width: 900px) {
  .dm-devices {
    grid-template-columns: minmax(0, 1fr);
  }

  .dm-link {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    padding: 14px 0 16px;
  }

  .dm-link-h {
    display: none;
  }

  .dm-link-v {
    display: block;
  }

  .dm-link-label {
    max-width: none;
  }

  .dm-office {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }
}

/* Phones */

@media (max-width: 640px) {
  .dm-hero .hero-inner {
    padding: 128px 16px 32px;
  }

  .dm-hero .hero-lead {
    font-size: 17px;
  }

  .dm-preview {
    padding: 0 16px 56px;
  }

  .dm-stage {
    padding: 16px 14px 18px;
    border-radius: 18px;
  }

  .dm-step {
    padding-right: 6px;
  }

  .dm-step-label {
    display: none;
  }

  .dm-step.is-current .dm-step-label {
    display: inline;
    padding-right: 6px;
  }

  .dm-step-sep {
    width: 8px;
  }

  .dm-coach {
    padding: 16px;
  }

  .dm-coach-title {
    font-size: 19px;
  }

  .dm-coach-body {
    font-size: 14.5px;
  }

  .dm-home {
    padding: 14px;
  }

  .dm-home .dm-card {
    padding: 14px;
  }

  .dm-pcs.is-empty,
  .dm-home-foot {
    display: none;
  }

  .dm-id-row {
    flex-direction: column;
  }

  .dm-connect {
    width: 100%;
    height: 46px;
  }

  .dm-id-input {
    height: 48px;
    font-size: 20px;
  }

  .dm-overlay {
    position: relative;
    inset: auto;
    flex: 1;
    padding: 14px;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .dm-app-body.has-dlg .dm-home {
    display: none;
  }

  .dm-win-ctl span {
    width: 34px;
  }

  .dm-files {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    margin: 10px;
  }

  .dm-explain {
    padding: 64px 16px 0;
  }

  .dm-faq {
    padding-top: 80px;
  }
}
