/* ==========================================================================
   SideHost site stylesheet — one file for every page.
   No external requests: system fonts only, no @import, no url().

   Contents
     1  Tokens (light, then dark)
     2  Base elements
     3  Layout: .wrap, .section, grids
     4  Site header and footer
     5  Buttons, key caps, badges, callouts, cards, lists
     6  Prose pages (main.prose), tables, FAQ
     7  Forms
     8  Home page blocks
     9  Product drawings (Quick Panel, ask bar, Stream Deck keys)
     10 Utilities, motion, print
   ========================================================================== */

/* 1 Tokens ---------------------------------------------------------------- */

:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --bg-soft: #f7f6fb;
  --bg-sunk: #efeef5;
  --surface: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.84);

  --text: #1a1a2e;
  --text-2: #4b4b61;
  --text-3: #686880;

  --line: rgba(26, 26, 46, 0.11);
  --line-strong: rgba(26, 26, 46, 0.2);

  --accent: #6a39e6;
  --accent-hover: #5a2bd0;
  --on-accent: #ffffff;
  --accent-wash: rgba(106, 57, 230, 0.07);
  --accent-line: rgba(106, 57, 230, 0.32);
  --select: rgba(106, 57, 230, 0.2);

  --ok: #17753c;
  --warn: #8a5200;
  --warn-wash: rgba(224, 150, 20, 0.13);
  --warn-line: rgba(170, 105, 0, 0.36);
  --stop: #b3261e;

  --shadow-s: 0 1px 2px rgba(26, 26, 46, 0.06), 0 1px 1px rgba(26, 26, 46, 0.04);
  --shadow-m: 0 1px 2px rgba(26, 26, 46, 0.06), 0 10px 28px -10px rgba(26, 26, 46, 0.16);
  --shadow-l: 0 2px 4px rgba(26, 26, 46, 0.05), 0 30px 70px -28px rgba(50, 30, 120, 0.3);
  --shadow-hud: 0 0 0 0.5px rgba(26, 26, 46, 0.14), 0 2px 6px rgba(26, 26, 46, 0.1),
    0 16px 40px -10px rgba(26, 26, 46, 0.3);

  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto,
    Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI",
    Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: 16px;
  --wrap: 1080px;
  --measure: 44rem;
  --header-h: 60px;

  /* key caps */
  --key-bg: #ffffff;
  --key-edge: rgba(26, 26, 46, 0.24);
  --key-shadow: rgba(26, 26, 46, 0.1);

  /* drawing surfaces */
  --art-desk: #e9e7f2;
  --art-window: #f8f8fb;
  --art-block: #e4e3eb;
  --art-block-2: #d3d2dd;
  --hud: rgba(252, 252, 254, 0.9);
  --hud-fill: rgba(26, 26, 46, 0.055);
  --hud-fill-2: rgba(26, 26, 46, 0.1);
  --live: #2fb457;
  --live-wash: rgba(47, 180, 87, 0.18);
  --deck-body: #1c1c23;
  --deck-key: #0c0c10;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111119;
    --bg-soft: #16161f;
    --bg-sunk: #1d1d28;
    --surface: #191923;
    --bg-glass: rgba(17, 17, 25, 0.82);

    --text: #ededf4;
    --text-2: #b6b6c8;
    --text-3: #9090a8;

    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.2);

    --accent: #9b7dff;
    --accent-hover: #b09aff;
    --on-accent: #14101f;
    --accent-wash: rgba(155, 125, 255, 0.1);
    --accent-line: rgba(155, 125, 255, 0.4);
    --select: rgba(155, 125, 255, 0.32);

    --ok: #5fd08a;
    --warn: #f0b858;
    --warn-wash: rgba(240, 184, 88, 0.1);
    --warn-line: rgba(240, 184, 88, 0.36);
    --stop: #ff8a80;

    --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-m: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px -10px rgba(0, 0, 0, 0.6);
    --shadow-l: 0 2px 4px rgba(0, 0, 0, 0.4), 0 30px 70px -28px rgba(0, 0, 0, 0.8);
    --shadow-hud: 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 2px 6px rgba(0, 0, 0, 0.4),
      0 16px 40px -10px rgba(0, 0, 0, 0.7);

    --key-bg: #2b2b39;
    --key-edge: rgba(255, 255, 255, 0.2);
    --key-shadow: rgba(0, 0, 0, 0.5);

    --art-desk: #0a0a10;
    --art-window: #1c1c27;
    --art-block: #292936;
    --art-block-2: #383848;
    --hud: rgba(40, 40, 53, 0.9);
    --hud-fill: rgba(255, 255, 255, 0.07);
    --hud-fill-2: rgba(255, 255, 255, 0.13);
    --live: #3ecf6a;
    --live-wash: rgba(62, 207, 106, 0.2);
    --deck-body: #2a2a37;
    --deck-key: #0e0e14;
  }
}

