:root {
  color-scheme: light;
  --page: #f4f7ff;
  --page-strong: #ffffff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-muted: #edf1f8;
  --text: #151923;
  --text-soft: #5f6878;
  --text-faint: #7d8695;
  --line: rgba(28, 38, 57, 0.12);
  --line-strong: rgba(28, 38, 57, 0.2);
  --blue: #087ef5;
  --blue-hover: #0069dc;
  --purple: #6d54ff;
  --green: #22b965;
  --orange: #ff8a34;
  --red: #f04455;
  --heatmap-key-base: rgba(147, 197, 253, 0.2);
  --heatmap-key-highlight: rgba(255, 255, 255, 0.58);
  --shadow: 0 22px 70px rgba(35, 48, 78, 0.16);
  --shadow-soft: 0 14px 38px rgba(35, 48, 78, 0.1);
  --nav-height: 68px;
  --content: 1180px;
  --hero-window: 920px;
  --tour-content: 1000px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page: #0b0d12;
  --page-strong: #101218;
  --surface: rgba(24, 27, 35, 0.78);
  --surface-solid: #171a21;
  --surface-muted: #20232c;
  --text: #f5f7fb;
  --text-soft: #a4adbd;
  --text-faint: #7f8898;
  --line: rgba(226, 233, 246, 0.12);
  --line-strong: rgba(226, 233, 246, 0.22);
  --blue: #2095ff;
  --blue-hover: #48a8ff;
  --purple: #8b76ff;
  --green: #38d477;
  --orange: #ffa34f;
  --red: #ff5b68;
  --heatmap-key-base: rgba(147, 197, 253, 0.12);
  --heatmap-key-highlight: rgba(255, 255, 255, 0.16);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.28);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] {
    color-scheme: dark;
    --page: #0b0d12;
    --page-strong: #101218;
    --surface: rgba(24, 27, 35, 0.78);
    --surface-solid: #171a21;
    --surface-muted: #20232c;
    --text: #f5f7fb;
    --text-soft: #a4adbd;
    --text-faint: #7f8898;
    --line: rgba(226, 233, 246, 0.12);
    --line-strong: rgba(226, 233, 246, 0.22);
    --blue: #2095ff;
    --blue-hover: #48a8ff;
    --purple: #8b76ff;
    --green: #38d477;
    --orange: #ffa34f;
    --red: #ff5b68;
    --heatmap-key-base: rgba(147, 197, 253, 0.12);
    --heatmap-key-highlight: rgba(255, 255, 255, 0.16);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
    --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: color-mix(in srgb, var(--blue) 28%, transparent);
}

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

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

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

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 55%, transparent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--text);
  color: var(--page);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--nav-height);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 78%, transparent);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.nav-shell {
  width: min(var(--content), calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
}

.adaptive-app-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  overflow: hidden;
  border-radius: 22.5%;
}

.adaptive-app-icon img {
  width: 100%;
  height: 100%;
  grid-area: 1 / 1;
  object-fit: cover;
  border-radius: 0;
}

.footer-brand .adaptive-app-icon {
  width: 28px;
  height: 28px;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a,
.site-footer a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.site-footer a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-switcher {
  display: grid;
  grid-template-columns: repeat(3, 34px);
  height: 36px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.theme-switcher button {
  width: 32px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
}

.theme-switcher button:hover {
  color: var(--text);
}

.theme-switcher button[aria-pressed="true"] {
  background: var(--surface-muted);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface-solid);
  color: var(--text);
  font-size: 14px;
  font-weight: 680;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--blue) 46%, var(--line));
}

.button-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.button-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

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

.button-disabled,
.button-disabled:hover {
  transform: none;
  border-color: var(--line-strong);
  background: var(--surface-muted);
  color: var(--text-soft);
  cursor: not-allowed;
}

.button-primary.button-disabled,
.button-primary.button-disabled:hover {
  border-color: color-mix(in srgb, var(--blue) 48%, var(--line));
  background: color-mix(in srgb, var(--blue) 58%, var(--surface-muted));
  color: #ffffff;
}

