@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("/fonts/PlusJakartaSans-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("/fonts/PlusJakartaSans-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("/fonts/PlusJakartaSans-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("/fonts/PlusJakartaSans-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --background: #1e1e1d;
    --foreground: #ededed;
    --secondary: #a6a5a1;
    --tertiary: #878680;
    --surface: rgb(255 255 255 / 3.5%);
    --border: rgb(255 255 255 / 8.5%);
    --online: #66cc85;
    --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --ease: cubic-bezier(.2, .75, .25, 1);
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font: 400 16px/1.65 var(--font);
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

button:not(:disabled),
summary {
    cursor: pointer;
}

button:disabled {
    cursor: default;
}

a {
    color: inherit;
    text-underline-offset: 4px;
}

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

button svg,
a svg {
    flex-shrink: 0;
}

:focus-visible {
    outline: 2px solid var(--foreground);
    outline-offset: 5px;
}

::selection {
    background: #ededed;
    color: #1e1e1d;
}

.wrap {
    width: min(1120px, calc(100% - 80px));
    margin-inline: auto;
}

.label,
.section-number,
.step-number {
    font: 400 11px/1.4 var(--mono);
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--secondary);
}

.muted {
    color: var(--secondary);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 11px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--foreground);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease;
}

.button.primary {
    border-color: var(--foreground);
    background: var(--foreground);
    color: var(--background);
}

.button:hover {
    background: rgb(255 255 255 / 7%);
    border-color: rgb(255 255 255 / 22%);
}

.button.primary:hover {
    background: #d7d7d4;
    border-color: #d7d7d4;
}

.button svg {
    width: 17px;
    height: 17px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 12px 18px;
    border-radius: 6px;
    background: var(--foreground);
    color: var(--background);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgb(30 30 29 / 94%);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.nav-inner,
.nav > .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: var(--foreground);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.035em;
    text-decoration: none;
}

.brand img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 12px;
    line-height: 1.4;
}

.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    transition: color .18s ease;
}

.nav-links a:hover {
    color: var(--foreground);
}

.nav-action {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 36px;
    padding: 8px 0 8px 14px;
    color: var(--foreground);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}

.pill,
.live-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 6px 10px;
    background: var(--surface);
    font: 400 10px/1.4 var(--mono);
    color: var(--secondary);
    white-space: nowrap;
}

.dot {
    display: inline-block;
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--online);
}

.hero {
    display: grid;
    grid-template-columns: .95fr 1.18fr;
    align-items: center;
    gap: 50px;
    padding-block: 112px 118px;
}

.hero-copy {
    min-width: 0;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 27px;
}

.hero-heading {
    margin: 0 0 25px;
    font-size: clamp(48px, 5.3vw, 72px);
    font-weight: 500;
    letter-spacing: -.065em;
    line-height: 1.055;
}

.hero-heading span {
    color: var(--secondary);
}

.hero-copy > p:not(.hero-note, .hero-meta) {
    max-width: 390px;
    margin: 0;
    color: var(--secondary);
    font-size: 16px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 31px;
}

.hero-note {
    max-width: 385px;
    margin: 17px 0 0;
    color: var(--tertiary);
    font-size: 11px;
    line-height: 1.8;
}

.hero-art {
    min-width: 0;
    padding-top: 10px;
}

.viewfinder-frame {
    position: absolute;
    inset: 0;
    padding: 22px;
}

.viewfinder-frame > svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: #74746e;
    pointer-events: none;
}

.viewfinder-frame::before,
.viewfinder-frame::after {
    display: none;
}

.viewfinder-frame::before {
    border-right: 0;
    border-bottom: 0;
}

.viewfinder-frame::after {
    inset: auto 0 0 auto;
    border-left: 0;
    border-top: 0;
}

.desktop-hero {
    position: relative;
    aspect-ratio: 1.37;
    overflow: hidden;
    font-size: 9px;
}

.desktop-scene {
    position: absolute;
    inset: 22px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 8px;
    background: #353530;
    box-shadow: 0 22px 48px rgb(0 0 0 / 14%);
}

.desktop-scene::before {
    position: absolute;
    top: 33%;
    right: -12%;
    width: 70%;
    aspect-ratio: 1;
    border: 45px solid rgb(255 255 255 / 2.5%);
    border-radius: 50%;
    content: "";
}

.desktop-menubar,
.desktop-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 27px;
    padding: 0 13px;
    background: rgb(12 12 11 / 30%);
    font-size: 8px;
    font-weight: 500;
    color: #d1d1cb;
}

.desktop-menubar span:last-child,
.desktop-topbar span:last-child {
    margin-left: auto;
}

.desktop-app {
    position: absolute;
    top: 20%;
    left: 7%;
    width: 71%;
    height: 66%;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 11%);
    border-radius: 6px;
    background: #ededed;
    color: #3f3f3d;
    box-shadow: 0 10px 30px rgb(0 0 0 / 15%);
}

.window-titlebar {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 30px;
    padding: 0 11px;
    border-bottom: 1px solid rgb(0 0 0 / 7%);
    background: rgb(255 255 255 / 17%);
    font-size: 8px;
    color: #6d6d68;
}

.traffic-lights {
    display: inline-flex;
    flex-shrink: 0;
    gap: 4px;
}

.traffic-lights i,
.traffic-lights span {
    display: block;
    width: 6px;
    height: 6px;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 50%;
    background: #aaa9a5;
}

.traffic-lights i:first-child,
.traffic-lights span:first-child {
    background: #aaa9a5;
}

.traffic-lights i:nth-child(2),
.traffic-lights span:nth-child(2) {
    background: #bbb9b4;
}

.traffic-lights i:nth-child(3),
.traffic-lights span:nth-child(3) {
    background: #92958e;
}

.mini-sidebar {
    position: absolute;
    top: 30px;
    bottom: 0;
    width: 27%;
    padding: 16px 10px;
    border-right: 1px solid rgb(0 0 0 / 6%);
    background: #dededb;
    color: #8b8b86;
    font-size: 7px;
}

.mini-sidebar span {
    display: block;
    margin-bottom: 10px;
}

.document-lines {
    padding: 23px 18px 15px 34%;
    font-size: 8px;
    line-height: 1.8;
}

.document-lines h3 {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -.03em;
}

.document-lines p {
    margin: 7px 0;
}

.document-lines > i,
.document-lines > span {
    display: block;
    height: 4px;
    margin-top: 10px;
    border-radius: 1px;
    background: #c9c9c4;
}

.document-lines > i:nth-child(odd),
.document-lines > span:nth-child(odd) {
    width: 74%;
}

.agent-window {
    position: absolute;
    top: 51%;
    right: 4%;
    width: 53%;
    height: 37%;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 13%);
    border-radius: 6px;
    background: #252523;
    box-shadow: 0 14px 28px rgb(0 0 0 / 22%);
}

.agent-window .window-titlebar {
    height: 26px;
    border-color: var(--border);
    color: #b4b4b0;
}

.terminal-lines {
    padding: 11px 12px;
    color: #b4b4b0;
    font: 400 7.5px/1.9 var(--mono);
}

.terminal-line {
    display: block;
    margin: 0;
}

.terminal-line:last-child {
    color: #dededb;
}

.terminal-caret {
    display: inline-block;
    width: 5px;
    height: 9px;
    margin-left: 4px;
    vertical-align: -1px;
    background: #dededb;
}

.remote-cursor,
.gesture-cursor {
    position: absolute;
    z-index: 5;
    width: 16px;
    height: 21px;
    clip-path: polygon(0 0, 0 85%, 26% 64%, 47% 100%, 64% 92%, 43% 57%, 80% 55%);
    background: #f4f4ee;
    filter: drop-shadow(1px 1px 1px #1e1e1d);
}

.remote-cursor {
    top: 51%;
    left: 57%;
}

.cursor-ripple {
    position: absolute;
    top: 51%;
    left: 57%;
    width: 28px;
    height: 28px;
    margin: -10px;
    border: 1px solid rgb(255 255 255 / 40%);
    border-radius: 50%;
}

.hero-caption,
.display-caption,
.gesture-caption,
.mode-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 16px 0 0;
    color: var(--tertiary);
    font: 400 10px/1.7 var(--mono);
}

.hero-caption {
    padding-inline: 22px;
}

.hero-caption .live-chip {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--secondary);
}

.section {
    padding-block: 88px;
    border-top: 1px solid var(--border);
    scroll-margin-top: 100px;
}

.section-heading {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 26px;
    margin-bottom: 40px;
}

.section-number {
    padding-top: 9px;
}

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

.section-copy h2,
.control-copy h2,
.keyboard-copy h2,
.mode-copy h2,
.access-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 3.35vw, 44px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1.16;
}

.section-copy p,
.section-intro,
.control-copy > p,
.keyboard-copy > p,
.mode-copy > p,
.access-copy > p {
    max-width: 550px;
    margin: 0;
    color: var(--secondary);
    font-size: 15px;
    line-height: 1.8;
}

.display-lab {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.lab-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 76px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
}