/* 2 Base ------------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.375rem, 1.45rem + 4.2vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.375rem);
  letter-spacing: -0.028em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h4 {
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote,
pre,
table {
  margin: 0;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--select);
}

strong,
b {
  font-weight: 650;
}

svg {
  max-width: 100%;
}

code {
  padding: 0.1em 0.35em;
  background: var(--bg-sunk);
  border-radius: 4px;
  font: 0.875em var(--font-mono);
}

hr {
  height: 0;
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

/* 3 Layout ---------------------------------------------------------------- */

@media (min-width: 640px) {
  :root {
    --gutter: 24px;
  }
}

@media (min-width: 1000px) {
  :root {
    --gutter: 32px;
  }
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: calc(46rem + 2 * var(--gutter));
}

.section {
  padding-block: clamp(3.5rem, 2.2rem + 5.5vw, 6.5rem);
}

.section--soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 1.2rem + 3vw, 3.5rem);
}

.section__head > * + * {
  margin-top: 0.75rem;
}

.grid {
  display: grid;
  gap: clamp(1.25rem, 0.8rem + 2vw, 2rem);
}

@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 4 Site header and footer ------------------------------------------------ */

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 100;
  padding: 0.6rem 0.9rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  box-shadow: var(--shadow-m);
}

.skip-link:focus {
  top: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: var(--bg-glass);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
  }
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 12px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--text);
  font: 650 1.0625rem/1 var(--font-display);
  letter-spacing: -0.015em;
  text-decoration: none;
}

.brand__mark {
  flex: none;
  width: 28px;
  height: 28px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 2.4vw, 1.25rem);
  white-space: nowrap;
}

.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.35rem;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

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

.site-nav .btn {
  margin-left: 0.35rem;
}

@media (max-width: 400px) {
  .brand {
    gap: 0.45rem;
    font-size: 1rem;
  }

  .brand__mark {
    width: 26px;
    height: 26px;
  }

  .site-nav {
    gap: 0.25rem;
  }

  .site-nav a:not(.btn) {
    padding-inline: 0.25rem;
    font-size: 0.875rem;
  }

  .site-nav .btn {
    margin-left: 0.25rem;
    padding-inline: 0.7rem;
    font-size: 0.875rem;
  }
}

