@media (min-width:1500px) {
  .hero h1,.get-title {
    font-size: 31px;
  }
}

@media (max-width:1200px) {
  .wrap {
    padding-inline: 38px;
  }

  .hero {
    gap: 16px;
  }

  .hero h1,.get-title {
    font-size: 24.5px;
    letter-spacing: -1.25px;
  }

  .demo-stage {
    height: 445px;
  }

  .tablet {
    bottom: 59px;
  }

  .computer-label {
    font-size: 12px;
  }

  .pencil-object {
    right: 30%;
    bottom: 48px;
    height: 142px;
  }

  .stage-index {
    left: 9px;
    font-size: 11px;
  }

  .mode-tab {
    gap: 9px;
  }

  .mode-tab:not(:first-child) {
    padding-left: 16px;
  }

  .mode-tab>.icon {
    width: 18px;
    height: 18px;
  }

  .mode-tab-arrow {
    font-size: 12px;
  }

  .uses-layout {
    gap: 55px;
  }

  .get-downloads {
    gap: 55px;
  }

  .hero-description {
    font-size: 13px;
  }
}

@media (max-width:1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-bottom: 28px;
  }

  .hero-intro {
    padding-bottom: 0;
    max-width: 600px;
  }

  .hero h1,.get-title {
    font-size: 32.5px;
  }

  .hero-description {
    font-size: 14px;
  }

  .demo-stage {
    height: 500px;
    max-width: 690px;
    width: 100%;
    margin: auto;
  }

  .tablet {
    bottom: 67px;
  }

  .pencil-object {
    right: 30%;
    bottom: 56px;
    height: 185px;
  }

  .stage-index {
    left: 20px;
  }

  .demo-caption {
    bottom: -2px;
  }

  .mode-tab {
    padding-block: 22px;
  }

  .mode-tab>.icon {
    display: none;
  }

  .mode-tab small {
    white-space: normal;
    line-height: 1.5;
    max-width: 125px;
  }

  .mode-tab .mode-number {
    padding-top: 2px;
  }

  #mode-description {
    gap: 20px;
  }

  #mode-description p {
    font-size: 12px;
  }

  .uses-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .use-list h3 {
    font-size: 17px;
  }

  .get-section {
    padding-top: 44px;
    padding-bottom: 75px;
  }

  .get-downloads {
    gap: 35px;
  }

  .download-panel h3 {
    font-size: 18px;
  }

  .panel-note {
    max-width: none;
  }

  .download-item {
    padding: 12px 13px;
    gap: 11px;
  }

  .download-text small {
    font-size: 11px;
    letter-spacing: .4px;
  }

  .footer-top {
    gap: 25px;
  }
}

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

  .wrap {
    padding-inline: 23px;
  }

  .masthead {
    height: 79px;
    gap: 15px;
  }

  .brand {
    font-size: 21px;
    gap: 9px;
  }

  .brand-mark {
    width: 25px;
    height: 25px;
  }

  .masthead nav {
    gap: 18px;
  }

  .nav-get {
    font-size: 12px;
    gap: 10px;
    padding: 8px 0;
  }

  .nav-get .icon {
    width: 14px;
    height: 14px;
  }

  .hero {
    gap: 30px;
    padding-bottom: 22px;
  }

  .hero h1,.get-title {
    font-size: clamp(19px,4.9vw,30px);
    letter-spacing: -1px;
  }

  .hero-description {
    line-height: 1.9;
    margin-top: 21px;
    font-size: 13px;
  }

  .demo-stage {
    height: calc((100vw - 46px)*.92 + 138px);
  }

  .stage-index {
    top: 7px;
    left: 0;
    font-size: 11px;
    gap: 3px;
  }

  .stage-index span:last-child {
    font-size: 13px;
  }

  .computer {
    top: 5px;
    right: 0;
    max-width: none;
    width: 60%;
  }

  .monitor-frame {
    padding: 4px 4px 0;
    border-radius: 7px 7px 0 0;
  }

  .desktop-title {
    height: 11px;
    font-size: 3.3px;
  }

  .window-dots {
    left: 3px;
    gap: 2px;
  }

  .window-dots i {
    width: 2px;
    height: 2px;
  }

  .monitor-chin {
    height: 9px;
    border-radius: 0 0 6px 6px;
  }

  .monitor-stand {
    height: 23px;
    width: 31px;
  }

  .monitor-base {
    width: 65px;
    height: 3px;
  }

  .tablet {
    padding: 7px 10px 4px;
    border-radius: 14px;
    box-shadow: 0 1px 0 1px #b7bdb3,0 2px 0 2px #d7d9d0,0 17px 25px -17px #19312880;
    width: 88%;
    bottom: 67px;
  }

  .tablet-topbar {
    height: 19px;
    padding-bottom: 4px;
    font-size: 5px;
    gap: 10px;
  }

  .tablet-connected {
    gap: 3px;
  }

  .tablet-connected i {
    width: 3px;
    height: 3px;
  }

  .tablet-tools {
    gap: 8px;
  }

  .tablet-tools .icon {
    width: 8px;
    height: 8px;
  }

  .tablet-mode {
    font-size: 4px;
    gap: 3px;
    padding: 1px 4px;
  }

  .tablet-mode .icon {
    width: 6px;
    height: 6px;
  }

  .tablet-camera {
    width: 3px;
    height: 3px;
    left: 3px;
  }

  .tablet-bottom {
    height: 12px;
    font-size: 4px;
    padding-top: 4px;
  }

  .home-indicator {
    height: 1px;
  }

  .drawing-tools {
    top: 5px;
    left: 5px;
    padding: 2px;
    gap: 2px;
    border-radius: 4px;
  }

  .tool {
    width: 25px;
    height: 25px;
  }

  .tool .icon {
    width: 12px;
    height: 12px;
  }

  .tool-rule {
    margin: 0;
  }

  .canvas-hint {
    font-size: 9px;
    right: 12px;
    bottom: 17px;
  }

  .pencil-object {
    width: 8px;
    border-radius: 5px 5px 0 0;
    right: 6%;
    bottom: 56px;
    height: calc((100vw - 46px)*.32);
    transform: rotate(13deg);
  }

  .pencil-object:after {
    bottom: -12px;
    height: 12px;
  }

  .pencil-object span {
    top: 15px;
  }

  .tablet-label {
    font-size: 12px;
  }

  .demo-caption {
    bottom: 1px;
    gap: 5px;
  }

  .demo-caption button {
    gap: 4px;
  }

  .demo-caption-label {
    gap: 4px;
  }

  #reset-demo {
    margin-left: 1px;
    padding: 7px 4px;
  }

  .mode-section {
    padding-top: 6px;
  }

  .mode-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .mode-tab {
    padding: 17px 10px 17px 0;
    min-height: 77px;
  }

  .mode-tab:not(:first-child) {
    padding-left: 13px;
  }

  .mode-tab:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .mode-tab:nth-child(n+3) {
    border-top: 1px solid var(--rule);
  }

  .mode-tab>span:nth-last-child(2) {
    font-size: 12px;
  }

  .mode-tab small {
    margin-top: 5px;
    max-width: none;
  }

  .mode-tab .mode-number {
    font-size: 11px;
  }

  .mode-tab-arrow {
    font-size: 13px;
  }

  .mode-tab.active:before {
    height: 2px;
  }

  #mode-description {
    display: block;
    padding-top: 17px;
    min-height: 113px;
  }

  #mode-description p {
    font-size: 13px;
    line-height: 1.75;
  }

  #mode-description>span {
    display: block;
    margin-top: 9px;
    font-size: 12px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: .8px;
  }

  h2 {
    font-size: 36px;
    letter-spacing: -1.6px;
  }

  .uses-section {
    padding-block: 48px;
  }

  .uses-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .use-list li {
    grid-template-columns: 38px 1fr;
    gap: 16px;
    padding-block: 18px;
  }

  .use-icon {
    width: 38px;
    height: 38px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-list li {
    padding-block: 16px;
  }

  .get-section {
    padding-top: 32px;
    padding-bottom: 54px;
  }

  .get-title {
    margin-bottom: 20px;
  }

  .get-downloads {
    grid-template-columns: 1fr;
    gap: 31px;
  }

  .download-panel h3 {
    font-size: 19px;
    margin-top: 15px;
  }

  .download-list {
    margin-top: 19px;
  }

  .download-item {
    padding: 13px 14px;
  }

  .download-text small {
    font-size: 11px;
  }

  .get-pairing {
    margin-top: 29px;
    padding-top: 21px;
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 22px;
    padding-top: 26px;
  }

  .footer-top>a:last-child {
    gap: 15px;
  }

  .footer-bottom {
    margin-top: 29px;
    align-items: flex-start;
  }

  .footer-bottom>div {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px 12px;
    max-width: 220px;
  }

  .footer-bottom>div>span {
    flex-basis: 100%;
    text-align: right;
    margin-left: 0;
  }

  footer {
    padding-bottom: 24px;
  }

  .touch-surface p {
    font-size: 17px;
  }

  .touch-surface>span {
    font-size: 6px;
    margin-top: 8px;
  }

  .touch-crosshair {
    inset: 11px;
  }

  .touch-orbits {
    top: 10%;
    gap: 7px;
  }

  .touch-orbits i {
    width: 10px;
    height: 14px;
  }

  .demo-text-button {
    font-size: 7px;
    margin-top: 14px;
    padding: 4px;
  }

  .pointer-buttons,.modifier-buttons {
    gap: 5px;
  }

  .pointer-buttons button {
    font-size: 7px;
    padding: 8px 2px;
  }

  .modifier-buttons button {
    font-size: 7px;
  }

  .gamepad-surface {
    padding: 9px 12px;
  }

  .shoulder-buttons button {
    font-size: 5px;
    padding: 4px 8px;
  }

  .game-controls {
    top: 27%;
    bottom: 23%;
    left: 11px;
    right: 11px;
  }

  .analog-pad,.abxy {
    scale: .7;
    flex-basis: 65px;
  }

  .analog-pad {
    transform-origin: left center;
    flex-basis: 94px;
  }

  .abxy {
    transform-origin: right center;
    margin-right: 17px;
  }

  .gamepad-tip {
    font-size: 6px;
    bottom: 10px;
  }

  .game-sun {
    width: 17px;
    height: 17px;
  }

  .car-shadow {
    left: calc(50% - 13.5px);
    bottom: 8px;
    width: 27px;
    height: 12px;
  }

  .game-car {
    width: 23px;
    height: 21px;
    bottom: 12px;
    left: calc(50% - 11.5px);
  }

  .game-speedo {
    left: 7px;
    bottom: 5px;
    width: 34px;
    height: 17px;
  }

  .speedo-needle {
    height: 12px;
  }

  .mini-sidebar {
    width: 15px;
    padding: 9px 4px;
  }

  .mini-sidebar i {
    width: 6px;
    height: 2px;
    margin-bottom: 7px;
  }

  .mini-document {
    inset: 6px 10px auto 22px;
    padding: 8px;
    min-height: 170px;
  }

  .mini-document>span {
    font-size: 3px;
    letter-spacing: .5px;
  }

  .mini-document h3 {
    font-size: 9px;
    margin: 3px 0 6px;
  }

  .mini-document p {
    font-size: 3px;
  }

  .remote-cursor {
    width: 9px;
    height: 11px;
  }
}

@media (max-width:360px) {
  .masthead {
    gap: 12px;
  }

  .masthead nav {
    gap: 12px;
  }

  .nav-get {
    gap: 6px;
  }

  .wrap {
    padding-inline: 18px;
  }

  .hero h1,.get-title {
    font-size: 18.5px;
  }

  /* At 12px the caption row is wider than the stage. Drop the dot, not the
  text size. */
  .demo-caption {
    white-space: nowrap;
  }

  .demo-caption-label i {
    display: none;
  }

  .download-item {
    padding: 11px 12px;
    gap: 10px;
  }

  .download-text small {
    font-size: 11px;
  }

  .download-panel h3 {
    font-size: 17px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .footer-bottom>div {
    justify-content: flex-start;
    max-width: none;
  }

  .footer-bottom>div>span {
    text-align: left;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*:before,*:after {
    animation: none !important;
    transition: none !important;
  }
}