.segmented {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 3px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: rgb(0 0 0 / 10%);
}

.segmented button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    padding: 7px 12px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    transition: background .18s ease, color .18s ease;
}

.segmented button[aria-pressed="true"] {
    background: #41413d;
    color: var(--foreground);
    box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
}

.segmented button:hover {
    color: var(--foreground);
}

.segmented button svg {
    width: 13px;
    height: 13px;
}

.device-options,
.display-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.device-options > span,
.display-controls > span {
    color: var(--tertiary);
    font: 400 10px/1.4 var(--mono);
}

.display-viewport {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 528px;
    padding: 28px 36px;
}

.device-frame {
    position: relative;
    flex-shrink: 0;
    width: min(760px, 100%);
    aspect-ratio: 2.1;
    padding: 9px;
    border: 1px solid #55554f;
    border-radius: 34px;
    background: #0e0e0d;
    box-shadow: 0 14px 28px rgb(0 0 0 / 15%);
    transition: width .65s var(--ease), aspect-ratio .65s var(--ease), border-radius .65s var(--ease);
}

.device-frame::after {
    position: absolute;
    top: 50%;
    left: 17px;
    z-index: 5;
    width: 12px;
    height: 48px;
    border-radius: 99px;
    background: #0e0e0d;
    content: "";
    transform: translateY(-50%);
    transition: all .65s var(--ease);
}

.device-frame.is-portrait {
    width: 220px;
    aspect-ratio: .47;
    border-radius: 33px;
}

.device-frame.is-portrait::after {
    top: 17px;
    left: 50%;
    width: 55px;
    height: 14px;
    transform: translateX(-50%);
}

.device-frame.is-ipad {
    width: min(650px, 100%);
    aspect-ratio: 1.4;
    padding: 11px;
    border-radius: 24px;
}

.device-frame.is-ipad::after {
    top: 5px;
    left: 50%;
    width: 3px;
    height: 3px;
    background: #363631;
    transform: translateX(-50%);
}

.device-screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 25px;
    background: #080808;
}

.is-ipad .device-screen {
    border-radius: 14px;
}

.display-desktop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #41413e;
    transition: width .65s var(--ease), left .65s var(--ease), height .65s var(--ease), top .65s var(--ease);
}

.display-desktop::before {
    position: absolute;
    top: 18%;
    right: -8%;
    width: 55%;
    aspect-ratio: 1;
    border: 35px solid rgb(255 255 255 / 3%);
    border-radius: 50%;
    content: "";
}

.is-mirrored .display-desktop {
    top: 0;
    left: 12%;
    width: 76%;
    height: 100%;
}

.is-portrait.is-mirrored .display-desktop {
    top: 35%;
    left: 0;
    width: 100%;
    height: 30%;
}

.is-ipad.is-mirrored .display-desktop {
    top: 6%;
    left: 0;
    width: 100%;
    height: 88%;
}

.desktop-topbar {
    height: 24px;
    padding-inline: 20px;
    font-size: 8px;
}

.finder-window,
.note-window {
    position: absolute;
    overflow: hidden;
    border: 1px solid rgb(0 0 0 / 15%);
    border-radius: 7px;
    background: #ededed;
    color: #565651;
    box-shadow: 0 12px 25px rgb(0 0 0 / 14%);
    transform: scale(var(--desktop_scale, 1));
    transform-origin: top left;
    transition: width .65s var(--ease), height .65s var(--ease), left .65s var(--ease), top .65s var(--ease), transform .4s var(--ease);
}

.finder-window {
    top: 16%;
    left: 8%;
    width: 55%;
    height: 64%;
}

.finder-window .window-titlebar,
.note-window .window-titlebar {
    height: 28px;
    font-size: 8px;
}

.finder-sidebar {
    position: absolute;
    inset: 28px auto 0 0;
    width: 27%;
    padding: 14px 10px;
    background: #dbdbd8;
    font-size: 7px;
    color: #7b7b76;
}

.finder-sidebar span {
    display: block;
    padding: 4px 0;
}

.finder-content {
    padding: 17px 13px 12px 32%;
    font-size: 8px;
}

.finder-content h3 {
    margin: 0 0 13px;
    font-size: 10px;
    font-weight: 600;
}

.file-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 8px;
}

.file-item {
    display: grid;
    justify-items: center;
    gap: 5px;
    min-width: 0;
    color: #777772;
    font-size: 6px;
    text-align: center;
}

.file-item::before {
    width: 23px;
    height: 20px;
    border: 1px solid #a6a6a1;
    border-radius: 2px;
    background: #b9b9b4;
    content: "";
}

.file-item svg {
    width: 25px;
    height: 25px;
    color: #92958f;
}

.file-item:has(svg)::before {
    display: none;
}

.note-window {
    top: 35%;
    left: 56%;
    width: 35%;
    height: 48%;
    background: #e4e4e0;
}

.note-window > h3,
.note-window > p,
.note-window > .note-line {
    margin-inline: 15px;
}

.note-window h3 {
    margin-top: 15px;
    margin-bottom: 11px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: -.025em;
}

.note-window p {
    font-size: 7px;
    line-height: 1.7;
}

.note-line {
    height: 3px;
    margin-top: 9px;
    border-radius: 1px;
    background: #c4c4be;
}

.note-line:nth-child(odd) {
    width: 56%;
}

.desktop-dock {
    position: absolute;
    bottom: 9px;
    left: 50%;
    display: flex;
    gap: 5px;
    padding: 5px 7px;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 9px;
    background: rgb(229 229 215 / 13%);
    transform: translateX(-50%);
}

.desktop-dock i,
.desktop-dock span {
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: 5px;
    background: #a3a59f;
}

.desktop-dock i:nth-child(2),
.desktop-dock span:nth-child(2) {
    background: #d5d5ce;
}

.desktop-dock i:nth-child(3),
.desktop-dock span:nth-child(3) {
    background: #52564f;
}

.desktop-dock i:nth-child(4),
.desktop-dock span:nth-child(4) {
    background: #8b8f86;
}

.is-portrait .desktop-topbar {
    height: 39px;
    padding: 21px 12px 0;
    gap: 10px;
    font-size: 6px;
}

.is-portrait .finder-window {
    top: 15%;
    left: 7%;
    width: 86%;
    height: 40%;
}

.is-portrait .note-window {
    top: 58%;
    left: 15%;
    width: 78%;
    height: 28%;
}

.is-portrait .finder-sidebar {
    width: 27%;
    padding: 10px 6px;
    font-size: 6px;
}

.is-portrait .finder-content {
    padding: 12px 9px 8px 33%;
}

.is-portrait .file-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 5px;
}

.is-portrait .file-item::before {
    width: 19px;
    height: 16px;
}

.is-portrait .desktop-dock i,
.is-portrait .desktop-dock span {
    width: 17px;
    height: 17px;
}

.is-portrait.is-mirrored .desktop-topbar {
    height: 14px;
    padding: 0 8px;
    font-size: 4px;
}

.is-portrait.is-mirrored .finder-window {
    top: 20%;
    left: 8%;
    width: 54%;
    height: 65%;
}

.is-portrait.is-mirrored .note-window {
    top: 35%;
    left: 56%;
    width: 36%;
    height: 49%;
}

.is-portrait.is-mirrored .window-titlebar {
    height: 13px;
    padding-inline: 5px;
    gap: 4px;
    font-size: 4px;
}

.is-portrait.is-mirrored .traffic-lights {
    gap: 2px;
}

.is-portrait.is-mirrored .traffic-lights i {
    width: 3px;
    height: 3px;
}

.is-portrait.is-mirrored .finder-sidebar {
    top: 13px;
    padding: 5px 3px;
    font-size: 3px;
}

.is-portrait.is-mirrored .finder-content {
    padding: 6px 5px 4px 33%;
}

.is-portrait.is-mirrored .finder-content h3 {
    margin-bottom: 5px;
    font-size: 5px;
}

.is-portrait.is-mirrored .file-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 3px;
}

.is-portrait.is-mirrored .file-item {
    gap: 2px;
    font-size: 3px;
}

.is-portrait.is-mirrored .file-item::before {
    width: 10px;
    height: 8px;
}

.is-portrait.is-mirrored .note-window h3 {
    margin: 7px 7px 6px;
    font-size: 5px;
}

.is-portrait.is-mirrored .note-window p {
    margin-inline: 7px;
    font-size: 3px;
}

.is-portrait.is-mirrored .note-line {
    height: 2px;
    margin: 5px 7px 0;
}

.is-portrait.is-mirrored .desktop-dock {
    bottom: 3px;
    gap: 2px;
    padding: 2px 3px;
    border-radius: 4px;
}