.site-footer {
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.9375rem;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.site-footer__brand {
  display: block;
  color: var(--text);
  font-weight: 650;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-2);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.site-footer__legal {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  padding-right: max(0px, calc(100% - 60rem));
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.8125rem;
  line-height: 1.55;
}

/* 5 Buttons, key caps, badges, callouts, cards, lists --------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--r-m);
  font: 600 1rem/1.2 var(--font);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(40, 20, 100, 0.25);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-strong);
}

.btn--secondary:hover {
  border-color: var(--text-3);
}

.btn:active {
  transform: translateY(1px);
}

.btn--large {
  min-height: 52px;
  padding-inline: 1.5rem;
  border-radius: 12px;
  font-size: 1.0625rem;
}

.btn--small {
  min-height: 36px;
  padding: 0.35rem 0.9rem;
  border-radius: 9px;
  font-size: 0.9375rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

@media (pointer: coarse) {
  .btn--small {
    min-height: 44px;
  }
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75em;
  height: 1.75em;
  padding: 0 0.42em;
  background: var(--key-bg);
  color: var(--text);
  border: 1px solid var(--key-edge);
  border-bottom-width: 2px;
  border-radius: 6px;
  box-shadow: 0 1px 1px var(--key-shadow);
  font: 500 0.8125em/1 var(--font);
  white-space: nowrap;
}

.keys {
  display: inline-flex;
  gap: 3px;
  vertical-align: baseline;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0.1rem 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-2);
  font: 600 0.75rem/1.2 var(--font);
  letter-spacing: 0.01em;
  white-space: nowrap;
  vertical-align: middle;
}

.badge--pro {
  background: var(--accent-wash);
  border-color: var(--accent-line);
  color: var(--accent);
}

.badge--beta {
  background: var(--warn-wash);
  border-color: var(--warn-line);
  color: var(--warn);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.callout {
  padding: 1rem 1.15rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-m);
  color: var(--text-2);
  font-size: 0.9375rem;
}

.callout > * + * {
  margin-top: 0.5rem;
}

.callout strong {
  color: var(--text);
}

.callout--warn {
  background: var(--warn-wash);
  border-left-color: var(--warn);
}

.section--soft .callout:not(.callout--warn) {
  background: var(--surface);
}

.card {
  padding: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-s);
}

.card > * + * {
  margin-top: 0.75rem;
}

.ticks,
.dashes,
.facts,
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks,
.dashes {
  display: grid;
  gap: 0.55rem;
}

.ticks > li,
.dashes > li {
  position: relative;
  padding-left: 1.7rem;
}

.ticks > li::before {
  content: "";
  position: absolute;
  top: 0.4em;
  left: 0.32rem;
  width: 0.42em;
  height: 0.78em;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.dashes > li::before {
  content: "";
  position: absolute;
  top: 0.76em;
  left: 0.15rem;
  width: 0.7rem;
  height: 2px;
  background: var(--text-3);
  border-radius: 1px;
}

/* hairline-separated statements: <li><strong>Lead.</strong> Detail.</li> */
.facts {
  border-top: 1px solid var(--line);
}

.facts > li {
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
}

.facts strong {
  color: var(--text);
}

.facts--lead strong {
  display: block;
}

@media (min-width: 760px) {
  .facts--cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 5vw, 4rem);
  }
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.steps > li {
  position: relative;
  min-height: 1.75rem;
  padding-left: 2.6rem;
  counter-increment: step;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  top: 0.02em;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  font: 600 0.875rem/1 var(--font);
}

/* 6 Prose pages, tables, FAQ ---------------------------------------------- */

.prose {
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin-inline: auto;
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) var(--gutter) clamp(3.5rem, 2rem + 6vw, 6rem);
}

.prose > * + * {
  margin-top: 1.1rem;
}