.button-quiet {
  background: color-mix(in srgb, var(--surface-solid) 70%, transparent);
}

.hero {
  width: min(var(--content), 100%);
  min-height: calc(100svh - var(--nav-height) - 60px);
  margin: 0 auto;
  padding: 24px 24px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(800px, 100%);
}

.eyebrow,
.kicker {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 15%, transparent);
}

.hero h1 {
  margin: 8px 0 0;
  font-size: clamp(52px, 7vw, 78px);
  line-height: 0.95;
  font-weight: 820;
}

.hero-lede {
  margin: 14px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  font-weight: 720;
}

.hero-support {
  width: min(660px, 100%);
  margin: 12px auto 0;
  color: var(--text-soft);
  font-size: 16px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-live-demo {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  margin-top: 24px;
  text-align: left;
}

.hero-shot {
  position: relative;
  width: min(var(--hero-window), calc(100vw - 48px));
  aspect-ratio: 1586 / 992;
  flex: none;
  margin-top: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  animation: hero-app-rise 820ms cubic-bezier(0.2, 0.76, 0.24, 1) 100ms both;
}

@keyframes hero-app-rise {
  from {
    opacity: 0;
    transform: translateY(72px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-shot::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.dashboard-preview {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 92px;
  display: flex;
  justify-content: center;
}

.dashboard-preview .hero-shot {
  margin-top: 0;
}

.theme-shot-dark {
  display: none !important;
}

html[data-theme="dark"] .theme-shot-light {
  display: none !important;
}

html[data-theme="dark"] .theme-shot-dark {
  display: block !important;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] .theme-shot-light {
    display: none !important;
  }

  html[data-theme="system"] .theme-shot-dark {
    display: block !important;
  }
}

.hero-shot-dark {
  display: none;
}

html[data-theme="dark"] .hero-shot-light {
  display: none;
}

html[data-theme="dark"] .hero-shot-dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] .hero-shot-light {
    display: none;
  }

  html[data-theme="system"] .hero-shot-dark {
    display: block;
  }
}

.proof-strip {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 62px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.proof-strip div {
  min-width: 0;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.proof-strip div:first-child {
  padding-left: 0;
  border-left: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-size: 15px;
}

.proof-strip span {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 13px;
}

.section {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 9vw;
  border-top: 1px solid var(--line);
}

.section-heading h2,
.product-copy h2,
.privacy-heading h2,
.pro-copy h2,
.final-cta h2,
.document-hero h1,
.support-hero h1,
.faq h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.03;
  font-weight: 790;
}

.live-demo-panel {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
}

.live-demo-panel[data-demo-engagement="active"] {
  border-color: color-mix(in srgb, var(--blue) 48%, var(--line-strong));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--blue) 14%, transparent),
    var(--shadow-soft);
}

.live-demo-status {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 720;
  text-transform: uppercase;
}

.live-demo-status > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.live-demo-status .status-dot {
  width: 6px;
  height: 6px;
}

.live-demo-status > span:last-child {
  color: var(--blue);
}