.is-portrait.is-mirrored .desktop-dock i,
.is-portrait.is-mirrored .desktop-dock span {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.display-controls {
    justify-content: space-between;
    padding: 17px 24px;
    border-top: 1px solid var(--border);
}

.display-caption {
    padding-inline: 3px;
}

.demo-note {
    color: var(--tertiary);
    font-size: 11px;
    line-height: 1.7;
}

.controls-layout,
.keyboard-layout,
.modes-layout {
    display: grid;
    grid-template-columns: .85fr 1.3fr;
    align-items: center;
    gap: 80px;
}

.control-copy .label,
.keyboard-copy .label,
.mode-copy .label {
    display: block;
    margin-bottom: 22px;
}

.control-tabs {
    display: grid;
    gap: 0;
    margin-top: 28px;
}

.control-tabs button {
    display: grid;
    grid-template-columns: 1fr 14px;
    align-items: center;
    gap: 6px 12px;
    width: 100%;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--border);
    background: transparent;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
}

.control-tabs button > svg {
    width: 16px;
    height: 16px;
}

.control-tabs button > span:first-child {
    grid-column: 1;
    color: inherit;
    font: 500 14px/1.5 var(--font);
}

.control-tabs button > span:nth-child(2) {
    grid-column: 1;
    color: var(--tertiary);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
}

.control-tabs button::after {
    grid-column: 2;
    grid-row: 1 / 3;
    content: "↗";
    color: var(--tertiary);
    font-size: 15px;
}

.control-tabs button[aria-pressed="true"] {
    color: var(--foreground);
}

.control-tabs button[aria-pressed="true"]::after {
    color: var(--foreground);
}

.control-demo,
.keyboard-demo,
.mode-demo {
    min-width: 0;
}

.gesture-screen {
    position: relative;
    aspect-ratio: 1.28;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #30302c;
}

.gesture-screen::before {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #92928a;
    font: 400 8px/1.4 var(--mono);
    letter-spacing: .04em;
    content: "SCREENNOMAD / TRACKPAD";
}

.gesture-note-window {
    position: absolute;
    top: 22%;
    left: 15%;
    width: 70%;
    height: 64%;
    overflow: hidden;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 7px;
    background: #ededed;
    color: #4b4b47;
    box-shadow: 0 15px 30px rgb(0 0 0 / 13%);
}

.gesture-titlebar {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 34px;
    padding: 0 13px;
    border-bottom: 1px solid rgb(0 0 0 / 8%);
    font-size: 9px;
    color: #80807b;
}

.gesture-page {
    height: calc(100% - 34px);
    overflow: hidden;
}

.gesture-content {
    padding: 25px 26px;
    font-size: 10px;
    line-height: 1.9;
}

.gesture-content h3 {
    margin: 0 0 16px;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.3;
}

.gesture-content p {
    margin: 0 0 12px;
}

.gesture-content ul {
    padding-left: 15px;
}

.gesture-content li {
    margin-block: 5px;
}

.gesture-cursor {
    top: 49%;
    left: 56%;
    width: 17px;
    height: 23px;
}

.finger {
    position: absolute;
    z-index: 8;
    width: 29px;
    height: 29px;
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 50%;
    background: rgb(255 255 255 / 10%);
    opacity: 0;
    pointer-events: none;
}

.finger-one {
    top: 63%;
    left: 57%;
}

.finger-two {
    top: 63%;
    left: calc(57% + 36px);
}

.context-menu {
    position: absolute;
    top: 53%;
    left: 53%;
    z-index: 6;
    display: grid;
    gap: 2px;
    min-width: 125px;
    padding: 5px;
    border: 1px solid #c7c7c1;
    border-radius: 6px;
    background: #eeeeea;
    color: #4b4b47;
    box-shadow: 0 8px 18px rgb(0 0 0 / 15%);
    font-size: 8px;
    opacity: 0;
    transform: translateY(5px);
}

.context-menu span {
    padding: 3px 7px;
}

.context-menu span:first-child {
    border-radius: 3px;
    background: #d4d4cf;
}

.gesture-result {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 9;
    width: fit-content;
    max-width: calc(100% - 32px);
    margin-inline: auto;
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: #272725;
    color: #c4c4bf;
    font: 400 9px/1.5 var(--mono);
    text-align: center;
}

.demo-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 14px;
}

.demo-replay,
.playback-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: var(--secondary);
    font: 400 10px/1.5 var(--mono);
}

.demo-replay svg,
.playback-button svg {
    width: 13px;
    height: 13px;
}

.demo-replay:hover,
.playback-button:hover {
    color: var(--foreground);
}

.gesture-caption {
    margin: 0;
}

.gesture-screen.is-playing[data-gesture="click"] .finger-one {
    animation: gestureTap 2.3s var(--ease) both;
}

.gesture-screen.is-playing[data-gesture="click"] .gesture-folder {
    animation: gestureHighlight 2.3s var(--ease) both;
}

.gesture-screen.is-playing[data-gesture="right-click"] .finger-one,
.gesture-screen.is-playing[data-gesture="right-click"] .finger-two {
    animation: gestureTap 2.3s var(--ease) both;
}

.gesture-screen.is-playing[data-gesture="right-click"] .context-menu {
    animation: contextReveal 2.3s var(--ease) both;
}

.gesture-screen.is-playing[data-gesture="drag"] .gesture-note-window {
    animation: windowDrag 2.3s var(--ease) both;
}

.gesture-screen.is-playing[data-gesture="drag"] .gesture-cursor {
    top: 25%;
    left: 54%;
    animation: cursorDrag 2.3s var(--ease) both;
}

.gesture-screen.is-playing[data-gesture="drag"] .finger-one {
    animation: fingerDrag 2.3s var(--ease) both;
}

.gesture-screen.is-playing[data-gesture="scroll"] .finger-one,
.gesture-screen.is-playing[data-gesture="scroll"] .finger-two {
    animation: fingersScroll 2.3s var(--ease) both;
}

.gesture-screen.is-playing[data-gesture="scroll"] .gesture-content {
    animation: contentScroll 2.3s var(--ease) both;
}

@keyframes gestureTap {
    0%, 15% { opacity: 0; transform: scale(1.3); }
    28% { opacity: 1; transform: scale(1); }
    39% { opacity: 1; transform: scale(.82); }
    52%, 100% { opacity: 0; transform: scale(1.45); }
}

@keyframes gestureHighlight {
    0%, 36% { background: transparent; }
    45%, 100% { background: #c7c9c3; }
}

@keyframes contextReveal {
    0%, 35% { opacity: 0; transform: translateY(5px); }
    45%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes windowDrag {
    0%, 25% { transform: translate(0, 0); }
    65%, 100% { transform: translate(8%, -13%); }
}

@keyframes cursorDrag {
    0%, 25% { transform: translate(0, 0); }
    65%, 100% { transform: translate(31px, -33px); }
}

@keyframes fingerDrag {
    0%, 12% { opacity: 0; transform: translate(0, 0); }
    25% { opacity: 1; transform: translate(0, 0); }
    65% { opacity: 1; transform: translate(31px, -33px); }
    80%, 100% { opacity: 0; transform: translate(31px, -33px); }
}

@keyframes fingersScroll {
    0%, 13% { opacity: 0; transform: translateY(0); }
    25% { opacity: 1; transform: translateY(0); }
    65% { opacity: 1; transform: translateY(-50px); }
    78%, 100% { opacity: 0; transform: translateY(-50px); }
}

@keyframes contentScroll {
    0%, 25% { transform: translateY(0); }
    65%, 100% { transform: translateY(-60px); }
}

.keyboard-layout {
    grid-template-columns: 1.3fr .85fr;
}

.keyboard-demo {
    grid-column: 1;
    grid-row: 1;
}

.keyboard-copy {
    grid-column: 2;
}

.editor-window {
    overflow: hidden;
    min-height: 268px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #242423;
}

.editor-title {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 43px;
    padding: 0 16px;
    border-bottom: 1px solid var(--border);
    color: var(--secondary);
    font: 400 10px/1.4 var(--mono);
}

.editor-title > span:last-child {
    margin-left: auto;
}

.editor-body {
    position: relative;
    padding: 24px;
    color: #aaa9a5;
    font: 400 11px/2.15 var(--mono);
}

.editor-line {
    min-height: 23px;
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.editor-line::selection {
    background: #57574f;
    color: #ededed;
}

.editor-line .line-number,
.editor-line > span:first-child:not(:only-child) {
    display: inline-block;
    min-width: 24px;
    color: #62625d;
    user-select: none;
}

.editor-line strong {
    color: #dadad5;
    font-weight: 400;
}

.editor-window.is-selected .editor-line:nth-child(2),
.editor-window.is-selected .editor-line[data-selectable] {
    width: fit-content;
    background: #45453e;
    color: #ededed;
}

.editor-window.is-saved {
    border-color: #7e8574;
}

.editor-window.is-saved .editor-title::after {
    margin-left: auto;
    color: #b6bfa9;
    content: "Saved";
}

.editor-window.is-searching .editor-body::before {
    position: absolute;
    top: 8px;
    right: 12px;
    padding: 3px 12px;
    border: 1px solid #67675c;
    border-radius: 4px;
    background: #33332e;
    color: #deded4;
    font-size: 9px;
    content: "Find: ScreenNomad";
}

.editor-window.is-other-app .editor-body {
    color: #c4c4bd;
    background: #2e2e29;
}

.shortcut-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 12px;
}

.shortcut-bar button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex: 1 1 auto;
    min-height: 39px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--surface);
    color: var(--secondary);
    font-size: 10px;
}