.prose h1 {
  font-size: clamp(2rem, 1.5rem + 2.4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.prose h2 {
  margin-top: 2.75rem;
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.625rem);
  letter-spacing: -0.02em;
}

.prose h3 {
  margin-top: 2rem;
  font-size: 1.125rem;
}

.prose h4 {
  margin-top: 1.5rem;
}

.prose :where(h2, h3, h4) + * {
  margin-top: 0.6rem;
}

.prose :where(p, li, dd) {
  color: var(--text-2);
}

.prose :where(p, li, dd) strong {
  color: var(--text);
}

.prose :where(ul, ol):not([class]) {
  padding-left: 1.35rem;
}

.prose :where(ul, ol):not([class]) > li + li {
  margin-top: 0.35rem;
}

.prose :where(ul, ol):not([class]) > li::marker {
  color: var(--text-3);
}

.prose li > :where(ul, ol) {
  margin-top: 0.35rem;
}

.lede {
  max-width: 38rem;
  color: var(--text-2);
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  line-height: 1.5;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.meta {
  color: var(--text-3);
  font-size: 0.875rem;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.45;
}

th,
td {
  padding: 0.7rem 0.9rem;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th,
thead td {
  background: var(--bg-soft);
  border-top: 0;
  color: var(--text);
  font-weight: 600;
}

tbody th {
  color: var(--text);
  font-weight: 600;
}

td {
  color: var(--text-2);
}

.section--soft thead th,
.section--soft thead td {
  background: var(--bg-sunk);
}

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

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 0.85rem 0;
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  margin: -0.25rem 0.35rem 0 0;
  border: solid var(--text-3);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.faq details[open] > summary::after {
  margin-top: 0.3rem;
  transform: rotate(-135deg);
}

.faq summary:hover {
  color: var(--accent);
}

.faq summary:hover::after {
  border-color: var(--accent);
}

.answer {
  padding: 0 2rem 1.25rem 0;
  color: var(--text-2);
}

.answer > * + * {
  margin-top: 0.6rem;
}

/* 7 Forms ----------------------------------------------------------------- */

.form {
  display: grid;
  gap: 1.1rem;
  max-width: 34rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field > label,
.label {
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
}

.hint {
  color: var(--text-3);
  font-size: 0.875rem;
  font-weight: 400;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
  font: inherit;
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
}

.textarea {
  min-height: 9rem;
  line-height: 1.5;
  resize: vertical;
}

.select {
  padding-right: 2.25rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%),
    linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) 50%, calc(100% - 0.8rem) 50%;
  background-size: 0.3rem 0.3rem;
  background-repeat: no-repeat;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--text-3);
}

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-radius: var(--r-m);
}

.form__status {
  min-height: 1.5em;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.form__status[data-state="ok"] {
  color: var(--ok);
}

.form__status[data-state="error"] {
  color: var(--stop);
}

/* honeypot field: off-screen for people, present for bots */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 8 Home page blocks ------------------------------------------------------ */

.hero {
  padding-block: clamp(2.5rem, 1rem + 6vw, 5.5rem) clamp(3.5rem, 2rem + 6vw, 6.5rem);
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 4rem);
  align-items: center;
}

@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  }
}

.hero h1 {
  margin-top: 0.9rem;
}

.hero .lede {
  margin-top: 1.25rem;
}

.hero__copy {
  min-width: 0;
}

.hero__art {
  min-width: 0;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
}

.hero__caption {
  margin-top: 0.9rem;
  color: var(--text-3);
  font-size: 0.8125rem;
  text-align: center;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.4rem;
  margin-top: 1.9rem;
}

.cta__alt {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

.cta__note {
  margin-top: 0.75rem;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.hero__req {
  margin-top: 0.2rem;
  color: var(--text-3);
  font-size: 0.875rem;
}

@media (max-width: 480px) {
  .cta .btn {
    width: 100%;
  }

  .cta__alt {
    width: 100%;
    justify-content: center;
  }
}

/* problem -> relief pairs */
.pairs {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 820px) {
  .pairs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
  }
}

.pair {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
}

.pair__problem {
  font-size: 1.1875rem;
}

.pair__relief {
  margin-top: 0.6rem;
  color: var(--text-2);
}

/* feature rows: copy on one side, drawing on the other */
.features {
  display: grid;
  gap: clamp(4rem, 2.5rem + 6vw, 7rem);
}

.feature {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 860px) {
  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
  }

  .feature:nth-child(even) > :last-child {
    order: -1;
  }
}

.feature__copy > * + * {
  margin-top: 0.9rem;
}

.feature__copy h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.625rem);
  letter-spacing: -0.022em;
}

.feature__copy :where(p, li, dd) {
  color: var(--text-2);
}

.feature__copy :where(p, li) strong {
  color: var(--text);
}

.feature__art {
  min-width: 0;
}

.feature__note {
  font-size: 0.9375rem;
}

/* pricing */
.pricing {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 860px) {
  .pricing {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.plan {
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-m);
}

.plan > * + * {
  margin-top: 1.1rem;
}

.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
}