.live-demo-metrics {
  margin: 12px 0 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.live-demo-metrics > div {
  min-width: 0;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: color-mix(in srgb, var(--surface-solid) 66%, transparent);
}

.live-demo-metrics span,
.live-demo-metrics strong {
  display: block;
}

.live-demo-metrics span {
  color: var(--text-faint);
  font-size: 10px;
  font-weight: 720;
  text-transform: uppercase;
}

.live-demo-metrics strong {
  margin-top: 4px;
  overflow: hidden;
  color: var(--text);
  font-size: 23px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-demo-metrics > div:nth-child(2) strong {
  color: var(--blue);
}

.live-demo-keyboard {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: color-mix(in srgb, var(--page-strong) 58%, transparent);
}

.live-demo-key-row {
  width: 100%;
  display: flex;
  gap: 5px;
}

.live-demo-key-row:last-child {
  width: 90%;
  align-self: center;
}

.live-demo-key {
  flex: var(--key-units) 1 0;
  min-width: 0;
  height: 30px;
  padding: 0 2px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line-strong) 92%, transparent);
  border-radius: 5px;
  background: var(--heatmap-key-base);
  color: color-mix(in srgb, var(--text-soft) 88%, var(--text));
  font-size: 8px;
  font-weight: 680;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 var(--heatmap-key-highlight),
    0 2px 0 color-mix(in srgb, var(--line-strong) 82%, transparent);
  cursor: default;
  transition: transform 140ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.live-demo-key:hover {
  border-color: color-mix(in srgb, var(--blue) 52%, var(--line));
  color: var(--text);
}

.live-demo-mobile-keyboard {
  display: none;
}

.live-demo-key.is-pressed {
  transform: scale(1.055);
}

.live-demo-key[data-level]:not([data-level="0"]) {
  border-color: color-mix(in srgb, var(--heat-color) 34%, var(--line));
  background: color-mix(in srgb, var(--heat-color) var(--heat-fill), var(--heatmap-key-base));
  box-shadow:
    inset 0 1px 0 var(--heatmap-key-highlight),
    0 2px 0 color-mix(in srgb, var(--heat-color) 36%, transparent),
    0 0 var(--heat-radius) color-mix(in srgb, var(--heat-color) var(--heat-glow), transparent);
}

.live-demo-key[data-level="1"] { --heat-color: #fde68a; --heat-fill: 16.5%; --heat-glow: 8%; --heat-radius: 6px; }
.live-demo-key[data-level="2"] { --heat-color: #facc15; --heat-fill: 21%; --heat-glow: 12%; --heat-radius: 7px; }
.live-demo-key[data-level="3"] { --heat-color: #eab308; --heat-fill: 25.5%; --heat-glow: 16%; --heat-radius: 8px; }
.live-demo-key[data-level="4"] { --heat-color: #f59e0b; --heat-fill: 30%; --heat-glow: 20%; --heat-radius: 10px; }
.live-demo-key[data-level="5"] { --heat-color: #f97316; --heat-fill: 34.5%; --heat-glow: 25%; --heat-radius: 12px; }
.live-demo-key[data-level="6"] { --heat-color: #f06449; --heat-fill: 39%; --heat-glow: 30%; --heat-radius: 14px; }
.live-demo-key[data-level="7"] { --heat-color: #ef4444; --heat-fill: 43.5%; --heat-glow: 36%; --heat-radius: 16px; }
.live-demo-key[data-level="8"] {
  --heat-color: #be123c;
  --heat-fill: 48%;
  --heat-glow: 42%;
  --heat-radius: 18px;
  color: #ffffff;
}

.live-demo-footer {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.live-demo-controls {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-demo-hint {
  margin: 0;
  color: var(--text-faint);
  font-size: 11px;
}

.live-demo-toggle,
.live-demo-reset {
  flex: none;
  min-height: 32px;
  padding: 7px 12px;
  cursor: pointer;
}

.dashboard-preview {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.section-heading > p:last-child,
.product-copy > p,
.pro-copy > p {
  color: var(--text-soft);
  font-size: 17px;
}

.feature-list {
  border-top: 1px solid var(--line-strong);
}

.feature-list article {
  min-height: 142px;
  display: grid;
  grid-template-columns: 78px 0.55fr 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list h3,
.feature-list p,
.feature-list .feature-number {
  margin: 0;
}

.feature-list h3 {
  font-size: 18px;
}

.feature-list p {
  color: var(--text-soft);
  font-size: 15px;
}

.feature-number {
  color: var(--blue);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 42px;
  line-height: 1;
  font-weight: 760;
}

.screenshot-tour {
  width: min(var(--tour-content), calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.tour-heading {
  margin-bottom: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 9vw;
  align-items: end;
}

.tour-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 790;
}

.tour-heading > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
}

.tour-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.tour-shot {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
}

.tour-shot-wide {
  grid-column: auto;
}

.tour-image {
  height: auto;
  overflow: hidden;
}

.tour-shot-wide .tour-image {
  height: auto;
}

.tour-image img {
  width: 100%;
  height: auto;
  display: block;
}

.tour-shot figcaption {
  min-height: 82px;
  padding: 17px 19px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.tour-shot figcaption strong {
  font-size: 15px;
}

.tour-shot figcaption span {
  color: var(--text-soft);
  font-size: 13px;
  text-align: right;
}

.demo-note {
  margin: 16px 0 0;
  color: var(--text-faint);
  font-size: 12px;
  text-align: right;
}

.product-band,
.keyboard-band,
.share-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1fr);
  gap: 9vw;
  align-items: center;
  border-top: 1px solid var(--line);
}

.plain-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.plain-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 650;
}

.learn-band {
  min-height: 620px;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 8vw;
  align-items: start;
  border-top: 1px solid var(--line);
}

.learn-grid {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.learn-grid article {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 7px 18px;
  border-bottom: 1px solid var(--line);
}

.learn-grid .feature-number {
  grid-row: 1 / 4;
  font-size: 30px;
}

.learn-grid h3,
.guide-card h3 {
  margin: 0;
  font-size: 20px;
}

.learn-grid p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.learn-grid a,
.guide-links a {
  width: max-content;
  margin-top: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 720;
}

.learn-grid a:hover,
.guide-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-faq {
  border-top: 1px solid var(--line);
}

.guide-page .document-hero {
  max-width: 900px;
}

.guide-page .document-layout {
  grid-template-columns: 220px minmax(0, 800px);
}

.guide-page .document-content h3 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.guide-page .document-content strong {
  color: var(--text);
}

.guide-visual {
  margin: 0 0 42px;
}

.guide-visual img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.guide-visual figcaption {
  margin-top: 12px;
  color: var(--text-faint);
  font-size: 12px;
}

.definition-grid {
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.definition-grid article,
.guide-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.definition-grid strong,
.definition-grid span {
  display: block;
}

.definition-grid span {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 13px;
}

.guide-note {
  padding: 20px 22px;
  border-left: 3px solid var(--blue);
  background: color-mix(in srgb, var(--blue) 7%, var(--surface));
  color: var(--text-soft);
}

.guide-links {
  display: grid;
  gap: 10px;
}

.popover-figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.popover-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.popover-preview {
  width: min(359px, 100%);
}

.popover-figure figcaption {
  color: var(--text-soft);
  font-size: 13px;
}

.keyboard-band {
  grid-template-columns: minmax(560px, 1.25fr) minmax(280px, 0.75fr);
}

.keyboard-visual {
  min-width: 0;
}

.keyboard-visual img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.demo-caption {
  margin-top: 20px;
  color: var(--text-faint) !important;
  font-size: 12px !important;
}

.privacy-band {
  width: 100%;
  padding: 110px max(20px, calc((100% - var(--content)) / 2));
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(420px, 1.25fr);
  gap: 9vw;
  background: #0e2b24;
  color: #f2fff9;
}

.privacy-band .kicker,
.privacy-band p {
  color: #a8c9bd;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(220, 255, 241, 0.22);
}

.privacy-grid article {
  min-height: 150px;
  padding: 24px 22px 24px 0;
  border-bottom: 1px solid rgba(220, 255, 241, 0.18);
}

.privacy-grid article:nth-child(even) {
  padding-left: 22px;
  border-left: 1px solid rgba(220, 255, 241, 0.18);
}

.privacy-grid strong {
  font-size: 16px;
}

.privacy-grid p {
  margin: 8px 0 0;
  font-size: 14px;
}

.text-link {
  align-self: end;
  justify-self: start;
  padding: 8px 0;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
}

.pro-band {
  min-height: 600px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 9vw;
  align-items: center;
  border-top: 1px solid var(--line);
}

.pro-mark {
  color: var(--purple);
  font-size: clamp(80px, 15vw, 180px);
  line-height: 0.8;
  font-weight: 880;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  opacity: 0.84;
}

.pro-facts {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.pro-facts div {
  padding: 22px 18px;
  border-left: 1px solid var(--line);
}

.pro-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.pro-facts strong,
.pro-facts span {
  display: block;
}

.pro-facts strong {
  font-size: 22px;
}

.pro-facts span {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 12px;
}

.fine-print {
  font-size: 12px !important;
}

.share-band {
  grid-template-columns: minmax(400px, 1.15fr) minmax(280px, 0.85fr);
}

.share-visual {
  display: grid;
  justify-items: center;
}

.share-visual img {
  width: min(620px, 100%);
  height: auto !important;
  aspect-ratio: 1.187 / 1;
  object-fit: contain;
  clip-path: inset(1px round 18px);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.final-cta {
  width: min(900px, calc(100% - 40px));
  margin: 80px auto 120px;
  padding: 86px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.final-cta > .adaptive-app-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border-radius: 16px;
}

.final-cta p {
  margin: 18px 0 28px;
  color: var(--text-soft);
  font-size: 18px;
}

.site-footer {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 48px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
}

.footer-product {
  display: grid;
  gap: 7px;
}

.footer-product p {
  margin: 0;
}

.studio-signature {
  display: grid;
  justify-items: start;
  gap: 5px;
}

.studio-signature > span:first-child {
  color: var(--text-faint);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.studio-logo-frame {
  width: 148px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.studio-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer p {
  margin: 0;
}

.site-footer.compact {
  margin-top: 90px;
}

.document-page,
.support-page {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.document-hero,
.support-hero {
  padding: 110px 0 80px;
  border-bottom: 1px solid var(--line);
}

.document-hero > p:not(.kicker),
.support-hero > p:not(.kicker) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: 20px;
}

.document-badges {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.document-badges span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.document-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 90px;
  padding: 72px 0 20px;
}

.document-layout aside {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
  height: max-content;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-soft);
  font-size: 13px;
}

.document-layout aside strong {
  margin-bottom: 8px;
  color: var(--text);
}

.document-layout aside a:hover {
  color: var(--text);
}

.document-content section {
  padding: 0 0 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.document-content h2,
.support-topics h2 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.15;
}

.document-content p,
.document-content li,
.support-topics p,
.support-topics li {
  color: var(--text-soft);
}

.document-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-hero {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.support-hero .button {
  margin-top: 30px;
}

.support-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.support-topics article {
  min-height: 320px;
  padding: 50px 48px 50px 0;
  border-bottom: 1px solid var(--line);
}

.support-topics article:nth-child(even) {
  padding-left: 48px;
  border-left: 1px solid var(--line);
}

.support-topics .feature-number {
  display: block;
  margin-bottom: 34px;
}

.support-topics ol {
  padding-left: 20px;
}

.support-topics li + li {
  margin-top: 10px;
}

.faq {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 9vw;
}

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

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

.faq summary {
  padding: 22px 36px 22px 0;
  font-weight: 690;
  cursor: pointer;
}

.faq details p {
  margin: -8px 0 24px;
  color: var(--text-soft);
}

@media (max-width: 960px) {
  .nav-shell {
    grid-template-columns: auto auto 1fr;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
  }

  .nav-links:not(.nav-links-static) {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    width: min(260px, calc(100vw - 40px));
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--page-strong) 88%, transparent);
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }

  .nav-links:not(.nav-links-static).is-open {
    display: flex;
  }

  .nav-links:not(.nav-links-static) a {
    padding: 10px 12px;
    border-radius: 6px;
  }

  .nav-links-static {
    justify-self: start;
    gap: 18px;
  }

  .nav-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .nav-actions .button-small {
    display: none;
  }

  .hero {
    padding-top: 30px;
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
    row-gap: 26px;
  }

  .proof-strip div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .section-intro,
  .product-band,
  .keyboard-band,
  .share-band,
  .learn-band,
  .privacy-band,
  .pro-band,
  .faq {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .feature-list article {
    grid-template-columns: 78px 0.65fr 1fr;
  }

  .tour-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-band,
  .keyboard-band,
  .share-band {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .privacy-band {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .pro-mark {
    writing-mode: initial;
    transform: none;
    font-size: 92px;
  }

  .share-visual,
  .keyboard-visual {
    order: 2;
  }

  .site-footer,
  .site-footer.compact {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer > p:last-child {
    justify-self: end;
  }

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

  .document-layout aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
  }

  .document-layout aside strong {
    grid-column: 1 / -1;
  }

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

@media (max-width: 680px) {
  :root {
    --nav-height: 62px;
  }

  .nav-shell {
    width: min(100% - 24px, var(--content));
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    gap: 7px;
    font-size: 13px;
    letter-spacing: 0.02em;
  }

  .nav-actions {
    grid-column: 2;
    justify-self: end;
  }

  .menu-toggle {
    grid-column: 3;
  }

  .nav-links-static {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 36px 14px 54px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-lede {
    font-size: 28px;
  }

  .hero-support {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    gap: 8px;
  }

  .hero-actions .button {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 13px;
  }

  .hero-shot {
    width: calc(100vw - 24px);
    margin-top: 28px;
  }

  .hero-shot img {
    min-width: 0;
    object-position: center top;
  }

  .proof-strip,
  .dashboard-preview,
  .section,
  .document-page,
  .support-page,
  .site-footer {
    width: calc(100% - 28px);
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div,
  .proof-strip div:nth-child(3) {
    padding: 0 0 18px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .learn-grid article {
    grid-template-columns: 48px 1fr;
  }

  .hero-live-demo {
    margin-top: 24px;
  }

  .live-demo-panel {
    padding: 14px;
  }

  .live-demo-metrics > div {
    min-height: 58px;
    padding: 10px;
  }

  .live-demo-metrics strong {
    font-size: 21px;
  }

  .live-demo-keyboard {
    display: none;
  }

  .live-demo-mobile-keyboard {
    margin: 0 auto;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: color-mix(in srgb, var(--page-strong) 64%, transparent);
  }

  .live-demo-mobile-key {
    min-height: 48px;
    height: auto;
    padding: 8px 4px;
    border-radius: 7px;
    font-size: 12px;
    cursor: pointer;
  }

  .live-demo-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .live-demo-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .live-demo-toggle,
  .live-demo-reset {
    min-height: 44px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 12px;
  }

  .dashboard-preview {
    padding-top: 8px;
    padding-bottom: 68px;
  }

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

  .feature-number {
    font-size: 34px;
  }

  .feature-list p {
    grid-column: 2;
  }

  .screenshot-tour {
    width: calc(100% - 28px);
    padding: 78px 0;
  }

  .tour-heading h2 {
    font-size: 38px;
  }

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

  .tour-shot-wide {
    grid-column: auto;
  }

  .tour-shot figcaption {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .tour-shot figcaption span {
    text-align: left;
  }

  .privacy-band {
    padding: 78px 18px;
  }

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

  .privacy-grid article,
  .privacy-grid article:nth-child(even) {
    min-height: 0;
    padding: 22px 0;
    border-left: 0;
  }

  .pro-facts {
    grid-template-columns: 1fr;
  }

  .pro-facts div,
  .pro-facts div:first-child {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .pro-facts div:first-child {
    border-top: 0;
  }

  .share-band,
  .keyboard-band {
    grid-template-columns: 1fr;
  }

  .final-cta {
    margin-top: 40px;
    margin-bottom: 80px;
    padding: 68px 12px;
  }

  .site-footer,
  .site-footer.compact {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer > p:last-child {
    justify-self: start;
  }

  .studio-logo-frame {
    width: 138px;
    height: 54px;
  }

  .document-hero,
  .support-hero {
    padding-top: 72px;
    padding-bottom: 58px;
  }

  .document-layout aside {
    grid-template-columns: 1fr 1fr;
  }

  .support-topics {
    grid-template-columns: 1fr;
  }

  .support-topics article,
  .support-topics article:nth-child(even) {
    min-height: 0;
    padding: 42px 0;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-shot {
    animation: none;
  }

  .live-demo-key.is-pressed {
    transform: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