.shortcut-bar button:hover,
.shortcut-bar button[aria-pressed="true"] {
    background: #393935;
    color: var(--foreground);
}

kbd {
    font: 400 10px/1.4 var(--mono);
}

.keycaps {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 26px;
}

.keycaps kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 32px;
    padding: 5px 8px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-bottom-width: 3px;
    border-radius: 5px;
    color: var(--secondary);
    background: #2b2b28;
}

.shortcut-result {
    min-height: 22px;
    margin: 13px 0 0;
    color: var(--tertiary);
    font: 400 10px/1.6 var(--mono);
}

.mode-toolbar {
    margin-bottom: 16px;
}

.mode-toolbar .segmented {
    display: flex;
    width: 100%;
}

.mode-toolbar .segmented button {
    flex: 1;
    padding-inline: 8px;
    font-size: 10px;
}

.mode-stage {
    position: relative;
    min-height: 310px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.mac-device {
    position: absolute;
    top: 18%;
    left: 8%;
    width: 71%;
}

.mac-screen {
    position: relative;
    aspect-ratio: 1.6;
    overflow: hidden;
    border: 6px solid #0f0f0e;
    border-bottom-width: 13px;
    border-radius: 8px 8px 3px 3px;
    outline: 1px solid #575750;
    background: #454541;
}

.mac-base {
    position: relative;
    left: -8%;
    width: 116%;
    height: 9px;
    border: 1px solid #77776e;
    border-radius: 1px 1px 45% 45%;
    background: #8a8a80;
}

.mac-base::before {
    position: absolute;
    top: 0;
    left: 41%;
    width: 18%;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: #64645c;
    content: "";
}

.mode-phone {
    position: absolute;
    right: 7%;
    bottom: 14%;
    width: 25%;
    aspect-ratio: .49;
    padding: 5px;
    border: 1px solid #77776e;
    border-radius: 20px;
    background: #10100f;
    box-shadow: -9px 7px 18px rgb(0 0 0 / 18%);
}

.mode-phone::after {
    position: absolute;
    top: 9px;
    left: 50%;
    width: 28%;
    height: 7px;
    border-radius: 8px;
    background: #10100f;
    content: "";
    transform: translateX(-50%);
}

.mode-phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #454541;
}

.mini-window {
    position: absolute;
    top: 16%;
    left: 9%;
    width: 59%;
    height: 62%;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 3px;
    background: #e2e2dd;
    transition: left .45s var(--ease), top .45s var(--ease), opacity .3s ease;
}

.mini-window::before {
    display: block;
    height: 12%;
    border-bottom: 1px solid rgb(0 0 0 / 8%);
    background: rgb(0 0 0 / 4%);
    content: "";
}

.mini-window::after {
    position: absolute;
    top: 30%;
    right: 13%;
    left: 13%;
    height: 3px;
    background: #b7b7b0;
    box-shadow: 0 9px #c2c2ba, 0 18px #c2c2ba;
    content: "";
}

.mini-window:nth-child(2) {
    top: 43%;
    left: 54%;
    width: 34%;
    height: 42%;
    background: #b9bcb3;
}

.mode-phone-screen .mini-window {
    top: 20%;
    left: 10%;
    width: 80%;
    height: 40%;
}

.mode-phone-screen .mini-window:nth-child(2) {
    top: 64%;
    left: 15%;
    width: 75%;
    height: 25%;
}

.mode-phone-screen .mini-window::after {
    height: 2px;
    box-shadow: 0 6px #c2c2ba, 0 12px #c2c2ba;
}

.lock-state,
.restore-state {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px;
    background: #252523;
    color: #97978d;
    font: 400 8px/1.5 var(--mono);
    text-align: center;
    opacity: 0;
    transition: opacity .35s ease;
}

.lock-state svg {
    width: 20px;
    height: 20px;
}

.restore-state svg {
    width: 17px;
    height: 17px;
}

.mode-stage[data-mode="locked"] .mac-screen .lock-state,
.mode-stage[data-mode="restored"] .mode-phone .restore-state {
    opacity: 1;
}

.mode-stage[data-mode="mirror"] .mode-phone-screen .mini-window {
    top: 37%;
    left: 8%;
    width: 57%;
    height: 24%;
}

.mode-stage[data-mode="mirror"] .mode-phone-screen .mini-window:nth-child(2) {
    top: 47%;
    left: 53%;
    width: 37%;
    height: 16%;
}

.mode-stage[data-mode="extra"] .mode-phone-screen .mini-window:first-child {
    top: 18%;
    height: 68%;
    background: #b9bcb3;
}

.mode-stage[data-mode="extra"] .mode-phone-screen .mini-window:nth-child(2) {
    opacity: 0;
}

.mode-caption {
    min-height: 32px;
    align-items: flex-start;
}

.connection-layout {
    display: grid;
    grid-template-columns: .9fr 1.3fr;
    align-items: center;
    gap: 80px;
}

.connection-options {
    margin-top: 24px;
}

.connection-diagram {
    display: block;
    padding: 20px 0;
}

.connection-node {
    display: grid;
    justify-items: center;
    gap: 14px;
    flex-shrink: 0;
    color: var(--secondary);
    font: 400 10px/1.5 var(--mono);
    text-align: center;
}

.connection-node > svg {
    width: 47px;
    height: 47px;
    padding: 8px;
    color: #b9b9b0;
}

.connection-node:last-child > svg {
    width: 40px;
}

.connection-line {
    position: relative;
    flex: 1;
    min-width: 50px;
    height: 1px;
    margin: -28px 18px 0;
    background: #5a5a52;
}

.connection-line::before,
.connection-line::after {
    position: absolute;
    top: -2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #94948a;
    content: "";
}

.connection-line::before {
    left: 0;
}

.connection-line::after {
    right: 0;
}

.connection-line > span {
    position: absolute;
    top: -27px;
    left: 50%;
    color: var(--tertiary);
    font: 400 9px/1.4 var(--mono);
    white-space: nowrap;
    transform: translateX(-50%);
}

.connection-line > svg {
    position: absolute;
    top: -9px;
    left: 50%;
    width: 18px;
    height: 18px;
    padding: 2px;
    background: var(--background);
    color: var(--secondary);
    transform: translateX(-50%);
}

.connection-detail {
    min-height: 44px;
    margin: 0;
    color: var(--secondary);
    font-size: 12px;
    line-height: 1.8;
}

.setup-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin: 48px 0 0;
    padding: 0;
    list-style: none;
}

.setup-list li {
    min-width: 0;
    padding-top: 22px;
    border-top: 1px solid #55554e;
}

.step-number {
    display: block;
    margin-bottom: 28px;
    color: var(--tertiary);
}

.setup-copy h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -.025em;
}

.setup-copy p {
    margin: 0;
    color: var(--secondary);
    font-size: 13px;
    line-height: 1.85;
}

.setup-copy a {
    text-decoration-color: #66665d;
}

.faq-list {
    margin-left: 156px;
}

.faq-list details {
    border-top: 1px solid var(--border);
}

.faq-list details:last-child {
    border-bottom: 1px solid var(--border);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 23px 0;
    color: #cfcec8;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    flex-shrink: 0;
    width: 15px;
    color: var(--tertiary);
    font: 400 18px/1 var(--mono);
    content: "+";
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    max-width: 740px;
    margin: -2px 34px 24px 0;
    color: var(--secondary);
    font-size: 13px;
    line-height: 1.9;
}

.access-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-block: 68px 76px;
    border-top: 1px solid var(--border);
}

.access-copy h2 {
    margin-bottom: 12px;
    font-size: clamp(28px, 3vw, 38px);
}

.access-copy > .label {
    display: block;
    margin-bottom: 20px;
}

.access-copy > p {
    font-size: 13px;
}

.access-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
}

.site-footer,
footer {
    color: var(--tertiary);
    font-size: 11px;
}

.footer-inner,
footer > .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 27px 35px;
    border-top: 1px solid var(--border);
}

.footer-inner p,
footer p {
    margin: 0;
}

.site-footer nav,
footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 23px;
}

.site-footer a,
footer a {
    color: var(--secondary);
    text-decoration: none;
}

.site-footer a:hover,
footer a:hover {
    color: var(--foreground);
}

.doc {
    max-width: 720px;
    padding-block: 76px 80px;
}

.doc h1 {
    margin: 16px 0 20px;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1.15;
}

.doc h2 {
    margin: 40px 0 12px;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -.03em;
}

.doc p,
.doc li {
    color: var(--secondary);
    font-size: 15px;
    line-height: 1.9;
}

.doc strong {
    color: var(--foreground);
    font-weight: 600;
}

.doc ul,
.doc ol {
    padding-left: 22px;
}

.doc li {
    margin-block: 6px;
}

.doc a {
    text-decoration-color: #64645b;
}