.plan__amount {
  color: var(--text);
  font: 700 clamp(2.75rem, 2rem + 3vw, 3.5rem) / 1 var(--font-display);
  letter-spacing: -0.04em;
}

.plan__term {
  color: var(--text-2);
  font-weight: 500;
}

.plan .ticks {
  color: var(--text-2);
}

.plan__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.35rem;
}

.plan__cta .btn {
  flex: 1 1 13rem;
}

.plan__fine {
  color: var(--text-3);
  font-size: 0.875rem;
}

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

.note {
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.note h3 {
  font-size: 1.0625rem;
}

.note p {
  margin-top: 0.4rem;
  color: var(--text-2);
}

.note .btn {
  margin-top: 0.9rem;
}

/* two-column split used by the privacy block */
.split {
  display: grid;
  gap: 2rem;
}

.split > * > * + * {
  margin-top: 0.9rem;
}

.split > * > .facts {
  margin-top: 0;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
  }
}

/* 9 Product drawings ------------------------------------------------------ */
/* Drawings of SideHost's own interface. Sized in em so a drawing scales with
   the font-size of its frame (.stage or .art). */

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  flex: none;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* frame for a small drawing */
.art {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 17rem;
  padding: clamp(1.25rem, 0.5rem + 3.5vw, 2.5rem);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  overflow: hidden;
}

.section--soft .art {
  background: var(--bg);
}

.art p {
  color: inherit;
}

/* hero drawing: a slice of a Mac screen */
.stage {
  position: relative;
  height: 28.6em;
  background: var(--art-desk);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-l);
  color: var(--text);
  font-size: clamp(10.5px, 3.3vw, 13px);
  line-height: 1.35;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.stage__menubar {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55em;
  height: 2em;
  padding-inline: 1.1em;
  background: var(--hud-fill);
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.92em;
  font-weight: 600;
}

.stage__menubar .ico {
  width: 1.3em;
  height: 1.3em;
}

.stage__menubar i {
  width: 2.4em;
  height: 0.5em;
  background: var(--art-block-2);
  border-radius: 0.25em;
}

.stage__menubar i:first-child {
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
}

.stage__menubar i:nth-child(3) {
  width: 1.8em;
}

.stage__menubar i:nth-child(4) {
  margin-right: auto;
}

.mw {
  position: absolute;
  inset: 3.3em 6.2em 1.5em 1.3em;
  display: flex;
  flex-direction: column;
  background: var(--art-window);
  border: 1px solid var(--line);
  border-radius: 0.75em;
  box-shadow: var(--shadow-m);
  overflow: hidden;
}

.mw__bar {
  display: flex;
  align-items: center;
  gap: 0.45em;
  flex: none;
  height: 2.4em;
  padding-inline: 0.85em;
  border-bottom: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.85em;
  font-weight: 500;
}

.mw__bar i {
  width: 0.75em;
  height: 0.75em;
  background: var(--art-block-2);
  border-radius: 50%;
}

.mw__bar b {
  margin-left: 0.5em;
  font-weight: 500;
}

.mw__body {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  flex: 1;
  gap: 0.8em;
  min-height: 0;
  padding: 0.9em;
}

.mw__slide {
  display: grid;
  align-content: center;
  gap: 0.75em;
  padding: 1.5em;
  background: var(--art-block);
  border-radius: 0.5em;
}

.mw__slide i {
  display: block;
  width: 34%;
  height: 0.7em;
  background: var(--art-block-2);
  border-radius: 0.35em;
}

.mw__slide i:first-child {
  width: 46%;
  height: 1.15em;
}

.mw__slide i:last-child {
  width: 26%;
}

.mw__tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6em;
}

.mw__tiles i {
  display: grid;
  place-items: center;
  height: 4.2em;
  background: var(--art-block);
  border-radius: 0.45em;
}

.mw__tiles i::after {
  content: "";
  width: 1.5em;
  height: 1.5em;
  background: var(--art-block-2);
  border-radius: 50%;
}