.doc .fine {
    color: var(--tertiary);
    font-size: 12px;
}


.menu-mark {
    width: 7px;
    height: 9px;
    border-radius: 3px 3px 4px 4px;
    background: #d1d1cb;
}

.desktop-hero .mini-sidebar span {
    width: 82%;
    height: 4px;
    margin-bottom: 14px;
    border-radius: 1px;
    background: #bdbdb8;
}

.desktop-hero .mini-sidebar span:nth-child(2) {
    width: 65%;
}

.document-lines > b {
    display: block;
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -.04em;
}

.desktop-hero .live-chip {
    position: absolute;
    right: 33px;
    bottom: 34px;
    z-index: 6;
    gap: 5px;
    padding: 5px 8px;
    border-color: rgb(255 255 255 / 10%);
    background: #272725;
    color: #c2c2ba;
    font-size: 7px;
    letter-spacing: .03em;
}

.remote-cursor {
    width: 20px;
    height: 25px;
    clip-path: none;
    background: transparent;
    color: #ededed;
    filter: none;
    animation: heroCursor 9s var(--ease) infinite;
}

.remote-cursor > svg {
    width: 100%;
    height: 100%;
}

.remote-cursor .cursor-ripple {
    top: 3px;
    left: 4px;
    opacity: 0;
    animation: heroClick 9s ease infinite;
}

.desktop-hero .terminal-caret {
    animation: caretBlink 1.1s steps(1, end) infinite;
}

.desktop-hero .terminal-line:nth-child(3) {
    animation: buildReveal 9s steps(1, end) infinite;
}

.desktop-hero .terminal-line:nth-child(4),
.desktop-hero .terminal-line:nth-child(5) {
    animation: statusReveal 9s steps(1, end) infinite;
}

.desktop-hero.is-paused *,
.desktop-hero.is-paused *::before,
.desktop-hero.is-paused *::after {
    animation-play-state: paused !important;
}

@keyframes heroCursor {
    0%, 12%, 100% { left: 54%; top: 44%; }
    31%, 46% { left: 69%; top: 63%; }
    66%, 81% { left: 47%; top: 37%; }
}

@keyframes heroClick {
    0%, 30%, 44%, 65%, 79%, 100% { opacity: 0; transform: scale(.5); }
    33%, 68% { opacity: .7; transform: scale(.7); }
    41%, 76% { opacity: 0; transform: scale(1.6); }
}

@keyframes caretBlink {
    0%, 54% { opacity: 1; }
    55%, 100% { opacity: 0; }
}

@keyframes buildReveal {
    0%, 23% { opacity: 0; }
    24%, 100% { opacity: 1; }
}

@keyframes statusReveal {
    0%, 52% { opacity: 0; }
    53%, 100% { opacity: 1; }
}

.device-island {
    display: none;
}

.device-frame.is-turning {
    animation: deviceTurn .65s var(--ease) both;
}

.device-frame.is-portrait.is-turning {
    animation-name: deviceTurnUpright;
}

@keyframes deviceTurn {
    from { transform: rotate(6deg) scale(.95); }
    to { transform: rotate(0) scale(1); }
}

@keyframes deviceTurnUpright {
    from { transform: rotate(-6deg) scale(.95); }
    to { transform: rotate(0) scale(1); }
}

.finder-path {
    display: block;
    margin-bottom: 13px;
    font-size: 9px;
    font-weight: 600;
}

.file-item::before {
    height: 17px;
    margin-top: 4px;
    border-radius: 1px 3px 3px 3px;
    box-shadow: -4px -4px 0 -1px #b9b9b4;
}

.note-window > b {
    display: block;
    margin: 17px 15px 15px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: -.025em;
}

.note-window .note-line {
    display: block;
}