.stage > .qp {
  position: absolute;
  top: 4.9em;
  right: 1.2em;
}

/* the Quick Panel */
.qp {
  display: grid;
  gap: 0.46em;
  width: 18.46em;
  max-width: 100%;
  padding: 0.46em 0.77em 0.62em;
  background: var(--hud);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border-radius: 0.77em;
  box-shadow: var(--shadow-hud);
  color: var(--text);
  font-family: var(--font);
  text-align: left;
}

.qp__grip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2em;
  padding-inline: 0.55em 0.35em;
}

.qp__dot {
  width: 0.62em;
  height: 0.62em;
  background: var(--text-3);
  border-radius: 50%;
}

.qp__dot--live {
  background: var(--live);
}

.qp__tools {
  display: flex;
  gap: 0.95em;
  color: var(--text-3);
  font-size: 0.85em;
}

.qp__chip {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.32em 0.62em;
  background: var(--hud-fill);
  border-radius: 0.46em;
  font-size: 0.92em;
}

.qp__chip b {
  font-weight: 600;
}

.qp__chip .ico:first-child,
.qp__accent {
  color: var(--accent);
}

.qp__chip .ico:last-child {
  margin-left: auto;
  color: var(--text-3);
  font-size: 0.8em;
}

.qp__flip {
  transform: rotate(180deg);
}

.qp__rows {
  display: grid;
  gap: 0.15em;
}

.qp__row {
  display: flex;
  align-items: center;
  gap: 0.46em;
  padding: 0.38em 0.62em;
  border-radius: 0.46em;
  white-space: nowrap;
}

.qp__row > span:first-child {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qp__row--sent {
  background: var(--live-wash);
}

.qp__row > .ico {
  color: var(--text-3);
  font-size: 0.92em;
}

.qp__row > .qp__ok {
  color: var(--live);
  font-size: 1.05em;
}

.qp__key {
  flex: none;
  min-width: 1.75em;
  padding: 0.22em 0.5em;
  background: var(--hud-fill-2);
  border-radius: 0.32em;
  font: 500 0.77em/1.2 var(--font-mono);
  text-align: center;
}

.qp__q {
  display: flex;
  align-items: flex-start;
  gap: 0.46em;
  padding: 0.46em 0.55em;
  background: var(--hud-fill);
  border-radius: 0.46em;
  font-size: 0.85em;
  line-height: 1.3;
}

.qp__q > span {
  flex: 1;
  min-width: 0;
}

.qp__q b {
  display: block;
  font-weight: 700;
}

.qp__q .ico {
  margin-top: 0.1em;
  color: var(--text-3);
  font-size: 1.25em;
}

.qp__more {
  padding-right: 0.5em;
  color: var(--accent);
  font-size: 0.85em;
  text-align: right;
}

.qp__card {
  display: grid;
  gap: 0.35em;
  padding: 0.62em;
  background: var(--accent-wash);
  border: 1px solid var(--accent-line);
  border-radius: 0.62em;
}

.qp__card-head {
  display: flex;
  align-items: center;
  gap: 0.35em;
  font-size: 0.85em;
}

.qp__card-head b {
  font-weight: 700;
}

.qp__card-head span {
  margin-left: auto;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.qp__card p {
  line-height: 1.35;
}

.qp__actions {
  display: flex;
  align-items: center;
  gap: 0.46em;
  margin-top: 0.2em;
}

.qp__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.24em 0.75em;
  background: var(--key-bg);
  border: 1px solid var(--line-strong);
  border-radius: 0.46em;
  font-size: 0.92em;
  font-weight: 500;
  line-height: 1.3;
}

.qp__btn--go {
  background: var(--accent);
  border-color: transparent;
  color: var(--on-accent);
}

/* a saved message, drawn as a card */
.msgcard {
  display: grid;
  gap: 0.75em;
  width: 24em;
  max-width: 100%;
  padding: 1em 1.1em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.9em;
  box-shadow: var(--shadow-m);
  font-size: 1.05em;
}

.msgcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.msgcard__head b {
  font-size: 1.1em;
}

.msgcard > p {
  padding: 0.7em 0.8em;
  background: var(--bg-sunk);
  border-radius: 0.55em;
  line-height: 1.45;
}

.msgcard__keys {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1.4em;
  color: var(--text-2);
  font-size: 0.92em;
}

.msgcard__keys > span {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

/* results: the plain-words outcome after a press */
.results {
  display: grid;
  gap: 0.7em;
  width: 25em;
  max-width: 100%;
}

.result {
  display: flex;
  align-items: flex-start;
  gap: 0.65em;
  padding: 0.75em 0.9em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8em;
  box-shadow: var(--shadow-s);
  font-size: 1.05em;
  line-height: 1.4;
}

.result .ico {
  margin-top: 0.12em;
  font-size: 1.2em;
}

.result--ok .ico {
  color: var(--live);
}

.result--warn .ico {
  color: #e08a00;
}

.result--stop .ico {
  color: #e5484d;
}

/* the ask bar */
.askbar {
  display: grid;
  gap: 0.45em;
  width: 30em;
  max-width: 100%;
  padding: 1.1em 1.15em 0.9em;
  background: var(--hud);
  border-radius: 0.95em;
  box-shadow: var(--shadow-hud);
  text-align: left;
}

.askbar__field {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding-bottom: 0.3em;
  font-size: 1.3em;
}

.askbar__field .ico {
  color: var(--text-2);
}

.askbar__caret {
  display: inline-block;
  width: 1.5px;
  height: 1.15em;
  margin-left: 1px;
  background: var(--accent);
  vertical-align: -0.2em;
}

.askbar__row {
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.5em 0.65em;
  border-radius: 0.55em;
}

.askbar__row--on {
  background: var(--accent-wash);
}

.askbar__row .ico {
  color: var(--text-3);
  font-size: 1.15em;
}

.askbar__row--on .ico {
  color: var(--accent);
}

.askbar__row > span {
  flex: 1;
  min-width: 0;
}

.askbar__row b {
  display: block;
  font-weight: 500;
}

.askbar__row small {
  display: block;
  color: var(--text-3);
  font-size: 0.85em;
}

.askbar__row em {
  color: var(--text-3);
  font-size: 0.85em;
  font-style: normal;
}

/* muted text on the tinted, selected row: one step stronger so it stays
   readable in the dark theme */
.askbar__row--on small,
.askbar__row--on em {
  color: var(--text-2);
}

.askbar__cap {
  padding: 0.2em 0.65em 0;
  color: var(--text-3);
  font-size: 0.85em;
}

/* Stream Deck keys: a plain grid of keys, no device branding */
.deck {
  display: grid;
  grid-template-columns: repeat(3, 5.6em);
  gap: 0.75em;
  padding: 1.05em;
  background: var(--deck-body);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2em;
  box-shadow: var(--shadow-m);
}

.deck__key {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 5.6em;
  padding: 0.75em 0.3em 0.5em;
  background: var(--deck-key);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8em;
  color: #f2f2f7;
  text-align: center;
}

.deck__key .ico {
  color: #b9a4ff;
  font-size: 1.9em;
}

.deck__key span {
  font-size: 0.74em;
  font-weight: 600;
  line-height: 1.15;
}

.deck__key--ok .ico {
  color: #3ecf6a;
}

/* 10 Utilities, motion, print --------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.muted {
  color: var(--text-3);
}

.small {
  font-size: 0.875rem;
}

.nowrap {
  white-space: nowrap;
}

.center {
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .stage > .qp {
    animation: qp-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
  }
}

@keyframes qp-in {
  from {
    opacity: 0;
    transform: translateX(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

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

@media print {
  .site-header {
    position: static;
  }

  .site-nav,
  .skip-link {
    display: none;
  }

  .section--soft,
  .art,
  .stage {
    background: none;
  }

  .faq details > .answer {
    display: block;
  }
}