.display-caption {
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.display-caption p {
    margin: 0;
}

.control-tabs {
    margin-top: 0;
}

.control-tabs button[aria-pressed="true"] > span:nth-child(2) {
    color: var(--secondary);
}

.control-footnote {
    margin-top: 22px !important;
    font-size: 12px !important;
    line-height: 1.8;
}

.gesture-screen::before {
    display: none;
}

.gesture-content > b {
    display: block;
    margin-bottom: 15px;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.3;
}

.gesture-content p {
    margin-bottom: 15px;
}

.gesture-folder {
    position: absolute;
    top: 10%;
    right: 6%;
    z-index: 3;
    display: grid;
    justify-items: center;
    gap: 6px;
    width: 58px;
    padding: 9px 5px 5px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #c4c4ba;
    font-size: 8px;
}

.gesture-folder i {
    display: block;
    width: 29px;
    height: 24px;
    border: 1px solid #a7aaa0;
    border-radius: 1px 3px 3px 3px;
    background: #c2c7b9;
    box-shadow: -5px -5px 0 -1px #b1b6a9;
}

.gesture-cursor {
    font-size: 0;
}

.gesture-screen[data-gesture="click"] .gesture-cursor,
.gesture-screen[data-gesture="right-click"] .gesture-cursor {
    top: 20%;
    left: 85%;
}

.gesture-screen[data-gesture="click"] .finger-one,
.gesture-screen[data-gesture="right-click"] .finger-one {
    top: 22%;
    left: 81%;
}

.gesture-screen[data-gesture="right-click"] .finger-two {
    top: 22%;
    left: 88%;
}

.gesture-screen[data-gesture="right-click"] .context-menu {
    top: 29%;
    right: 5%;
    left: auto;
}

.gesture-screen.is-complete[data-gesture="click"] .gesture-folder {
    border-color: #8b8f84;
    background: rgb(255 255 255 / 10%);
}

.gesture-screen.is-complete[data-gesture="right-click"] .context-menu {
    opacity: 1;
    transform: none;
}

.gesture-screen.is-complete[data-gesture="drag"] .gesture-note-window {
    transform: translate(8%, -13%);
}

.gesture-screen.is-complete[data-gesture="drag"] .gesture-cursor {
    top: 16%;
    left: 61%;
}

.gesture-screen.is-complete[data-gesture="scroll"] .gesture-content {
    transform: translateY(-60px);
}

.gesture-caption {
    align-items: flex-start;
    margin-top: 13px;
}

.gesture-caption p {
    margin: 7px 0 0;
}

.gesture-caption .demo-replay {
    flex-shrink: 0;
}

.editor-body {
    min-height: 224px;
}

.editor-body .editor-line {
    margin-top: 20px;
    color: #ededed;
    font: 500 23px/1.4 var(--font);
    letter-spacing: -.035em;
}

.editor-text {
    width: fit-content;
    max-width: 100%;
    margin-top: 20px;
    color: #b4b4ae;
    font: 400 13px/1.75 var(--font);
}

.editor-search,
.editor-other-app {
    display: none;
}

.editor-window.is-selected .editor-text {
    background: #55564d;
    color: #ededed;
}

.editor-window.is-selected .editor-line {
    width: auto;
    background: transparent;
    color: #ededed;
}

.editor-window.is-saved .editor-title::after,
.editor-window.is-searching .editor-body::before {
    display: none;
}

.editor-window.is-searching .editor-search {
    position: absolute;
    top: 12px;
    right: 15px;
    display: block;
    padding: 4px 10px;
    border: 1px solid #5d5d56;
    border-radius: 4px;
    background: #30302b;
    font-size: 9px;
}

.editor-window.is-searching .editor-search b {
    color: #d7d7ce;
    font-weight: 400;
}

.editor-window.is-undone .editor-text {
    width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.editor-window.is-other-app .editor-line,
.editor-window.is-other-app .editor-text {
    display: none;
}

.editor-window.is-other-app .editor-other-app {
    display: block;
    margin-top: 17px;
    color: #ededed;
    font: 400 18px/2 var(--mono);
}

.editor-other-app small {
    font-size: 11px;
}

.shortcut-bar button.is-active {
    background: #3e3e38;
    color: var(--foreground);
    border-color: #65655b;
}

.keyboard-copy > p + p,
.connection-layout .section-copy > p + p {
    margin-top: 17px;
    font-size: 13px;
}

.mode-toolbar {
    margin-bottom: 0;
}

.mode-stage {
    min-height: 370px;
}

.mode-connection {
    position: absolute;
    right: 14%;
    bottom: 11%;
    width: 18%;
    height: 12%;
    border: 1px dashed #626259;
    border-top: 0;
    border-right: 0;
    opacity: .8;
}

.mode-stage[data-mode="restored"] .mode-phone-screen {
    background: #252523;
}

.mode-stage[data-mode="restored"] .mode-phone .mini-window,
.mode-stage[data-mode="restored"] .mode-connection {
    opacity: 0;
}

.mode-stage[data-mode="restored"] .mac-screen .restore-state {
    inset: auto 6px 6px auto;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 1px solid #777c6f;
    border-radius: 50%;
    background: #393c34;
    color: #c8cebd;
    opacity: 1;
}

.connection-layout .section-copy > .label {
    display: block;
    margin-bottom: 22px;
}

.connection-options {
    margin-top: 0;
}

.connection-route {
    display: flex;
    align-items: center;
    width: 100%;
    padding-block: 48px 27px;
}

.connection-line > span {
    top: -12px;
    width: 62px;
    padding: 6px;
    background: var(--background);
    color: var(--secondary);
    text-align: center;
}

.connection-line > span::after {
    content: "Wi-Fi";
}

.connection-route[data-connection="away"] .connection-line {
    height: 0;
    border-top: 1px dashed #77776d;
    background: transparent;
}

.connection-route[data-connection="away"] .connection-line > span::after {
    content: "Internet";
}

.access-actions > .muted {
    font: 400 9px/1.6 var(--mono);
}

.footer-inner .brand {
    gap: 8px;
    font-size: 12px;
}

.footer-inner .brand img {
    width: 20px;
    height: 20px;
}

@media (min-width: 1300px) {
    .hero {
        gap: 70px;
    }
}

@media (max-width: 1000px) {
    .wrap {
        width: calc(100% - 56px);
    }

    .hero {
        gap: 30px;
        padding-block: 88px 90px;
    }

    .hero-heading {
        font-size: 56px;
    }

    .hero-actions .button {
        padding-inline: 15px;
    }

    .hero-copy > p:not(.hero-note, .hero-meta) {
        font-size: 14px;
    }

    .viewfinder-frame {
        padding: 17px;
    }

    .desktop-scene {
        inset: 17px;
    }

    .desktop-hero .live-chip {
        right: 28px;
        bottom: 28px;
    }

    .controls-layout,
    .keyboard-layout,
    .modes-layout,
    .connection-layout {
        gap: 40px;
    }

    .nav-links {
        gap: 22px;
    }

    .section {
        padding-block: 72px;
    }

    .mode-toolbar .segmented button {
        padding-inline: 6px;
        font-size: 9px;
    }

    .gesture-content {
        padding: 20px;
    }

    .gesture-content h3 {
        font-size: 18px;
    }

    .mode-stage {
        min-height: 270px;
    }

    .editor-body {
        padding: 19px;
        font-size: 10px;
    }

    .shortcut-bar button {
        padding-inline: 8px;
        font-size: 9px;
    }
}

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

    .nav-inner,
    .nav > .wrap {
        flex-wrap: wrap;
        gap: 0;
        min-height: 104px;
        padding-block: 15px 12px;
    }

    .brand {
        font-size: 15px;
    }

    .nav-action {
        margin-left: auto;
    }

    .nav-links {
        order: 3;
        justify-content: space-between;
        gap: 20px;
        width: 100%;
        padding-top: 13px;
        font-size: 11px;
    }

    .nav-links .pill {
        margin-left: auto;
        font-size: 9px;
        padding: 4px 8px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-block: 60px 66px;
    }

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

    .hero-meta {
        margin-bottom: 23px;
    }

    .hero-heading {
        margin-bottom: 23px;
        font-size: clamp(52px, 9vw, 72px);
    }

    .hero-copy > p:not(.hero-note, .hero-meta) {
        max-width: 440px;
        font-size: 15px;
    }

    .hero-actions {
        margin-top: 26px;
    }

    .hero-note {
        max-width: none;
        font-size: 10px;
    }

    .hero-art {
        width: min(530px, 100%);
        margin-inline: auto;
        padding-top: 0;
    }

    .desktop-hero {
        aspect-ratio: 1.55;
    }

    .hero-caption {
        padding-inline: 17px;
    }

    .section-heading {
        display: block;
        margin-bottom: 32px;
    }

    .section-number {
        display: block;
        margin-bottom: 17px;
        padding-top: 0;
    }

    .section-copy h2,
    .control-copy h2,
    .keyboard-copy h2,
    .mode-copy h2 {
        font-size: clamp(30px, 5.5vw, 39px);
    }

    .section-copy p,
    .section-intro,
    .control-copy > p,
    .keyboard-copy > p,
    .mode-copy > p {
        font-size: 14px;
    }

    .lab-toolbar {
        flex-wrap: wrap;
        justify-content: center;
        padding: 16px;
    }

    .device-options {
        justify-content: center;
    }

    .display-viewport {
        min-height: 460px;
        padding: 22px;
    }

    .device-frame {
        padding: 7px;
        border-radius: 26px;
    }

    .device-screen {
        border-radius: 19px;
    }

    .device-frame.is-portrait {
        width: 193px;
        border-radius: 29px;
    }

    .device-frame.is-portrait .device-screen {
        border-radius: 22px;
    }

    .device-frame.is-ipad {
        width: min(500px, 100%);
    }

    .display-controls {
        justify-content: center;
        gap: 10px;
        padding: 15px;
    }

    .display-caption {
        align-items: flex-start;
        font-size: 9px;
    }

    .controls-layout,
    .keyboard-layout,
    .modes-layout,
    .connection-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .control-copy,
    .keyboard-copy,
    .mode-copy {
        max-width: 560px;
    }

    .control-copy .label,
    .keyboard-copy .label,
    .mode-copy .label {
        margin-bottom: 17px;
    }

    .control-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 0 22px;
        margin-top: 0;
    }

    .control-tabs button {
        display: grid;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 5px;
        min-height: 98px;
        padding: 14px 0;
        font-size: 12px;
        text-align: left;
    }

    .control-tabs button[aria-pressed="true"] {
        border-color: #d0d0c7;
    }

    .control-tabs button::after {
        display: none;
    }

    .control-tabs button > span:first-child {
        display: block;
        font-size: 13px;
    }

    .gesture-screen {
        aspect-ratio: 1.45;
    }

    .gesture-content {
        font-size: 11px;
    }

    .gesture-content h3 {
        font-size: 21px;
    }

    .keyboard-copy,
    .keyboard-demo {
        grid-column: auto;
        grid-row: auto;
    }

    .keyboard-copy {
        order: 0;
    }

    .keyboard-demo {
        order: 1;
    }

    .editor-body {
        min-height: 215px;
        padding: 24px;
        font-size: 11px;
    }

    .shortcut-bar button {
        min-height: 42px;
        font-size: 10px;
    }

    .mode-toolbar .segmented button {
        min-height: 35px;
        font-size: 10px;
    }

    .mode-stage {
        min-height: 350px;
    }

    .mac-device {
        top: 15%;
        left: 8%;
        width: 70%;
    }

    .mode-phone {
        right: 8%;
        bottom: 13%;
        width: 23%;
    }

    .connection-diagram {
        max-width: 560px;
        padding-block: 10px 20px;
    }

    .connection-detail {
        max-width: 540px;
    }

    .setup-list {
        gap: 22px;
        margin-top: 35px;
    }

    .setup-copy h3 {
        font-size: 14px;
    }

    .setup-copy p {
        font-size: 14px;
    }

    .faq-list {
        margin-left: 0;
    }

    .access-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 27px;
        padding-block: 58px;
    }

    .footer-inner,
    footer > .wrap {
        flex-wrap: wrap;
        gap: 18px;
    }

    .doc {
        padding-top: 52px;
    }
}

@media (max-width: 480px) {
    .wrap {
        width: calc(100% - 40px);
    }

    .nav-inner,
    .nav > .wrap {
        min-height: 107px;
    }

    .brand {
        gap: 8px;
        font-size: 14px;
    }

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

    .nav-action {
        min-height: 33px;
        padding: 7px 10px;
        font-size: 10px;
    }

    .nav-links {
        gap: 15px;
        font-size: 10px;
    }

    .hero {
        gap: 36px;
        padding-top: 49px;
        padding-bottom: 53px;
    }

    .hero-heading {
        font-size: clamp(46px, 12vw, 58px);
        line-height: 1.08;
    }

    .hero-meta {
        gap: 8px;
        margin-bottom: 20px;
    }

    .hero-meta .label {
        font-size: 9px;
    }

    .hero-meta .pill {
        font-size: 9px;
    }

    .hero-copy > p:not(.hero-note, .hero-meta) {
        font-size: 14px;
    }

    .hero-actions {
        gap: 8px;
    }

    .hero-actions .button {
        min-height: 45px;
        padding-inline: 14px;
        font-size: 11px;
    }

    .hero-note {
        margin-top: 14px;
        font-size: 9px;
    }

    .viewfinder-frame {
        padding: 14px;
    }

    .desktop-scene {
        inset: 14px;
    }

    .desktop-hero .live-chip {
        right: 22px;
        bottom: 22px;
        padding: 3px 6px;
        font-size: 6px;
    }

    .document-lines > b {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .finder-path {
        margin-bottom: 7px;
        font-size: 6px;
    }

    .note-window > b {
        margin: 10px 8px;
        font-size: 7px;
    }

    .is-portrait .note-window > b {
        font-size: 9px;
    }

    .gesture-content > b {
        font-size: 18px;
    }

    .keyboard-copy > p + p,
    .connection-layout .section-copy > p + p {
        font-size: 14px;
    }

    .editor-body .editor-line {
        font-size: 21px;
    }

    .editor-text {
        font-size: 12px;
    }

    .connection-line > span {
        top: -12px;
        font-size: 9px;
    }

    .viewfinder-frame::before,
    .viewfinder-frame::after {
        width: 14px;
        height: 14px;
    }

    .desktop-hero {
        aspect-ratio: 1.4;
        border-radius: 6px;
    }

    .desktop-menubar {
        height: 22px;
        gap: 11px;
        padding-inline: 10px;
        font-size: 6px;
    }

    .desktop-app {
        top: 20%;
        left: 6%;
        width: 76%;
        height: 66%;
    }

    .window-titlebar {
        height: 24px;
        padding-inline: 8px;
        font-size: 6px;
    }

    .traffic-lights {
        gap: 3px;
    }

    .traffic-lights i,
    .traffic-lights span {
        width: 5px;
        height: 5px;
    }

    .mini-sidebar {
        top: 24px;
        padding: 13px 7px;
        font-size: 5px;
    }

    .document-lines {
        padding-top: 17px;
        font-size: 6px;
    }

    .document-lines h3 {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .agent-window {
        top: 53%;
        right: 3%;
        width: 57%;
        height: 36%;
    }

    .agent-window .window-titlebar {
        height: 22px;
    }

    .terminal-lines {
        padding: 8px 9px;
        font-size: 5.6px;
    }

    .terminal-caret {
        width: 4px;
        height: 7px;
    }

    .hero-caption {
        gap: 8px;
        padding-inline: 14px;
        font-size: 8px;
    }

    .hero-caption .live-chip {
        font-size: 8px;
    }

    .section {
        padding-block: 56px;
    }

    .section-heading {
        grid-template-columns: 27px 1fr;
        gap: 9px;
        margin-bottom: 27px;
    }

    .section-number {
        padding-top: 7px;
        font-size: 9px;
    }

    .section-copy h2,
    .control-copy h2,
    .keyboard-copy h2,
    .mode-copy h2 {
        font-size: 30px;
    }

    .section-copy p,
    .section-intro,
    .control-copy > p,
    .keyboard-copy > p,
    .mode-copy > p {
        font-size: 14px;
    }

    .display-lab {
        border-radius: 8px;
    }

    .lab-toolbar {
        gap: 10px;
        padding: 13px 10px;
    }

    .lab-toolbar .segmented {
        flex: 1 1 auto;
        justify-content: center;
    }

    .segmented button {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .device-options {
        gap: 9px;
        width: 100%;
    }

    .device-options .segmented {
        flex: 0 1 auto;
    }

    .device-options > span {
        font-size: 8px;
    }

    .display-viewport {
        min-height: 410px;
        padding: 18px 12px;
    }

    .device-frame {
        padding: 5px;
        border-radius: 20px;
    }

    .device-screen {
        border-radius: 15px;
    }

    .device-frame::after {
        left: 10px;
        width: 8px;
        height: 30px;
    }

    .device-frame.is-portrait {
        width: 170px;
        padding: 7px;
        border-radius: 26px;
    }

    .device-frame.is-portrait .device-screen {
        border-radius: 19px;
    }

    .device-frame.is-portrait::after {
        top: 13px;
        width: 46px;
        height: 12px;
    }

    .device-frame.is-ipad {
        padding: 7px;
        border-radius: 16px;
    }

    .is-ipad .device-screen {
        border-radius: 9px;
    }

    .device-frame.is-ipad::after {
        top: 3px;
        width: 2px;
        height: 2px;
    }

    .desktop-topbar {
        height: 15px;
        gap: 10px;
        padding-inline: 12px;
        font-size: 5px;
    }

    .finder-window,
    .note-window {
        border-radius: 4px;
    }

    .finder-window .window-titlebar,
    .note-window .window-titlebar {
        height: 18px;
        gap: 5px;
        padding-inline: 6px;
        font-size: 5px;
    }

    .finder-window .traffic-lights i,
    .note-window .traffic-lights i {
        width: 3px;
        height: 3px;
    }

    .finder-window .traffic-lights,
    .note-window .traffic-lights {
        gap: 2px;
    }

    .finder-sidebar {
        top: 18px;
        padding: 7px 5px;
        font-size: 4px;
    }

    .finder-sidebar span {
        padding-block: 2px;
    }

    .finder-content {
        padding: 9px 7px 5px 32%;
    }

    .finder-content h3 {
        margin-bottom: 7px;
        font-size: 6px;
    }

    .file-grid {
        gap: 7px 4px;
    }

    .file-item {
        gap: 3px;
        font-size: 4px;
    }

    .file-item::before {
        width: 14px;
        height: 12px;
    }

    .file-item svg {
        width: 16px;
        height: 16px;
    }

    .note-window h3 {
        margin: 9px 8px 6px;
        font-size: 7px;
    }

    .note-window p {
        margin-inline: 8px;
        font-size: 4px;
    }

    .note-window > .note-line {
        height: 2px;
        margin: 5px 8px 0;
    }

    .desktop-dock {
        bottom: 5px;
        gap: 3px;
        padding: 3px 4px;
        border-radius: 6px;
    }

    .desktop-dock i,
    .desktop-dock span {
        width: 12px;
        height: 12px;
        border-radius: 3px;
    }

    .is-portrait .desktop-topbar {
        height: 30px;
        padding: 17px 10px 0;
        font-size: 4px;
    }

    .is-portrait .finder-sidebar {
        padding: 7px 4px;
        font-size: 4px;
    }

    .is-portrait .finder-content {
        padding: 9px 6px 5px 33%;
    }

    .is-portrait .file-grid {
        gap: 8px 5px;
    }

    .is-portrait .file-item::before {
        width: 16px;
        height: 14px;
    }

    .is-portrait .desktop-dock i,
    .is-portrait .desktop-dock span {
        width: 14px;
        height: 14px;
    }

    .is-portrait .note-window h3 {
        font-size: 9px;
    }

    .is-portrait .note-window p {
        font-size: 6px;
    }

    .display-controls {
        gap: 7px;
        padding: 12px 9px;
    }

    .display-controls > span {
        font-size: 8px;
    }

    .size-options button {
        padding-inline: 9px;
        font-size: 11px;
    }

    .display-caption {
        display: block;
        font-size: 8px;
    }

    .display-caption > span {
        display: block;
        margin-top: 3px;
    }

    .demo-note {
        font-size: 10px;
    }

    .control-tabs {
        gap: 9px;
    }

    .control-tabs button {
        gap: 5px;
        font-size: 12px;
    }

    .control-tabs button > svg {
        width: 13px;
        height: 13px;
    }

    .gesture-screen {
        aspect-ratio: 1.15;
        border-radius: 8px;
    }

    .gesture-screen::before {
        top: 15px;
        left: 15px;
        font-size: 6px;
    }

    .gesture-note-window {
        top: 22%;
        left: 10%;
        width: 80%;
        height: 64%;
    }

    .gesture-titlebar {
        height: 27px;
        gap: 10px;
        padding-inline: 10px;
        font-size: 7px;
    }

    .gesture-page {
        height: calc(100% - 27px);
    }

    .gesture-content {
        padding: 18px 20px;
        font-size: 8px;
    }

    .gesture-content h3 {
        margin-bottom: 12px;
        font-size: 18px;
    }

    .gesture-result {
        bottom: 13px;
        padding: 6px 8px;
        font-size: 7px;
    }

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

    .finger-two {
        left: calc(57% + 30px);
    }

    .context-menu {
        min-width: 100px;
        font-size: 7px;
    }

    .demo-actions {
        gap: 9px;
    }

    .gesture-caption {
        max-width: 210px;
        font-size: 8px;
    }

    .demo-replay,
    .playback-button {
        flex-shrink: 0;
        font-size: 9px;
    }

    .editor-title {
        min-height: 39px;
        padding-inline: 13px;
        gap: 11px;
        font-size: 8px;
    }

    .editor-body {
        min-height: 205px;
        padding: 20px 16px;
        font-size: 9px;
    }

    .editor-line .line-number,
    .editor-line > span:first-child:not(:only-child) {
        min-width: 19px;
    }

    .shortcut-bar {
        gap: 5px;
    }

    .shortcut-bar button {
        flex-basis: calc(33.333% - 5px);
        justify-content: center;
        gap: 9px;
        min-height: 39px;
        font-size: 9px;
    }

    .shortcut-bar kbd {
        font-size: 9px;
    }

    .keycaps {
        margin-top: 20px;
    }

    .shortcut-result {
        font-size: 9px;
    }

    .mode-toolbar .segmented {
        gap: 1px;
        padding: 3px;
    }

    .mode-toolbar .segmented button {
        padding: 7px 4px;
        font-size: 8px;
    }

    .mode-stage {
        min-height: 275px;
    }

    .mac-device {
        top: 20%;
        left: 7%;
        width: 73%;
    }

    .mac-screen {
        border-width: 5px;
        border-bottom-width: 10px;
        border-radius: 5px 5px 2px 2px;
    }

    .mac-base {
        height: 7px;
    }

    .mode-phone {
        right: 7%;
        bottom: 15%;
        width: 25%;
        padding: 4px;
        border-radius: 15px;
    }

    .mode-phone-screen {
        border-radius: 10px;
    }

    .mode-phone::after {
        top: 7px;
        height: 5px;
    }

    .mini-window::after {
        height: 2px;
        box-shadow: 0 6px #c2c2ba, 0 12px #c2c2ba;
    }

    .mode-phone-screen .mini-window::after {
        height: 1px;
        box-shadow: 0 4px #c2c2ba, 0 8px #c2c2ba;
    }

    .lock-state,
    .restore-state {
        gap: 6px;
        font-size: 6px;
    }

    .lock-state svg {
        width: 16px;
        height: 16px;
    }

    .mode-caption {
        font-size: 9px;
    }

    .connection-node {
        gap: 10px;
        font-size: 9px;
    }

    .connection-line {
        margin-inline: 14px;
        margin-top: -24px;
    }

    .connection-line > span {
        top: -24px;
        font-size: 8px;
    }

    .connection-detail {
        font-size: 11px;
    }

    .setup-list {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 31px;
    }

    .setup-list li {
        display: grid;
        grid-template-columns: 27px 1fr;
        gap: 9px;
        padding-top: 20px;
    }

    .step-number {
        margin-bottom: 0;
        padding-top: 4px;
        font-size: 9px;
    }

    .setup-copy h3 {
        font-size: 15px;
    }

    .setup-copy p {
        font-size: 14px;
    }

    .faq-list {
        margin-left: 0;
    }

    .faq-list summary {
        gap: 15px;
        padding-block: 19px;
        font-size: 14px;
    }

    .faq-list details p {
        margin-right: 18px;
        margin-bottom: 20px;
        font-size: 14px;
    }

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

    .access-copy h2 {
        font-size: 30px;
    }

    .access-copy > p {
        font-size: 14px;
    }

    .access-actions .button {
        min-height: 45px;
        padding-inline: 15px;
        font-size: 11px;
    }

    .footer-inner,
    footer > .wrap {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
        padding-block: 24px 28px;
        font-size: 10px;
    }

    .site-footer nav,
    footer nav {
        gap: 22px;
    }

    .doc {
        padding-block: 46px 60px;
    }

    .doc h1 {
        font-size: 38px;
    }

    .doc p,
    .doc li {
        font-size: 14px;
    }
}


.keyboard-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #353532;
    color: var(--foreground);
    font-size: 12px;
    line-height: 1.4;
}

.keyboard-toggle[hidden] {
    display: none;
}

.keyboard-toggle:hover {
    background: #42423d;
}

.ipad-keyboard {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 6;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    height: 48%;
    padding: 9px 9px 13px;
    border-top: 1px solid #9b9b96;
    background: #b8b8b3;
    color: #393936;
}

.is-ipad.is-keyboard-open .ipad-keyboard {
    display: flex;
}

.is-ipad.is-keyboard-open .display-desktop {
    top: 0;
    left: 0;
    width: 100%;
    height: 52%;
}

.is-ipad.is-keyboard-open.is-mirrored .display-desktop {
    top: 0;
    left: 19%;
    width: 62%;
    height: 52%;
}

.is-ipad.is-keyboard-open .finder-window {
    top: 18%;
    left: 8%;
    width: 53%;
    height: 64%;
}

.is-ipad.is-keyboard-open .note-window {
    top: 29%;
    left: 58%;
    width: 33%;
    height: 54%;
}

.is-ipad.is-keyboard-open .desktop-dock {
    bottom: 5px;
    gap: 4px;
    padding: 3px 5px;
    border-radius: 6px;
}

.is-ipad.is-keyboard-open .desktop-dock i {
    width: 14px;
    height: 14px;
    border-radius: 3px;
}

.ipad-keyboard-row {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex: 1;
    min-height: 0;
}

.ipad-keyboard-row kbd {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    padding: 3px 2px;
    border-radius: 4px;
    background: #e2e2de;
    box-shadow: 0 1px #8e8e87;
    font: 400 11px/1 var(--font);
}

.ipad-keyboard-row:first-child {
    flex: .72;
}

.ipad-keyboard-row:first-child kbd {
    background: #a5a5a0;
    color: #353533;
    box-shadow: none;
    font-size: 9px;
}

.ipad-keyboard-row:last-child kbd:nth-child(3) {
    flex: 4;
}

@media (max-width: 760px) {
    .ipad-keyboard {
        gap: 4px;
        padding: 7px 7px 10px;
    }

    .ipad-keyboard-row {
        gap: 4px;
    }

    .ipad-keyboard-row kbd {
        font-size: 9px;
    }

    .ipad-keyboard-row:first-child kbd {
        font-size: 7px;
    }
}

@media (max-width: 480px) {
    .keyboard-toggle {
        min-height: 37px;
        font-size: 12px;
    }

    .ipad-keyboard {
        gap: 3px;
        padding: 5px 5px 8px;
    }

    .ipad-keyboard-row {
        gap: 3px;
    }

    .ipad-keyboard-row kbd {
        border-radius: 2px;
        font-size: 7px;
    }

    .ipad-keyboard-row:first-child kbd {
        font-size: 5px;
    }

    .is-ipad.is-keyboard-open .desktop-dock {
        bottom: 3px;
        gap: 2px;
        padding: 2px 3px;
        border-radius: 4px;
    }

    .is-ipad.is-keyboard-open .desktop-dock i {
        width: 9px;
        height: 9px;
        border-radius: 2px;
    }
}


[hidden] {
    display: none !important;
}

.ipad-keyboard-tools {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: .72;
    min-height: 0;
}

.ipad-keyboard-tools > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 100%;
    border-radius: 3px;
    background: #a5a5a0;
    color: #353533;
    font: 400 9px/1 var(--mono);
}

.ipad-keyboard-tools > .keyboard-tool-spacer {
    flex: 1;
    background: transparent;
}

.ipad-keyboard-row .keyboard-wide {
    flex: 1.4;
    background: #a5a5a0;
}

.ipad-keyboard-row .keyboard-space {
    flex: 5;
}

.nav-links,
.nav-action,
.hero-note,
.hero-caption,
.playback-button,
.demo-replay,
.display-caption,
.gesture-caption,
.mode-caption,
.demo-note,
.shortcut-result,
.connection-detail,
.access-actions > .muted,
.site-footer,
.footer-inner,
.site-footer nav,
.footer-inner .brand {
    font-size: 12px;
}

.hero-actions .button,
.access-actions .button,
.shortcut-bar button {
    font-size: 12px;
}

.shortcut-bar kbd {
    font-size: 11px;
}

.gesture-caption {
    line-height: 1.7;
}

.access-actions > .muted {
    max-width: 290px;
    font-size: 11px;
}

@media (max-width: 760px) {
    .control-footnote {
        font-size: 14px !important;
    }

    .keyboard-copy > p + p,
    .connection-layout .section-copy > p + p {
        font-size: 14px;
    }

    .setup-copy p,
    .access-copy > p {
        font-size: 14px;
    }

    .size-options button {
        font-size: 12px;
    }

    .display-caption {
        display: flex;
        flex: 1 1 100%;
        justify-content: center;
        line-height: 1.7;
        text-align: center;
    }

    .display-caption > .dot {
        display: block;
        margin: 0;
    }

    .hero-caption .playback-button {
        font-size: 12px;
    }

    .ipad-keyboard-tools > span {
        width: 28px;
        font-size: 7px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        font-size: 12px;
    }

    .hero-heading {
        font-size: clamp(45px, 11.7vw, 57px);
    }

    .hero-actions .button,
    .access-actions .button {
        min-height: 46px;
        padding-inline: 12px;
        font-size: 12px;
    }

    .lab-toolbar {
        justify-content: center;
    }

    .lab-toolbar > .segmented {
        flex: 1 1 100%;
    }

    .lab-toolbar .device-options {
        gap: 3px;
    }

    .lab-toolbar .device-options button {
        flex: 1;
    }

    .lab-toolbar > .segmented:last-child button {
        flex: 1;
    }

    .keyboard-toggle {
        width: 100%;
        order: 3;
    }

    .gesture-caption {
        gap: 14px;
        font-size: 12px;
    }

    .gesture-caption > p {
        max-width: none;
    }

    .gesture-caption .demo-replay {
        font-size: 12px;
    }

    .shortcut-bar button {
        font-size: 12px;
    }

    .ipad-keyboard-tools {
        gap: 3px;
    }

    .ipad-keyboard-tools > span {
        width: 20px;
        font-size: 5px;
    }

    .connection-line > span {
        top: -12px;
        font-size: 10px;
    }

    .footer-inner {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }

    .gesture-screen[data-gesture="right-click"] .context-menu {
        opacity: 1;
        transform: none;
    }

    .gesture-screen[data-gesture="click"] .gesture-folder {
        background: #c7c9c3;
    }

    .gesture-screen[data-gesture="drag"] .gesture-note-window {
        transform: translate(6%, -10%);
    }

    .gesture-screen[data-gesture="scroll"] .gesture-content {
        transform: translateY(-40px);
    }
}
